{"root":3944,"crate_version":"1.53.1","includes_private":false,"index":{"7048":{"id":7048,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7375":{"id":7375,"crate_id":0,"name":"Output","span":{"filename":"src/time/instant.rs","begin":[166,5],"end":[166,27]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"default_unstable":null}}},"5613":{"id":5613,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2089":{"id":2089,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[268,30],"end":[268,36]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:233:19: 233:37 (#214) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"stderr::Stderr","name":"Stderr","id":750,"is_glob":false}}},"3851":{"id":3851,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5940":{"id":5940,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4178":{"id":4178,"crate_id":0,"name":"clone","span":{"filename":"src/runtime/dump.rs","begin":[111,10],"end":[111,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2416":{"id":2416,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"654":{"id":654,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1579,1],"end":[1587,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[653],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2743":{"id":2743,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split.rs","begin":[189,1],"end":[279,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[2739,2738,2737,2740,2741,2742],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"981":{"id":981,"crate_id":0,"name":"WRITABLE","span":{"filename":"src/io/ready.rs","begin":[31,5],"end":[31,49]},"visibility":"public","docs":"Returns a `Ready` representing writable readiness.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}},"value":"_","default_unstable":null}}},"4505":{"id":4505,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/id.rs","begin":[39,5],"end":[41,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6594":{"id":6594,"crate_id":0,"name":"clone","span":{"filename":"src/sync/once_cell.rs","begin":[91,5],"end":[93,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4832":{"id":4832,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3070":{"id":3070,"crate_id":0,"name":"try_read_vectored","span":{"filename":"src/net/unix/pipe.rs","begin":[1306,5],"end":[1310,6]},"visibility":"public","docs":"Tries to read data from the pipe into the provided buffers, returning\nhow many bytes were read.\n\nData is copied to fill each buffer in order, with the final buffer\nwritten to possibly being only partially filled. This method behaves\nequivalently to a single call to [`try_read()`] with concatenated\nbuffers.\n\nReads any pending data from the pipe but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_vectored()` is non-blocking, the buffer does not have to be\nstored by the async task and can exist entirely on the stack.\n\nUsually, [`readable()`] is used with this function.\n\n[`try_read()`]: Self::try_read()\n[`readable()`]: Self::readable()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the pipe's writing end is\nclosed and will no longer write data. If the pipe is not ready to read\ndata `Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Notes\n\nTo avoid unnecessary syscalls, this will only attempt the read\noperation if the OS has informed Tokio that this pipe has become\nreadable. Because of this, `try_read_vectored()` may fail with a\n[`WouldBlock`] error if Tokio has not yet heard from the OS that\nthis pipe has become readable.\n\n# Examples\n\n```no_run\nuse tokio::net::unix::pipe;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Open a reading end of a fifo\n    let rx = pipe::OpenOptions::new().open_receiver(\"path/to/a/fifo\")?;\n\n    loop {\n        // Wait for the pipe to be readable\n        rx.readable().await?;\n\n        // Creating the buffer **after** the `await` prevents it from\n        // being stored in the async task.\n        let mut buf_a = [0; 512];\n        let mut buf_b = [0; 1024];\n        let mut bufs = [\n            io::IoSliceMut::new(&mut buf_a),\n            io::IoSliceMut::new(&mut buf_b),\n        ];\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match rx.try_read_vectored(&mut bufs) {\n            Ok(0) => break,\n            Ok(n) => {\n                println!(\"read {} bytes\", n);\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```\n\n[`WouldBlock`]: std::io::ErrorKind::WouldBlock","links":{"std::io::ErrorKind::WouldBlock":1116,"Self::try_read()":3068,"Self::readable()":3066},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"resolved_path":{"path":"io::IoSliceMut","id":2282,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1308":{"id":1308,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6921":{"id":6921,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5159":{"id":5159,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[1723,1],"end":[1727,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5158],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1635":{"id":1635,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5486":{"id":5486,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3724":{"id":3724,"crate_id":0,"name":"JoinSet","span":{"filename":"src/task/join_set.rs","begin":[64,1],"end":[66,2]},"visibility":"public","docs":"A collection of tasks spawned on a Tokio runtime.\n\nA `JoinSet` can be used to await the completion of some or all of the tasks\nin the set. The set is not ordered, and the tasks will be returned in the\norder they complete.\n\nAll of the tasks must have the same return type `T`.\n\nWhen the `JoinSet` is dropped, all tasks in the `JoinSet` are immediately aborted.\n\n# Examples\n\nSpawn multiple tasks and wait for them.\n\n```\nuse tokio::task::JoinSet;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut set = JoinSet::new();\n\nfor i in 0..10 {\n    set.spawn(async move { i });\n}\n\nlet mut seen = [false; 10];\nwhile let Some(res) = set.join_next().await {\n    let idx = res.unwrap();\n    seen[idx] = true;\n}\n\nfor i in 0..10 {\n    assert!(seen[i]);\n}\n# }\n```\n\n# Task ID guarantees\n\nWhile a task is tracked in a `JoinSet`, that task's ID is unique relative\nto all other running tasks in Tokio. For this purpose, tracking a task in a\n`JoinSet` is equivalent to holding a [`JoinHandle`] to it. See the [task ID]\ndocumentation for more info.\n\n[`JoinHandle`]: crate::task::JoinHandle\n[task ID]: crate::task::Id","links":{"crate::task::Id":3692,"crate::task::JoinHandle":3722},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[7124,7143,7144,7145,7146,7147,7148,7149,7150,7151,7152,7153,7154,7155,7156,7157,7158,7159,7161,7163,7165,7168,7171]}}},"200":{"id":200,"crate_id":0,"name":"flush","span":{"filename":"src/io/util/async_write_ext.rs","begin":[1281,9],"end":[1286,10]},"visibility":"default","docs":"Flushes this output stream, ensuring that all intermediately buffered\ncontents reach their destination.\n\nEquivalent to:\n\n```ignore\nasync fn flush(&mut self) -> io::Result<()>;\n```\n\n# Errors\n\nIt is considered an error if not all bytes could be written due to\nI/O errors or EOF being reached.\n\n# Cancel safety\n\nThis method is cancel safe.\n\nIf `flush` is used as a branch in [`tokio::select!`](crate::select)\nand another branch completes first, then the buffered data in this\n`AsyncWrite` may have been partially flushed.\nHowever, it is guaranteed that the buffer is advanced by the amount of\nbytes that have been partially flushed.\n\n# Examples\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, BufWriter, AsyncWriteExt};\nuse tokio::fs::File;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let f = File::create(\"foo.txt\").await?;\n    let mut buffer = BufWriter::new(f);\n\n    buffer.write_all(b\"some bytes\").await?;\n    buffer.flush().await?;\n    Ok(())\n}\n# }\n```","links":{"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Flush","id":1607,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7248":{"id":7248,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[320,36],"end":[320,38]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"crate::runtime::task::Id","name":"Id","id":3692,"is_glob":false}}},"7575":{"id":7575,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4051":{"id":4051,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2289":{"id":2289,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5813":{"id":5813,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6140":{"id":6140,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4378":{"id":4378,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"854":{"id":854,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/net/unix/pipe.rs","begin":[828,5],"end":[830,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4705":{"id":4705,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2943":{"id":2943,"crate_id":0,"name":"as_fd","span":{"filename":"src/net/unix/stream.rs","begin":[1120,5],"end":[1122,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1181":{"id":1181,"crate_id":0,"name":"get_inner","span":{"filename":"src/io/async_fd.rs","begin":[1172,5],"end":[1174,6]},"visibility":"public","docs":"Returns a shared reference to the backing object of the inner [`AsyncFd`].","links":{"`AsyncFd`":512},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":"'a","is_mutable":false,"type":{"generic":"Inner"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6467":{"id":6467,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[439,5],"end":[441,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6794":{"id":6794,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5032":{"id":5032,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3270":{"id":3270,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7121":{"id":7121,"crate_id":0,"name":"new","span":{"filename":"src/task/join_set.rs","begin":[82,5],"end":[86,6]},"visibility":"public","docs":"Create a new `JoinSet`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3597":{"id":3597,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1835":{"id":1835,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7448":{"id":7448,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5686":{"id":5686,"crate_id":0,"name":"MutexGuard","span":{"filename":"src/sync/mutex.rs","begin":[151,1],"end":[157,2]},"visibility":"public","docs":"A handle to a held `Mutex`. The guard can be held across any `.await` point\nas it is [`Send`].\n\nAs long as you have this guard, you have exclusive access to the underlying\n`T`. The guard internally borrows the `Mutex`, so the mutex will not be\ndropped while a guard exists.\n\nThe lock is automatically released whenever the guard is dropped, at which\npoint `lock` will succeed yet again.","links":{"`Send`":142},"attrs":[{"other":"#[clippy::has_significant_drop]"},{"must_use":{"reason":"if unused the Mutex will immediately unlock"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5730,5731,5732,5733,5734,5735,5736,5737,5738,5739,5740,5741,5742,5743,5744,5745,5746,5747,5748,5750,5753,5755,5757,5759]}}},"2162":{"id":2162,"crate_id":0,"name":"local_addr","span":{"filename":"src/net/tcp/listener.rs","begin":[332,5],"end":[334,6]},"visibility":"public","docs":"Returns the local address that this listener is bound to.\n\nThis can be useful, for example, when binding to port 0 to figure out\nwhich port was actually bound.\n\n# Examples\n\n```rust,no_run\nuse tokio::net::TcpListener;\n\nuse std::io;\nuse std::net::{Ipv4Addr, SocketAddr, SocketAddrV4};\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let listener = TcpListener::bind(\"127.0.0.1:8080\").await?;\n\n    assert_eq!(listener.local_addr()?,\n               SocketAddr::V4(SocketAddrV4::new(Ipv4Addr::new(127, 0, 0, 1), 8080)));\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"400":{"id":400,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4251":{"id":4251,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2489":{"id":2489,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/stream.rs","begin":[1543,5],"end":[1547,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"super::TcpStream","id":634,"args":null}},"items":[2488],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"727":{"id":727,"crate_id":0,"name":null,"span":{"filename":"src/io/async_write.rs","begin":[289,1],"end":[322,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"io::Cursor","id":557,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}},"items":[722,723,724,725,726],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6013":{"id":6013,"crate_id":0,"name":"eq","span":{"filename":"src/sync/oneshot.rs","begin":[347,25],"end":[347,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"RecvError","id":5989,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6340":{"id":6340,"crate_id":0,"name":"Target","span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[416,5],"end":[416,21]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"T"},"default_unstable":null}}},"2816":{"id":2816,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1054":{"id":1054,"crate_id":0,"name":"enter","span":{"filename":"src/runtime/runtime.rs","begin":[419,5],"end":[421,6]},"visibility":"public","docs":"Enters the runtime context.\n\nThis allows you to construct types that must have an executor\navailable on creation such as [`Sleep`] or [`TcpStream`]. It will\nalso allow you to call methods such as [`tokio::spawn`].\n\n[`Sleep`]: struct@crate::time::Sleep\n[`TcpStream`]: struct@crate::net::TcpStream\n[`tokio::spawn`]: fn@crate::spawn\n\n# Example\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Runtime;\nuse tokio::task::JoinHandle;\n\nfn function_that_spawns(msg: String) -> JoinHandle<()> {\n    // Had we not used `rt.enter` below, this would panic.\n    tokio::spawn(async move {\n        println!(\"{}\", msg);\n    })\n}\n\nfn main() {\n    let rt = Runtime::new().unwrap();\n\n    let s = \"Hello World!\".to_string();\n\n    // By entering the context, we tie `tokio::spawn` to this executor.\n    let _guard = rt.enter();\n    let handle = function_that_spawns(s);\n\n    // Wait for the task before we end the test.\n    rt.block_on(handle).unwrap();\n}\n# }\n```","links":{"fn@crate::spawn":3799,"struct@crate::time::Sleep":4266,"struct@crate::net::TcpStream":634},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4578":{"id":4578,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4905":{"id":4905,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3143":{"id":3143,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1381":{"id":1381,"crate_id":0,"name":null,"span":{"filename":"src/io/stdout.rs","begin":[210,5],"end":[214,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#225) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#225) }], src/macros/cfg.rs:42:26: 42:39 (#225)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#225) }], src/macros/cfg.rs:42:22: 42:49 (#225))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsHandle","id":296,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[1380],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6667":{"id":6667,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5232":{"id":5232,"crate_id":0,"name":"try_send","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[924,5],"end":[934,6]},"visibility":"public","docs":"Attempts to immediately send a message on this `Sender`.\n\nThis method differs from [`send`] by returning immediately if the channel's\nbuffer is full or no receiver is waiting to acquire some data. Compared\nwith [`send`], this function has two failure cases instead of one (one for\ndisconnection, one for a full buffer).\n\n# Errors\n\nIf the channel capacity has been reached, i.e., the channel has `n`\nbuffered values where `n` is the argument passed to [`channel`], then an\nerror is returned.\n\nIf the receive half of the channel is closed, either due to [`close`]\nbeing called or the [`Receiver`] handle dropping, the function returns\nan error. The error includes the value passed to `send`.\n\n[`send`]: Sender::send\n[`channel`]: channel\n[`close`]: Receiver::close\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\n// Create a channel with buffer size 1\nlet (tx1, mut rx) = mpsc::channel(1);\nlet tx2 = tx1.clone();\n\ntokio::spawn(async move {\n    tx1.send(1).await.unwrap();\n    tx1.send(2).await.unwrap();\n    // task waits until the receiver receives a value.\n});\n\ntokio::spawn(async move {\n    // This will return an error and send\n    // no message if the buffer is full\n    let _ = tx2.try_send(3);\n});\n\nlet mut msg;\nmsg = rx.recv().await.unwrap();\nprintln!(\"message {} received\", msg);\n\nmsg = rx.recv().await.unwrap();\nprintln!(\"message {} received\", msg);\n\n// Third message may have never been sent\nmatch rx.recv().await {\n    Some(msg) => println!(\"message {} received\", msg),\n    None => println!(\"the third message was never sent\"),\n}\n# }\n```","links":{"Receiver::close":5225,"`Receiver`":5226,"Sender::send":5229,"channel":5223},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["message",{"generic":"T"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1708":{"id":1708,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3470":{"id":3470,"crate_id":0,"name":"fmt","span":{"filename":"src/process/mod.rs","begin":[273,10],"end":[273,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5559":{"id":5559,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[16,1],"end":[20,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5558],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7321":{"id":7321,"crate_id":0,"name":null,"span":{"filename":"src/time/error.rs","begin":[111,1],"end":[115,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[7320],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"273":{"id":273,"crate_id":0,"name":null,"span":{"filename":"src/fs/file.rs","begin":[901,1],"end":[905,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"},{"other":"#[attr = CfgTrace([NameValue { name: \"unix\", value: None, span: src/fs/file.rs:900:7: 900:11 (#0) }])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedFd","id":272,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[271],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5886":{"id":5886,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2362":{"id":2362,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"600":{"id":600,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/split.rs","begin":[111,5],"end":[117,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4124":{"id":4124,"crate_id":0,"name":"addr","span":{"filename":"src/runtime/dump.rs","begin":[83,5],"end":[85,6]},"visibility":"public","docs":"Returns the starting address of this symbol.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"raw_pointer":{"is_mutable":true,"type":{"resolved_path":{"path":"std::ffi::c_void","id":3225,"args":null}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4451":{"id":4451,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"927":{"id":927,"crate_id":0,"name":"READABLE","span":{"filename":"src/io/interest.rs","begin":[55,5],"end":[55,55]},"visibility":"public","docs":"Interest in all readable events.\n\nReadable interest includes read-closed events.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"resolved_path":{"path":"Interest","id":924,"args":null}},"value":"_","default_unstable":null}}},"2689":{"id":2689,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6540":{"id":6540,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3016":{"id":3016,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1254":{"id":1254,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4778":{"id":4778,"crate_id":0,"name":"window_change","span":{"filename":"src/signal/unix.rs","begin":[224,5],"end":[226,6]},"visibility":"public","docs":"Represents the `SIGWINCH` signal.\n\nOn Unix systems this signal is sent when the terminal window is resized.\nBy default, this signal is ignored.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6867":{"id":6867,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5105":{"id":5105,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3343":{"id":3343,"crate_id":0,"name":"hash","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2616,45],"end":[2616,49]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["state",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"__H"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[{"name":"__H","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::hash::Hasher","id":2983,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1581":{"id":1581,"crate_id":0,"name":"write_i128","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an signed 128-bit integer in big-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_i128(&mut self, n: i128) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite signed 128-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_i128(i128::MIN).await?;\n\nassert_eq!(writer, vec![\n    0x80, 0, 0, 0, 0, 0, 0, 0,\n    0, 0, 0, 0, 0, 0, 0, 0\n]);\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"i128"}]],"output":{"resolved_path":{"path":"WriteI128","id":1582,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7194":{"id":7194,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5432":{"id":5432,"crate_id":0,"name":"unbounded_channel","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[95,1],"end":[102,2]},"visibility":"public","docs":"Creates an unbounded mpsc channel for communicating between asynchronous\ntasks without backpressure.\n\nA `send` on this channel will always succeed as long as the receive half has\nnot been closed. If the receiver falls behind, messages will be arbitrarily\nbuffered.\n\n**Note** that the amount of available system memory is an implicit bound to\nthe channel. Using an `unbounded` channel has the ability of causing the\nprocess to run out of memory. In this case, the process will be aborted.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"tuple":[{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}]},"is_c_variadic":false},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7521":{"id":7521,"crate_id":0,"name":null,"span":{"filename":"src/time/timeout.rs","begin":[175,14],"end":[175,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7520],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5759":{"id":5759,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[997,1],"end":[1001,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"fmt::Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5758],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3997":{"id":3997,"crate_id":0,"name":"enable_metrics_schedule_latency_histogram","span":{"filename":"src/runtime/builder.rs","begin":[1914,9],"end":[1917,10]},"visibility":"public","docs":"Enables tracking the distribution of task schedule latencies. Task\nschedule latency is the time between when a task is scheduled for\nexecution and when it is polled.\n\n**This feature is only supported on 64-bit targets.**\n\nTask schedule latencies are not instrumented by default as doing\nso requires calling [`Instant::now()`] when a task is scheduled\nand when it is polled, which could add measurable overhead. Use\nthe [`Handle::metrics()`] to access the metrics data.\n\nBy default, a linear histogram with 10 buckets each 100 microseconds wide will be used.\nThis has an extremely low memory footprint, but may not provide enough granularity. For\nbetter granularity with low memory usage, use [`metrics_schedule_latency_histogram_configuration()`]\nto select [`LogHistogram`] instead.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime;\n\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_metrics_schedule_latency_histogram()\n    .build()\n    .unwrap();\n# // Test default values here\n# fn us(n: u64) -> std::time::Duration { std::time::Duration::from_micros(n) }\n# let m = rt.handle().metrics();\n# assert_eq!(m.schedule_latency_histogram_num_buckets(), 10);\n# assert_eq!(m.schedule_latency_histogram_bucket_range(0), us(0)..us(100));\n# assert_eq!(m.schedule_latency_histogram_bucket_range(1), us(100)..us(200));\n# }\n```\n\n[`Handle::metrics()`]: crate::runtime::Handle::metrics\n[`Instant::now()`]: std::time::Instant::now\n[`LogHistogram`]: crate::runtime::LogHistogram\n[`metrics_schedule_latency_histogram_configuration()`]: Builder::metrics_schedule_latency_histogram_configuration","links":{"crate::runtime::LogHistogram":3978,"crate::runtime::Handle::metrics":3976,"Builder::metrics_schedule_latency_histogram_configuration":3996,"std::time::Instant::now":3975},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2235":{"id":2235,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4324":{"id":4324,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2562":{"id":2562,"crate_id":0,"name":"join_multicast_v6","span":{"filename":"src/net/udp.rs","begin":[2260,5],"end":[2262,6]},"visibility":"public","docs":"Executes an operation of the `IPV6_ADD_MEMBERSHIP` type.\n\nThis function specifies a new multicast group for this socket to join.\nThe address must be a valid multicast address, and `interface` is the\nindex of the interface to join/leave (or 0 to indicate any interface).","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["multiaddr",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Ipv6Addr","id":2142,"args":null}}}}],["interface",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"800":{"id":800,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/util/mem.rs","begin":[387,9],"end":[400,10]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:629:21: 629:35 (#314) }, NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:630:21: 630:39 (#314) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:631:21: 631:36 (#314) }, NameValue { name: \"feature\", value: Some(\"process\"), span: src/macros/cfg.rs:632:21: 632:40 (#314) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:633:21: 633:35 (#314) }, NameValue { name: \"feature\", value: Some(\"signal\"), span: src/macros/cfg.rs:634:21: 634:39 (#314) }, NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:635:21: 635:37 (#314) }, NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:636:21: 636:37 (#314) }], src/macros/cfg.rs:628:22: 637:22 (#314))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"std::io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}},{"type":{"resolved_path":{"path":"std::io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6413":{"id":6413,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"Deref","id":550,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Target","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Receiver","id":1075,"args":null},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1073],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"P"}}}},"4651":{"id":4651,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1127":{"id":1127,"crate_id":0,"name":"get_mut","span":{"filename":"src/io/async_fd.rs","begin":[329,5],"end":[331,6]},"visibility":"public","docs":"Returns a mutable reference to the backing object of this [`AsyncFd`].","links":{"`AsyncFd`":512},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2889":{"id":2889,"crate_id":0,"name":"from","span":{"filename":"src/net/unix/socketaddr.rs","begin":[63,5],"end":[65,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["value",{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4978":{"id":4978,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3216":{"id":3216,"crate_id":0,"name":"write_dac","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2133,5],"end":[2136,6]},"visibility":"public","docs":"Requests permission to modify the pipe's discretionary access control list.\n\nThis corresponds to setting [`WRITE_DAC`] in dwOpenMode.\n\n# Examples\n\n```\nuse std::{io, os::windows::prelude::AsRawHandle, ptr};\n\nuse tokio::net::windows::named_pipe::ServerOptions;\nuse windows_sys::{\n    Win32::Foundation::ERROR_SUCCESS,\n    Win32::Security::DACL_SECURITY_INFORMATION,\n    Win32::Security::Authorization::{SetSecurityInfo, SE_KERNEL_OBJECT},\n};\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\write_dac_pipe\";\n\n# #[tokio::main] async fn main() -> io::Result<()> {\nlet mut pipe_template = ServerOptions::new();\npipe_template.write_dac(true);\nlet pipe = pipe_template.create(PIPE_NAME)?;\n\nunsafe {\n    assert_eq!(\n        ERROR_SUCCESS,\n        SetSecurityInfo(\n            pipe.as_raw_handle() as _,\n            SE_KERNEL_OBJECT,\n            DACL_SECURITY_INFORMATION,\n            ptr::null_mut(),\n            ptr::null_mut(),\n            ptr::null_mut(),\n            ptr::null_mut(),\n        )\n    );\n}\n\n# Ok(()) }\n```\n\n```\nuse std::{io, os::windows::prelude::AsRawHandle, ptr};\n\nuse tokio::net::windows::named_pipe::ServerOptions;\nuse windows_sys::{\n    Win32::Foundation::ERROR_ACCESS_DENIED,\n    Win32::Security::DACL_SECURITY_INFORMATION,\n    Win32::Security::Authorization::{SetSecurityInfo, SE_KERNEL_OBJECT},\n};\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\write_dac_pipe_fail\";\n\n# #[tokio::main] async fn main() -> io::Result<()> {\nlet mut pipe_template = ServerOptions::new();\npipe_template.write_dac(false);\nlet pipe = pipe_template.create(PIPE_NAME)?;\n\nunsafe {\n    assert_eq!(\n        ERROR_ACCESS_DENIED,\n        SetSecurityInfo(\n            pipe.as_raw_handle() as _,\n            SE_KERNEL_OBJECT,\n            DACL_SECURITY_INFORMATION,\n            ptr::null_mut(),\n            ptr::null_mut(),\n            ptr::null_mut(),\n            ptr::null_mut(),\n        )\n    );\n}\n\n# Ok(()) }\n```\n\n[`WRITE_DAC`]: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["requested",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1454":{"id":1454,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6740":{"id":6740,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/watch.rs","begin":[344,9],"end":[346,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7067":{"id":7067,"crate_id":0,"name":"try_get","span":{"filename":"src/task/task_local.rs","begin":[285,5],"end":[287,6]},"visibility":"public","docs":"Returns a copy of the task-local value\nif the task-local value implements `Clone`.\n\nIf the task-local with the associated key is not present, this\nmethod will return an `AccessError`. For a panicking variant,\nsee `get`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'static","is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"resolved_path":{"path":"AccessError","id":7064,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5305":{"id":5305,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1645,1],"end":[1653,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5304],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1781":{"id":1781,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5632":{"id":5632,"crate_id":0,"name":"Closed","span":{"filename":"src/sync/mpsc/error.rs","begin":[132,9],"end":[132,18]},"visibility":"default","docs":"The receive half of the channel was explicitly closed or has been\ndropped.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":{"tuple":[5631]},"discriminant":null}}},"3870":{"id":3870,"crate_id":0,"name":"trace_with","span":{"filename":"src/runtime/task/trace/mod.rs","begin":[207,1],"end":[250,2]},"visibility":"public","docs":"Runs `f`. If `f` hits a Tokio yield point `trace_leaf` will be invoked.\n\nThis allows taking a task dump with caller-provided task dump machinery. If `f` is the poll\nfunction of a future and that future returns `Poll::Pending`, then `trace_leaf` will be\ninvoked. `trace_leaf` can then take a backtrace to determine exactly where the yield occurred.\n\n# Example\n\n```\nuse std::future::Future;\nuse std::task::Poll;\nuse tokio::runtime::dump::{trace_with, Trace, TraceMeta};\n\nfn my_trace_leaf(_meta: &TraceMeta, count: &mut u32) {\n    *count += 1;\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut fut = std::pin::pin!(async {\n    tokio::task::yield_now().await;\n});\n\nlet mut leaf_count = 0;\n\nTrace::root(std::future::poll_fn(|cx| {\n    trace_with(\n        || { let _ = fut.as_mut().poll(cx); },\n        |meta| my_trace_leaf(meta, &mut leaf_count),\n    );\n    Poll::Ready(())\n})).await;\n\nassert!(leaf_count > 0);\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["f",{"generic":"FN"}],["trace_leaf",{"generic":"FT"}]],"output":{"generic":"R"},"is_c_variadic":false},"generics":{"params":[{"name":"FN","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"FT","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"FN"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"R"}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"FT"},"bounds":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}}}}],"output":null}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2108":{"id":2108,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[286,114],"end":[286,129]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::AsyncBufReadExt","name":"AsyncBufReadExt","id":537,"is_glob":false}}},"346":{"id":346,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7394":{"id":7394,"crate_id":0,"name":"Interval","span":{"filename":"src/time/interval.rs","begin":[386,1],"end":[398,2]},"visibility":"public","docs":"Interval returned by [`interval`] and [`interval_at`].\n\nThis type allows you to wait on a sequence of instants with a certain\nduration between each instant. Unlike calling [`sleep`] in a loop, this lets\nyou count the time spent between the calls to [`sleep`] as well.\n\nAn `Interval` can be turned into a `Stream` with [`IntervalStream`].\n\n[`IntervalStream`]: https://docs.rs/tokio-stream/latest/tokio_stream/wrappers/struct.IntervalStream.html\n[`sleep`]: crate::time::sleep()","links":{"crate::time::sleep()":7256,"`interval`":7400,"`interval_at`":7398},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[7443,7444,7445,7446,7447,7448,7449,7450,7451,7452,7453,7454,7455,7456,7457,7458,7459,7461]}}},"2435":{"id":2435,"crate_id":0,"name":"from_std","span":{"filename":"src/net/tcp/stream.rs","begin":[210,5],"end":[216,6]},"visibility":"public","docs":"Creates new `TcpStream` from a `std::net::TcpStream`.\n\nThis function is intended to be used to wrap a TCP stream from the\nstandard library in the Tokio equivalent.\n\n# Notes\n\nThe caller is responsible for ensuring that the stream is in\nnon-blocking mode. Otherwise all I/O operations on the stream\nwill block the thread, which will cause unexpected behavior.\nNon-blocking mode can be set using [`set_nonblocking`].\n\nPassing a listener in blocking mode is always erroneous,\nand the behavior in that case may change in the future.\nFor example, it could panic.\n\n[`set_nonblocking`]: std::net::TcpStream::set_nonblocking\n\n# Examples\n\n```rust,no_run\nuse std::error::Error;\nuse tokio::net::TcpStream;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let std_stream = std::net::TcpStream::connect(\"127.0.0.1:34254\")?;\n    std_stream.set_nonblocking(true)?;\n    let stream = TcpStream::from_std(std_stream)?;\n    Ok(())\n}\n```\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"crate::runtime::Runtime::enter":1054,"std::net::TcpStream::set_nonblocking":2230},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["stream",{"resolved_path":{"path":"std::net::TcpStream","id":1120,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpStream","id":634,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"673":{"id":673,"crate_id":0,"name":null,"span":{"filename":"src/io/async_seek.rs","begin":[75,1],"end":[87,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"DerefMut","id":549,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"qualified_path":{"name":"Target","args":null,"self_type":{"generic":"P"},"trait":{"path":"","id":550,"args":null}}},"bounds":[{"trait_bound":{"trait":{"path":"AsyncSeek","id":199,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"AsyncSeek","id":199,"args":null},"for":{"resolved_path":{"path":"std::pin::Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"generic":"P"}}],"constraints":[]}}}},"items":[671,672],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4197":{"id":4197,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6286":{"id":6286,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4524":{"id":4524,"crate_id":0,"name":"poll_time_histogram_bucket_range","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[525,9],"end":[539,10]},"visibility":"public","docs":"Returns the range of task poll times tracked by the given bucket.\n\nThis value is configured by calling\n[`metrics_poll_time_histogram_configuration()`] when building the runtime.\n\n# Panics\n\nThe method panics if `bucket` represents an invalid bucket index, i.e.\nis greater than or equal to `poll_time_histogram_num_buckets()`.\n\n# Examples\n\n```\nuse tokio::runtime::{self, Handle};\n\nfn main() {\n    runtime::Builder::new_current_thread()\n        .enable_metrics_poll_time_histogram()\n        .build()\n        .unwrap()\n        .block_on(async {\n            let metrics = Handle::current().metrics();\n            let buckets = metrics.poll_time_histogram_num_buckets();\n\n            for i in 0..buckets {\n                let range = metrics.poll_time_histogram_bucket_range(i);\n                println!(\"Histogram bucket {} range: {:?}\", i, range);\n            }\n        });\n}\n```\n\n[`metrics_poll_time_histogram_configuration()`]:\n    crate::runtime::Builder::metrics_poll_time_histogram_configuration","links":{"crate::runtime::Builder::metrics_poll_time_histogram_configuration":3977},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1689) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["bucket",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"Range","id":4525,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Duration","id":2215,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2762":{"id":2762,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split.rs","begin":[48,10],"end":[48,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[2761],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1000":{"id":1000,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6613":{"id":6613,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3089":{"id":3089,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1327":{"id":1327,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4851":{"id":4851,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5178":{"id":5178,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3416":{"id":3416,"crate_id":0,"name":"spawn","span":{"filename":"src/process/mod.rs","begin":[863,5],"end":[867,6]},"visibility":"public","docs":"Executes the command as a child process, returning a handle to it.\n\nBy default, stdin, stdout and stderr are inherited from the parent.\n\nThis method will spawn the child process synchronously and return a\nhandle to a future-aware child process. The `Child` returned implements\n`Future` itself to acquire the `ExitStatus` of the child, and otherwise\nthe `Child` has methods to acquire handles to the stdin, stdout, and\nstderr streams.\n\nAll I/O this child does will be associated with the current default\nevent loop.\n\n# Examples\n\nBasic usage:\n\n```no_run\nuse tokio::process::Command;\n\nasync fn run_ls() -> std::process::ExitStatus {\n    Command::new(\"ls\")\n        .spawn()\n        .expect(\"ls command failed to start\")\n        .wait()\n        .await\n        .expect(\"ls command failed to run\")\n}\n```\n\n# Caveats\n\n## Dropping/Cancellation\n\nSimilar to the behavior to the standard library, and unlike the futures\nparadigm of dropping-implies-cancellation, a spawned process will, by\ndefault, continue to execute even after the `Child` handle has been dropped.\n\nThe [`Command::kill_on_drop`] method can be used to modify this behavior\nand kill the child process if the `Child` wrapper is dropped before it\nhas exited.\n\n## Unix Processes\n\nOn Unix platforms processes must be \"reaped\" by their parent process after\nthey have exited in order to release all OS resources. A child process which\nhas exited, but has not yet been reaped by its parent is considered a \"zombie\"\nprocess. Such processes continue to count against limits imposed by the system,\nand having too many zombie processes present can prevent additional processes\nfrom being spawned.\n\nThe tokio runtime will, on a best-effort basis, attempt to reap and clean up\nany process which it has spawned. No additional guarantees are made with regard to\nhow quickly or how often this procedure will take place.\n\nIt is recommended to avoid dropping a [`Child`] process handle before it has been\nfully `await`ed if stricter cleanup guarantees are required.\n\n[`Command`]: crate::process::Command\n[`Command::kill_on_drop`]: crate::process::Command::kill_on_drop\n[`Child`]: crate::process::Child\n\n# Errors\n\nOn Unix platforms this method will fail with `std::io::ErrorKind::WouldBlock`\nif the system process limit is reached (which includes other applications\nrunning on the system).","links":{"crate::process::Child":3419,"crate::process::Command":3420,"crate::process::Command::kill_on_drop":3424},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Child","id":3419,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1654":{"id":1654,"crate_id":0,"name":"get_ref","span":{"filename":"src/io/util/buf_stream.rs","begin":[55,5],"end":[57,6]},"visibility":"public","docs":"Gets a reference to the underlying I/O object.\n\nIt is inadvisable to directly read from the underlying I/O object.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"RW"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6940":{"id":6940,"crate_id":0,"name":null,"span":{"filename":"src/task/coop/mod.rs","begin":[66,29],"end":[66,42]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4212) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"unconstrained::unconstrained","name":"unconstrained","id":6915,"is_glob":false}}},"7267":{"id":7267,"crate_id":0,"name":null,"span":{"filename":"src/time/error.rs","begin":[56,1],"end":[86,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[7261,7262,7263,7264,7265,7266],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3743":{"id":3743,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1981":{"id":1981,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"219":{"id":219,"crate_id":0,"name":"try_clone","span":{"filename":"src/fs/file.rs","begin":[469,5],"end":[476,6]},"visibility":"public","docs":"Creates a new `File` instance that shares the same underlying file handle\nas the existing `File` instance. Reads, writes, and seeks will affect both\nFile instances simultaneously.\n\n# Examples\n\n```no_run\nuse tokio::fs::File;\n\n# async fn dox() -> std::io::Result<()> {\nlet file = File::open(\"foo.txt\").await?;\nlet file_clone = file.try_clone().await?;\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"File","id":204,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5505":{"id":5505,"crate_id":0,"name":"len","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[409,5],"end":[411,6]},"visibility":"public","docs":"Returns the number of messages in the channel.\n\n# Examples\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = mpsc::unbounded_channel();\nassert_eq!(0, rx.len());\n\ntx.send(0).unwrap();\nassert_eq!(1, rx.len());\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7594":{"id":7594,"crate_id":0,"name":"stream","span":{"filename":"src/lib.rs","begin":[642,1],"end":[642,15]},"visibility":"public","docs":"Due to the `Stream` trait's inclusion in `std` landing later than Tokio's 1.0\nrelease, most of the Tokio stream utilities have been moved into the [`tokio-stream`]\ncrate.\n\n# Why was `Stream` not included in Tokio 1.0?\n\nOriginally, we had planned to ship Tokio 1.0 with a stable `Stream` type\nbut unfortunately the [RFC] had not been merged in time for `Stream` to\nreach `std` on a stable compiler in time for the 1.0 release of Tokio. For\nthis reason, the team has decided to move all `Stream` based utilities to\nthe [`tokio-stream`] crate. While this is not ideal, once `Stream` has made\nit into the standard library and the `MSRV` period has passed, we will implement\nstream for our different types.\n\nWhile this may seem unfortunate, not all is lost as you can get much of the\n`Stream` support with `async/await` and `while let` loops. It is also possible\nto create a `impl Stream` from `async fn` using the [`async-stream`] crate.\n\n[`tokio-stream`]: https://docs.rs/tokio-stream\n[`async-stream`]: https://docs.rs/async-stream\n[RFC]: https://github.com/rust-lang/rfcs/pull/2996\n\n# Example\n\nConvert a [`sync::mpsc::Receiver`] to an `impl Stream`.\n\n```rust,no_run\nuse tokio::sync::mpsc;\n\nlet (tx, mut rx) = mpsc::channel::<usize>(16);\n\nlet stream = async_stream::stream! {\n    while let Some(item) = rx.recv().await {\n        yield item;\n    }\n};\n```","links":{"`sync::mpsc::Receiver`":5226},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[],"is_stripped":false}}},"4070":{"id":4070,"crate_id":0,"name":"Task","span":{"filename":"src/runtime/dump.rs","begin":[30,1],"end":[33,2]},"visibility":"public","docs":"A snapshot of a task.\n\nSee [`Handle::dump`][crate::runtime::Handle::dump].","links":{"crate::runtime::Handle::dump":4045},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4095,4096,4097,4098,4099,4100,4101,4102,4103,4104,4105,4106,4107,4108,4109,4110,4111,4113]}}},"546":{"id":546,"crate_id":0,"name":"poll_fill_buf","span":{"filename":"src/io/async_buf_read.rs","begin":[90,5],"end":[92,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4397":{"id":4397,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2635":{"id":2635,"crate_id":0,"name":"into_std","span":{"filename":"src/net/unix/listener.rs","begin":[184,5],"end":[189,6]},"visibility":"public","docs":"Turns a [`tokio::net::UnixListener`] into a [`std::os::unix::net::UnixListener`].\n\nThe returned [`std::os::unix::net::UnixListener`] will have nonblocking mode\nset as `true`. Use [`set_nonblocking`] to change the blocking mode if needed.\n\n# Examples\n\n```rust,no_run\n# use std::error::Error;\n# async fn dox() -> Result<(), Box<dyn Error>> {\nlet tokio_listener = tokio::net::UnixListener::bind(\"/path/to/the/socket\")?;\nlet std_listener = tokio_listener.into_std()?;\nstd_listener.set_nonblocking(false)?;\n# Ok(())\n# }\n```\n\n[`tokio::net::UnixListener`]: UnixListener\n[`std::os::unix::net::UnixListener`]: std::os::unix::net::UnixListener\n[`set_nonblocking`]: fn@std::os::unix::net::UnixListener::set_nonblocking","links":{"UnixListener":2628,"fn@std::os::unix::net::UnixListener::set_nonblocking":2633,"std::os::unix::net::UnixListener":2632},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::os::unix::net::UnixListener","id":2632,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"873":{"id":873,"crate_id":0,"name":"ChildStdin","span":{"filename":"src/process/mod.rs","begin":[1482,1],"end":[1484,2]},"visibility":"public","docs":"The standard input stream for spawned children.\n\nThis type implements the `AsyncWrite` trait to pass data to the stdin\nhandle of a child process asynchronously.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[3507,3509,3512,3513,3514,3515,3516,3517,3518,3519,3520,3521,3522,3523,3524,3525,3526,3527,3528,3529,3531,872,3534,3536,3538,3540,3542]}}},"6159":{"id":6159,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6486":{"id":6486,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4724":{"id":4724,"crate_id":0,"name":"clone","span":{"filename":"src/runtime/metrics/histogram.rs","begin":[67,21],"end":[67,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1200":{"id":1200,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[1372,1],"end":[1378,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"std::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1199],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2962":{"id":2962,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6813":{"id":6813,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[1004,1],"end":[1011,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6812],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3289":{"id":3289,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1527":{"id":1527,"crate_id":0,"name":"read_i32_le","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads a signed 32-bit integer in little-endian order from the\nunderlying reader.\n\n\nEquivalent to:\n\n```ignore\nasync fn read_i32_le(&mut self) -> io::Result<i32>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead signed 32-bit little-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![0xff, 0xff, 0x7a, 0x33]);\n\nassert_eq!(863698943, reader.read_i32_le().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadI32Le","id":1528,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5051":{"id":5051,"crate_id":0,"name":"Receiver","span":{"filename":"src/sync/broadcast.rs","begin":[253,1],"end":[259,2]},"visibility":"public","docs":"Receiving-half of the [`broadcast`] channel.\n\nMust not be used concurrently. Messages may be retrieved using\n[`recv`][Receiver::recv].\n\nTo turn this receiver into a `Stream`, you can use the [`BroadcastStream`]\nwrapper.\n\n[`BroadcastStream`]: https://docs.rs/tokio-stream/0.1/tokio_stream/wrappers/struct.BroadcastStream.html\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx1) = broadcast::channel(16);\nlet mut rx2 = tx.subscribe();\n\ntokio::spawn(async move {\n    assert_eq!(rx1.recv().await.unwrap(), 10);\n    assert_eq!(rx1.recv().await.unwrap(), 20);\n});\n\ntokio::spawn(async move {\n    assert_eq!(rx2.recv().await.unwrap(), 10);\n    assert_eq!(rx2.recv().await.unwrap(), 20);\n});\n\ntx.send(10).unwrap();\ntx.send(20).unwrap();\n# }\n```\n\n[`broadcast`]: crate::sync::broadcast","links":{"crate::sync::broadcast":5121,"Receiver::recv":5049},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5196,5199,5200,5201,5202,5203,5204,5205,5206,5207,5208,5209,5210,5211,5212,5213,5214,5215,5217,5219]}}},"7140":{"id":7140,"crate_id":0,"name":"detach_all","span":{"filename":"src/task/join_set.rs","begin":[471,5],"end":[473,6]},"visibility":"public","docs":"Removes all tasks from this `JoinSet` without aborting them.\n\nThe tasks removed by this call will continue to run in the background even if the `JoinSet`\nis dropped.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5378":{"id":5378,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1854":{"id":1854,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3616":{"id":3616,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1717,5],"end":[1717,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(windows))]"},{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawHandle","id":292,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[3615],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3943":{"id":3943,"crate_id":0,"name":"enable_alt_timer","span":{"filename":"src/runtime/builder.rs","begin":[428,5],"end":[432,6]},"visibility":"public","docs":"Enables the alternative timer implementation, which is disabled by default.\n\nThe alternative timer implementation is an unstable feature that may\nprovide better performance on multi-threaded runtimes with a large number\nof worker threads.\n\nThis option only applies to multi-threaded runtimes. Attempting to use\nthis option with any other runtime type will have no effect.\n\n[Click here to share your experience with the alternative timer](https://github.com/tokio-rs/tokio/issues/7745)\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime;\n\nlet rt = runtime::Builder::new_multi_thread()\n  .enable_alt_timer()\n  .build()\n  .unwrap();\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/builder.rs:423:15: 423:29 (#0) }, NameValue { name: \"feature\", value: Some(\"time\"), span: src/runtime/builder.rs:423:31: 423:47 (#0) }, NameValue { name: \"feature\", value: Some(\"rt-multi-thread\"), span: src/runtime/builder.rs:423:49: 423:76 (#0) }], src/runtime/builder.rs:423:14: 423:77 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, feature = \"time\", feature = \"rt-multi-thread\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2181":{"id":2181,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5705":{"id":5705,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6032":{"id":6032,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2508":{"id":2508,"crate_id":0,"name":"recv","span":{"filename":"src/net/udp.rs","begin":[790,5],"end":[795,6]},"visibility":"public","docs":"Receives a single datagram message on the socket from the remote address\nto which it is connected. On success, returns the number of bytes read.\n\nThe function must be called with valid byte array `buf` of sufficient\nsize to hold the message bytes. If a message is too long to fit in the\nsupplied buffer, excess bytes may be discarded.\n\nThe [`connect`] method will connect this socket to a remote address.\nThis method will fail if the socket is not connected.\n\n# Cancel safety\n\nThis method is cancel safe. If `recv` is used as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, it is guaranteed that no messages were received on this\nsocket.\n\n[`connect`]: method@Self::connect\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Bind socket\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n    socket.connect(\"127.0.0.1:8081\").await?;\n\n    let mut buf = vec![0; 10];\n    let n = socket.recv(&mut buf).await?;\n\n    println!(\"received {} bytes {:?}\", n, &buf[..n]);\n\n    Ok(())\n}\n```","links":{"crate::select":1471,"method@Self::connect":2506},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"746":{"id":746,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/stderr.rs","begin":[130,5],"end":[136,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4270":{"id":4270,"crate_id":0,"name":"try_current","span":{"filename":"src/runtime/handle.rs","begin":[155,5],"end":[159,6]},"visibility":"public","docs":"Returns a Handle view over the currently running Runtime\n\nReturns an error if no Runtime has been started\n\nContrary to `current`, this never panics","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}},{"type":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4597":{"id":4597,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[26,17],"end":[26,21]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2835":{"id":2835,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1073":{"id":1073,"crate_id":2,"name":"Target","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":{"feature":"arbitrary_self_types","level":"unstable"},"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"T"},"default_unstable":null}}},"6359":{"id":6359,"crate_id":0,"name":"map","span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[85,5],"end":[100,6]},"visibility":"public","docs":"Makes a new `OwnedRwLockMappedWriteGuard` for a component of the locked\ndata.\n\nThis operation cannot fail as the `OwnedRwLockMappedWriteGuard` passed\nin already locked the data.\n\nThis is an associated function that needs to be used as\n`OwnedRwLockWriteGuard::map(..)`. A method would interfere with methods\nof the same name on the contents of the locked data.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::{RwLock, OwnedRwLockWriteGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(Foo(1)));\n\n{\n    let lock = Arc::clone(&lock);\n    let mut mapped = OwnedRwLockWriteGuard::map(lock.write_owned().await, |f| &mut f.0);\n    *mapped = 2;\n}\n\nassert_eq!(Foo(2), *lock.read().await);\n# }\n```","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"V"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"V","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"V"}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6686":{"id":6686,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4924":{"id":4924,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"1400":{"id":1400,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3162":{"id":3162,"crate_id":0,"name":"try_read","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1250,5],"end":[1254,6]},"visibility":"public","docs":"Tries to read data from the pipe into the provided buffer, returning how\nmany bytes were read.\n\nReceives any pending data from the pipe but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: NamedPipeClient::readable()\n[`ready()`]: NamedPipeClient::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. If `n` is `0`, then it can indicate one of two scenarios:\n\n1. The pipe's read half is closed and will no longer yield data.\n2. The specified buffer was 0 bytes in length.\n\nIf the pipe is not ready to read data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-client-try-read\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let client = named_pipe::ClientOptions::new().open(PIPE_NAME)?;\n\n    loop {\n        // Wait for the pipe to be readable\n        client.readable().await?;\n\n        // Creating the buffer **after** the `await` prevents it from\n        // being stored in the async task.\n        let mut buf = [0; 4096];\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match client.try_read(&mut buf) {\n            Ok(0) => break,\n            Ok(n) => {\n                println!(\"read {} bytes\", n);\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"NamedPipeClient::readable()":3160,"NamedPipeClient::ready()":3159},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5251":{"id":5251,"crate_id":0,"name":"same_channel","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1530,5],"end":[1532,6]},"visibility":"public","docs":"Returns `true` if senders belong to the same channel.\n\n# Examples\n\n```\nlet (tx, rx) = tokio::sync::mpsc::channel::<()>(1);\nlet  tx2 = tx.clone();\nassert!(tx.same_channel(&tx2));\n\nlet (tx3, rx3) = tokio::sync::mpsc::channel::<()>(1);\nassert!(!tx3.same_channel(&tx2));\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3489":{"id":3489,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1727":{"id":1727,"crate_id":0,"name":"into_inner","span":{"filename":"src/io/util/chain.rs","begin":[64,5],"end":[66,6]},"visibility":"public","docs":"Consumes the `Chain`, returning the wrapped readers.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"tuple":[{"generic":"T"},{"generic":"U"}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7013":{"id":7013,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"7340":{"id":7340,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5578":{"id":5578,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2054":{"id":2054,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[35,5],"end":[35,32]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"copy_buf::copy_buf","name":"copy_buf","id":1752,"is_glob":false}}},"3816":{"id":3816,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"292":{"id":292,"crate_id":0,"name":"AsRawHandle","span":{"filename":"src/doc/os.rs","begin":[18,9],"end":[21,10]},"visibility":"public","docs":"See [`std::os::windows::io::AsRawHandle`](https://doc.rust-lang.org/std/os/windows/io/trait.AsRawHandle.html)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":true,"items":[7595],"generics":{"params":[],"where_predicates":[]},"bounds":[],"implementations":[291,1316,1348,1379,3152,3193,3540,3578,3616]}}},"5905":{"id":5905,"crate_id":0,"name":"notify_last","span":{"filename":"src/sync/notify.rs","begin":[670,5],"end":[672,6]},"visibility":"public","docs":"Notifies the last waiting task.\n\nThis function behaves similar to `notify_one`. The only difference is that it wakes\nthe most recently added waiter instead of the oldest waiter.\n\nCheck the [`notify_one()`] documentation for more info and\nexamples.\n\n[`notify_one()`]: Notify::notify_one","links":{"Notify::notify_one":5897},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4143":{"id":4143,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"619":{"id":619,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mem.rs","begin":[327,1],"end":[355,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[618],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2381":{"id":2381,"crate_id":0,"name":"peer_addr","span":{"filename":"src/net/tcp/split_owned.rs","begin":[442,5],"end":[444,6]},"visibility":"public","docs":"Returns the remote address that this stream is connected to.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6232":{"id":6232,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2708":{"id":2708,"crate_id":0,"name":"ready","span":{"filename":"src/net/unix/stream.rs","begin":[204,5],"end":[207,6]},"visibility":"public","docs":"Waits for any of the requested ready states.\n\nThis function is usually paired with `try_read()` or `try_write()`. It\ncan be used to concurrently read / write to the same socket on a single\ntask without splitting the socket.\n\nThe function may complete without the socket being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.\n\n# Examples\n\nConcurrently read and write to the stream on the same task without\nsplitting.\n\n```no_run\nuse tokio::io::Interest;\nuse tokio::net::UnixStream;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let dir = tempfile::tempdir().unwrap();\n    let bind_path = dir.path().join(\"bind_path\");\n    let stream = UnixStream::connect(bind_path).await?;\n\n    loop {\n        let ready = stream.ready(Interest::READABLE | Interest::WRITABLE).await?;\n\n        if ready.is_readable() {\n            let mut data = vec![0; 1024];\n            // Try to read data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match stream.try_read(&mut data) {\n                Ok(n) => {\n                    println!(\"read {} bytes\", n);\n                }\n                Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n\n        }\n\n        if ready.is_writable() {\n            // Try to write data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match stream.try_write(b\"hello world\") {\n                Ok(n) => {\n                    println!(\"write {} bytes\", n);\n                }\n                Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n        }\n    }\n}\n```","links":{"`Ready`":978},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"946":{"id":946,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6559":{"id":6559,"crate_id":0,"name":"new_with","span":{"filename":"src/sync/once_cell.rs","begin":[185,5],"end":[191,6]},"visibility":"public","docs":"Creates a new `OnceCell` that contains the provided value, if any.\n\nIf the `Option` is `None`, this is equivalent to `OnceCell::new`.\n\n[`OnceCell::new`]: crate::sync::OnceCell::new","links":{"crate::sync::OnceCell::new":6557},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["value",{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4797":{"id":4797,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3035":{"id":3035,"crate_id":0,"name":"into_blocking_fd","span":{"filename":"src/net/unix/pipe.rs","begin":[781,5],"end":[785,6]},"visibility":"public","docs":"Converts the pipe into an [`OwnedFd`] in blocking mode.\n\nThis function will deregister this pipe end from the event loop, set\nit in blocking mode and perform the conversion.","links":{"`OwnedFd`":272},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedFd","id":272,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1273":{"id":1273,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[1417,1],"end":[1421,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1272],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6886":{"id":6886,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[466,40],"end":[466,52]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"mutex::TryLockError","name":"TryLockError","id":5694,"is_glob":false}}},"3362":{"id":3362,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5124":{"id":5124,"crate_id":0,"name":"subscribe","span":{"filename":"src/sync/broadcast.rs","begin":[722,5],"end":[725,6]},"visibility":"public","docs":"Creates a new [`Receiver`] handle that will receive values sent **after**\nthis call to `subscribe`.\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, _rx) = broadcast::channel(16);\n\n// Will not be seen\ntx.send(10).unwrap();\n\nlet mut rx = tx.subscribe();\n\ntx.send(20).unwrap();\n\nlet value = rx.recv().await.unwrap();\nassert_eq!(20, value);\n# }\n```","links":{"`Receiver`":5051},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7213":{"id":7213,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5451":{"id":5451,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3689":{"id":3689,"crate_id":0,"name":"is_panic","span":{"filename":"src/runtime/task/error.rs","begin":[63,5],"end":[65,6]},"visibility":"public","docs":"Returns true if the error was caused by the task panicking.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::panic;\n\n#[tokio::main]\nasync fn main() {\n    let err = tokio::spawn(async {\n        panic!(\"boom\");\n    }).await.unwrap_err();\n\n    assert!(err.is_panic());\n}\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1927":{"id":1927,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7540":{"id":7540,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[106,28],"end":[106,38]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[doc(inline)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"timeout::timeout_at","name":"timeout_at","id":7498,"is_glob":false}}},"4016":{"id":4016,"crate_id":0,"name":null,"span":{"filename":"src/runtime/builder.rs","begin":[2061,1],"end":[2092,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[4015],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2254":{"id":2254,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/socket.rs","begin":[1005,5],"end":[1009,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:66:27: 66:30 (#475) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:66:32: 66:38 (#475) }], src/macros/cfg.rs:66:26: 66:39 (#475)), NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:66:41: 66:45 (#475) }, NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/macros/cfg.rs:66:47: 66:65 (#475) }], src/macros/cfg.rs:66:22: 66:66 (#475))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(unix, target_os = \"wasi\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[2253],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"492":{"id":492,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[239,1],"end":[239,41]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::open_options::OpenOptions","name":"OpenOptions","id":205,"is_glob":false}}},"5778":{"id":5778,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6105":{"id":6105,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4343":{"id":4343,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"819":{"id":819,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/net/tcp/split_owned.rs","begin":[477,5],"end":[479,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2581":{"id":2581,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4670":{"id":4670,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram.rs","begin":[3,55],"end":[3,67]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"h2_histogram::LogHistogram","name":"LogHistogram","id":3978,"is_glob":false}}},"2908":{"id":2908,"crate_id":0,"name":"into_std","span":{"filename":"src/net/unix/stream.rs","begin":[901,5],"end":[906,6]},"visibility":"public","docs":"Turns a [`tokio::net::UnixStream`] into a [`std::os::unix::net::UnixStream`].\n\nThe returned [`std::os::unix::net::UnixStream`] will have nonblocking\nmode set as `true`.  Use [`set_nonblocking`] to change the blocking\nmode if needed.\n\n# Examples\n\n```\nuse std::error::Error;\nuse std::io::Read;\nuse tokio::net::UnixListener;\n# use tokio::net::UnixStream;\n# use tokio::io::AsyncWriteExt;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n#   if cfg!(miri) { return Ok(()); } // No Unix domain sockets in miri.\n    let dir = tempfile::tempdir().unwrap();\n    let bind_path = dir.path().join(\"bind_path\");\n\n    let mut data = [0u8; 12];\n    let listener = UnixListener::bind(&bind_path)?;\n#   let handle = tokio::spawn(async {\n#       let mut stream = UnixStream::connect(bind_path).await.unwrap();\n#       stream.write(b\"Hello world!\").await.unwrap();\n#   });\n    let (tokio_unix_stream, _) = listener.accept().await?;\n    let mut std_unix_stream = tokio_unix_stream.into_std()?;\n#   handle.await.expect(\"The task being joined has panicked\");\n    std_unix_stream.set_nonblocking(false)?;\n    std_unix_stream.read_exact(&mut data)?;\n#   assert_eq!(b\"Hello world!\", &data);\n    Ok(())\n}\n```\n[`tokio::net::UnixStream`]: UnixStream\n[`std::os::unix::net::UnixStream`]: std::os::unix::net::UnixStream\n[`set_nonblocking`]: fn@std::os::unix::net::UnixStream::set_nonblocking","links":{"fn@std::os::unix::net::UnixStream::set_nonblocking":2906,"UnixStream":643,"std::os::unix::net::UnixStream":2905},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::os::unix::net::UnixStream","id":2905,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1146":{"id":1146,"crate_id":0,"name":"try_io","span":{"filename":"src/io/async_fd.rs","begin":[902,5],"end":[909,6]},"visibility":"public","docs":"Tries to read or write from the file descriptor using a user-provided IO operation.\n\nIf the file descriptor is ready, the provided closure is called. The closure\nshould attempt to perform IO operation on the file descriptor by manually\ncalling the appropriate syscall. If the operation fails because the\nfile descriptor is not actually ready, then the closure should return a\n`WouldBlock` error and the readiness flag is cleared. The return value\nof the closure is then returned by `try_io`.\n\nIf the file descriptor is not ready, then the closure is not called\nand a `WouldBlock` error is returned.\n\nThe closure should only return a `WouldBlock` error if it has performed\nan IO operation on the file descriptor that failed due to the file descriptor not being\nready. Returning a `WouldBlock` error in any other situation will\nincorrectly clear the readiness flag, which can cause the file descriptor to\nbehave incorrectly.\n\nThe closure should not perform the IO operation using any of the methods\ndefined on the Tokio `AsyncFd` type, as this will mess with the\nreadiness flag and can cause the file descriptor to behave incorrectly.\n\nThis method is not intended to be used with combined interests.\nThe closure should perform only one type of IO operation, so it should not\nrequire more than one ready state. This method may panic or sleep forever\nif it is called with a combined interest.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnOnce(&T) -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6759":{"id":6759,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4997":{"id":4997,"crate_id":0,"name":null,"span":{"filename":"src/sync/barrier.rs","begin":[205,1],"end":[213,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[4976],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1473":{"id":1473,"crate_id":0,"name":"ReadUntil","span":{"filename":"src/io/util/read_until.rs","begin":[12,1],"end":[28,2]},"visibility":"public","docs":"Future for the [`read_until`](crate::io::AsyncBufReadExt::read_until) method.\nThe delimiter is included in the resulting vector.","links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"3235":{"id":3235,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5324":{"id":5324,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3562":{"id":3562,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1800":{"id":1800,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7086":{"id":7086,"crate_id":0,"name":null,"span":{"filename":"src/task/task_local.rs","begin":[290,1],"end":[294,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"outlives":"'static"}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7085],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7413":{"id":7413,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5651":{"id":5651,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2127":{"id":2127,"crate_id":0,"name":"lookup_host","span":{"filename":"src/net/lookup_host.rs","begin":[32,5],"end":[37,6]},"visibility":"public","docs":"Performs a DNS resolution.\n\nThe returned iterator may not actually yield any values depending on the\noutcome of any resolution performed.\n\nThis API is not intended to cover all DNS use cases. Anything beyond the\nbasic use case should be done with a specialized library.\n\n# Examples\n\nTo resolve a DNS entry:\n\n```no_run\nuse tokio::net;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    for addr in net::lookup_host(\"localhost:3000\").await? {\n        println!(\"socket address is {}\", addr);\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:336:19: 336:34 (#465) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["host",{"generic":"T"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"impl_trait":[{"trait_bound":{"trait":{"path":"Iterator","id":2149,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Item","args":null,"binding":{"equality":{"type":{"resolved_path":{"path":"std::net::SocketAddr","id":2132,"args":null}}}}}]}}},"generic_params":[],"modifier":"none"}}]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"365":{"id":365,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3889":{"id":3889,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/trace/mod.rs","begin":[156,10],"end":[156,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[3888],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5978":{"id":5978,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4216":{"id":4216,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[192,1],"end":[286,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[4210,4214,4215],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2454":{"id":2454,"crate_id":0,"name":"quickack","span":{"filename":"src/net/tcp/stream.rs","begin":[1213,5],"end":[1215,6]},"visibility":"public","docs":"Gets the value of the `TCP_QUICKACK` option on this socket.\n\nFor more information about this option, see [`TcpStream::set_quickack`].\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\nstream.quickack()?;\n# Ok(())\n# }\n```","links":{"`TcpStream::set_quickack`":2453},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/net/tcp/stream.rs:1199:9: 1199:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"android\"), span: src/net/tcp/stream.rs:1200:9: 1200:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"fuchsia\"), span: src/net/tcp/stream.rs:1201:9: 1201:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"cygwin\"), span: src/net/tcp/stream.rs:1202:9: 1202:29 (#0) }], src/net/tcp/stream.rs:1198:14: 1203:6 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(target_os = \"linux\", target_os = \"android\", target_os = \"fuchsia\", target_os = \"cygwin\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"bool"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"692":{"id":692,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/async_write.rs","begin":[127,5],"end":[127,90]},"visibility":"default","docs":"Initiates or attempts to shut down this writer, returning success when\nthe I/O connection has completely shut down.\n\nThis method is intended to be used for asynchronous shutdown of I/O\nconnections. For example this is suitable for implementing shutdown of a\nTLS connection or calling `TcpStream::shutdown` on a proxied connection.\nProtocols sometimes need to flush out final pieces of data or otherwise\nperform a graceful shutdown handshake, reading/writing more data as\nappropriate. This method is the hook for such protocols to implement the\ngraceful shutdown logic.\n\nThis `shutdown` method is required by implementers of the\n`AsyncWrite` trait. Wrappers typically just want to proxy this call\nthrough to the wrapped type, and base types will typically implement\nshutdown logic here or just return `Ok(().into())`. Note that if you're\nwrapping an underlying `AsyncWrite` a call to `shutdown` implies that\ntransitively the entire stream has been shut down. After your wrapper's\nshutdown logic has been executed you should shut down the underlying\nstream.\n\nInvocation of a `shutdown` implies an invocation of `flush`. Once this\nmethod returns `Ready` it implies that a flush successfully happened\nbefore the shutdown happened. That is, callers don't need to call\n`flush` before calling `shutdown`. They can rely that by calling\n`shutdown` any pending buffered data will be written out.\n\n# Return value\n\nThis function returns a `Poll<io::Result<()>>` classified as such:\n\n* `Poll::Ready(Ok(()))` - indicates that the connection was\n  successfully shut down and is now safe to deallocate/drop/close\n  resources associated with it. This method means that the current task\n  will no longer receive any notifications due to this method and the\n  I/O object itself is likely no longer usable.\n\n* `Poll::Pending` - indicates that shutdown is initiated but could\n  not complete just yet. This may mean that more I/O needs to happen to\n  continue this shutdown operation. The current task is scheduled to\n  receive a notification when it's otherwise ready to continue the\n  shutdown operation. When woken up this method should be called again.\n\n* `Poll::Ready(Err(e))` - indicates a fatal error has happened with shutdown,\n  indicating that the shutdown operation did not complete successfully.\n  This typically means that the I/O object is no longer usable.\n\n# Errors\n\nThis function can return normal I/O errors through `Err`, described\nabove. Additionally this method may also render the underlying\n`Write::write` method no longer usable (e.g. will return errors in the\nfuture). It's recommended that once `shutdown` is called the\n`write` method is no longer called.\n\n# Panics\n\nThis function will panic if not called within the context of a future's\ntask.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"6305":{"id":6305,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[163,1],"end":[168,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"owned_read_guard::OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2781":{"id":2781,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1019":{"id":1019,"crate_id":0,"name":null,"span":{"filename":"src/io/ready.rs","begin":[20,34],"end":[20,36]},"visibility":"default","docs":null,"links":{},"attrs":["automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4543":{"id":4543,"crate_id":0,"name":"io_driver_fd_deregistered_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[1269,13],"end":[1273,14]},"visibility":"public","docs":"Returns the number of file descriptors that have been deregistered by the\nruntime's I/O driver.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n#[tokio::main]\nasync fn main() {\n    let metrics = Handle::current().metrics();\n\n    let n = metrics.io_driver_fd_deregistered_count();\n    println!(\"{} fds have been deregistered by the runtime's I/O driver.\", n);\n}\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/metrics/runtime.rs:1222:13: 1222:27 (#0) }, NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/runtime/metrics/runtime.rs:1223:13: 1223:37 (#0) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/runtime/metrics/runtime.rs:1224:13: 1224:28 (#0) }], src/runtime/metrics/runtime.rs:1221:15: 1225:10 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, target_has_atomic = \"64\", feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4870":{"id":4870,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6632":{"id":6632,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[474,28],"end":[474,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::Eq","id":961,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1346":{"id":1346,"crate_id":0,"name":null,"span":{"filename":"src/io/stdin.rs","begin":[67,5],"end":[71,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"super::Stdin","id":599,"args":null}},"items":[1345],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6959":{"id":6959,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5197":{"id":5197,"crate_id":0,"name":"resubscribe","span":{"filename":"src/sync/broadcast.rs","begin":[1425,5],"end":[1428,6]},"visibility":"public","docs":"Re-subscribes to the channel starting from the current tail element.\n\nThis [`Receiver`] handle will receive a clone of all values sent\n**after** it has resubscribed. This will not include elements that are\nin the queue of the current receiver. Consider the following example.\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = broadcast::channel(2);\n\ntx.send(1).unwrap();\nlet mut rx2 = rx.resubscribe();\ntx.send(2).unwrap();\n\nassert_eq!(rx2.recv().await.unwrap(), 2);\nassert_eq!(rx.recv().await.unwrap(), 1);\n# }\n```","links":{"`Receiver`":5051},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1673":{"id":1673,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5524":{"id":5524,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3762":{"id":3762,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/task/id.rs","begin":[63,5],"end":[65,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"238":{"id":238,"crate_id":0,"name":"AsyncSeekExt","span":{"filename":"src/io/util/async_seek_ext.rs","begin":[33,5],"end":[93,6]},"visibility":"public","docs":"An extension trait that adds utility methods to [`AsyncSeek`] types.\n\n# Examples\n\n```\nuse std::io::{self, Cursor, SeekFrom};\nuse tokio::io::{AsyncSeekExt, AsyncReadExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut cursor = Cursor::new(b\"abcdefg\");\n\n// the `seek` method is defined by this trait\ncursor.seek(SeekFrom::Start(3)).await?;\n\nlet mut buf = [0; 1];\nlet n = cursor.read(&mut buf).await?;\nassert_eq!(n, 1);\nassert_eq!(buf, [b'd']);\n\nOk(())\n# }\n```\n\nSee [module][crate::io] documentation for more details.\n\n[`AsyncSeek`]: AsyncSeek","links":{"AsyncSeek":199,"crate::io":1545},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#264) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":false,"items":[317,1548,1549],"generics":{"params":[],"where_predicates":[]},"bounds":[{"trait_bound":{"trait":{"path":"AsyncSeek","id":199,"args":null},"generic_params":[],"modifier":"none"}}],"implementations":[1550]}}},"2000":{"id":2000,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7286":{"id":7286,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4089":{"id":4089,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[21,10],"end":[21,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[4088],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2327":{"id":2327,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"565":{"id":565,"crate_id":0,"name":"poll_fill_buf","span":{"filename":"src/io/util/buf_stream.rs","begin":[190,5],"end":[192,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5851":{"id":5851,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7613":{"id":7613,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"892":{"id":892,"crate_id":0,"name":"remaining","span":{"filename":"src/io/read_buf.rs","begin":[181,5],"end":[183,6]},"visibility":"public","docs":"Returns the number of bytes at the end of the slice that have not yet been filled.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2654":{"id":2654,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6505":{"id":6505,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[195,5],"end":[197,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2981":{"id":2981,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/ucred.rs","begin":[4,27],"end":[4,36]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[2980],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1219":{"id":1219,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4743":{"id":4743,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[614,22],"end":[614,32]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#1248) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"handle::EnterGuard","name":"EnterGuard","id":4269,"is_glob":false}}},"6832":{"id":6832,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5070":{"id":5070,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1546":{"id":1546,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"generic":"R"},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3308":{"id":3308,"crate_id":0,"name":"eq","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2593,30],"end":[2593,39]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7159":{"id":7159,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5397":{"id":5397,"crate_id":0,"name":"try_recv","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[364,5],"end":[366,6]},"visibility":"public","docs":"Tries to receive the next value for this receiver.\n\nThis method returns the [`Empty`] error if the channel is currently\nempty, but there are still outstanding [senders] or [permits].\n\nThis method returns the [`Disconnected`] error if the channel is\ncurrently empty, and there are no outstanding [senders] or [permits].\n\nUnlike the [`poll_recv`] method, this method will never return an\n[`Empty`] error spuriously.\n\n[`Empty`]: crate::sync::mpsc::error::TryRecvError::Empty\n[`Disconnected`]: crate::sync::mpsc::error::TryRecvError::Disconnected\n[`poll_recv`]: Self::poll_recv\n[senders]: crate::sync::mpsc::Sender\n[permits]: crate::sync::mpsc::Permit\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\nuse tokio::sync::mpsc::error::TryRecvError;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(100);\n\ntx.send(\"hello\").await.unwrap();\n\nassert_eq!(Ok(\"hello\"), rx.try_recv());\nassert_eq!(Err(TryRecvError::Empty), rx.try_recv());\n\ntx.send(\"hello\").await.unwrap();\n// Drop the last sender, closing the channel.\ndrop(tx);\n\nassert_eq!(Ok(\"hello\"), rx.try_recv());\nassert_eq!(Err(TryRecvError::Disconnected), rx.try_recv());\n# }\n```","links":{"crate::sync::mpsc::Permit":5228,"crate::sync::mpsc::Sender":5224,"crate::sync::mpsc::error::TryRecvError::Disconnected":5395,"Self::poll_recv":5396,"crate::sync::mpsc::error::TryRecvError::Empty":5394},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7486":{"id":7486,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"IntoFuture","id":525,"args":null},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[3812,3813,3814],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"F"}}}},"3962":{"id":3962,"crate_id":0,"name":"on_task_terminate","span":{"filename":"src/runtime/builder.rs","begin":[1046,5],"end":[1052,6]},"visibility":"public","docs":"Executes function `f` just after a task is terminated.\n\n`f` is called within the Tokio context, so functions like\n[`tokio::spawn`](crate::spawn) can be called.\n\nThis can be used for bookkeeping or monitoring purposes.\n\nNote: There can only be one task termination callback for a runtime; calling this\nfunction more than once replaces the last callback defined, rather than adding to it.\n\nThis *does not* support [`LocalSet`](crate::task::LocalSet) at this time.\n\n**Note**: This is an [unstable API][unstable]. The public API of this type\nmay break in 1.x releases. See [the documentation on unstable\nfeatures][unstable] for details.\n\n[unstable]: crate#unstable-features\n\n# Examples\n\n```\n# use tokio::runtime;\n# pub fn main() {\nlet runtime = runtime::Builder::new_current_thread()\n    .on_task_terminate(|_| {\n        println!(\"killing task\");\n    })\n    .build()\n    .unwrap();\n\nruntime.block_on(async {\n    tokio::task::spawn(std::future::ready(()));\n\n    for _ in 0..64 {\n        tokio::task::yield_now().await;\n    }\n})\n# }\n```","links":{"crate::spawn":3799,"crate::task::LocalSet":3939,"crate#unstable-features":3944},"attrs":[{"other":"#[attr = CfgTrace([All([Not(NameValue { name: \"loom\", value: None, span: src/runtime/builder.rs:1044:19: 1044:23 (#0) }, src/runtime/builder.rs:1044:18: 1044:24 (#0)), NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/builder.rs:1044:26: 1044:40 (#0) }], src/runtime/builder.rs:1044:14: 1044:41 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Fn","id":3952,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],"output":null}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"438":{"id":438,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4289":{"id":4289,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2527":{"id":2527,"crate_id":0,"name":"recv_buf","span":{"filename":"src/net/udp.rs","begin":[993,9],"end":[1012,10]},"visibility":"public","docs":"Receives a single datagram message on the socket from the remote address\nto which it is connected, advancing the buffer's internal cursor,\nreturning how many bytes were read.\n\nThis method must be called with valid byte array `buf` of sufficient size\nto hold the message bytes. If a message is too long to fit in the\nsupplied buffer, excess bytes may be discarded.\n\nThis method can be used even if `buf` is uninitialized.\n\n# Examples\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Connect to a peer\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n    socket.connect(\"127.0.0.1:8081\").await?;\n\n    let mut buf = Vec::with_capacity(512);\n    let len = socket.recv_buf(&mut buf).await?;\n\n    println!(\"received {} bytes {:?}\", len, &buf[..len]);\n\n    Ok(())\n}\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#499) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"B","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"BufMut","id":919,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"765":{"id":765,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/join.rs","begin":[102,5],"end":[104,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6051":{"id":6051,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[372,5],"end":[379,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[6050],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6378":{"id":6378,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4616":{"id":4616,"crate_id":0,"name":"InvalidHistogramConfiguration","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[262,1],"end":[268,2]},"visibility":"public","docs":"Error constructing a histogram","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[],"where_predicates":[]},"has_stripped_variants":false,"variants":[4645],"impls":[4646,4647,4648,4649,4650,4651,4652,4653,4654,4655,4656,4657,4658,4659,4660,4661,4662,4664,4666,4667]}}},"1092":{"id":1092,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2854":{"id":2854,"crate_id":0,"name":"fmt","span":{"filename":"src/net/unix/split_owned.rs","begin":[91,5],"end":[96,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4943":{"id":4943,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3181":{"id":3181,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1419":{"id":1419,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6705":{"id":6705,"crate_id":0,"name":"eq","span":{"filename":"src/sync/set_once.rs","begin":[379,17],"end":[379,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7032":{"id":7032,"crate_id":0,"name":null,"span":{"filename":"src/task/local.rs","begin":[976,1],"end":[1022,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[7031],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5270":{"id":5270,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1746":{"id":1746,"crate_id":0,"name":null,"span":{"filename":"src/io/util/chain.rs","begin":[9,1],"end":[20,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'__pin","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"resolved_path":{"path":"$crate::__private::PinnedFieldsOf","id":1463,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"__Origin","id":1747,"args":{"angle_bracketed":{"args":[{"lifetime":"'__pin"},{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}}}],"constraints":[]}}}},"bounds":[{"trait_bound":{"trait":{"path":"$crate::__private::Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3508":{"id":3508,"crate_id":0,"name":"into_owned_handle","span":{"filename":"src/process/mod.rs","begin":[1715,5],"end":[1715,29]},"visibility":"public","docs":"Convert into [`OwnedHandle`].","links":{"`OwnedHandle`":286},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedHandle","id":286,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5597":{"id":5597,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[70,1],"end":[70,37]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7359":{"id":7359,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[33,10],"end":[33,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[7358],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5924":{"id":5924,"crate_id":0,"name":"default","span":{"filename":"src/sync/notify.rs","begin":[833,5],"end":[835,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2400":{"id":2400,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"638":{"id":638,"crate_id":0,"name":"poll_read","span":{"filename":"src/net/unix/split_owned.rs","begin":[246,5],"end":[252,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4162":{"id":4162,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6251":{"id":6251,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4489":{"id":4489,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2727":{"id":2727,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"965":{"id":965,"crate_id":0,"name":null,"span":{"filename":"src/io/interest.rs","begin":[28,27],"end":[28,36]},"visibility":"default","docs":null,"links":{},"attrs":["automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[964],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6578":{"id":6578,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3054":{"id":3054,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1292":{"id":1292,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4816":{"id":4816,"crate_id":0,"name":"poll_recv","span":{"filename":"src/signal/unix.rs","begin":[486,5],"end":[488,6]},"visibility":"public","docs":"Polls to receive the next signal notification event, outside of an\n`async` context.\n\nAlthough this returns `Option<()>`, it will never actually return `None`.\nThis was accidentally exposed and would be a breaking change to be removed.\n\n# Examples\n\nPolling from a manually implemented future\n\n```rust,no_run\nuse std::pin::Pin;\nuse std::future::Future;\nuse std::task::{Context, Poll};\nuse tokio::signal::unix::Signal;\n\nstruct MyFuture {\n    signal: Signal,\n}\n\nimpl Future for MyFuture {\n    type Output = Option<()>;\n\n    fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {\n        println!(\"polling MyFuture\");\n        self.signal.poll_recv(cx)\n    }\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6905":{"id":6905,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[495,30],"end":[495,37]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::set_once::SetOnce","name":"SetOnce","id":6640,"is_glob":false}}},"5143":{"id":5143,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3381":{"id":3381,"crate_id":0,"name":null,"span":{"filename":"src/net/mod.rs","begin":[57,5],"end":[57,42]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:377:23: 377:27 (#501) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:377:29: 377:44 (#501) }], src/macros/cfg.rs:377:22: 377:45 (#501))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"unix::listener::UnixListener","name":"UnixListener","id":2628,"is_glob":false}}},"1619":{"id":1619,"crate_id":0,"name":"get_ref","span":{"filename":"src/io/util/buf_reader.rs","begin":[59,5],"end":[61,6]},"visibility":"public","docs":"Gets a reference to the underlying reader.\n\nIt is inadvisable to directly read from the underlying reader.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"R"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7232":{"id":7232,"crate_id":0,"name":null,"span":{"filename":"src/task/builder.rs","begin":[61,19],"end":[61,24]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"tracing\")))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[7231],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3708":{"id":3708,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1946":{"id":1946,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"184":{"id":184,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5470":{"id":5470,"crate_id":0,"name":"weak_count","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[717,5],"end":[719,6]},"visibility":"public","docs":"Returns the number of [`WeakUnboundedSender`] handles.","links":{"`WeakUnboundedSender`":5440},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7559":{"id":7559,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4035":{"id":4035,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2273":{"id":2273,"crate_id":0,"name":"poll_peek","span":{"filename":"src/net/tcp/stream.rs","begin":[368,5],"end":[392,6]},"visibility":"public","docs":"Attempts to receive data on the socket, without removing that data from\nthe queue, registering the current task for wakeup if data is not yet\navailable.\n\nNote that on multiple calls to `poll_peek`, `poll_read` or\n`poll_read_ready`, only the `Waker` from the `Context` passed to the\nmost recent call is scheduled to receive a wakeup. (However,\n`poll_write` retains a second, independent waker.)\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if data is not yet available.\n* `Poll::Ready(Ok(n))` if data is available. `n` is the number of bytes peeked.\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n# Examples\n\n```no_run\nuse tokio::io::{self, ReadBuf};\nuse tokio::net::TcpStream;\n\nuse std::future::poll_fn;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let stream = TcpStream::connect(\"127.0.0.1:8000\").await?;\n    let mut buf = [0; 10];\n    let mut buf = ReadBuf::new(&mut buf);\n\n    poll_fn(|cx| {\n        stream.poll_peek(cx, &mut buf)\n    }).await?;\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"511":{"id":511,"crate_id":0,"name":"pipe","span":{"filename":"src/net/unix/pipe.rs","begin":[1,1],"end":[1556,2]},"visibility":"public","docs":"Unix pipe types.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[2990,2996,856,646],"is_stripped":false}}},"4362":{"id":4362,"crate_id":0,"name":"spawn","span":{"filename":"src/runtime/runtime.rs","begin":[239,5],"end":[252,6]},"visibility":"public","docs":"Spawns a future onto the Tokio runtime.\n\nThis spawns the given future onto the runtime's executor, usually a\nthread pool. The thread pool is then responsible for polling the future\nuntil it completes.\n\nThe provided future will start running in the background immediately\nwhen `spawn` is called, even if you don't await the returned\n`JoinHandle` (assuming that the runtime [is running][running-runtime]).\n\nSee [module level][mod] documentation for more details.\n\n[mod]: index.html\n[running-runtime]: index.html#driving-the-runtime\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Runtime;\n\n# fn dox() {\n// Create the runtime\nlet rt = Runtime::new().unwrap();\n\n// Spawn a future onto the runtime\nrt.spawn(async {\n    println!(\"now running on a worker thread\");\n});\n# }\n# }\n```","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["future",{"generic":"F"}]],"output":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6124":{"id":6124,"crate_id":0,"name":"TryAcquireError","span":{"filename":"src/sync/batch_semaphore.rs","begin":[52,1],"end":[60,2]},"visibility":"public","docs":"Error returned from the [`Semaphore::try_acquire`] function.\n\n[`Semaphore::try_acquire`]: crate::sync::Semaphore::try_acquire","links":{"crate::sync::Semaphore::try_acquire":6123},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[],"where_predicates":[]},"has_stripped_variants":false,"variants":[6121,6122],"impls":[6125,6126,6127,6128,6129,6130,6131,6132,6133,6134,6135,6136,6137,6138,6139,6140,6141,6143,6144,6146,6147,6149,6150]}}},"838":{"id":838,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/net/unix/split_owned.rs","begin":[381,5],"end":[387,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6451":{"id":6451,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4689":{"id":4689,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1165":{"id":1165,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2927":{"id":2927,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5016":{"id":5016,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/barrier.rs","begin":[202,10],"end":[202,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3254":{"id":3254,"crate_id":0,"name":"new","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2394,5],"end":[2402,6]},"visibility":"public","docs":"Creates a new named pipe builder with the default settings.\n\n```\nuse tokio::net::windows::named_pipe::{ServerOptions, ClientOptions};\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-client-new\";\n\n# #[tokio::main] async fn main() -> std::io::Result<()> {\n// Server must be created in order for the client creation to succeed.\nlet server = ServerOptions::new().create(PIPE_NAME)?;\nlet client = ClientOptions::new().open(PIPE_NAME)?;\n# Ok(()) }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1492":{"id":1492,"crate_id":0,"name":"read_buf","span":{"filename":"src/io/util/async_read_ext.rs","begin":[258,9],"end":[264,10]},"visibility":"default","docs":"Pulls some bytes from this source into the specified buffer,\nadvancing the buffer's internal cursor.\n\nEquivalent to:\n\n```ignore\nasync fn read_buf<B: BufMut>(&mut self, buf: &mut B) -> io::Result<usize>;\n```\n\nUsually, only a single `read` syscall is issued, even if there is\nmore space in the supplied buffer.\n\nThis method does not provide any guarantees about whether it\ncompletes immediately or asynchronously.\n\n# Return\n\nA nonzero `n` value indicates that the buffer `buf` has been filled\nin with `n` bytes of data from this source. If `n` is `0`, then it\ncan indicate one of two scenarios:\n\n1. This reader has reached its \"end of file\" and will likely no longer\n   be able to produce bytes. Note that this does not mean that the\n   reader will *always* no longer be able to produce bytes.\n2. The buffer specified had a remaining capacity of zero.\n\n# Errors\n\nIf this function encounters any form of I/O or other error, an error\nvariant will be returned. If an error is returned then it must be\nguaranteed that no bytes were read.\n\n# Cancel safety\n\nThis method is cancel safe. If you use it as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, then it is guaranteed that no data was read.\n\n# Examples\n\n[`File`] implements `Read` and [`BytesMut`] implements [`BufMut`]:\n\n[`File`]: crate::fs::File\n[`BytesMut`]: bytes::BytesMut\n[`BufMut`]: bytes::BufMut\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::fs::File;\nuse tokio::io::{self, AsyncReadExt};\n\nuse bytes::BytesMut;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut f = File::open(\"foo.txt\").await?;\n    let mut buffer = BytesMut::with_capacity(10);\n\n    assert!(buffer.is_empty());\n    assert!(buffer.capacity() >= 10);\n\n    // note that the return value is not needed to access the data\n    // that was read as `buffer`'s internal cursor is updated.\n    //\n    // this might read more than 10 bytes if the capacity of `buffer`\n    // is larger than 10.\n    f.read_buf(&mut buffer).await?;\n\n    println!(\"The bytes: {:?}\", &buffer[..]);\n    Ok(())\n}\n# }\n```","links":{"bytes::BytesMut":1491,"crate::fs::File":204,"crate::select":1471,"bytes::BufMut":919},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"ReadBuf","id":1493,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"Self"}},{"type":{"generic":"B"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"B","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"B"},"bounds":[{"trait_bound":{"trait":{"path":"BufMut","id":919,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6778":{"id":6778,"crate_id":0,"name":"Sender","span":{"filename":"src/sync/watch.rs","begin":[197,1],"end":[199,2]},"visibility":"public","docs":"Sends values to the associated [`Receiver`](struct@Receiver).\n\nInstances are created by the [`channel`](fn@channel) function.","links":{"fn@channel":6779,"struct@Receiver":6780},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6829,6830,6831,6832,6833,6834,6835,6836,6837,6838,6839,6840,6841,6842,6843,6844,6845,6846,6847,6849,6851,6853,6855]}}},"7105":{"id":7105,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5343":{"id":5343,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5670":{"id":5670,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/mod.rs","begin":[121,35],"end":[121,49]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::bounded::PermitIterator","name":"PermitIterator","id":5240,"is_glob":false}}},"2146":{"id":2146,"crate_id":0,"name":null,"span":{"filename":"src/net/addr.rs","begin":[227,5],"end":[227,44]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:336:19: 336:34 (#458) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"for":{"tuple":[{"resolved_path":{"path":"String","id":448,"args":null}},{"primitive":"u16"}]},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5997":{"id":5997,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2473":{"id":2473,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"711":{"id":711,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[232,5],"end":[238,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4235":{"id":4235,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[187,10],"end":[187,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[4234],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4562":{"id":4562,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6324":{"id":6324,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1038":{"id":1038,"crate_id":0,"name":null,"span":{"filename":"src/io/ready.rs","begin":[298,1],"end":[305,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sub","id":1039,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[1036,1037],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6651":{"id":6651,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[146,1],"end":[359,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6641,6642,6643,6644,6645,6646,6648,6649,6650],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3127":{"id":3127,"crate_id":0,"name":"try_write_vectored","span":{"filename":"src/net/windows/named_pipe.rs","begin":[811,5],"end":[815,6]},"visibility":"public","docs":"Tries to write several buffers to the pipe, returning how many bytes\nwere written.\n\nData is written from each buffer in order, with the final buffer read\nfrom possible being only partially consumed. This method behaves\nequivalently to a single call to [`try_write()`] with concatenated\nbuffers.\n\nThis function is usually paired with `writable()`.\n\n[`try_write()`]: NamedPipeServer::try_write()\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the pipe is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-server-try-write-vectored\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let server = named_pipe::ServerOptions::new()\n        .create(PIPE_NAME)?;\n\n    let bufs = [io::IoSlice::new(b\"hello \"), io::IoSlice::new(b\"world\")];\n\n    loop {\n        // Wait for the pipe to be writable\n        server.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match server.try_write_vectored(&bufs) {\n            Ok(n) => {\n                break;\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"NamedPipeServer::try_write()":3126},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1365":{"id":1365,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4889":{"id":4889,"crate_id":0,"name":"CtrlClose","span":{"filename":"src/signal/windows.rs","begin":[274,1],"end":[276,2]},"visibility":"public","docs":"Represents a listener which receives \"ctrl-close\" notifications sent to the process\nvia `SetConsoleCtrlHandler`.\n\nA notification to this process notifies *all* listeners listening for\nthis event. Moreover, the notifications **are coalesced** if they aren't processed\nquickly enough. This means that if two notifications are received back-to-back,\nthen the listener may only receive one item about the two notifications.","links":{},"attrs":[{"must_use":{"reason":"listeners do nothing unless polled"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4893,4894,4895,4896,4897,4898,4899,4900,4901,4902,4903,4904,4905,4906,4907,4908,4909,4911]}}},"5216":{"id":5216,"crate_id":0,"name":"drop","span":{"filename":"src/sync/broadcast.rs","begin":[1587,5],"end":[1612,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3454":{"id":3454,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1692":{"id":1692,"crate_id":0,"name":"get_mut","span":{"filename":"src/io/util/buf_writer.rs","begin":[94,5],"end":[96,6]},"visibility":"public","docs":"Gets a mutable reference to the underlying writer.\n\nIt is inadvisable to directly write to the underlying writer.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"W"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6978":{"id":6978,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7305":{"id":7305,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3781":{"id":3781,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2019":{"id":2019,"crate_id":0,"name":null,"span":{"filename":"src/io/util/take.rs","begin":[9,1],"end":[20,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'__pin","kind":{"lifetime":{"outlives":[]}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"resolved_path":{"path":"$crate::__private::PinnedFieldsOf","id":1463,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"__Origin","id":2020,"args":{"angle_bracketed":{"args":[{"lifetime":"'__pin"},{"type":{"generic":"R"}}],"constraints":[]}}}}}],"constraints":[]}}}},"bounds":[{"trait_bound":{"trait":{"path":"$crate::__private::Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"257":{"id":257,"crate_id":0,"name":"poll_complete","span":{"filename":"src/fs/file.rs","begin":[696,5],"end":[724,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u64"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5543":{"id":5543,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5870":{"id":5870,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4108":{"id":4108,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2346":{"id":2346,"crate_id":0,"name":"ready","span":{"filename":"src/net/tcp/split_owned.rs","begin":[220,5],"end":[222,6]},"visibility":"public","docs":"Waits for any of the requested ready states.\n\nThis function is usually paired with [`try_read()`]. It can be used instead\nof [`readable()`] to check the returned ready set for [`Ready::READABLE`]\nand [`Ready::READ_CLOSED`] events.\n\nThe function may complete without the socket being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\nThis function is equivalent to [`TcpStream::ready`].\n\n[`try_read()`]: Self::try_read\n[`readable()`]: Self::readable\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`Ready::READ_CLOSED`":982,"`Ready`":978,"`TcpStream::ready`":2279,"`Ready::READABLE`":980,"Self::try_read":2344,"Self::readable":2345},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7632":{"id":7632,"crate_id":0,"name":null,"span":{"filename":"src/lib.rs","begin":[676,9],"end":[676,36]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4946) },\nNameValue { name: \"feature\", value: Some(\"rt-multi-thread\"), span: src/lib.rs:673:15: 673:42 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(inline)]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"macros\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"tokio_macros::main","name":"main","id":4361,"is_glob":false}}},"6197":{"id":6197,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2673":{"id":2673,"crate_id":0,"name":"listen","span":{"filename":"src/net/unix/socket.rs","begin":[171,5],"end":[188,6]},"visibility":"public","docs":"Converts the socket into a `UnixListener`.\n\n`backlog` defines the maximum number of pending connections are queued\nby the operating system at any given time. Connection are removed from\nthe queue with [`UnixListener::accept`]. When the queue is full, the\noperating-system will start rejecting connections.\n\nCalling this function on a socket created by [`new_datagram`] will return an error.\n\nThis calls the `listen(2)` operating-system function, marking the socket\nas a passive socket.\n\n[`new_datagram`]: `UnixSocket::new_datagram`","links":{"`UnixListener::accept`":2627,"`UnixSocket::new_datagram`":2670},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["backlog",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"911":{"id":911,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4435":{"id":4435,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6524":{"id":6524,"crate_id":0,"name":"get_mut","span":{"filename":"src/sync/rwlock.rs","begin":[1090,5],"end":[1092,6]},"visibility":"public","docs":"Returns a mutable reference to the underlying data.\n\nSince this call borrows the `RwLock` mutably, no actual locking needs to\ntake place -- the mutable borrow statically guarantees no locks exist.\n\n# Examples\n\n```\nuse tokio::sync::RwLock;\n\nfn main() {\n    let mut lock = RwLock::new(1);\n\n    let n = lock.get_mut();\n    *n = 2;\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1238":{"id":1238,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3000":{"id":3000,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6851":{"id":6851,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[201,1],"end":[209,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6850],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3327":{"id":3327,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1565":{"id":1565,"crate_id":0,"name":"write_i8","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes a signed 8-bit integer to the underlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_i8(&mut self, n: i8) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite signed 8 bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_i8(-2).await?;\nwriter.write_i8(126).await?;\n\nassert_eq!(writer, b\"\\xFE\\x7E\");\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"i8"}]],"output":{"resolved_path":{"path":"WriteI8","id":1566,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5089":{"id":5089,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7178":{"id":7178,"crate_id":0,"name":"spawn_on","span":{"filename":"src/task/join_set.rs","begin":[742,5],"end":[749,6]},"visibility":"public","docs":"Spawn the provided task on the provided [runtime handle] with this\nbuilder's settings, and store it in the [`JoinSet`].\n\n# Returns\n\nAn [`AbortHandle`] that can be used to remotely cancel the task.\n\n\n[`AbortHandle`]: crate::task::AbortHandle\n[runtime handle]: crate::runtime::Handle","links":{"crate::task::AbortHandle":3723,"`JoinSet`":3724,"crate::runtime::Handle":4265},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["future",{"generic":"F"}],["handle",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Handle","id":4265,"args":null}}}}]],"output":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Output","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5416":{"id":5416,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7505":{"id":7505,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3981":{"id":3981,"crate_id":0,"name":"HistogramScale","span":{"filename":"src/runtime/metrics/histogram.rs","begin":[58,5],"end":[64,6]},"visibility":"public","docs":"Whether the histogram used to aggregate a metric uses a linear or\nlogarithmic scale.","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:609:19: 609:33 (#1770) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"},"non_exhaustive"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[],"where_predicates":[]},"has_stripped_variants":false,"variants":[4672,3983],"impls":[4673,4674,4675,4676,4677,4678,4679,4680,4681,4682,4683,4684,4685,4686,4687,4688,4689,4690,4692,4693,4695,4696,4697,4699]}}},"2219":{"id":2219,"crate_id":0,"name":"set_tclass_v6","span":{"filename":"src/net/tcp/socket.rs","begin":[591,5],"end":[593,6]},"visibility":"public","docs":"Sets the value for the `IPV6_TCLASS` option on this socket.\n\nSpecifies the traffic class field that is used in every packet\nsent from this socket.\n\n# Note\n\nThis may not have any effect on IPv4 sockets.","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"android\"), span: src/net/tcp/socket.rs:567:9: 567:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"dragonfly\"), span: src/net/tcp/socket.rs:568:9: 568:32 (#0) }, NameValue { name: \"target_os\", value: Some(\"freebsd\"), span: src/net/tcp/socket.rs:569:9: 569:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"fuchsia\"), span: src/net/tcp/socket.rs:570:9: 570:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/net/tcp/socket.rs:571:9: 571:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"macos\"), span: src/net/tcp/socket.rs:572:9: 572:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"netbsd\"), span: src/net/tcp/socket.rs:573:9: 573:29 (#0) }, NameValue { name: \"target_os\", value: Some(\"openbsd\"), span: src/net/tcp/socket.rs:574:9: 574:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"cygwin\"), span: src/net/tcp/socket.rs:575:9: 575:29 (#0) }], src/net/tcp/socket.rs:566:14: 576:6 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(target_os = \"android\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"fuchsia\", target_os = \"linux\", target_os = \"macos\", target_os = \"netbsd\", target_os = \"openbsd\", target_os = \"cygwin\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["tclass",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"457":{"id":457,"crate_id":0,"name":"remove_file","span":{"filename":"src/fs/remove_file.rs","begin":[13,1],"end":[16,2]},"visibility":"public","docs":"Removes a file from the filesystem.\n\nNote that there is no guarantee that the file is immediately deleted (e.g.\ndepending on platform, other open file descriptors may prevent immediate\nremoval).\n\nThis is an async version of [`std::fs::remove_file`].","links":{"`std::fs::remove_file`":456},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5743":{"id":5743,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"Deref","id":550,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Target","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Receiver","id":1075,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1073],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"P"}}}},"6070":{"id":6070,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4308":{"id":4308,"crate_id":0,"name":null,"span":{"filename":"src/runtime/handle.rs","begin":[520,1],"end":[520,42]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"784":{"id":784,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/util/buf_writer.rs","begin":[202,5],"end":[205,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2546":{"id":2546,"crate_id":0,"name":"broadcast","span":{"filename":"src/net/udp.rs","begin":[1901,5],"end":[1903,6]},"visibility":"public","docs":"Gets the value of the `SO_BROADCAST` option for this socket.\n\nFor more information about this option, see [`set_broadcast`].\n\n[`set_broadcast`]: method@Self::set_broadcast","links":{"method@Self::set_broadcast":2545},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"bool"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4635":{"id":4635,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2873":{"id":2873,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6397":{"id":6397,"crate_id":0,"name":"read","span":{"filename":"src/sync/rwlock.rs","begin":[436,5],"end":[475,6]},"visibility":"public","docs":"Locks this `RwLock` with shared read access, causing the current task\nto yield until the lock has been acquired.\n\nThe calling task will yield until there are no writers which hold the\nlock. There may be other readers inside the lock when the task resumes.\n\nNote that under the priority policy of [`RwLock`], read locks are not\ngranted until prior write locks, to prevent starvation. Therefore\ndeadlock may occur if a read lock is held by the current task, a write\nlock attempt is made, and then a subsequent read lock attempt is made\nby the current task.\n\nReturns an RAII guard which will drop this read access of the `RwLock`\nwhen dropped.\n\n# Cancel safety\n\nThis method uses a queue to fairly distribute locks in the order they\nwere requested. Cancelling a call to `read` makes you lose your place in\nthe queue.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::RwLock;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(1));\nlet c_lock = lock.clone();\n\nlet n = lock.read().await;\nassert_eq!(*n, 1);\n\ntokio::spawn(async move {\n    // While main has an active read lock, we acquire one too.\n    let r = c_lock.read().await;\n    assert_eq!(*r, 1);\n}).await.expect(\"The spawned task has panicked\");\n\n// Drop the guard after the spawned task finishes.\ndrop(n);\n# }\n```","links":{"`RwLock`":6273},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6724":{"id":6724,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4962":{"id":4962,"crate_id":0,"name":null,"span":{"filename":"src/signal/mod.rs","begin":[51,1],"end":[51,24]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"signal\"), span: src/signal/mod.rs:50:7: 50:25 (#0) }])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"ctrl_c::ctrl_c","name":"ctrl_c","id":4760,"is_glob":false}}},"1438":{"id":1438,"crate_id":0,"name":"writer_mut","span":{"filename":"src/io/join.rs","begin":[58,5],"end":[60,6]},"visibility":"public","docs":"Returns a mutable reference to the inner writer.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"W"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5289":{"id":5289,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3527":{"id":3527,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1765":{"id":1765,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7051":{"id":7051,"crate_id":0,"name":"drop","span":{"filename":"src/task/local.rs","begin":[483,5],"end":[493,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5616":{"id":5616,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2092":{"id":2092,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[274,22],"end":[274,28]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:233:19: 233:37 (#214) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"stdout::stdout","name":"stdout","id":1354,"is_glob":false}}},"3854":{"id":3854,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5943":{"id":5943,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4181":{"id":4181,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[111,17],"end":[111,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[4180],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2419":{"id":2419,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"657":{"id":657,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1589,1],"end":[1597,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[656],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2746":{"id":2746,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"984":{"id":984,"crate_id":0,"name":"PRIORITY","span":{"filename":"src/io/ready.rs","begin":[42,5],"end":[42,49]},"visibility":"public","docs":"Returns a `Ready` representing priority readiness.","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/io/ready.rs:40:15: 40:34 (#0) }, NameValue { name: \"target_os\", value: Some(\"android\"), span: src/io/ready.rs:40:36: 40:57 (#0) }], src/io/ready.rs:40:14: 40:58 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(target_os = \"linux\", target_os = \"android\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}},"value":"_","default_unstable":null}}},"6597":{"id":6597,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[96,1],"end":[100,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"PartialEq","id":966,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6596],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4835":{"id":4835,"crate_id":0,"name":null,"span":{"filename":"src/signal/unix.rs","begin":[369,10],"end":[369,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[4834],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3073":{"id":3073,"crate_id":0,"name":"into_blocking_fd","span":{"filename":"src/net/unix/pipe.rs","begin":[1436,5],"end":[1440,6]},"visibility":"public","docs":"Converts the pipe into an [`OwnedFd`] in blocking mode.\n\nThis function will deregister this pipe end from the event loop, set\nit in blocking mode and perform the conversion.","links":{"`OwnedFd`":272},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedFd","id":272,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1311":{"id":1311,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/io/stderr.rs","begin":[101,9],"end":[103,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6924":{"id":6924,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5162":{"id":5162,"crate_id":0,"name":"strong_count","span":{"filename":"src/sync/broadcast.rs","begin":[1136,5],"end":[1138,6]},"visibility":"public","docs":"Returns the number of [`Sender`] handles.","links":{"`Sender`":5023},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1638":{"id":1638,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7251":{"id":7251,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[324,9],"end":[324,34]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:599:23: 599:37 (#4287) }, NameValue { name: \"feature\", value: Some(\"tracing\"), span: src/macros/cfg.rs:599:39: 599:58 (#4287) }], src/macros/cfg.rs:599:22: 599:59 (#4287))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, feature = \"tracing\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"builder::Builder","name":"Builder","id":7175,"is_glob":false}}},"5489":{"id":5489,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3727":{"id":3727,"crate_id":0,"name":"id","span":{"filename":"src/runtime/task/join.rs","begin":[316,5],"end":[319,6]},"visibility":"public","docs":"Returns a [task ID] that uniquely identifies this task relative to other\ncurrently spawned tasks.\n\n[task ID]: crate::task::Id","links":{"crate::task::Id":3692},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"super::Id","id":3692,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"203":{"id":203,"crate_id":0,"name":"AsyncWriteExt","span":{"filename":"src/io/util/async_write_ext.rs","begin":[72,5],"end":[1329,6]},"visibility":"public","docs":"Writes bytes to a sink.\n\nImplemented as an extension trait, adding utility methods to all\n[`AsyncWrite`] types. Callers will tend to import this trait instead of\n[`AsyncWrite`].\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, AsyncWriteExt};\nuse tokio::fs::File;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let data = b\"some bytes\";\n\n    let mut pos = 0;\n    let mut buffer = File::create(\"foo.txt\").await?;\n\n    while pos < data.len() {\n        let bytes_written = buffer.write(&data[pos..]).await?;\n        pos += bytes_written;\n    }\n\n    Ok(())\n}\n# }\n```\n\nSee [module][crate::io] documentation for more details.\n\n[`AsyncWrite`]: AsyncWrite","links":{"AsyncWrite":225,"crate::io":1545},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#265) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":false,"items":[316,1553,1556,1560,209,1563,1565,1567,1569,1571,1573,1575,1577,1579,1581,1583,1585,1587,1589,1591,1593,1595,1597,1599,1601,1603,1605,200,1608],"generics":{"params":[],"where_predicates":[]},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}}],"implementations":[1610]}}},"7578":{"id":7578,"crate_id":0,"name":"fmt","span":{"filename":"src/util/rand.rs","begin":[15,17],"end":[15,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4054":{"id":4054,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2292":{"id":2292,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5816":{"id":5816,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6143":{"id":6143,"crate_id":0,"name":null,"span":{"filename":"src/sync/batch_semaphore.rs","begin":[51,10],"end":[51,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[6142],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4381":{"id":4381,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/runtime.rs","begin":[96,10],"end":[96,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"857":{"id":857,"crate_id":0,"name":"poll_write","span":{"filename":"src/net/windows/named_pipe.rs","begin":[902,5],"end":[908,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4708":{"id":4708,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6470":{"id":6470,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[444,1],"end":[457,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6469],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1184":{"id":1184,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6797":{"id":6797,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5035":{"id":5035,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1511":{"id":1511,"crate_id":0,"name":"read_i64","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an signed 64-bit integer in big-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_i64(&mut self) -> io::Result<i64>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead signed 64-bit big-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![0x80, 0, 0, 0, 0, 0, 0, 0]);\n\nassert_eq!(i64::MIN, reader.read_i64().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadI64","id":1512,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3273":{"id":3273,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5362":{"id":5362,"crate_id":0,"name":"drop","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1779,5],"end":[1796,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3600":{"id":3600,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1838":{"id":1838,"crate_id":0,"name":"fmt","span":{"filename":"src/io/util/mem.rs","begin":[47,10],"end":[47,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7124":{"id":7124,"crate_id":0,"name":null,"span":{"filename":"src/task/join_set.rs","begin":[80,1],"end":[97,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7121,7122,7123],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7451":{"id":7451,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5689":{"id":5689,"crate_id":0,"name":"const_new","span":{"filename":"src/sync/mutex.rs","begin":[395,5],"end":[405,6]},"visibility":"public","docs":"Creates a new lock in an unlocked state ready for use.\n\nWhen using the `tracing` [unstable feature], a `Mutex` created with\n`const_new` will not be instrumented. As such, it will not be visible\nin [`tokio-console`]. Instead, [`Mutex::new`] should be used to create\nan instrumented object if that is needed.\n\n# Examples\n\n```\nuse tokio::sync::Mutex;\n\nstatic LOCK: Mutex<i32> = Mutex::const_new(5);\n```\n\n[`tokio-console`]: https://github.com/tokio-rs/console\n[unstable feature]: crate#unstable-features","links":{"`Mutex::new`":5688,"crate#unstable-features":3944},"attrs":[{"other":"#[attr = CfgTrace([Not(All([NameValue { name: \"loom\", value: None, span: src/sync/mutex.rs:394:19: 394:23 (#0) }, NameValue { name: \"test\", value: None, span: src/sync/mutex.rs:394:25: 394:29 (#0) }], src/sync/mutex.rs:394:18: 394:30 (#0)), src/sync/mutex.rs:394:14: 394:31 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["t",{"generic":"T"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2165":{"id":2165,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/listener.rs","begin":[62,1],"end":[387,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[2156,2153,2157,2159,2161,2162,2164,2163],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"403":{"id":403,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4254":{"id":4254,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2492":{"id":2492,"crate_id":0,"name":"as_socket","span":{"filename":"src/net/tcp/stream.rs","begin":[1560,9],"end":[1562,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedSocket","id":2196,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"730":{"id":730,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[344,5],"end":[346,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6016":{"id":6016,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[347,36],"end":[347,41]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[6015],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6343":{"id":6343,"crate_id":0,"name":"deref_mut","span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[424,5],"end":[426,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2819":{"id":2819,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1057":{"id":1057,"crate_id":0,"name":"AioEvent","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[218,1],"end":[218,33]},"visibility":"public","docs":"Opaque data returned by [`Aio::poll_ready`].\n\nIt can be fed back to [`Aio::clear_ready`].","links":{"`Aio::clear_ready`":1053,"`Aio::poll_ready`":1052},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1104]}}},"4581":{"id":4581,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4908":{"id":4908,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3146":{"id":3146,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6670":{"id":6670,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[97,1],"end":[101,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6669],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6997":{"id":6997,"crate_id":0,"name":"new","span":{"filename":"src/task/local.rs","begin":[504,5],"end":[525,6]},"visibility":"public","docs":"Returns a new local task set.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3473":{"id":3473,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1095,1],"end":[1102,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Command","id":3415,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[3472],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1711":{"id":1711,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5235":{"id":5235,"crate_id":0,"name":"SendTimeoutError","span":{"filename":"src/sync/mpsc/error.rs","begin":[125,5],"end":[133,6]},"visibility":"public","docs":"Error returned by [`Sender::send_timeout`](super::Sender::send_timeout).","links":{"super::Sender::send_timeout":5234},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:583:19: 583:35 (#2155) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"has_stripped_variants":false,"variants":[5630,5632],"impls":[5634,5635,5636,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648,5649,5650,5651,5652,5653,5654,5656,5657,5659,5660,5662,5664,5665]}}},"5562":{"id":5562,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[72,1],"end":[76,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5561],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3800":{"id":3800,"crate_id":0,"name":"is_finished","span":{"filename":"src/runtime/task/join.rs","begin":[258,5],"end":[261,6]},"visibility":"public","docs":"Checks if the task associated with this `JoinHandle` has finished.\n\nPlease note that this method can return `false` even if [`abort`] has been\ncalled on the task. This is because the cancellation process may take\nsome time, and this method does not return `true` until it has\ncompleted.\n\n```rust\nuse tokio::time;\n\n# #[tokio::main(flavor = \"current_thread\", start_paused = true)]\n# async fn main() {\nlet handle1 = tokio::spawn(async {\n    // do some stuff here\n});\nlet handle2 = tokio::spawn(async {\n    // do some other stuff here\n    time::sleep(time::Duration::from_secs(10)).await;\n});\n// Wait for the task to finish\nhandle2.abort();\ntime::sleep(time::Duration::from_secs(1)).await;\nassert!(handle1.is_finished());\nassert!(handle2.is_finished());\n# }\n```\n[`abort`]: method@JoinHandle::abort","links":{"method@JoinHandle::abort":3767},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"276":{"id":276,"crate_id":0,"name":null,"span":{"filename":"src/fs/file.rs","begin":[908,1],"end":[912,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"},{"other":"#[attr = CfgTrace([NameValue { name: \"unix\", value: None, span: src/fs/file.rs:907:7: 907:11 (#0) }])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[274],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7324":{"id":7324,"crate_id":0,"name":null,"span":{"filename":"src/time/error.rs","begin":[119,1],"end":[123,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"std::io::Error","id":262,"args":null}},"items":[7323],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5889":{"id":5889,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mutex.rs","begin":[296,5],"end":[298,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2365":{"id":2365,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"603":{"id":603,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/join.rs","begin":[77,5],"end":[83,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4127":{"id":4127,"crate_id":0,"name":"colno","span":{"filename":"src/runtime/dump.rs","begin":[103,5],"end":[105,6]},"visibility":"public","docs":"Returns the column number for where this symbol is currently executing.\n\nIf debuginfo is missing, this is likely to return `None`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u32"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6216":{"id":6216,"crate_id":0,"name":"split","span":{"filename":"src/sync/semaphore.rs","begin":[1088,5],"end":[1101,6]},"visibility":"public","docs":"Splits `n` permits from `self` and returns a new [`SemaphorePermit`] instance that holds `n` permits.\n\nIf there are insufficient permits and it's not possible to reduce by `n`, returns `None`.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::Semaphore;\n\nlet sem = Arc::new(Semaphore::new(3));\n\nlet mut p1 = sem.try_acquire_many(3).unwrap();\nlet p2 = p1.split(1).unwrap();\n\nassert_eq!(p1.num_permits(), 2);\nassert_eq!(p2.num_permits(), 1);\n```","links":{"`SemaphorePermit`":6181},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4454":{"id":4454,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"930":{"id":930,"crate_id":0,"name":"PRIORITY","span":{"filename":"src/io/interest.rs","begin":[71,5],"end":[71,55]},"visibility":"public","docs":"Returns a `Interest` set representing priority completion interests.","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/io/interest.rs:69:15: 69:34 (#0) }, NameValue { name: \"target_os\", value: Some(\"android\"), span: src/io/interest.rs:69:36: 69:57 (#0) }], src/io/interest.rs:69:14: 69:58 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(target_os = \"linux\", target_os = \"android\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"resolved_path":{"path":"Interest","id":924,"args":null}},"value":"_","default_unstable":null}}},"2692":{"id":2692,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6543":{"id":6543,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[149,1],"end":[149,67]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3019":{"id":3019,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/pipe.rs","begin":[121,10],"end":[121,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[3018],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1257":{"id":1257,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4781":{"id":4781,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6870":{"id":6870,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5108":{"id":5108,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/broadcast.rs","begin":[325,14],"end":[325,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3346":{"id":3346,"crate_id":0,"name":"end","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2642,5],"end":[2642,21]},"visibility":"public","docs":"Indicates the end of a named pipe.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}}}},"7197":{"id":7197,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5435":{"id":5435,"crate_id":0,"name":"UnboundedReceiver","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[72,1],"end":[75,2]},"visibility":"public","docs":"Receive values from the associated `UnboundedSender`.\n\nInstances are created by the [`unbounded_channel`] function.\n\nThis receiver can be turned into a `Stream` using [`UnboundedReceiverStream`].\n\n[`UnboundedReceiverStream`]: https://docs.rs/tokio-stream/0.1/tokio_stream/wrappers/struct.UnboundedReceiverStream.html","links":{"`unbounded_channel`":5432},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5509,5510,5511,5512,5513,5514,5515,5516,5517,5518,5519,5520,5521,5522,5523,5524,5525,5527]}}},"149":{"id":149,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7524":{"id":7524,"crate_id":0,"name":"Output","span":{"filename":"src/time/timeout.rs","begin":[209,5],"end":[209,46]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"T"},"trait":{"path":"Future","id":520,"args":null}}}},{"type":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}}}],"constraints":[]}}}},"default_unstable":null}}},"5762":{"id":5762,"crate_id":0,"name":"OwnedMappedMutexGuard","span":{"filename":"src/sync/mutex.rs","begin":[209,1],"end":[216,2]},"visibility":"public","docs":"A owned handle to a held `Mutex` that has had a function applied to it via\n[`OwnedMutexGuard::map`].\n\nThis can be used to hold a subfield of the protected data.\n\n[`OwnedMutexGuard::map`]: method@OwnedMutexGuard::map","links":{"method@OwnedMutexGuard::map":5763},"attrs":[{"other":"#[clippy::has_significant_drop]"},{"must_use":{"reason":"if unused the Mutex will immediately unlock"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":{"generic":"T"},"is_synthetic":false}}}],"where_predicates":[]},"impls":[5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,5857,5860,5862,5864,5866]}}},"4000":{"id":4000,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2238":{"id":2238,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4327":{"id":4327,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2565":{"id":2565,"crate_id":0,"name":"take_error","span":{"filename":"src/net/udp.rs","begin":[2302,5],"end":[2304,6]},"visibility":"public","docs":"Returns the value of the `SO_ERROR` option.\n\n# Examples\n```\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n#   if cfg!(miri) { return Ok(()); } // No UDP sockets in miri.\n    // Create a socket\n    let socket = UdpSocket::bind(\"0.0.0.0:8080\").await?;\n\n    if let Ok(Some(err)) = socket.take_error() {\n        println!(\"Got error: {:?}\", err);\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"803":{"id":803,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/util/mem.rs","begin":[422,5],"end":[428,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6416":{"id":6416,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4654":{"id":4654,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1130":{"id":1130,"crate_id":0,"name":"poll_read_ready_mut","span":{"filename":"src/io/async_fd.rs","begin":[412,5],"end":[422,6]},"visibility":"public","docs":"Polls for read readiness.\n\nIf the file descriptor is not currently ready for reading, this method\nwill store a clone of the [`Waker`] from the provided [`Context`]. When the\nfile descriptor becomes ready for reading, [`Waker::wake`] will be called.\n\nNote that on multiple calls to [`poll_read_ready`] or\n[`poll_read_ready_mut`], only the `Waker` from the `Context` passed to the\nmost recent call is scheduled to receive a wakeup. (However,\n[`poll_write_ready`] retains a second, independent waker).\n\nThis method is intended for cases where creating and pinning a future\nvia [`readable`] is not feasible. Where possible, using [`readable`] is\npreferred, as this supports polling from multiple tasks at once.\n\nThis method takes `&mut self`, so it is possible to access the inner IO\nresource mutably when handling the [`AsyncFdReadyMutGuard`].\n\n[`poll_read_ready`]: method@Self::poll_read_ready\n[`poll_read_ready_mut`]: method@Self::poll_read_ready_mut\n[`poll_write_ready`]: method@Self::poll_write_ready\n[`readable`]: method@Self::readable\n[`Context`]: struct@std::task::Context\n[`Waker`]: struct@std::task::Waker\n[`Waker::wake`]: method@std::task::Waker::wake","links":{"method@Self::poll_read_ready":1118,"struct@std::task::Waker":1128,"struct@std::task::Context":251,"method@Self::poll_write_ready":1119,"method@std::task::Waker::wake":1129,"`AsyncFdReadyMutGuard`":1131,"method@Self::poll_read_ready_mut":1130,"method@Self::readable":1114},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4981":{"id":4981,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3219":{"id":3219,"crate_id":0,"name":"reject_remote_clients","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2164,5],"end":[2167,6]},"visibility":"public","docs":"Indicates whether this server can accept remote clients or not. Remote\nclients are disabled by default.\n\nThis corresponds to setting [`PIPE_REJECT_REMOTE_CLIENTS`].\n\n[`PIPE_REJECT_REMOTE_CLIENTS`]: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_reject_remote_clients","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["reject",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1457":{"id":1457,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6743":{"id":6743,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[349,5],"end":[353,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6742],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7070":{"id":7070,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5308":{"id":5308,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1681,5],"end":[1683,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3546":{"id":3546,"crate_id":0,"name":"into_owned_handle","span":{"filename":"src/process/mod.rs","begin":[1716,5],"end":[1716,30]},"visibility":"public","docs":"Convert into [`OwnedHandle`].","links":{"`OwnedHandle`":286},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedHandle","id":286,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5635":{"id":5635,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3873":{"id":3873,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2111":{"id":2111,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[286,159],"end":[286,172]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::AsyncWriteExt","name":"AsyncWriteExt","id":203,"is_glob":false}}},"349":{"id":349,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7397":{"id":7397,"crate_id":0,"name":"set_missed_tick_behavior","span":{"filename":"src/time/interval.rs","begin":[630,5],"end":[632,6]},"visibility":"public","docs":"Sets the [`MissedTickBehavior`] strategy that should be used.","links":{"`MissedTickBehavior`":7395},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["behavior",{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5962":{"id":5962,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[1049,1],"end":[1083,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[5961],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2438":{"id":2438,"crate_id":0,"name":"take_error","span":{"filename":"src/net/tcp/stream.rs","begin":[304,5],"end":[306,6]},"visibility":"public","docs":"Returns the value of the `SO_ERROR` option.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"676":{"id":676,"crate_id":0,"name":null,"span":{"filename":"src/io/async_seek.rs","begin":[89,1],"end":[98,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"slice":{"primitive":"u8"}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncSeek","id":199,"args":null},"for":{"resolved_path":{"path":"io::Cursor","id":557,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[674,675],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4200":{"id":4200,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6289":{"id":6289,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4527":{"id":4527,"crate_id":0,"name":"spawned_tasks_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[601,9],"end":[603,10]},"visibility":"public","docs":"Returns the number of tasks spawned in this runtime since it was created.\n\nThis count starts at zero when the runtime is created and increases by one each time a task is spawned.\n\nThe counter is monotonically increasing. It is never decremented or\nreset to zero.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.spawned_tasks_count();\nprintln!(\"Runtime has had {} tasks spawned\", n);\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/metrics/runtime.rs:578:13: 578:27 (#0) }, NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/runtime/metrics/runtime.rs:579:13: 579:37 (#0) }], src/runtime/metrics/runtime.rs:577:15: 580:10 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, target_has_atomic = \"64\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1003":{"id":1003,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6616":{"id":6616,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3092":{"id":3092,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1330":{"id":1330,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4854":{"id":4854,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5181":{"id":5181,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3419":{"id":3419,"crate_id":0,"name":"Child","span":{"filename":"src/process/mod.rs","begin":[1176,1],"end":[1213,2]},"visibility":"public","docs":"Representation of a child process spawned onto an event loop.\n\n# Caveats\nSimilar to the behavior to the standard library, and unlike the futures\nparadigm of dropping-implies-cancellation, a spawned process will, by\ndefault, continue to execute even after the `Child` handle has been dropped.\n\nThe `Command::kill_on_drop` method can be used to modify this behavior\nand kill the child process if the `Child` wrapper is dropped before it\nhas exited.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[3475,3476,3477],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[3486,3487,3488,3489,3490,3491,3492,3493,3494,3495,3496,3497,3498,3499,3500,3501,3502,3504]}}},"1657":{"id":1657,"crate_id":0,"name":"into_inner","span":{"filename":"src/io/util/buf_stream.rs","begin":[76,5],"end":[78,6]},"visibility":"public","docs":"Consumes this `BufStream`, returning the underlying I/O object.\n\nNote that any leftover data in the internal buffer is lost.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"generic":"RW"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7270":{"id":7270,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3746":{"id":3746,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1984":{"id":1984,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"222":{"id":222,"crate_id":0,"name":"set_permissions","span":{"filename":"src/fs/file.rs","begin":[557,5],"end":[560,6]},"visibility":"public","docs":"Changes the permissions on the underlying file.\n\n# Platform-specific behavior\n\nThis function currently corresponds to the `fchmod` function on Unix and\nthe `SetFileInformationByHandle` function on Windows. Note that, this\n[may change in the future][changes].\n\n[changes]: https://doc.rust-lang.org/std/io/index.html#platform-specific-behavior\n\n# Errors\n\nThis function will return an error if the user lacks permission change\nattributes on the underlying file. It may also return an error in other\nos-specific unspecified cases.\n\n# Examples\n\n```no_run\nuse tokio::fs::File;\n\n# async fn dox() -> std::io::Result<()> {\nlet file = File::open(\"foo.txt\").await?;\nlet mut perms = file.metadata().await?.permissions();\nperms.set_readonly(true);\nfile.set_permissions(perms).await?;\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["perm",{"resolved_path":{"path":"Permissions","id":223,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5508":{"id":5508,"crate_id":0,"name":"sender_weak_count","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[524,5],"end":[526,6]},"visibility":"public","docs":"Returns the number of [`WeakUnboundedSender`] handles.","links":{"`WeakUnboundedSender`":5440},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5835":{"id":5835,"crate_id":0,"name":"map","span":{"filename":"src/sync/mutex.rs","begin":[1316,5],"end":[1328,6]},"visibility":"public","docs":"Makes a new [`OwnedMappedMutexGuard`] for a component of the locked data.\n\nThis operation cannot fail as the [`OwnedMappedMutexGuard`] passed in already locked the mutex.\n\nThis is an associated function that needs to be used as `OwnedMappedMutexGuard::map(...)`. A method\nwould interfere with methods of the same name on the contents of the locked data.\n\n[`OwnedMappedMutexGuard`]: struct@OwnedMappedMutexGuard","links":{"struct@OwnedMappedMutexGuard":5762},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"S"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"S","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"S"}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4073":{"id":4073,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2311":{"id":2311,"crate_id":0,"name":"ready","span":{"filename":"src/net/tcp/split.rs","begin":[302,5],"end":[304,6]},"visibility":"public","docs":"Waits for any of the requested ready states.\n\nThis function is usually paired with [`try_write()`]. It can be used instead\nof [`writable()`] to check the returned ready set for [`Ready::WRITABLE`]\nand [`Ready::WRITE_CLOSED`] events.\n\nThe function may complete without the socket being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\nThis function is equivalent to [`TcpStream::ready`].\n\n[`try_write()`]: Self::try_write\n[`writable()`]: Self::writable\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`Ready`":978,"Self::try_write":2309,"Self::writable":2310,"`Ready::WRITABLE`":981,"`TcpStream::ready`":2279,"`Ready::WRITE_CLOSED`":983},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7597":{"id":7597,"crate_id":0,"name":"as_raw_socket","span":{"filename":"src/doc/os.rs","begin":[35,13],"end":[35,50]},"visibility":"default","docs":"See [`std::os::windows::io::AsRawSocket::as_raw_socket`](https://doc.rust-lang.org/std/os/windows/io/trait.AsRawSocket.html#tymethod.as_raw_socket)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawSocket","id":2192,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"4400":{"id":4400,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2638":{"id":2638,"crate_id":0,"name":"poll_accept","span":{"filename":"src/net/unix/listener.rs","begin":[227,5],"end":[232,6]},"visibility":"public","docs":"Polls to accept a new incoming connection to this listener.\n\nIf there is no connection to accept, `Poll::Pending` is returned and the\ncurrent task will be notified by a waker.  Note that on multiple calls\nto `poll_accept`, only the `Waker` from the `Context` passed to the most\nrecent call is scheduled to receive a wakeup.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"resolved_path":{"path":"UnixStream","id":643,"args":null}},{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6162":{"id":6162,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6489":{"id":6489,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1203":{"id":1203,"crate_id":0,"name":"retain_ready","span":{"filename":"src/io/async_fd.rs","begin":[1302,5],"end":[1304,6]},"visibility":"public","docs":"This method should be invoked when you intentionally want to keep the\nready flag asserted.\n\nWhile this function is itself a no-op, it satisfies the `#[must_use]`\nconstraint on the [`AsyncFdReadyGuard`] type.","links":{"`AsyncFdReadyGuard`":1117},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2965":{"id":2965,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5054":{"id":5054,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3292":{"id":3292,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7143":{"id":7143,"crate_id":0,"name":null,"span":{"filename":"src/task/join_set.rs","begin":[99,1],"end":[589,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"outlives":"'static"}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7126,7127,7128,7129,7130,7131,7132,7133,7134,7135,7136,7138,7139,7137,7140,7141,7142],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5381":{"id":5381,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1857":{"id":1857,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"3619":{"id":3619,"crate_id":0,"name":"process","span":{"filename":"src/process/mod.rs","begin":[1,1],"end":[1854,2]},"visibility":"public","docs":"An implementation of asynchronous process management for Tokio.\n\nThis module provides a [`Command`] struct that imitates the interface of the\n[`std::process::Command`] type in the standard library, but provides asynchronous versions of\nfunctions that create processes. These functions (`spawn`, `status`, `output` and their\nvariants) return \"future aware\" types that interoperate with Tokio. The asynchronous process\nsupport is provided through signal handling on Unix and system APIs on Windows.\n\n[`std::process::Command`]: std::process::Command\n\n# Examples\n\nHere's an example program which will spawn `echo hello world` and then wait\nfor it complete.\n\n```no_run\nuse tokio::process::Command;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    // The usage is similar as with the standard library's `Command` type\n    let mut child = Command::new(\"echo\")\n        .arg(\"hello\")\n        .arg(\"world\")\n        .spawn()\n        .expect(\"failed to spawn\");\n\n    // Await until the command completes\n    let status = child.wait().await?;\n    println!(\"the command exited with: {}\", status);\n    Ok(())\n}\n```\n\nNext, let's take a look at an example where we not only spawn `echo hello\nworld` but we also capture its output.\n\n```no_run\nuse tokio::process::Command;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    // Like above, but use `output` which returns a future instead of\n    // immediately returning the `Child`.\n    let output = Command::new(\"echo\").arg(\"hello\").arg(\"world\")\n                        .output();\n\n    let output = output.await?;\n\n    assert!(output.status.success());\n    assert_eq!(output.stdout, b\"hello world\\n\");\n    Ok(())\n}\n```\n\nWe can also read input line by line.\n\n```no_run\nuse tokio::io::{BufReader, AsyncBufReadExt};\nuse tokio::process::Command;\n\nuse std::process::Stdio;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    let mut cmd = Command::new(\"cat\");\n\n    // Specify that we want the command's standard output piped back to us.\n    // By default, standard input/output/error will be inherited from the\n    // current process (for example, this means that standard input will\n    // come from the keyboard and standard output/error will go directly to\n    // the terminal if this process is invoked from the command line).\n    cmd.stdout(Stdio::piped());\n\n    let mut child = cmd.spawn()\n        .expect(\"failed to spawn command\");\n\n    let stdout = child.stdout.take()\n        .expect(\"child did not have a handle to stdout\");\n\n    let mut reader = BufReader::new(stdout).lines();\n\n    // Ensure the child process is spawned in the runtime so it can\n    // make progress on its own while we await for any output.\n    tokio::spawn(async move {\n        let status = child.wait().await\n            .expect(\"child process encountered an error\");\n\n        println!(\"child status was: {}\", status);\n    });\n\n    while let Some(line) = reader.next_line().await? {\n        println!(\"Line: {}\", line);\n    }\n\n    Ok(())\n}\n```\n\nHere is another example using `sort` writing into the child process\nstandard input, capturing the output of the sorted text.\n\n```no_run\nuse tokio::io::AsyncWriteExt;\nuse tokio::process::Command;\n\nuse std::process::Stdio;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    let mut cmd = Command::new(\"sort\");\n\n    // Specifying that we want pipe both the output and the input.\n    // Similarly to capturing the output, by configuring the pipe\n    // to stdin it can now be used as an asynchronous writer.\n    cmd.stdout(Stdio::piped());\n    cmd.stdin(Stdio::piped());\n\n    let mut child = cmd.spawn().expect(\"failed to spawn command\");\n\n    // These are the animals we want to sort\n    let animals: &[&str] = &[\"dog\", \"bird\", \"frog\", \"cat\", \"fish\"];\n\n    let mut stdin = child\n        .stdin\n        .take()\n        .expect(\"child did not have a handle to stdin\");\n\n    // Write our animals to the child process\n    // Note that the behavior of `sort` is to buffer _all input_ before writing any output.\n    // In the general sense, it is recommended to write to the child in a separate task as\n    // awaiting its exit (or output) to avoid deadlocks (for example, the child tries to write\n    // some output but gets stuck waiting on the parent to read from it, meanwhile the parent\n    // is stuck waiting to write its input completely before reading the output).\n    stdin\n        .write(animals.join(\"\\n\").as_bytes())\n        .await\n        .expect(\"could not write to stdin\");\n\n    // We drop the handle here which signals EOF to the child process.\n    // This tells the child process that it there is no more data on the pipe.\n    drop(stdin);\n\n    let op = child.wait_with_output().await?;\n\n    // Results should come back in sorted order\n    assert_eq!(op.stdout, \"bird\\ncat\\ndog\\nfish\\nfrog\\n\".as_bytes());\n\n    Ok(())\n}\n```\n\nWith some coordination, we can also pipe the output of one command into\nanother.\n\n```no_run\nuse tokio::join;\nuse tokio::process::Command;\nuse std::process::Stdio;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    let mut echo = Command::new(\"echo\")\n        .arg(\"hello world!\")\n        .stdout(Stdio::piped())\n        .spawn()\n        .expect(\"failed to spawn echo\");\n\n    let tr_stdin: Stdio = echo\n        .stdout\n        .take()\n        .unwrap()\n        .try_into()\n        .expect(\"failed to convert to Stdio\");\n\n    let tr = Command::new(\"tr\")\n        .arg(\"a-z\")\n        .arg(\"A-Z\")\n        .stdin(tr_stdin)\n        .stdout(Stdio::piped())\n        .spawn()\n        .expect(\"failed to spawn tr\");\n\n    let (echo_result, tr_output) = join!(echo.wait(), tr.wait_with_output());\n\n    assert!(echo_result.unwrap().success());\n\n    let tr_output = tr_output.expect(\"failed to await tr\");\n    assert!(tr_output.status.success());\n\n    assert_eq!(tr_output.stdout, b\"HELLO WORLD!\\n\");\n\n    Ok(())\n}\n```\n\n# Caveats\n\n## Dropping/Cancellation\n\nSimilar to the behavior to the standard library, and unlike the futures\nparadigm of dropping-implies-cancellation, a spawned process will, by\ndefault, continue to execute even after the `Child` handle has been dropped.\n\nThe [`Command::kill_on_drop`] method can be used to modify this behavior\nand kill the child process if the `Child` wrapper is dropped before it\nhas exited.\n\n## Unix Processes\n\nOn Unix platforms processes must be \"reaped\" by their parent process after\nthey have exited in order to release all OS resources. A child process which\nhas exited, but has not yet been reaped by its parent is considered a \"zombie\"\nprocess. Such processes continue to count against limits imposed by the system,\nand having too many zombie processes present can prevent additional processes\nfrom being spawned.\n\nThe tokio runtime will, on a best-effort basis, attempt to reap and clean up\nany process which it has spawned. No additional guarantees are made with regard to\nhow quickly or how often this procedure will take place.\n\nIt is recommended to avoid dropping a [`Child`] process handle before it has been\nfully `await`ed if stricter cleanup guarantees are required.\n\n[`Command`]: crate::process::Command\n[`Command::kill_on_drop`]: crate::process::Command::kill_on_drop\n[`Child`]: crate::process::Child","links":{"crate::process::Child":3419,"crate::process::Command::kill_on_drop":3424,"std::process::Command":3415,"crate::process::Command":3420},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"process\"), span: src/macros/cfg.rs:397:19: 397:38 (#597) },\nNot(NameValue { name: \"loom\", value: None, span: src/macros/cfg.rs:399:23: 399:27 (#597) }, src/macros/cfg.rs:399:22: 399:28 (#597)),\nNot(NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/macros/cfg.rs:400:23: 400:41 (#597) }, src/macros/cfg.rs:400:22: 400:42 (#597))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[3420,3419,873,655,658],"is_stripped":false}}},"3946":{"id":3946,"crate_id":0,"name":"worker_threads","span":{"filename":"src/runtime/builder.rs","begin":[519,5],"end":[523,6]},"visibility":"public","docs":"Sets the number of worker threads the `Runtime` will use.\n\nThis can be any number above 0 though it is advised to keep this value\non the smaller side.\n\nThis will override the value read from environment variable `TOKIO_WORKER_THREADS`.\n\n# Default\n\nThe default value is the number of cores available to the system.\n\nWhen using the `current_thread` runtime this method has no effect.\n\n# Examples\n\n## Multi threaded runtime with 4 threads\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime;\n\n// This will spawn a work-stealing runtime with 4 worker threads.\nlet rt = runtime::Builder::new_multi_thread()\n    .worker_threads(4)\n    .build()\n    .unwrap();\n\nrt.spawn(async move {});\n# }\n```\n\n## Current thread runtime (will only run on the current thread via `Runtime::block_on`)\n\n```\nuse tokio::runtime;\n\n// Create a runtime that _must_ be driven from a call\n// to `Runtime::block_on`.\nlet rt = runtime::Builder::new_current_thread()\n    .build()\n    .unwrap();\n\n// This will run the runtime and future on the current thread\nrt.block_on(async move {});\n```\n\n# Panics\n\nThis will panic if `val` is not larger than `0`.","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["val",{"primitive":"usize"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2184":{"id":2184,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/listener.rs","begin":[389,1],"end":[399,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpListener","id":2160,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[2182,2183],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5708":{"id":5708,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6035":{"id":6035,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4273":{"id":4273,"crate_id":0,"name":"spawn_blocking","span":{"filename":"src/runtime/handle.rs","begin":[234,5],"end":[240,6]},"visibility":"public","docs":"Runs the provided function on an executor dedicated to blocking\noperations.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Runtime;\n\n# fn dox() {\n// Create the runtime\nlet rt = Runtime::new().unwrap();\n// Get a handle from this runtime\nlet handle = rt.handle();\n\n// Spawn a blocking function onto the runtime using the handle\nhandle.spawn_blocking(|| {\n    println!(\"now running on a worker thread\");\n});\n# }\n# }\n```","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["func",{"generic":"F"}]],"output":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"R"}}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"749":{"id":749,"crate_id":0,"name":null,"span":{"filename":"src/io/stderr.rs","begin":[129,1],"end":[148,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[746,747,748],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4600":{"id":4600,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[26,30],"end":[26,39]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2838":{"id":2838,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1076":{"id":1076,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6362":{"id":6362,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[36,1],"end":[183,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[6359,6360,6361],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6689":{"id":6689,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3165":{"id":3165,"crate_id":0,"name":"writable","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1453,5],"end":[1456,6]},"visibility":"public","docs":"Waits for the pipe to become writable.\n\nThis function is equivalent to `ready(Interest::WRITABLE)` and is usually\npaired with `try_write()`.\n\n# Examples\n\n```no_run\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-client-writable\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let client = named_pipe::ClientOptions::new().open(PIPE_NAME)?;\n\n    loop {\n        // Wait for the pipe to be writable\n        client.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match client.try_write(b\"hello world\") {\n            Ok(n) => {\n                break;\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1403":{"id":1403,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4927":{"id":4927,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5254":{"id":5254,"crate_id":0,"name":"WeakSender","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[56,1],"end":[58,2]},"visibility":"public","docs":"A sender that does not prevent the channel from being closed.\n\nIf all [`Sender`] instances of a channel were dropped and only `WeakSender`\ninstances remain, the channel is closed.\n\nIn order to send messages, the `WeakSender` needs to be upgraded using\n[`WeakSender::upgrade`], which returns `Option<Sender>`. It returns `None`\nif all `Sender`s have been dropped, and otherwise it returns a `Sender`.\n\n[`Sender`]: Sender\n[`WeakSender::upgrade`]: WeakSender::upgrade\n\n# Examples\n\n```\nuse tokio::sync::mpsc::channel;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, _rx) = channel::<i32>(15);\nlet tx_weak = tx.downgrade();\n\n// Upgrading will succeed because `tx` still exists.\nassert!(tx_weak.upgrade().is_some());\n\n// If we drop `tx`, then it will fail.\ndrop(tx);\nassert!(tx_weak.clone().upgrade().is_none());\n# }\n```","links":{"WeakSender::upgrade":5282,"Sender":5224},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5285,5286,5287,5288,5289,5290,5291,5292,5293,5294,5295,5296,5297,5298,5299,5300,5301,5302,5303,5305,5307,5309]}}},"3492":{"id":3492,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"1730":{"id":1730,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7016":{"id":7016,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7343":{"id":7343,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5581":{"id":5581,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2057":{"id":2057,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[43,5],"end":[43,26]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"lines::Lines","name":"Lines","id":1486,"is_glob":false}}},"295":{"id":295,"crate_id":0,"name":null,"span":{"filename":"src/fs/file.rs","begin":[947,5],"end":[955,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#58) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#58) }], src/macros/cfg.rs:42:26: 42:39 (#58)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#58) }], src/macros/cfg.rs:42:22: 42:49 (#58))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsHandle","id":296,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[293],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3819":{"id":3819,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/join.rs","begin":[170,1],"end":[170,47]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5908":{"id":5908,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4146":{"id":4146,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"622":{"id":622,"crate_id":0,"name":null,"span":{"filename":"src/io/util/repeat.rs","begin":[52,1],"end":[64,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[621],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2384":{"id":2384,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6235":{"id":6235,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/semaphore.rs","begin":[441,10],"end":[441,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2711":{"id":2711,"crate_id":0,"name":"try_read_vectored","span":{"filename":"src/net/unix/split.rs","begin":[174,5],"end":[176,6]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffers, returning\nhow many bytes were read.\n\nData is copied to fill each buffer in order, with the final buffer\nwritten to possibly being only partially filled. This method behaves\nequivalently to a single call to [`try_read()`] with concatenated\nbuffers.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_vectored()` is non-blocking, the buffer does not have to be\nstored by the async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`try_read()`]: Self::try_read()\n[`readable()`]: Self::readable()\n[`ready()`]: Self::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the stream's read half is closed\nand will no longer yield data. If the stream is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::ready()":2709,"Self::try_read()":2706,"Self::readable()":2707},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"resolved_path":{"path":"io::IoSliceMut","id":2282,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"949":{"id":949,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6562":{"id":6562,"crate_id":0,"name":"get","span":{"filename":"src/sync/once_cell.rs","begin":[277,5],"end":[283,6]},"visibility":"public","docs":"Returns a reference to the value currently stored in the `OnceCell`, or\n`None` if the `OnceCell` is empty.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4800":{"id":4800,"crate_id":0,"name":"clone","span":{"filename":"src/signal/unix.rs","begin":[78,17],"end":[78,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1276":{"id":1276,"crate_id":0,"name":"source","span":{"filename":"src/io/async_fd.rs","begin":[1430,5],"end":[1432,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"dyn_trait":{"traits":[{"trait":{"path":"Error","id":1277,"args":null},"generic_params":[]}],"lifetime":"'static"}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3038":{"id":3038,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6889":{"id":6889,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[466,89],"end":[466,110]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"mutex::OwnedMappedMutexGuard","name":"OwnedMappedMutexGuard","id":5762,"is_glob":false}}},"3365":{"id":3365,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1603":{"id":1603,"crate_id":0,"name":"write_f32_le","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an 32-bit floating point type in little-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_f32_le(&mut self, n: f32) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite 32-bit floating point type to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_f32_le(f32::MIN).await?;\n\nassert_eq!(writer, vec![0xff, 0xff, 0x7f, 0xff]);\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"f32"}]],"output":{"resolved_path":{"path":"WriteF32Le","id":1604,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5127":{"id":5127,"crate_id":0,"name":"len","span":{"filename":"src/sync/broadcast.rs","begin":[1199,5],"end":[1202,6]},"visibility":"public","docs":"Returns the number of messages that were sent into the channel and that\nthis [`Receiver`] has yet to receive.\n\nThis count includes messages that have already been overwritten in the\nring buffer and are no longer readable. If `len` is **greater than** the\nchannel's effective capacity (the provided capacity rounded up to the\nnext power of two), the next call to [`recv`] returns\n`Err(RecvError::Lagged)` and the next call to [`try_recv`] returns\n`Err(TryRecvError::Lagged)`. For example, with `channel(10)` the buffer\nlength is 16, so lagging begins once `len` is larger than 16.\n\nAfter a successful receive (including after handling `Lagged` and then\nreading retained messages), `len` decreases accordingly.\n\n[`Receiver`]: crate::sync::broadcast::Receiver\n[`recv`]: crate::sync::broadcast::Receiver::recv\n[`try_recv`]: crate::sync::broadcast::Receiver::try_recv\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx1) = broadcast::channel(16);\n\ntx.send(10).unwrap();\ntx.send(20).unwrap();\n\nassert_eq!(rx1.len(), 2);\nassert_eq!(rx1.recv().await.unwrap(), 10);\nassert_eq!(rx1.len(), 1);\nassert_eq!(rx1.recv().await.unwrap(), 20);\nassert_eq!(rx1.len(), 0);\n# }\n```","links":{"crate::sync::broadcast::Receiver::recv":5049,"crate::sync::broadcast::Receiver":5051,"crate::sync::broadcast::Receiver::try_recv":5086},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7216":{"id":7216,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5454":{"id":5454,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3692":{"id":3692,"crate_id":0,"name":"Id","span":{"filename":"src/runtime/task/id.rs","begin":[32,1],"end":[32,38]},"visibility":"public","docs":"An opaque ID that uniquely identifies a task relative to all other currently\nrunning tasks.\n\nA task's ID may be re-used for another task only once *both* of the\nfollowing happen:\n1. The task itself exits.\n2. There is no active [`JoinHandle`] associated with this task.\n\nA [`JoinHandle`] is considered active in the following situations:\n- You are explicitly holding a [`JoinHandle`], [`AbortHandle`], or\n  `tokio_util::task::AbortOnDropHandle`.\n- The task is being tracked by a [`JoinSet`] or `tokio_util::task::JoinMap`.\n\n# Notes\n\n- Task IDs are *not* sequential, and do not indicate the order in which\n  tasks are spawned, what runtime a task is spawned on, or any other data.\n- The task ID of the currently running task can be obtained from inside the\n  task via the [`task::try_id()`](crate::task::try_id()) and\n  [`task::id()`](crate::task::id()) functions and from outside the task via\n  the [`JoinHandle::id()`](crate::task::JoinHandle::id()) function.\n\n[`JoinHandle`]: crate::task::JoinHandle\n[`AbortHandle`]: crate::task::AbortHandle\n[`JoinSet`]: crate::task::JoinSet","links":{"crate::task::AbortHandle":3723,"crate::task::id()":3726,"crate::task::JoinHandle":3722,"crate::task::JoinSet":3724,"crate::task::try_id()":3725,"crate::task::JoinHandle::id()":3727},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(feature = \"rt\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[3728,3729,3730,3731,3732,3733,3734,3735,3736,3737,3738,3739,3740,3741,3742,3743,3744,3745,3746,3748,3749,3751,3753,3754,3755,3757,3759,3761,3763]}}},"168":{"id":168,"crate_id":2,"name":"Error","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":{"feature":"const_convert","level":"unstable"},"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"qualified_path":{"name":"Error","args":null,"self_type":{"generic":"U"},"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}},"default_unstable":null}}},"1930":{"id":1930,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4019":{"id":4019,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2257":{"id":2257,"crate_id":0,"name":"into_raw_fd","span":{"filename":"src/net/tcp/socket.rs","begin":[1027,9],"end":[1029,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"495":{"id":495,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[245,36],"end":[245,44]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::read_dir::DirEntry","name":"DirEntry","id":388,"is_glob":false}}},"5781":{"id":5781,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6108":{"id":6108,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4346":{"id":4346,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"822":{"id":822,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split_owned.rs","begin":[460,1],"end":[495,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[817,818,819,820,821],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2584":{"id":2584,"crate_id":0,"name":"try_from","span":{"filename":"src/net/udp.rs","begin":[2314,5],"end":[2316,6]},"visibility":"default","docs":"Consumes stream, returning the tokio I/O object.\n\nThis is equivalent to\n[`UdpSocket::from_std(stream)`](UdpSocket::from_std).","links":{"UdpSocket::from_std":2512},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["stream",{"resolved_path":{"path":"std::net::UdpSocket","id":1141,"args":null}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}},{"type":{"qualified_path":{"name":"Error","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":169,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4673":{"id":4673,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2911":{"id":2911,"crate_id":0,"name":"peer_addr","span":{"filename":"src/net/unix/stream.rs","begin":[962,5],"end":[964,6]},"visibility":"public","docs":"Returns the socket address of the remote half of this connection.\n\n# Examples\n\n```no_run\nuse tokio::net::UnixStream;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet dir = tempfile::tempdir().unwrap();\nlet bind_path = dir.path().join(\"bind_path\");\nlet stream = UnixStream::connect(bind_path).await?;\n\nprintln!(\"{:?}\", stream.peer_addr()?);\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1149":{"id":1149,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[210,1],"end":[925,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1122,1121,1125,1123,1126,1127,1112,1118,1130,1119,1132,1135,1138,1114,1139,1115,1140,1143,1145,1146,1148],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6435":{"id":6435,"crate_id":0,"name":"write","span":{"filename":"src/sync/rwlock.rs","begin":[780,5],"end":[821,6]},"visibility":"public","docs":"Locks this `RwLock` with exclusive write access, causing the current\ntask to yield until the lock has been acquired.\n\nThe calling task will yield while other writers or readers currently\nhave access to the lock.\n\nReturns an RAII guard which will drop the write access of this `RwLock`\nwhen dropped.\n\n# Cancel safety\n\nThis method uses a queue to fairly distribute locks in the order they\nwere requested. Cancelling a call to `write` makes you lose your place\nin the queue.\n\n# Examples\n\n```\nuse tokio::sync::RwLock;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = RwLock::new(1);\n\nlet mut n = lock.write().await;\n*n = 2;\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6762":{"id":6762,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5000":{"id":5000,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1476":{"id":1476,"crate_id":0,"name":"read_line","span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[199,9],"end":[204,10]},"visibility":"default","docs":"Reads all bytes until a newline (the 0xA byte) is reached, and append\nthem to the provided buffer.\n\nEquivalent to:\n\n```ignore\nasync fn read_line(&mut self, buf: &mut String) -> io::Result<usize>;\n```\n\nThis function will read bytes from the underlying stream until the\nnewline delimiter (the 0xA byte) or EOF is found. Once found, all bytes\nup to, and including, the delimiter (if found) will be appended to\n`buf`.\n\nIf successful, this function will return the total number of bytes read.\n\nIf this function returns `Ok(0)`, the stream has reached EOF.\n\n# Errors\n\nThis function has the same error semantics as [`read_until`] and will\nalso return an error if the read bytes are not valid UTF-8. If an I/O\nerror is encountered then `buf` may contain some bytes already read in\nthe event that all data read so far was valid UTF-8.\n\n[`read_until`]: AsyncBufReadExt::read_until\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may have been partially\nread, and this data is lost. There are no guarantees regarding the\ncontents of `buf` when the call is cancelled. The current\nimplementation replaces `buf` with the empty string, but this may\nchange in the future.\n\nThis function does not behave like [`read_until`] because of the\nrequirement that a string contains only valid utf-8. If you need a\ncancellation safe `read_line`, there are three options:\n\n * Call [`read_until`] with a newline character and manually perform the utf-8 check.\n * The stream returned by [`lines`] has a cancellation safe\n   [`next_line`] method.\n * Use [`tokio_util::codec::LinesCodec`][LinesCodec].\n\n[LinesCodec]: https://docs.rs/tokio-util/latest/tokio_util/codec/struct.LinesCodec.html\n[`read_until`]: Self::read_until\n[`lines`]: Self::lines\n[`next_line`]: crate::io::Lines::next_line\n\n# Examples\n\n[`std::io::Cursor`][`Cursor`] is a type that implements\n`AsyncBufRead`. In this example, we use [`Cursor`] to read all the\nlines in a byte slice:\n\n[`Cursor`]: std::io::Cursor\n\n```\nuse tokio::io::AsyncBufReadExt;\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut cursor = Cursor::new(b\"foo\\nbar\");\nlet mut buf = String::new();\n\n// cursor is at 'f'\nlet num_bytes = cursor.read_line(&mut buf)\n    .await\n    .expect(\"reading from cursor won't fail\");\n\nassert_eq!(num_bytes, 4);\nassert_eq!(buf, \"foo\\n\");\nbuf.clear();\n\n// cursor is at 'b'\nlet num_bytes = cursor.read_line(&mut buf)\n    .await\n    .expect(\"reading from cursor won't fail\");\n\nassert_eq!(num_bytes, 3);\nassert_eq!(buf, \"bar\");\nbuf.clear();\n\n// cursor is at EOF\nlet num_bytes = cursor.read_line(&mut buf)\n    .await\n    .expect(\"reading from cursor won't fail\");\n\nassert_eq!(num_bytes, 0);\nassert_eq!(buf, \"\");\n# }\n```","links":{"Self::lines":1474,"AsyncBufReadExt::read_until":1472,"crate::select":1471,"crate::io::Lines::next_line":1475,"std::io::Cursor":557},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"resolved_path":{"path":"String","id":448,"args":null}}}}]],"output":{"resolved_path":{"path":"ReadLine","id":1477,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3238":{"id":3238,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5327":{"id":5327,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3565":{"id":3565,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1803":{"id":1803,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7416":{"id":7416,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5654":{"id":5654,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[123,14],"end":[123,23]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::PartialEq","id":966,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2130":{"id":2130,"crate_id":0,"name":null,"span":{"filename":"src/net/addr.rs","begin":[34,1],"end":[34,56]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"for":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"368":{"id":368,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3892":{"id":3892,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/mod.rs","begin":[186,1],"end":[186,32]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::error::JoinError","name":"JoinError","id":3686,"is_glob":false}}},"5981":{"id":5981,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[418,1],"end":[418,38]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4219":{"id":4219,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2457":{"id":2457,"crate_id":0,"name":"linger","span":{"filename":"src/net/tcp/stream.rs","begin":[1278,9],"end":[1280,10]},"visibility":"public","docs":"Reads the linger duration for this socket by getting the `SO_LINGER`\noption.\n\nFor more information about this option, see [`set_zero_linger`] and [`set_linger`].\n\n[`set_linger`]: TcpStream::set_linger\n[`set_zero_linger`]: TcpStream::set_zero_linger\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\nprintln!(\"{:?}\", stream.linger()?);\n# Ok(())\n# }\n```","links":{"TcpStream::set_linger":2456,"TcpStream::set_zero_linger":2455},"attrs":[{"other":"#[attr = CfgTrace([Not(NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/macros/cfg.rs:700:23: 700:41 (#494) }, src/macros/cfg.rs:700:22: 700:42 (#494))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Duration","id":2215,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"695":{"id":695,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[174,5],"end":[176,6]},"visibility":"default","docs":"Determines if this writer has an efficient [`poll_write_vectored`]\nimplementation.\n\nIf a writer does not override the default [`poll_write_vectored`]\nimplementation, code using it may want to avoid the method all together\nand coalesce writes into a single buffer for higher performance.\n\nThe default implementation returns `false`.\n\n[`poll_write_vectored`]: AsyncWrite::poll_write_vectored","links":{"AsyncWrite::poll_write_vectored":694},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2784":{"id":2784,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1022":{"id":1022,"crate_id":0,"name":null,"span":{"filename":"src/io/ready.rs","begin":[20,38],"end":[20,48]},"visibility":"default","docs":null,"links":{},"attrs":["automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["lt","le","gt","ge","__chaining_lt","__chaining_le","__chaining_gt","__chaining_ge"],"trait":{"path":"PartialOrd","id":1023,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[1020],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4546":{"id":4546,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4873":{"id":4873,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3111":{"id":3111,"crate_id":0,"name":"connect","span":{"filename":"src/net/windows/named_pipe.rs","begin":[192,5],"end":[202,6]},"visibility":"public","docs":"Enables a named pipe server process to wait for a client process to\nconnect to an instance of a named pipe. A client process connects by\ncreating a named pipe with the same name.\n\nThis corresponds to the [`ConnectNamedPipe`] system call.\n\n# Cancel safety\n\nThis method is cancel safe. If it is used as a branch in\n[`select!`](crate::select) and another branch\ncompletes first, then no connection events have been lost.\n\n[`ConnectNamedPipe`]: https://docs.microsoft.com/en-us/windows/win32/api/namedpipeapi/nf-namedpipeapi-connectnamedpipe\n\n# Example\n\n```no_run\nuse tokio::net::windows::named_pipe::ServerOptions;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\mynamedpipe\";\n\n# #[tokio::main] async fn main() -> std::io::Result<()> {\nlet pipe = ServerOptions::new().create(PIPE_NAME)?;\n\n// Wait for a client to connect.\npipe.connect().await?;\n\n// Use the connected client...\n# Ok(()) }\n```","links":{"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1349":{"id":1349,"crate_id":0,"name":"as_handle","span":{"filename":"src/io/stdin.rs","begin":[84,9],"end":[86,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedHandle","id":294,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6635":{"id":6635,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[494,1],"end":[494,45]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6962":{"id":6962,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3438":{"id":3438,"crate_id":0,"name":"stdout","span":{"filename":"src/process/mod.rs","begin":[606,5],"end":[609,6]},"visibility":"public","docs":"Sets configuration for the child process's standard output (stdout) handle.\n\nDefaults to [`inherit`] when used with `spawn` or `status`, and\ndefaults to [`piped`] when used with `output`.\n\n[`inherit`]: std::process::Stdio::inherit\n[`piped`]: std::process::Stdio::piped\n\n# Examples\n\nBasic usage:\n\n```no_run\n# async fn test() { // allow using await\nuse tokio::process::Command;\nuse std::process::Stdio;\n\nlet output = Command::new(\"ls\")\n        .stdout(Stdio::null())\n        .output().await.unwrap();\n# }\n```","links":{"std::process::Stdio::inherit":3435,"std::process::Stdio::piped":2989},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cfg",{"generic":"T"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Stdio","id":3437,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1676":{"id":1676,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5200":{"id":5200,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5527":{"id":5527,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[77,1],"end":[83,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5526],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7289":{"id":7289,"crate_id":0,"name":null,"span":{"filename":"src/time/error.rs","begin":[25,17],"end":[25,21]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"241":{"id":241,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2003":{"id":2003,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7616":{"id":7616,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4092":{"id":4092,"crate_id":0,"name":"id","span":{"filename":"src/runtime/dump.rs","begin":[327,5],"end":[329,6]},"visibility":"public","docs":"Returns a [task ID] that uniquely identifies this task relative to other\ntasks spawned at the time of the dump.\n\n**Note**: This is an [unstable API][unstable]. The public API of this type\nmay break in 1.x releases. See [the documentation on unstable\nfeatures][unstable] for details.\n\n[task ID]: crate::task::Id\n[unstable]: crate#unstable-features","links":{"crate::task::Id":3692,"crate#unstable-features":3944},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/dump.rs:325:11: 325:25 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Id","id":3692,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2330":{"id":2330,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"568":{"id":568,"crate_id":0,"name":"BufStream","span":{"filename":"src/io/util/buf_stream.rs","begin":[9,1],"end":[23,2]},"visibility":"public","docs":"Wraps a type that is [`AsyncWrite`] and [`AsyncRead`], and buffers its input and output.\n\nIt can be excessively inefficient to work directly with something that implements [`AsyncWrite`]\nand [`AsyncRead`]. For example, every `write`, however small, has to traverse the syscall\ninterface, and similarly, every read has to do the same. The [`BufWriter`] and [`BufReader`]\ntypes aid with these problems respectively, but do so in only one direction. `BufStream` wraps\none in the other so that both directions are buffered. See their documentation for details.","links":{"`BufWriter`":514,"`AsyncWrite`":225,"`BufReader`":513,"`AsyncRead`":224},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1679,1680,1649,1683,780,608,682,567]}}},"5854":{"id":5854,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[265,1],"end":[270,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6181":{"id":6181,"crate_id":0,"name":"SemaphorePermit","span":{"filename":"src/sync/semaphore.rs","begin":[442,1],"end":[445,2]},"visibility":"public","docs":"A permit from the semaphore.\n\nThis type is created by the [`acquire`] method.\n\n[`acquire`]: crate::sync::Semaphore::acquire()","links":{"crate::sync::Semaphore::acquire()":6152},"attrs":[{"other":"#[clippy::has_significant_drop]"},{"must_use":{"reason":null}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"impls":[6218,6219,6220,6221,6222,6223,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6236,6238]}}},"4419":{"id":4419,"crate_id":0,"name":"spawn_local","span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[146,5],"end":[162,6]},"visibility":"public","docs":"Spawns a task on the runtime.\n\nThis is analogous to the [`spawn`] method on the standard [`Runtime`], but works even if the task is not thread-safe.\n\n[`spawn`]: crate::runtime::Runtime::spawn\n[`Runtime`]: crate::runtime::Runtime\n\n# Examples\n\n```\nuse tokio::runtime::LocalRuntime;\n\n# fn dox() {\n// Create the runtime\nlet rt = LocalRuntime::new().unwrap();\n\n// Spawn a future onto the runtime\nrt.spawn_local(async {\n    println!(\"now running on a worker thread\");\n});\n# }\n```","links":{"crate::runtime::Runtime":3112,"crate::runtime::Runtime::spawn":4362},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["future",{"generic":"F"}]],"output":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}},"bounds":[{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"895":{"id":895,"crate_id":0,"name":"set_filled","span":{"filename":"src/io/read_buf.rs","begin":[219,5],"end":[225,6]},"visibility":"public","docs":"Sets the size of the filled region of the buffer.\n\nThe number of initialized bytes is not changed.\n\nNote that this can be used to *shrink* the filled region of the buffer in addition to growing it (for\nexample, by a `AsyncRead` implementation that compresses data in-place).\n\n# Panics\n\nPanics if the filled region of the buffer would become larger than the initialized region.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2657":{"id":2657,"crate_id":0,"name":"try_from","span":{"filename":"src/net/unix/listener.rs","begin":[242,5],"end":[244,6]},"visibility":"default","docs":"Consumes stream, returning the tokio I/O object.\n\nThis is equivalent to\n[`UnixListener::from_std(stream)`](UnixListener::from_std).","links":{"UnixListener::from_std":2634},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["stream",{"resolved_path":{"path":"std::os::unix::net::UnixListener","id":2632,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4746":{"id":4746,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[617,23],"end":[617,30]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#1248) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"runtime::Runtime","name":"Runtime","id":3112,"is_glob":false}}},"2984":{"id":2984,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/ucred.rs","begin":[4,38],"end":[4,42]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["hash_slice"],"trait":{"path":"Hash","id":2985,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[2982],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1222":{"id":1222,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6508":{"id":6508,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[200,1],"end":[213,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6507],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6835":{"id":6835,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5073":{"id":5073,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[289,14],"end":[289,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[5072],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1549":{"id":1549,"crate_id":0,"name":"stream_position","span":{"filename":"src/io/util/async_seek_ext.rs","begin":[87,9],"end":[92,10]},"visibility":"default","docs":"Creates a future which will return the current seek position from the\nstart of the stream.\n\nThis is equivalent to `self.seek(SeekFrom::Current(0))`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Seek","id":1469,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3311":{"id":3311,"crate_id":0,"name":"hash","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2593,45],"end":[2593,49]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["state",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"__H"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[{"name":"__H","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::hash::Hasher","id":2983,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7162":{"id":7162,"crate_id":0,"name":"fmt","span":{"filename":"src/task/join_set.rs","begin":[598,5],"end":[600,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5400":{"id":5400,"crate_id":0,"name":"is_closed","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[504,5],"end":[506,6]},"visibility":"public","docs":"Checks if a channel is closed.\n\nThis method returns `true` if the channel has been closed. The channel is closed\nwhen all [`Sender`] have been dropped, or when [`Receiver::close`] is called.\n\n[`Sender`]: crate::sync::mpsc::Sender\n[`Receiver::close`]: crate::sync::mpsc::Receiver::close\n\n# Examples\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (_tx, mut rx) = mpsc::channel::<()>(10);\nassert!(!rx.is_closed());\n\nrx.close();\n\nassert!(rx.is_closed());\n# }\n```","links":{"crate::sync::mpsc::Sender":5224,"crate::sync::mpsc::Receiver::close":5225},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7489":{"id":7489,"crate_id":0,"name":"fmt","span":{"filename":"src/time/sleep.rs","begin":[223,14],"end":[223,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5727":{"id":5727,"crate_id":0,"name":"map","span":{"filename":"src/sync/mutex.rs","begin":[869,5],"end":[883,6]},"visibility":"public","docs":"Makes a new [`MappedMutexGuard`] for a component of the locked data.\n\nThis operation cannot fail as the [`MutexGuard`] passed in already locked the mutex.\n\nThis is an associated function that needs to be used as `MutexGuard::map(...)`. A method\nwould interfere with methods of the same name on the contents of the locked data.\n\n# Examples\n\n```\nuse tokio::sync::{Mutex, MutexGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet foo = Mutex::new(Foo(1));\n\n{\n    let mut mapped = MutexGuard::map(foo.lock().await, |f| &mut f.0);\n    *mapped = 2;\n}\n\nassert_eq!(Foo(2), *foo.lock().await);\n# }\n```\n\n[`MutexGuard`]: struct@MutexGuard\n[`MappedMutexGuard`]: struct@MappedMutexGuard","links":{"struct@MappedMutexGuard":5726,"struct@MutexGuard":5686},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"U"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2203":{"id":2203,"crate_id":0,"name":"set_keepalive","span":{"filename":"src/net/tcp/socket.rs","begin":[194,5],"end":[196,6]},"visibility":"public","docs":"Sets value for the `SO_KEEPALIVE` option on this socket.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["keepalive",{"primitive":"bool"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"441":{"id":441,"crate_id":0,"name":null,"span":{"filename":"src/fs/read_dir.rs","begin":[199,10],"end":[199,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[440],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3965":{"id":3965,"crate_id":0,"name":"global_queue_interval","span":{"filename":"src/runtime/builder.rs","begin":[1188,5],"end":[1192,6]},"visibility":"public","docs":"Sets the number of scheduler ticks after which the scheduler will poll the global\ntask queue.\n\nA scheduler \"tick\" roughly corresponds to one `poll` invocation on a task.\n\nBy default the global queue interval is 31 for the current-thread scheduler. Please see\n[the module documentation] for the default behavior of the multi-thread scheduler.\n\nSchedulers have a local queue of already-claimed tasks, and a global queue of incoming\ntasks. Setting the interval to a smaller value increases the fairness of the scheduler,\nat the cost of more synchronization overhead. That can be beneficial for prioritizing\ngetting started on new work, especially if tasks frequently yield rather than complete\nor await on further I/O. Setting the interval to `1` will prioritize the global queue and\ntasks from the local queue will be executed only if the global queue is empty.\nConversely, a higher value prioritizes existing work, and is a good choice when most\ntasks quickly complete polling.\n\n[the module documentation]: crate::runtime#multi-threaded-runtime-behavior-at-the-time-of-writing\n\n# Panics\n\nThis function will panic if 0 is passed as an argument.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n# use tokio::runtime;\n# pub fn main() {\nlet rt = runtime::Builder::new_multi_thread()\n    .global_queue_interval(31)\n    .build();\n# }\n# }\n```","links":{"crate::runtime#multi-threaded-runtime-behavior-at-the-time-of-writing":3964},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["val",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4292":{"id":4292,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2530":{"id":2530,"crate_id":0,"name":"poll_send_to","span":{"filename":"src/net/udp.rs","begin":[1214,5],"end":[1223,6]},"visibility":"public","docs":"Attempts to send data on the socket to a given address.\n\nNote that on multiple calls to a `poll_*` method in the send direction, only the\n`Waker` from the `Context` passed to the most recent call will be scheduled to\nreceive a wakeup.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the socket is not ready to write\n* `Poll::Ready(Ok(n))` `n` is the number of bytes sent.\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}],["target",{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"768":{"id":768,"crate_id":0,"name":null,"span":{"filename":"src/io/join.rs","begin":[86,1],"end":[117,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[763,764,765,766,767],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6381":{"id":6381,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[185,1],"end":[191,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Deref","id":550,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[6379,6380],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4619":{"id":4619,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1095":{"id":1095,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4946":{"id":4946,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3184":{"id":3184,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1422":{"id":1422,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6708":{"id":6708,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/set_once.rs","begin":[383,5],"end":[385,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7035":{"id":7035,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5273":{"id":5273,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1749":{"id":1749,"crate_id":0,"name":null,"span":{"filename":"src/io/util/chain.rs","begin":[69,1],"end":[80,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[1748],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5600":{"id":5600,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7362":{"id":7362,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[33,27],"end":[33,36]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5927":{"id":5927,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[839,1],"end":[839,33]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2403":{"id":2403,"crate_id":0,"name":"drop","span":{"filename":"src/net/tcp/split_owned.rs","begin":[453,5],"end":[457,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"641":{"id":641,"crate_id":0,"name":"poll_read","span":{"filename":"src/net/unix/stream.rs","begin":[1028,5],"end":[1034,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4165":{"id":4165,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6254":{"id":6254,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4492":{"id":4492,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"968":{"id":968,"crate_id":0,"name":"bitor","span":{"filename":"src/io/interest.rs","begin":[274,5],"end":[276,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["other",{"generic":"Self"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2730":{"id":2730,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6581":{"id":6581,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3057":{"id":3057,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/net/unix/pipe.rs","begin":[834,5],"end":[836,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1295":{"id":1295,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4819":{"id":4819,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5146":{"id":5146,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3384":{"id":3384,"crate_id":0,"name":"net","span":{"filename":"src/net/mod.rs","begin":[1,1],"end":[64,2]},"visibility":"public","docs":"TCP/UDP/Unix bindings for `tokio`.\n\nThis module contains the TCP/UDP/Unix networking types, similar to the standard\nlibrary, which can be used to implement networking protocols.\n\n# Organization\n\n* [`TcpListener`] and [`TcpStream`] provide functionality for communication over TCP\n* [`UdpSocket`] provides functionality for communication over UDP\n* [`UnixListener`] and [`UnixStream`] provide functionality for communication over a\n  Unix Domain Stream Socket **(available on Unix only)**\n* [`UnixDatagram`] provides functionality for communication\n  over Unix Domain Datagram Socket **(available on Unix only)**\n* [`tokio::net::unix::pipe`] for FIFO pipes **(available on Unix only)**\n* [`tokio::net::windows::named_pipe`] for Named Pipes **(available on Windows only)**\n\nFor IO resources not available in `tokio::net`, you can use [`AsyncFd`].\n\n[`TcpListener`]: TcpListener\n[`TcpStream`]: TcpStream\n[`UdpSocket`]: UdpSocket\n[`UnixListener`]: UnixListener\n[`UnixStream`]: UnixStream\n[`UnixDatagram`]: UnixDatagram\n[`tokio::net::unix::pipe`]: unix::pipe\n[`tokio::net::windows::named_pipe`]: windows::named_pipe\n[`AsyncFd`]: crate::io::unix::AsyncFd","links":{"crate::io::unix::AsyncFd":512,"UnixStream":643,"UdpSocket":2510,"TcpListener":2154,"unix::pipe":511,"UnixDatagram":2619,"windows::named_pipe":3372,"UnixListener":2628,"TcpStream":634},"attrs":[{"other":"#[attr = CfgTrace([Not(NameValue { name: \"loom\", value: None, span: src/net/mod.rs:1:12: 1:16 (#0) }, src/net/mod.rs:1:11: 1:17 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[2500,3106,3373,3374,3375,3376,3377,3378,3379,3380,3381,3382,3383],"is_stripped":false}}},"1622":{"id":1622,"crate_id":0,"name":"into_inner","span":{"filename":"src/io/util/buf_reader.rs","begin":[80,5],"end":[82,6]},"visibility":"public","docs":"Consumes this `BufReader`, returning the underlying reader.\n\nNote that any leftover data in the internal buffer is lost.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"generic":"R"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7235":{"id":7235,"crate_id":0,"name":"futures","span":{"filename":"src/task/mod.rs","begin":[328,5],"end":[328,20]},"visibility":"public","docs":"Task-related futures.","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[7234],"is_stripped":false}}},"3711":{"id":3711,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1949":{"id":1949,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"5473":{"id":5473,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7562":{"id":7562,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5800":{"id":5800,"crate_id":0,"name":"map","span":{"filename":"src/sync/mutex.rs","begin":[1207,5],"end":[1220,6]},"visibility":"public","docs":"Makes a new [`MappedMutexGuard`] for a component of the locked data.\n\nThis operation cannot fail as the [`MappedMutexGuard`] passed in already locked the mutex.\n\nThis is an associated function that needs to be used as `MappedMutexGuard::map(...)`. A\nmethod would interfere with methods of the same name on the contents of the locked data.\n\n[`MappedMutexGuard`]: struct@MappedMutexGuard","links":{"struct@MappedMutexGuard":5726},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"U"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4038":{"id":4038,"crate_id":0,"name":"clone","span":{"filename":"src/runtime/builder.rs","begin":[164,21],"end":[164,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"514":{"id":514,"crate_id":0,"name":"BufWriter","span":{"filename":"src/io/util/buf_writer.rs","begin":[10,1],"end":[39,2]},"visibility":"public","docs":"Wraps a writer and buffers its output.\n\nIt can be excessively inefficient to work directly with something that\nimplements [`AsyncWrite`]. A `BufWriter` keeps an in-memory buffer of data and\nwrites it to an underlying writer in large, infrequent batches.\n\n`BufWriter` can improve the speed of programs that make *small* and\n*repeated* write calls to the same file or network socket. It does not\nhelp when writing very large amounts at once, or writing just one or a few\ntimes. It also provides no advantage when writing to a destination that is\nin memory, like a `Vec<u8>`.\n\nWhen the `BufWriter` is dropped, the contents of its buffer will be\ndiscarded. Creating multiple instances of a `BufWriter` on the same\nstream can cause data loss. If you need to write out the contents of its\nbuffer, you must manually call flush before the writer is dropped.\n\n[`AsyncWrite`]: AsyncWrite\n[`flush`]: super::AsyncWriteExt::flush\n","links":{"AsyncWrite":225,"super::AsyncWriteExt::flush":200},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1683,1716,786,685,610,571,1719]}}},"2276":{"id":2276,"crate_id":0,"name":"peek","span":{"filename":"src/net/tcp/split.rs","begin":[137,5],"end":[140,6]},"visibility":"public","docs":"Receives data on the socket from the remote address to which it is\nconnected, without removing that data from the queue. On success,\nreturns the number of bytes peeked.\n\nSee the [`TcpStream::peek`] level documentation for more details.\n\n[`TcpStream::peek`]: TcpStream::peek\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\nuse tokio::io::AsyncReadExt;\nuse std::error::Error;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let mut stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n    let (mut read_half, _) = stream.split();\n\n    let mut b1 = [0; 10];\n    let mut b2 = [0; 10];\n\n    // Peek at the data\n    let n = read_half.peek(&mut b1).await?;\n\n    // Read the data\n    assert_eq!(n, read_half.read(&mut b2[..n]).await?);\n    assert_eq!(&b1[..n], &b2[..n]);\n\n    Ok(())\n}\n```\n\nThe [`read`] method is defined on the [`AsyncReadExt`] trait.\n\n[`read`]: fn@crate::io::AsyncReadExt::read\n[`AsyncReadExt`]: trait@crate::io::AsyncReadExt","links":{"fn@crate::io::AsyncReadExt::read":1484,"TcpStream::peek":2275,"trait@crate::io::AsyncReadExt":202},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4365":{"id":4365,"crate_id":0,"name":"metrics","span":{"filename":"src/runtime/runtime.rs","begin":[495,5],"end":[497,6]},"visibility":"public","docs":"Returns a view that lets you get information about how the runtime\nis performing.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"crate::runtime::RuntimeMetrics","id":4284,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6127":{"id":6127,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"841":{"id":841,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/net/unix/split_owned.rs","begin":[400,5],"end":[406,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6454":{"id":6454,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4692":{"id":4692,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram.rs","begin":[56,14],"end":[56,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[4691],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1168":{"id":1168,"crate_id":0,"name":"as_fd","span":{"filename":"src/io/async_fd.rs","begin":[934,5],"end":[936,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"std::os::unix::io::BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2930":{"id":2930,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5019":{"id":5019,"crate_id":0,"name":null,"span":{"filename":"src/sync/barrier.rs","begin":[202,17],"end":[202,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[5018],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3257":{"id":3257,"crate_id":0,"name":"security_qos_flags","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2447,5],"end":[2451,6]},"visibility":"public","docs":"Sets qos flags which are combined with other flags and attributes in the\ncall to [`CreateFile`].\n\nBy default `security_qos_flags` is set to [`SECURITY_IDENTIFICATION`],\ncalling this function would override that value completely with the\nargument specified.\n\nWhen `security_qos_flags` is not set, a malicious program can gain the\nelevated privileges of a privileged Rust process when it allows opening\nuser-specified paths, by tricking it into opening a named pipe. So\narguably `security_qos_flags` should also be set when opening arbitrary\npaths. However the bits can then conflict with other flags, specifically\n`FILE_FLAG_OPEN_NO_RECALL`.\n\nFor information about possible values, see [Impersonation Levels] on the\nWindows Dev Center site. The `SECURITY_SQOS_PRESENT` flag is set\nautomatically when using this method.\n\n[`CreateFile`]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea\n[`SECURITY_IDENTIFICATION`]: https://docs.rs/windows-sys/latest/windows_sys/Win32/Storage/FileSystem/constant.SECURITY_IDENTIFICATION.html\n[Impersonation Levels]: https://docs.microsoft.com/en-us/windows/win32/api/winnt/ne-winnt-security_impersonation_level","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["flags",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1495":{"id":1495,"crate_id":0,"name":"read_exact","span":{"filename":"src/io/util/async_read_ext.rs","begin":[323,9],"end":[328,10]},"visibility":"default","docs":"Reads the exact number of bytes required to fill `buf`.\n\nEquivalent to:\n\n```ignore\nasync fn read_exact(&mut self, buf: &mut [u8]) -> io::Result<usize>;\n```\n\nThis function reads as many bytes as necessary to completely fill\nthe specified buffer `buf`.\n\n# Errors\n\nIf the operation encounters an \"end of file\" before completely\nfilling the buffer, it returns an error of the kind\n[`ErrorKind::UnexpectedEof`]. The contents of `buf` are unspecified\nin this case.\n\nIf any other read error is encountered then the operation\nimmediately returns. The contents of `buf` are unspecified in this\ncase.\n\nIf this operation returns an error, it is unspecified how many bytes\nit has read, but it will never read more than would be necessary to\ncompletely fill the buffer.\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may already have been\nread into `buf`.\n\n# Examples\n\n[`File`][crate::fs::File]s implement `Read`:\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::fs::File;\nuse tokio::io::{self, AsyncReadExt};\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut f = File::open(\"foo.txt\").await?;\n    let len = 10;\n    let mut buffer = vec![0; len];\n\n    // read exactly 10 bytes\n    f.read_exact(&mut buffer).await?;\n    Ok(())\n}\n# }\n```\n\n[`ErrorKind::UnexpectedEof`]: std::io::ErrorKind::UnexpectedEof","links":{"crate::fs::File":204,"std::io::ErrorKind::UnexpectedEof":1494,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"ReadExact","id":1496,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6781":{"id":6781,"crate_id":0,"name":"changed","span":{"filename":"src/sync/watch.rs","begin":[818,5],"end":[820,6]},"visibility":"public","docs":"Waits for a change notification, then marks the current value as seen.\n\nIf the current value in the channel has not yet been marked seen when\nthis method is called, the method marks that value seen and returns\nimmediately. If the newest value has already been marked seen, then the\nmethod sleeps until a new message is sent by a [`Sender`] connected to\nthis `Receiver`, or until all [`Sender`]s are dropped.\n\nFor more information, see\n[*Change notifications*](self#change-notifications) in the module-level documentation.\n\n# Errors\n\nReturns a [`RecvError`](error::RecvError) if the channel has been closed __AND__\nthe current value is seen.\n\n# Cancel safety\n\nThis method is cancel safe. If you use it as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, then it is guaranteed that no values have been marked\nseen by this call to `changed`.\n\n[`Sender`]: struct@Sender\n\n# Examples\n\n```\nuse tokio::sync::watch;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = watch::channel(\"hello\");\n\ntokio::spawn(async move {\n    tx.send(\"goodbye\").unwrap();\n});\n\nassert!(rx.changed().await.is_ok());\nassert_eq!(*rx.borrow_and_update(), \"goodbye\");\n\n// The `tx` handle has been dropped\nassert!(rx.changed().await.is_err());\n# }\n```","links":{"self#change-notifications":6783,"crate::select":1471,"struct@Sender":6778,"error::RecvError":6746},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"error::RecvError","id":6746,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7108":{"id":7108,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5346":{"id":5346,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1822":{"id":1822,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3584":{"id":3584,"crate_id":0,"name":"into_owned_handle","span":{"filename":"src/process/mod.rs","begin":[1717,5],"end":[1717,30]},"visibility":"public","docs":"Convert into [`OwnedHandle`].","links":{"`OwnedHandle`":286},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedHandle","id":286,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5673":{"id":5673,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/mod.rs","begin":[121,69],"end":[121,79]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::bounded::WeakSender","name":"WeakSender","id":5254,"is_glob":false}}},"6000":{"id":6000,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2476":{"id":2476,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"714":{"id":714,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/async_write.rs","begin":[248,5],"end":[250,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4238":{"id":4238,"crate_id":0,"name":"dump","span":{"filename":"src/runtime/dump.rs","begin":[1,1],"end":[341,2]},"visibility":"public","docs":"Snapshots of runtime state.\n\nSee [`Handle::dump`][crate::runtime::Handle::dump].","links":{"crate::runtime::Handle::dump":4045},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:513:17: 513:31 (#1610) }, NameValue { name: \"feature\", value: Some(\"taskdump\"), span: src/macros/cfg.rs:514:17: 514:37 (#1610) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:515:17: 515:31 (#1610) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/macros/cfg.rs:516:17: 516:36 (#1610) }, Any([NameValue { name: \"target_arch\", value: Some(\"aarch64\"), span: src/macros/cfg.rs:518:21: 518:44 (#1610) }, NameValue { name: \"target_arch\", value: Some(\"x86\"), span: src/macros/cfg.rs:519:21: 519:40 (#1610) }, NameValue { name: \"target_arch\", value: Some(\"x86_64\"), span: src/macros/cfg.rs:520:21: 520:43 (#1610) }, NameValue { name: \"target_arch\", value: Some(\"s390x\"), span: src/macros/cfg.rs:521:21: 521:42 (#1610) }], src/macros/cfg.rs:517:20: 522:18 (#1610))], src/macros/cfg.rs:512:22: 523:14 (#1610))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[4041,4042,4043,4046,4048,4070,4121,4155,4184,4094],"is_stripped":false}}},"4565":{"id":4565,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/runtime.rs","begin":[19,10],"end":[19,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[4564],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2803":{"id":2803,"crate_id":0,"name":"try_write","span":{"filename":"src/net/unix/split_owned.rs","begin":[328,5],"end":[330,6]},"visibility":"public","docs":"Tries to write a buffer to the stream, returning how many bytes were\nwritten.\n\nThe function will attempt to write the entire contents of `buf`, but\nonly part of the buffer may be written.\n\nThis function is usually paired with `writable()`.\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the stream is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1041":{"id":1041,"crate_id":0,"name":null,"span":{"filename":"src/io/ready.rs","begin":[307,1],"end":[322,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[1040],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6327":{"id":6327,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6654":{"id":6654,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3130":{"id":3130,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[109,1],"end":[889,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[3114,3115,3111,3117,3118,3119,3120,3121,3122,3123,3124,3125,3126,3127,3128,3129],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1368":{"id":1368,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4892":{"id":4892,"crate_id":0,"name":"poll_recv","span":{"filename":"src/signal/windows.rs","begin":[335,5],"end":[337,6]},"visibility":"public","docs":"Polls to receive the next signal notification event, outside of an\n`async` context.\n\nAlthough this returns `Option<()>`, it will never actually return `None`.\nThis was accidentally exposed and would be a breaking change to be removed.\n\n# Examples\n\nPolling from a manually implemented future\n\n```rust,no_run\nuse std::pin::Pin;\nuse std::future::Future;\nuse std::task::{Context, Poll};\nuse tokio::signal::windows::CtrlClose;\n\nstruct MyFuture {\n    ctrl_close: CtrlClose,\n}\n\nimpl Future for MyFuture {\n    type Output = Option<()>;\n\n    fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {\n        println!(\"polling MyFuture\");\n        self.ctrl_close.poll_recv(cx)\n    }\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5219":{"id":5219,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[1735,1],"end":[1739,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5218],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3457":{"id":3457,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1695":{"id":1695,"crate_id":0,"name":"buffer","span":{"filename":"src/io/util/buf_writer.rs","begin":[113,5],"end":[115,6]},"visibility":"public","docs":"Returns a reference to the internally buffered data.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6981":{"id":6981,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7308":{"id":7308,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3784":{"id":3784,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5546":{"id":5546,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"260":{"id":260,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/fs/file.rs","begin":[799,5],"end":[868,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5873":{"id":5873,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4111":{"id":4111,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"587":{"id":587,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/async_read.rs","begin":[75,5],"end":[75,24]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2349":{"id":2349,"crate_id":0,"name":"peer_addr","span":{"filename":"src/net/tcp/split_owned.rs","begin":[323,5],"end":[325,6]},"visibility":"public","docs":"Returns the remote address that this stream is connected to.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6200":{"id":6200,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2676":{"id":2676,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/socket.rs","begin":[94,1],"end":[246,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[2670,2671,2672,2673,2674,2675],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"914":{"id":914,"crate_id":0,"name":"remaining_mut","span":{"filename":"src/io/read_buf.rs","begin":[280,5],"end":[282,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4438":{"id":4438,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6527":{"id":6527,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4765":{"id":4765,"crate_id":0,"name":"from_raw","span":{"filename":"src/signal/unix.rs","begin":[98,5],"end":[100,6]},"visibility":"public","docs":"Allows for listening to any valid OS signal.\n\nFor example, this can be used for listening for platform-specific\nsignals.\n```rust,no_run\n# use tokio::signal::unix::SignalKind;\n# let signum = -1;\n// let signum = libc::OS_SPECIFIC_SIGNAL;\nlet kind = SignalKind::from_raw(signum);\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["signum",{"resolved_path":{"path":"std::os::raw::c_int","id":4766,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1241":{"id":1241,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3003":{"id":3003,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6854":{"id":6854,"crate_id":0,"name":"drop","span":{"filename":"src/sync/watch.rs","begin":[1459,5],"end":[1464,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3330":{"id":3330,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5092":{"id":5092,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7181":{"id":7181,"crate_id":0,"name":"spawn_local","span":{"filename":"src/task/join_set.rs","begin":[811,5],"end":[817,6]},"visibility":"public","docs":"Spawn the provided task on the current [`LocalSet`] or [`LocalRuntime`]\nwith this builder's settings, and store it in the [`JoinSet`].\n\n# Returns\n\nAn [`AbortHandle`] that can be used to remotely cancel the task.\n\n# Panics\n\nThis method panics if it is called outside of a `LocalSet` or `LocalRuntime`.\n\n[`LocalSet`]: crate::task::LocalSet\n[`LocalRuntime`]: crate::runtime::LocalRuntime\n[`AbortHandle`]: crate::task::AbortHandle","links":{"crate::task::AbortHandle":3723,"`JoinSet`":3724,"crate::runtime::LocalRuntime":3941,"crate::task::LocalSet":3939},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["future",{"generic":"F"}]],"output":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Output","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5419":{"id":5419,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"133":{"id":133,"crate_id":0,"name":"new","span":{"filename":"src/fs/dir_builder.rs","begin":[33,5],"end":[35,6]},"visibility":"public","docs":"Creates a new set of options with default mode/security settings for all\nplatforms and also non-recursive.\n\nThis is an async version of [`std::fs::DirBuilder::new`].\n\n# Examples\n\n```no_run\nuse tokio::fs::DirBuilder;\n\nlet builder = DirBuilder::new();\n```","links":{"`std::fs::DirBuilder::new`":132},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7508":{"id":7508,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3984":{"id":3984,"crate_id":0,"name":"HistogramConfiguration","span":{"filename":"src/runtime/metrics/histogram.rs","begin":[68,5],"end":[70,6]},"visibility":"public","docs":"Configuration for the poll count histogram","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:609:19: 609:33 (#1770) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4703,4704,4705,4706,4707,4708,4709,4710,4711,4712,4713,4714,4715,4716,4717,4718,4719,4720,4721,4723,4725]}}},"2222":{"id":2222,"crate_id":0,"name":"tos_v4","span":{"filename":"src/net/tcp/socket.rs","begin":[620,5],"end":[622,6]},"visibility":"public","docs":"Gets the value of the `IP_TOS` option for this socket.\n\nFor more information about this option, see [`set_tos_v4`].\n\n[`set_tos_v4`]: Self::set_tos_v4","links":{"Self::set_tos_v4":2221},"attrs":[{"other":"#[attr = CfgTrace([Not(Any([NameValue { name: \"target_os\", value: Some(\"fuchsia\"), span: src/net/tcp/socket.rs:602:9: 602:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"redox\"), span: src/net/tcp/socket.rs:603:9: 603:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"solaris\"), span: src/net/tcp/socket.rs:604:9: 604:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"illumos\"), span: src/net/tcp/socket.rs:605:9: 605:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"haiku\"), span: src/net/tcp/socket.rs:606:9: 606:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/net/tcp/socket.rs:607:9: 607:27 (#0) }], src/net/tcp/socket.rs:601:18: 608:6 (#0)), src/net/tcp/socket.rs:601:14: 608:7 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(not(any(target_os = \"fuchsia\", target_os = \"redox\", target_os = \"solaris\", target_os = \"illumos\", target_os = \"haiku\", target_os = \"wasi\"))))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u32"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"460":{"id":460,"crate_id":0,"name":"rename","span":{"filename":"src/fs/rename.rs","begin":[12,1],"end":[41,2]},"visibility":"public","docs":"Renames a file or directory to a new name, replacing the original file if\n`to` already exists.\n\nThis will not work if the new name is on a different mount point.\n\nThis is an async version of [`std::fs::rename`].","links":{"`std::fs::rename`":459},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["from",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}],["to",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}},{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5746":{"id":5746,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6073":{"id":6073,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2549":{"id":2549,"crate_id":0,"name":"set_multicast_ttl_v4","span":{"filename":"src/net/udp.rs","begin":[1951,5],"end":[1953,6]},"visibility":"public","docs":"Sets the value of the `IP_MULTICAST_TTL` option for this socket.\n\nIndicates the time-to-live value of outgoing multicast packets for\nthis socket. The default value is 1 which means that multicast packets\ndon't leave the local network unless explicitly requested.\n\n# Note\n\nThis may not have any effect on IPv6 sockets.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["ttl",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"787":{"id":787,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/util/empty.rs","begin":[94,5],"end":[102,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4638":{"id":4638,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[143,10],"end":[143,17]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[4637],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2876":{"id":2876,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1114":{"id":1114,"crate_id":0,"name":"readable","span":{"filename":"src/io/async_fd.rs","begin":[713,5],"end":[715,6]},"visibility":"public","docs":"Waits for the file descriptor to become readable, returning a\n[`AsyncFdReadyGuard`] that must be dropped to resume read-readiness\npolling.\n\nThis method takes `&self`, so it is possible to call this method\nconcurrently with other methods on this struct. This method only\nprovides shared access to the inner IO resource when handling the\n[`AsyncFdReadyGuard`].\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`AsyncFdReadyGuard`":1117},"attrs":[{"other":"#[allow(clippy::needless_lifetimes)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6400":{"id":6400,"crate_id":0,"name":"try_map","span":{"filename":"src/sync/rwlock/read_guard.rs","begin":[132,5],"end":[149,6]},"visibility":"public","docs":"Attempts to make a new [`RwLockReadGuard`] for a component of the\nlocked data. The original guard is returned if the closure returns\n`None`.\n\nThis operation cannot fail as the `RwLockReadGuard` passed in already\nlocked the data.\n\nThis is an associated function that needs to be used as\n`RwLockReadGuard::try_map(..)`. A method would interfere with methods of the\nsame name on the contents of the locked data.\n\nThis is an asynchronous version of [`RwLockReadGuard::try_map`] from the\n[`parking_lot` crate].\n\n[`RwLockReadGuard::try_map`]: https://docs.rs/lock_api/latest/lock_api/struct.RwLockReadGuard.html#method.try_map\n[`parking_lot` crate]: https://crates.io/crates/parking_lot\n\n# Examples\n\n```\nuse tokio::sync::{RwLock, RwLockReadGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = RwLock::new(Foo(1));\n\nlet guard = lock.read().await;\nlet guard = RwLockReadGuard::try_map(guard, |f| Some(&f.0)).expect(\"should not fail\");\n\nassert_eq!(1, *guard);\n# }\n```","links":{"`RwLockReadGuard`":6398},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"U"}}],"constraints":[]}}}}},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"U"}}}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6727":{"id":6727,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4965":{"id":4965,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[455,43],"end":[455,56]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"super::notify::OwnedNotified","name":"OwnedNotified","id":4966,"is_glob":false}}},"1441":{"id":1441,"crate_id":0,"name":null,"span":{"filename":"src/io/join.rs","begin":[31,1],"end":[71,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[1434,1435,1436,1437,1438,1439,1440],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5292":{"id":5292,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3530":{"id":3530,"crate_id":0,"name":"fmt","span":{"filename":"src/process/mod.rs","begin":[1481,10],"end":[1481,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1768":{"id":1768,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7054":{"id":7054,"crate_id":0,"name":null,"span":{"filename":"src/task/local.rs","begin":[496,1],"end":[500,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[7053],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5619":{"id":5619,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[81,10],"end":[81,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[5618],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2095":{"id":2095,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[279,28],"end":[279,36]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"split::ReadHalf","name":"ReadHalf","id":602,"is_glob":false}}},"3857":{"id":3857,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5946":{"id":5946,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4184":{"id":4184,"crate_id":0,"name":"Backtrace","span":{"filename":"src/runtime/dump.rs","begin":[157,1],"end":[159,2]},"visibility":"public","docs":"A captured backtrace.\n\nThis struct provides access to each backtrace frame, similar to [`backtrace::Backtrace`].","links":{"`backtrace::Backtrace`":4183},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4186,4187,4188,4189,4190,4191,4192,4193,4194,4195,4196,4197,4198,4199,4200,4201,4202,4203,4204,4206,4208]}}},"660":{"id":660,"crate_id":0,"name":"start_seek","span":{"filename":"src/io/async_seek.rs","begin":[33,5],"end":[33,79]},"visibility":"default","docs":"Attempts to seek to an offset, in bytes, in a stream.\n\nA seek beyond the end of a stream is allowed, but behavior is defined\nby the implementation.\n\nIf this function returns successfully, then the job has been submitted.\nTo find out when it completes, call `poll_complete`.\n\n# Errors\n\nThis function can return [`io::ErrorKind::Other`] in case there is\nanother seek in progress. To avoid this, it is advisable that any call\nto `start_seek` is preceded by a call to `poll_complete` to ensure all\npending seeks have completed.","links":{"`io::ErrorKind::Other`":333},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["position",{"resolved_path":{"path":"SeekFrom","id":256,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"2422":{"id":2422,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6273":{"id":6273,"crate_id":0,"name":"RwLock","span":{"filename":"src/sync/rwlock.rs","begin":[87,1],"end":[99,2]},"visibility":"public","docs":"An asynchronous reader-writer lock.\n\nThis type of lock allows a number of readers or at most one writer at any\npoint in time. The write portion of this lock typically allows modification\nof the underlying data (exclusive access) and the read portion of this lock\ntypically allows for read-only access (shared access).\n\nIn comparison, a [`Mutex`] does not distinguish between readers or writers\nthat acquire the lock, therefore causing any tasks waiting for the lock to\nbecome available to yield. An `RwLock` will allow any number of readers to\nacquire the lock as long as a writer is not holding the lock.\n\nThe priority policy of Tokio's read-write lock is _fair_ (or\n[_write-preferring_]), in order to ensure that readers cannot starve\nwriters. Fairness is ensured using a first-in, first-out queue for the tasks\nawaiting the lock; a read lock will not be given out until all write lock\nrequests that were queued before it have been acquired and released. This is\nin contrast to the Rust standard library's `std::sync::RwLock`, where the\npriority policy is dependent on the operating system's implementation.\n\nThe type parameter `T` represents the data that this lock protects. It is\nrequired that `T` satisfies [`Send`] to be shared across threads. The RAII guards\nreturned from the locking methods implement [`Deref`](trait@std::ops::Deref)\n(and [`DerefMut`](trait@std::ops::DerefMut)\nfor the `write` methods) to allow access to the content of the lock.\n\n# Examples\n\n```\nuse tokio::sync::RwLock;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = RwLock::new(5);\n\n// many reader locks can be held at once\n{\n    let r1 = lock.read().await;\n    let r2 = lock.read().await;\n    assert_eq!(*r1, 5);\n    assert_eq!(*r2, 5);\n} // read locks are dropped at this point\n\n// only one write lock may be held, however\n{\n    let mut w = lock.write().await;\n    *w += 1;\n    assert_eq!(*w, 6);\n} // write lock is dropped here\n# }\n```\n\n[`Mutex`]: struct@super::Mutex\n[`RwLock`]: struct@RwLock\n[`RwLockReadGuard`]: struct@RwLockReadGuard\n[`RwLockWriteGuard`]: struct@RwLockWriteGuard\n[`Send`]: trait@std::marker::Send\n[_write-preferring_]: https://en.wikipedia.org/wiki/Readers%E2%80%93writer_lock#Priority_policies","links":{"trait@std::ops::Deref":550,"struct@RwLock":6273,"trait@std::marker::Send":142,"struct@super::Mutex":5687,"struct@RwLockReadGuard":6398,"trait@std::ops::DerefMut":549,"struct@RwLockWriteGuard":6436},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6526,6527,6528,6529,6530,6531,6532,6533,6534,6535,6536,6537,6538,6539,6540,6541,6542,6543,6545,6547,6549]}}},"2749":{"id":2749,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"987":{"id":987,"crate_id":0,"name":"is_empty","span":{"filename":"src/io/ready.rs","begin":[111,5],"end":[113,6]},"visibility":"public","docs":"Returns true if `Ready` is the empty set.\n\n# Examples\n\n```\nuse tokio::io::Ready;\n\nassert!(Ready::EMPTY.is_empty());\nassert!(!Ready::READABLE.is_empty());\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4511":{"id":4511,"crate_id":0,"name":"num_alive_tasks","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[74,5],"end":[76,6]},"visibility":"public","docs":"Returns the current number of alive tasks in the runtime.\n\nThis counter increases when a task is spawned and decreases when a\ntask exits.\n\nNote: When using the multi-threaded runtime this number may not\nnot have strong consistency i.e. no tasks may be running but the metric\nreports otherwise.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.num_alive_tasks();\nprintln!(\"Runtime has {} alive tasks\", n);\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6600":{"id":6600,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[104,1],"end":[113,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6599],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4838":{"id":4838,"crate_id":0,"name":"unix","span":{"filename":"src/signal/unix.rs","begin":[1,1],"end":[550,2]},"visibility":"public","docs":"Unix-specific types for signal handling.\n\nThis module is only defined on Unix platforms and contains the primary\n`Signal` type for receiving notifications of signals.","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"unix\", value: None, span: src/signal/unix.rs:6:8: 6:12 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(unix, feature = \"signal\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[4764,4814,4837],"is_stripped":false}}},"3076":{"id":3076,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1314":{"id":1314,"crate_id":0,"name":null,"span":{"filename":"src/io/stderr.rs","begin":[106,5],"end":[110,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"super::Stderr","id":750,"args":null}},"items":[1313],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6927":{"id":6927,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5165":{"id":5165,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1641":{"id":1641,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7254":{"id":7254,"crate_id":0,"name":"pause","span":{"filename":"src/time/clock.rs","begin":[161,5],"end":[168,6]},"visibility":"public","docs":"Pauses time.\n\nThe current value of `Instant::now()` is saved and all subsequent calls\nto `Instant::now()` will return the saved value. The saved value can be\nchanged by [`advance`] or by the time auto-advancing once the runtime\nhas no work to do. This only affects the `Instant` type in Tokio, and\nthe `Instant` in std continues to work as normal.\n\nPausing time requires the `current_thread` Tokio runtime. This is the\ndefault runtime used by `#[tokio::test]`. The runtime can be initialized\nwith time in a paused state using the `Builder::start_paused` method.\n\nFor cases where time is immediately paused, it is better to pause\nthe time using the `main` or `test` macro:\n```\n#[tokio::main(flavor = \"current_thread\", start_paused = true)]\nasync fn main() {\n   println!(\"Hello world\");\n}\n```\n\n# Panics\n\nPanics if time is already frozen or if called from outside of a\n`current_thread` Tokio runtime.\n\n# Auto-advance\n\nIf time is paused and the runtime has no work to do, the clock is\nauto-advanced to the next pending timer. This means that [`Sleep`] or\nother timer-backed primitives can cause the runtime to advance the\ncurrent time when awaited.\n\n# Preventing auto-advance\n\nIn some testing scenarios, you may want to keep the clock paused without\nauto-advancing, even while waiting for I/O or other asynchronous operations.\nThis can be achieved by using [`spawn_blocking`] to wrap your I/O operations.\n\nWhen a blocking task is running, the clock's auto-advance is temporarily\ninhibited. This allows you to wait for I/O to complete while keeping the\npaused clock stationary:\n\n```ignore\nuse tokio::time::{Duration, Instant};\nuse tokio::task;\n\n#[tokio::test(start_paused = true)]\nasync fn test_with_io() {\n    let start = Instant::now();\n\n    // The clock will NOT auto-advance while this blocking task runs\n    let result = task::spawn_blocking(|| {\n        // Perform I/O operations here\n        std::thread::sleep(std::time::Duration::from_millis(10));\n        42\n    }).await.unwrap();\n\n    // Time has not advanced\n    assert_eq!(start.elapsed(), Duration::ZERO);\n}\n```\n\n[`Sleep`]: crate::time::Sleep\n[`advance`]: crate::time::advance\n[`spawn_blocking`]: crate::task::spawn_blocking","links":{"crate::time::advance":7253,"crate::time::Sleep":4266,"crate::task::spawn_blocking":379},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"test-util\"), span: src/macros/cfg.rs:567:19: 567:40 (#4294) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"test-util\"))]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5492":{"id":5492,"crate_id":0,"name":"drop","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[698,5],"end":[700,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3730":{"id":3730,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"206":{"id":206,"crate_id":0,"name":"read_to_end","span":{"filename":"src/io/util/async_read_ext.rs","begin":[1354,9],"end":[1359,10]},"visibility":"default","docs":"Reads all bytes until EOF in this source, placing them into `buf`.\n\nEquivalent to:\n\n```ignore\nasync fn read_to_end(&mut self, buf: &mut Vec<u8>) -> io::Result<usize>;\n```\n\nAll bytes read from this source will be appended to the specified\nbuffer `buf`. This function will continuously call [`read()`] to\nappend more data to `buf` until [`read()`] returns `Ok(0)`.\n\nIf successful, the total number of bytes read is returned.\n\n[`read()`]: AsyncReadExt::read\n\n# Errors\n\nIf a read error is encountered then the `read_to_end` operation\nimmediately completes. Any bytes which have already been read will\nbe appended to `buf`.\n\n# Examples\n\n[`File`][crate::fs::File]s implement `Read`:\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, AsyncReadExt};\nuse tokio::fs::File;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut f = File::open(\"foo.txt\").await?;\n    let mut buffer = Vec::new();\n\n    // read the whole file\n    f.read_to_end(&mut buffer).await?;\n    Ok(())\n}\n# }\n```\n\n(See also the [`tokio::fs::read`] convenience function for reading from a\nfile.)\n\n[`tokio::fs::read`]: fn@crate::fs::read","links":{"crate::fs::File":204,"fn@crate::fs::read":381,"AsyncReadExt::read":1484},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u8"}}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"ReadToEnd","id":1541,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1968":{"id":1968,"crate_id":0,"name":null,"span":{"filename":"src/io/util/split.rs","begin":[40,1],"end":[66,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[1967],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4057":{"id":4057,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2295":{"id":2295,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"533":{"id":533,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/async_read.rs","begin":[55,5],"end":[59,31]},"visibility":"default","docs":"Attempts to read from the `AsyncRead` into `buf`.\n\nOn success, returns `Poll::Ready(Ok(()))` and places data in the\nunfilled portion of `buf`. If no data was read (`buf.filled().len()` is\nunchanged), it implies that EOF has been reached, or the output buffer\nhad zero capacity (i.e. `buf.remaining()` == 0).\n\nIf no data is available for reading, the method returns `Poll::Pending`\nand arranges for the current task (via `cx.waker()`) to receive a\nnotification when the object becomes readable or is closed.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"5819":{"id":5819,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[262,1],"end":[262,83]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'a"}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6146":{"id":6146,"crate_id":0,"name":null,"span":{"filename":"src/sync/batch_semaphore.rs","begin":[51,17],"end":[51,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[6145],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4384":{"id":4384,"crate_id":0,"name":null,"span":{"filename":"src/runtime/runtime.rs","begin":[500,1],"end":[517,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[4383],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"860":{"id":860,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/net/windows/named_pipe.rs","begin":[922,5],"end":[924,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4711":{"id":4711,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1187":{"id":1187,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6800":{"id":6800,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5038":{"id":5038,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3276":{"id":3276,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5365":{"id":5365,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1799,1],"end":[1806,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5364],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3603":{"id":3603,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1841":{"id":1841,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mem.rs","begin":[175,1],"end":[181,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[1840],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7127":{"id":7127,"crate_id":0,"name":"spawn","span":{"filename":"src/task/join_set.rs","begin":[142,5],"end":[149,6]},"visibility":"public","docs":"Spawn the provided task on the `JoinSet`, returning an [`AbortHandle`]\nthat can be used to remotely cancel the task.\n\nThe provided future will start running in the background immediately\nwhen this method is called, even if you don't await anything on this\n`JoinSet`.\n\n# Panics\n\nThis method panics if called outside of a Tokio runtime.\n\n[`AbortHandle`]: crate::task::AbortHandle","links":{"crate::task::AbortHandle":3723},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["task",{"generic":"F"}]],"output":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Output","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7454":{"id":7454,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5692":{"id":5692,"crate_id":0,"name":"blocking_lock_owned","span":{"filename":"src/sync/mutex.rs","begin":[578,5],"end":[580,6]},"visibility":"public","docs":"Blockingly locks this `Mutex`. When the lock has been acquired, function returns an\n[`OwnedMutexGuard`].\n\nThis method is identical to [`Mutex::blocking_lock`], except that the returned\nguard references the `Mutex` with an [`Arc`] rather than by borrowing\nit. Therefore, the `Mutex` must be wrapped in an `Arc` to call this\nmethod, and the guard will live for the `'static` lifetime, as it keeps\nthe `Mutex` alive by holding an `Arc`.\n\n# Panics\n\nThis function panics if called within an asynchronous execution context.\n\n  - If you find yourself in an asynchronous execution context and needing\n    to call some (synchronous) function which performs one of these\n    `blocking_` operations, then consider wrapping that call inside\n    [`spawn_blocking()`][crate::runtime::Handle::spawn_blocking]\n    (or [`block_in_place()`][crate::task::block_in_place]).\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::sync::Arc;\nuse tokio::sync::Mutex;\n\n#[tokio::main]\nasync fn main() {\n    let mutex =  Arc::new(Mutex::new(1));\n    let lock = mutex.lock().await;\n\n    let mutex1 = Arc::clone(&mutex);\n    let blocking_task = tokio::task::spawn_blocking(move || {\n        // This shall block until the `lock` is released.\n        let mut n = mutex1.blocking_lock_owned();\n        *n = 2;\n    });\n\n    assert_eq!(*lock, 1);\n    // Release the lock.\n    drop(lock);\n\n    // Await the completion of the blocking task.\n    blocking_task.await.unwrap();\n\n    // Assert uncontended.\n    let n = mutex.try_lock().unwrap();\n    assert_eq!(*n, 2);\n}\n# }\n```","links":{"`Mutex::blocking_lock`":5690,"crate::runtime::Handle::spawn_blocking":4273,"`OwnedMutexGuard`":5691,"`Arc`":2509,"crate::task::block_in_place":4276},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/sync/mutex.rs:577:11: 577:27 (#0) }])]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2168":{"id":2168,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"406":{"id":406,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4257":{"id":4257,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2495":{"id":2495,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/mod.rs","begin":[10,17],"end":[10,25]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"split::ReadHalf","name":"ReadHalf","id":628,"is_glob":false}}},"733":{"id":733,"crate_id":0,"name":null,"span":{"filename":"src/io/async_write.rs","begin":[324,1],"end":[357,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"io::Cursor","id":557,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u8"}}],"constraints":[]}}}}}}}],"constraints":[]}}}},"items":[728,729,730,731,732],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6019":{"id":6019,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[368,5],"end":[368,44]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6346":{"id":6346,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[429,1],"end":[436,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6345],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2822":{"id":2822,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1060":{"id":1060,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"E","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"E"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4584":{"id":4584,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4911":{"id":4911,"crate_id":0,"name":null,"span":{"filename":"src/signal/windows.rs","begin":[273,10],"end":[273,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[4910],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3149":{"id":3149,"crate_id":0,"name":"fmt","span":{"filename":"src/net/windows/named_pipe.rs","begin":[104,10],"end":[104,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1387":{"id":1387,"crate_id":0,"name":"unsplit","span":{"filename":"src/io/split.rs","begin":[84,5],"end":[99,6]},"visibility":"public","docs":"Reunites with a previously split `WriteHalf`.\n\n# Panics\n\nIf this `ReadHalf` and the given `WriteHalf` do not originate from the\nsame `split` operation this method will panic.\nThis can be checked ahead of time by calling [`is_pair_of()`](Self::is_pair_of).","links":{"Self::is_pair_of":1386},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["wr",{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}]],"output":{"generic":"T"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6673":{"id":6673,"crate_id":0,"name":"clone","span":{"filename":"src/sync/set_once.rs","begin":[112,5],"end":[114,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7000":{"id":7000,"crate_id":0,"name":"spawn_local","span":{"filename":"src/task/local.rs","begin":[592,5],"end":[603,6]},"visibility":"public","docs":"Spawns a `!Send` task onto the local task set.\n\nThis task is guaranteed to be run on the current thread.\n\nUnlike the free function [`spawn_local`], this method may be used to\nspawn local tasks when the `LocalSet` is _not_ running. The provided\nfuture will start running once the `LocalSet` is next started, even if\nyou don't await the returned `JoinHandle`.\n\n# Examples\n\n```rust\nuse tokio::task;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet local = task::LocalSet::new();\n\n// Spawn a future on the local set. This future will be run when\n// we call `run_until` to drive the task set.\nlocal.spawn_local(async {\n    // ...\n});\n\n// Run the local task set.\nlocal.run_until(async move {\n    // ...\n}).await;\n\n// When `run` finishes, we can spawn _more_ futures, which will\n// run in subsequent calls to `run_until`.\nlocal.spawn_local(async {\n    // ...\n});\n\nlocal.run_until(async move {\n    // ...\n}).await;\n# }\n```\n[`spawn_local`]: fn@spawn_local","links":{"fn@spawn_local":4422},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["future",{"generic":"F"}]],"output":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}},"bounds":[{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3476":{"id":3476,"crate_id":0,"name":"stdout","span":{"filename":"src/process/mod.rs","begin":[1200,5],"end":[1200,36]},"visibility":"public","docs":"The handle for reading from the child's standard output (stdout), if it\nhas been captured. You might find it helpful to do\n\n```no_run\n# let mut child = tokio::process::Command::new(\"echo\").spawn().unwrap();\nlet stdout = child.stdout.take().unwrap();\n```\n\nto avoid partially moving the `child` and thus blocking yourself from calling\nfunctions on `child` while using `stdout`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}}}],"constraints":[]}}}}}},"1714":{"id":1714,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5238":{"id":5238,"crate_id":0,"name":"is_closed","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1068,5],"end":[1070,6]},"visibility":"public","docs":"Checks if the channel has been closed. This happens when the\n[`Receiver`] is dropped, or when the [`Receiver::close`] method is\ncalled.\n\n[`Receiver`]: crate::sync::mpsc::Receiver\n[`Receiver::close`]: crate::sync::mpsc::Receiver::close\n\n```\nlet (tx, rx) = tokio::sync::mpsc::channel::<()>(42);\nassert!(!tx.is_closed());\n\nlet tx2 = tx.clone();\nassert!(!tx2.is_closed());\n\ndrop(rx);\nassert!(tx.is_closed());\nassert!(tx2.is_closed());\n```","links":{"crate::sync::mpsc::Receiver":5226,"crate::sync::mpsc::Receiver::close":5225},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5565":{"id":5565,"crate_id":0,"name":"into_inner","span":{"filename":"src/sync/mpsc/error.rs","begin":[40,5],"end":[45,6]},"visibility":"public","docs":"Consume the `TrySendError`, returning the unsent value.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"generic":"T"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3803":{"id":3803,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2368":{"id":2368,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"606":{"id":606,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_reader.rs","begin":[100,1],"end":[120,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[605],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4130":{"id":4130,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6219":{"id":6219,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4457":{"id":4457,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"933":{"id":933,"crate_id":0,"name":"is_error","span":{"filename":"src/io/interest.rs","begin":[120,5],"end":[122,6]},"visibility":"public","docs":"Returns true if the value includes error interest.\n\n# Examples\n\n```\nuse tokio::io::Interest;\n\nassert!(Interest::ERROR.is_error());\nassert!(!Interest::WRITABLE.is_error());\n\nlet combined = Interest::READABLE | Interest::ERROR;\nassert!(combined.is_error());\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2695":{"id":2695,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/net/unix/socket.rs","begin":[249,5],"end":[251,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6546":{"id":6546,"crate_id":0,"name":"default","span":{"filename":"src/sync/rwlock.rs","begin":[1113,5],"end":[1115,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3022":{"id":3022,"crate_id":0,"name":"default","span":{"filename":"src/net/unix/pipe.rs","begin":[283,5],"end":[285,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1260":{"id":1260,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4784":{"id":4784,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6873":{"id":6873,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"Deref","id":550,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Target","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Receiver","id":1075,"args":null},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1073],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"P"}}}},"5111":{"id":5111,"crate_id":0,"name":"eq","span":{"filename":"src/sync/broadcast.rs","begin":[325,21],"end":[325,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1587":{"id":1587,"crate_id":0,"name":"write_u16_le","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an unsigned 16-bit integer in little-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_u16_le(&mut self, n: u16) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite unsigned 16-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_u16_le(517).await?;\nwriter.write_u16_le(768).await?;\n\nassert_eq!(writer, b\"\\x05\\x02\\x00\\x03\");\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"u16"}]],"output":{"resolved_path":{"path":"WriteU16Le","id":1588,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3349":{"id":3349,"crate_id":0,"name":"in_buffer_size","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2648,5],"end":[2648,28]},"visibility":"public","docs":"The number of bytes to reserve for the input buffer.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"primitive":"u32"}}},"7200":{"id":7200,"crate_id":0,"name":"fmt","span":{"filename":"src/task/join_set.rs","begin":[845,5],"end":[850,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5438":{"id":5438,"crate_id":0,"name":"is_closed","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[645,5],"end":[647,6]},"visibility":"public","docs":"Checks if the channel has been closed. This happens when the\n[`UnboundedReceiver`] is dropped, or when the\n[`UnboundedReceiver::close`] method is called.\n\n[`UnboundedReceiver`]: crate::sync::mpsc::UnboundedReceiver\n[`UnboundedReceiver::close`]: crate::sync::mpsc::UnboundedReceiver::close\n\n```\nlet (tx, rx) = tokio::sync::mpsc::unbounded_channel::<()>();\nassert!(!tx.is_closed());\n\nlet tx2 = tx.clone();\nassert!(!tx2.is_closed());\n\ndrop(rx);\nassert!(tx.is_closed());\nassert!(tx2.is_closed());\n```","links":{"crate::sync::mpsc::UnboundedReceiver":5435,"crate::sync::mpsc::UnboundedReceiver::close":5434},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5765":{"id":5765,"crate_id":0,"name":"mutex","span":{"filename":"src/sync/mutex.rs","begin":[1141,5],"end":[1143,6]},"visibility":"public","docs":"Returns a reference to the original `Arc<Mutex>`.\n\n```\nuse std::sync::Arc;\nuse tokio::sync::{Mutex, OwnedMutexGuard};\n\nasync fn unlock_and_relock(guard: OwnedMutexGuard<u32>) -> OwnedMutexGuard<u32> {\n    println!(\"1. contains: {:?}\", *guard);\n    let mutex: Arc<Mutex<u32>> = OwnedMutexGuard::mutex(&guard).clone();\n    drop(guard);\n    let guard = mutex.lock_owned().await;\n    println!(\"2. contains: {:?}\", *guard);\n    guard\n}\n#\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\n#     let mutex = Arc::new(Mutex::new(0u32));\n#     let guard = mutex.lock_owned().await;\n#     unlock_and_relock(guard).await;\n# }\n```","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4003":{"id":4003,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2241":{"id":2241,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6092":{"id":6092,"crate_id":0,"name":"is_terminated","span":{"filename":"src/sync/oneshot.rs","begin":[1015,5],"end":[1017,6]},"visibility":"public","docs":"Checks if this receiver is terminated.\n\nThis function returns true if this receiver has already yielded a [`Poll::Ready`] result.\nIf so, this receiver should no longer be polled.\n\n# Examples\n\nSending a value and polling it.\n\n```\nuse tokio::sync::oneshot;\n\nuse std::task::Poll;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = oneshot::channel();\n\n// A receiver is not terminated when it is initialized.\nassert!(!rx.is_terminated());\n\n// A receiver is not terminated it is polled and is still pending.\nlet poll = futures::poll!(&mut rx);\nassert_eq!(poll, Poll::Pending);\nassert!(!rx.is_terminated());\n\n// A receiver is not terminated if a value has been sent, but not yet read.\ntx.send(0).unwrap();\nassert!(!rx.is_terminated());\n\n// A receiver *is* terminated after it has been polled and yielded a value.\nassert_eq!((&mut rx).await, Ok(0));\nassert!(rx.is_terminated());\n# }\n```\n\nDropping the sender.\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = oneshot::channel::<()>();\n\n// A receiver is not immediately terminated when the sender is dropped.\ndrop(tx);\nassert!(!rx.is_terminated());\n\n// A receiver *is* terminated after it has been polled and yielded an error.\nlet _ = (&mut rx).await.unwrap_err();\nassert!(rx.is_terminated());\n# }\n```","links":{"`Poll::Ready`":6091},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2568":{"id":2568,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"806":{"id":806,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/util/sink.rs","begin":[66,5],"end":[70,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6419":{"id":6419,"crate_id":0,"name":"deref","span":{"filename":"src/sync/rwlock/read_guard.rs","begin":[155,5],"end":[157,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4657":{"id":4657,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1133":{"id":1133,"crate_id":0,"name":"clear_ready_matching","span":{"filename":"src/io/async_fd.rs","begin":[1058,5],"end":[1071,6]},"visibility":"public","docs":"Indicates to tokio that the file descriptor no longer has a specific readiness.\nThe internal readiness flag will be cleared, and tokio will wait for the\nnext edge-triggered readiness notification from the OS.\n\nThis function is useful in combination with the [`AsyncFd::ready`] method when a\ncombined interest like `Interest::READABLE | Interest::WRITABLE` is used.\n\nIt is critical that this function not be called unless your code\n_actually observes_ that the file descriptor is _not_ ready for the provided `Ready`.\nDo not call it simply because, for example, a read succeeded; it should be called\nwhen a read is observed to block. Only clear the specific readiness that is observed to\nblock. For example when a read blocks when using a combined interest,\nonly clear `Ready::READABLE`.\n\nThis method only clears readiness events that happened before the creation of this guard.\nIn other words, if the IO resource becomes ready between the creation of the guard and\nthis call to `clear_ready_matching`, then the readiness is not actually cleared.\n\n# Examples\n\nConcurrently read and write to a [`std::net::TcpStream`] on the same task without\nsplitting.\n\n```no_run\nuse std::error::Error;\nuse std::io;\nuse std::io::{Read, Write};\nuse std::net::TcpStream;\nuse tokio::io::unix::AsyncFd;\nuse tokio::io::{Interest, Ready};\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let stream = TcpStream::connect(\"127.0.0.1:8080\")?;\n    stream.set_nonblocking(true)?;\n    let stream = AsyncFd::new(stream)?;\n\n    loop {\n        let mut guard = stream\n            .ready(Interest::READABLE | Interest::WRITABLE)\n            .await?;\n\n        if guard.ready().is_readable() {\n            let mut data = vec![0; 1024];\n            // Try to read data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match stream.get_ref().read(&mut data) {\n                Ok(n) => {\n                    println!(\"read {} bytes\", n);\n                }\n                Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    // a read has blocked, but a write might still succeed.\n                    // clear only the read readiness.\n                    guard.clear_ready_matching(Ready::READABLE);\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n        }\n\n        if guard.ready().is_writable() {\n            // Try to write data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match stream.get_ref().write(b\"hello world\") {\n                Ok(n) => {\n                    println!(\"write {} bytes\", n);\n                }\n                Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    // a write has blocked, but a read might still succeed.\n                    // clear only the write readiness.\n                    guard.clear_ready_matching(Ready::WRITABLE);\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n        }\n    }\n}\n```","links":{"`AsyncFd::ready`":1135,"`std::net::TcpStream`":1120},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["ready",{"resolved_path":{"path":"Ready","id":978,"args":null}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2895":{"id":2895,"crate_id":0,"name":"poll_read_ready","span":{"filename":"src/net/unix/stream.rs","begin":[295,5],"end":[297,6]},"visibility":"public","docs":"Polls for read readiness.\n\nIf the unix stream is not currently ready for reading, this method will\nstore a clone of the `Waker` from the provided `Context`. When the unix\nstream becomes ready for reading, `Waker::wake` will be called on the\nwaker.\n\nNote that on multiple calls to `poll_read_ready` or `poll_read`, only\nthe `Waker` from the `Context` passed to the most recent call is\nscheduled to receive a wakeup. (However, `poll_write_ready` retains a\nsecond, independent waker.)\n\nThis function is intended for cases where creating and pinning a future\nvia [`readable`] is not feasible. Where possible, using [`readable`] is\npreferred, as this supports polling from multiple tasks at once.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the unix stream is not ready for reading.\n* `Poll::Ready(Ok(()))` if the unix stream is ready for reading.\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n[`readable`]: method@Self::readable","links":{"method@Self::readable":2894},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4984":{"id":4984,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3222":{"id":3222,"crate_id":0,"name":"in_buffer_size","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2245,5],"end":[2248,6]},"visibility":"public","docs":"The number of bytes to reserve for the input buffer.\n\nThis corresponds to specifying [`nInBufferSize`].\n\n[`nInBufferSize`]: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["buffer",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1460":{"id":1460,"crate_id":0,"name":"fmt","span":{"filename":"src/io/join.rs","begin":[22,14],"end":[22,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6746":{"id":6746,"crate_id":0,"name":"RecvError","span":{"filename":"src/sync/watch.rs","begin":[359,5],"end":[359,41]},"visibility":"public","docs":"Error produced when receiving a change notification.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[6747,6748,6749,6750,6751,6752,6753,6754,6755,6756,6757,6758,6759,6760,6761,6762,6763,6764,6765,6767,6769,6771,6772]}}},"7073":{"id":7073,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5311":{"id":5311,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1688,1],"end":[1729,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5239],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5638":{"id":5638,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3876":{"id":3876,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"352":{"id":352,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2114":{"id":2114,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[287,31],"end":[287,40]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::BufWriter","name":"BufWriter","id":514,"is_glob":false}}},"7400":{"id":7400,"crate_id":0,"name":"interval","span":{"filename":"src/time/interval.rs","begin":[73,1],"end":[76,2]},"visibility":"public","docs":"Creates new [`Interval`] that yields with interval of `period`. The first\ntick completes immediately. The default [`MissedTickBehavior`] is\n[`Burst`](MissedTickBehavior::Burst), but this can be configured\nby calling [`set_missed_tick_behavior`](Interval::set_missed_tick_behavior).\n\nAn interval will tick indefinitely. At any time, the [`Interval`] value can\nbe dropped. This cancels the interval.\n\nThis function is equivalent to\n[`interval_at(Instant::now(), period)`](interval_at).\n\n# Panics\n\nThis function panics if `period` is zero.\n\n# Examples\n\n```\nuse tokio::time::{self, Duration};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut interval = time::interval(Duration::from_millis(10));\n\ninterval.tick().await; // ticks immediately\ninterval.tick().await; // ticks after 10ms\ninterval.tick().await; // ticks after 10ms\n\n// approximately 20ms have elapsed.\n# }\n```\n\nA simple example using `interval` to execute a task every two seconds.\n\nThe difference between `interval` and [`sleep`] is that an [`Interval`]\nmeasures the time since the last tick, which means that [`.tick().await`]\nmay wait for a shorter time than the duration specified for the interval\nif some time has passed between calls to [`.tick().await`].\n\nIf the tick in the example below was replaced with [`sleep`], the task\nwould only be executed once every three seconds, and not every two\nseconds.\n\n```\nuse tokio::time;\n\nasync fn task_that_takes_a_second() {\n    println!(\"hello\");\n    time::sleep(time::Duration::from_secs(1)).await\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut interval = time::interval(time::Duration::from_secs(2));\nfor _i in 0..5 {\n    interval.tick().await;\n    task_that_takes_a_second().await;\n}\n# }\n```\n\n[`sleep`]: crate::time::sleep()\n[`.tick().await`]: Interval::tick","links":{"interval_at":7398,"`Interval`":7394,"`MissedTickBehavior`":7395,"MissedTickBehavior::Burst":7396,"Interval::set_missed_tick_behavior":7397,"crate::time::sleep()":7256,"Interval::tick":7399},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["period",{"resolved_path":{"path":"crate::time::Duration","id":2215,"args":null}}]],"output":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5965":{"id":5965,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2441":{"id":2441,"crate_id":0,"name":"poll_read_ready","span":{"filename":"src/net/tcp/stream.rs","begin":[556,5],"end":[558,6]},"visibility":"public","docs":"Polls for read readiness.\n\nIf the tcp stream is not currently ready for reading, this method will\nstore a clone of the `Waker` from the provided `Context`. When the tcp\nstream becomes ready for reading, `Waker::wake` will be called on the\nwaker.\n\nNote that on multiple calls to `poll_read_ready`, `poll_read` or\n`poll_peek`, only the `Waker` from the `Context` passed to the most\nrecent call is scheduled to receive a wakeup. (However,\n`poll_write_ready` retains a second, independent waker.)\n\nThis function is intended for cases where creating and pinning a future\nvia [`readable`] is not feasible. Where possible, using [`readable`] is\npreferred, as this supports polling from multiple tasks at once.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the tcp stream is not ready for reading.\n* `Poll::Ready(Ok(()))` if the tcp stream is ready for reading.\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n[`readable`]: method@Self::readable","links":{"method@Self::readable":2440},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"679":{"id":679,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_reader.rs","begin":[176,1],"end":[259,2]},"visibility":"default","docs":"Seeks to an offset, in bytes, in the underlying reader.\n\nThe position used for seeking with `SeekFrom::Current(_)` is the\nposition the underlying reader would be at if the `BufReader` had no\ninternal buffer.\n\nSeeking always discards the internal buffer, even if the seek position\nwould otherwise fall within it. This guarantees that calling\n`.into_inner()` immediately after a seek yields the underlying reader\nat the same position.\n\nSee [`AsyncSeek`] for more details.\n\nNote: In the edge case where you're seeking with `SeekFrom::Current(n)`\nwhere `n` minus the internal buffer length overflows an `i64`, two\nseeks will be performed instead of one. If the second seek returns\n`Err`, the underlying reader will be left at the same position it would\nhave if you called `seek` with `SeekFrom::Current(0)`.","links":{"`AsyncSeek`":199},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncSeek","id":199,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncSeek","id":199,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[677,678],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4203":{"id":4203,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6292":{"id":6292,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4530":{"id":4530,"crate_id":0,"name":"worker_noop_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[687,9],"end":[693,10]},"visibility":"public","docs":"Returns the number of times the given worker thread unparked but\nperformed no work before parking again.\n\nThe worker no-op count starts at zero when the runtime is created and\nincreases by one each time the worker unparks the thread but finds no\nnew work and goes back to sleep. This indicates a false-positive wake up.\n\nThe counter is monotonically increasing. It is never decremented or\nreset to zero.\n\n# Arguments\n\n`worker` is the index of the worker being queried. The given value must\nbe between 0 and `num_workers()`. The index uniquely identifies a single\nworker and will continue to identify the worker throughout the lifetime\nof the runtime instance.\n\n# Panics\n\nThe method panics when `worker` represents an invalid worker, i.e. is\ngreater than or equal to `num_workers()`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.worker_noop_count(0);\nprintln!(\"worker 0 had {} no-op unparks\", n);\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/metrics/runtime.rs:578:13: 578:27 (#0) }, NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/runtime/metrics/runtime.rs:579:13: 579:37 (#0) }], src/runtime/metrics/runtime.rs:577:15: 580:10 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, target_has_atomic = \"64\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["worker",{"primitive":"usize"}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2768":{"id":2768,"crate_id":0,"name":"reunite","span":{"filename":"src/net/unix/split_owned.rs","begin":[107,5],"end":[109,6]},"visibility":"public","docs":"Attempts to put the two halves of a `UnixStream` back together and\nrecover the original socket. Succeeds only if the two halves\noriginated from the same call to [`into_split`].\n\n[`into_split`]: crate::net::UnixStream::into_split()","links":{"crate::net::UnixStream::into_split()":2767},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["other",{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}},{"type":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1006":{"id":1006,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6619":{"id":6619,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3095":{"id":3095,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/net/unix/pipe.rs","begin":[1471,5],"end":[1473,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1333":{"id":1333,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4857":{"id":4857,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6946":{"id":6946,"crate_id":0,"name":"RestoreOnPending","span":{"filename":"src/task/coop/mod.rs","begin":[260,5],"end":[260,69]},"visibility":"public","docs":"Value returned by the [`poll_proceed`] method.","links":{"`poll_proceed`":6945},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:629:21: 629:35 (#4221) }, NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:630:21: 630:39 (#4221) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:631:21: 631:36 (#4221) }, NameValue { name: \"feature\", value: Some(\"process\"), span: src/macros/cfg.rs:632:21: 632:40 (#4221) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:633:21: 633:35 (#4221) }, NameValue { name: \"feature\", value: Some(\"signal\"), span: src/macros/cfg.rs:634:21: 634:39 (#4221) }, NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:635:21: 635:37 (#4221) }, NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:636:21: 636:37 (#4221) }], src/macros/cfg.rs:628:22: 637:22 (#4221))])]"},{"must_use":{"reason":null}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null,null]},"generics":{"params":[],"where_predicates":[]},"impls":[6948,6949,6950,6951,6952,6953,6954,6955,6956,6957,6958,6959,6960,6961,6962,6963,6964,6966,6968]}}},"5184":{"id":5184,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[1146,1],"end":[1153,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5183],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3422":{"id":3422,"crate_id":0,"name":"as_std","span":{"filename":"src/process/mod.rs","begin":[323,5],"end":[325,6]},"visibility":"public","docs":"Cheaply convert to a `&std::process::Command` for places where the type from the standard\nlibrary is expected.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"StdCommand","id":3415,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1660":{"id":1660,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"RW"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7273":{"id":7273,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3749":{"id":3749,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/id.rs","begin":[31,17],"end":[31,21]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1987":{"id":1987,"crate_id":0,"name":null,"span":{"filename":"src/io/util/split.rs","begin":[16,14],"end":[16,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[1986],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"225":{"id":225,"crate_id":0,"name":"AsyncWrite","span":{"filename":"src/io/async_write.rs","begin":[39,1],"end":[177,2]},"visibility":"public","docs":"Writes bytes asynchronously.\n\nThis trait is analogous to the [`std::io::Write`] trait, but integrates with\nthe asynchronous task system. In particular, the [`poll_write`] method,\nunlike [`Write::write`], will automatically queue the current task for wakeup\nand return if data is not yet available, rather than blocking the calling\nthread.\n\nSpecifically, this means that the [`poll_write`] function will return one of\nthe following:\n\n* `Poll::Ready(Ok(n))` means that `n` bytes of data was immediately\n  written.\n\n* `Poll::Pending` means that no data was written from the buffer\n  provided. The I/O object is not currently writable but may become writable\n  in the future. Most importantly, **the current future's task is scheduled\n  to get unparked when the object is writable**. This means that like\n  `Future::poll` you'll receive a notification when the I/O object is\n  writable again.\n\n* `Poll::Ready(Err(e))` for other errors are standard I/O errors coming from the\n  underlying object.\n\nUtilities for working with `AsyncWrite` values are provided by\n[`AsyncWriteExt`]. Most users will interact with `AsyncWrite` types through\nthese extension methods, which provide ergonomic async functions such as\n`write_all` and `flush`.\n\n[`std::io::Write`]: std::io::Write\n[`Write::write`]: std::io::Write::write()\n[`poll_write`]: AsyncWrite::poll_write()\n[`AsyncWriteExt`]: crate::io::AsyncWriteExt","links":{"std::io::Write":696,"std::io::Write::write()":697,"AsyncWrite::poll_write()":690,"crate::io::AsyncWriteExt":203},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":true,"items":[690,691,692,694,695],"generics":{"params":[],"where_predicates":[]},"bounds":[],"implementations":[266,703,709,715,721,727,733,739,745,749,754,761,768,774,780,786,792,798,804,808,815,822,829,835,842,849,855,861,866,872]}}},"5511":{"id":5511,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5838":{"id":5838,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4076":{"id":4076,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"552":{"id":552,"crate_id":0,"name":"consume","span":{"filename":"src/io/async_buf_read.rs","begin":[106,5],"end":[108,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["amt",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2314":{"id":2314,"crate_id":0,"name":"local_addr","span":{"filename":"src/net/tcp/split.rs","begin":[365,5],"end":[367,6]},"visibility":"public","docs":"Returns the local address that this stream is bound to.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7600":{"id":7600,"crate_id":0,"name":"as_handle","span":{"filename":"src/doc/os.rs","begin":[56,13],"end":[56,55]},"visibility":"default","docs":"See [`std::os::windows::io::AsHandle::as_handle`](https://doc.rust-lang.org/std/os/windows/io/trait.AsHandle.html#tymethod.as_handle)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedHandle","id":294,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"4403":{"id":4403,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2641":{"id":2641,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"879":{"id":879,"crate_id":0,"name":"uninit","span":{"filename":"src/io/read_buf.rs","begin":[48,5],"end":[54,6]},"visibility":"public","docs":"Creates a new `ReadBuf` from a buffer that may be uninitialized.\n\nThe internal cursor will mark the entire buffer as uninitialized. If\nthe buffer is known to be partially initialized, then use `assume_init`\nto move the internal cursor.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["buf",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"slice":{"resolved_path":{"path":"MaybeUninit","id":880,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u8"}}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6165":{"id":6165,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6492":{"id":6492,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4730":{"id":4730,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/mod.rs","begin":[12,1],"end":[12,33]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"runtime::RuntimeMetrics","name":"RuntimeMetrics","id":4284,"is_glob":false}}},"1206":{"id":1206,"crate_id":0,"name":"get_ref","span":{"filename":"src/io/async_fd.rs","begin":[1352,5],"end":[1354,6]},"visibility":"public","docs":"Returns a shared reference to the inner [`AsyncFd`].","links":{"`AsyncFd`":512},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Inner"}}],"constraints":[]}}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2968":{"id":2968,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5057":{"id":5057,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3295":{"id":3295,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1533":{"id":1533,"crate_id":0,"name":"read_u128_le","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an unsigned 128-bit integer in little-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_u128_le(&mut self) -> io::Result<u128>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead unsigned 128-bit little-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![\n    0x00, 0x03, 0x43, 0x95, 0x4d, 0x60, 0x86, 0x83,\n    0x00, 0x03, 0x43, 0x95, 0x4d, 0x60, 0x86, 0x83\n]);\n\nassert_eq!(174826588484952389081207917399662330624, reader.read_u128_le().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadU128Le","id":1534,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6819":{"id":6819,"crate_id":0,"name":"send_if_modified","span":{"filename":"src/sync/watch.rs","begin":[1171,5],"end":[1211,6]},"visibility":"public","docs":"Modifies the watched value **conditionally** in-place,\nnotifying all receivers only if modified.\n\nThis can be useful for modifying the watched value, without\nhaving to allocate a new instance. Additionally, this\nmethod permits sending values even when there are no receivers.\n\nThe `modify` closure must return `true` if the value has actually\nbeen modified during the mutable borrow. It should only return `false`\nif the value is guaranteed to be unmodified despite the mutable\nborrow.\n\nReceivers are only notified if the closure returned `true`. If the\nclosure has modified the value but returned `false` this results\nin a *silent modification*, i.e. the modified value will be visible\nin subsequent calls to `borrow`, but receivers will not receive\na change notification.\n\nReturns the result of the closure, i.e. `true` if the value has\nbeen modified and `false` otherwise.\n\n# Panics\n\nThis function panics when the invocation of the `modify` closure panics.\nNo receivers are notified when panicking. All changes of the watched\nvalue applied by the closure before panicking will be visible in\nsubsequent calls to `borrow`.\n\n# Examples\n\n```\nuse tokio::sync::watch;\n\nstruct State {\n    counter: usize,\n}\nlet (state_tx, mut state_rx) = watch::channel(State { counter: 1 });\nlet inc_counter_if_odd = |state: &mut State| {\n    if state.counter % 2 == 1 {\n        state.counter += 1;\n        return true;\n    }\n    false\n};\n\nassert_eq!(state_rx.borrow().counter, 1);\n\nassert!(!state_rx.has_changed().unwrap());\nassert!(state_tx.send_if_modified(inc_counter_if_odd));\nassert!(state_rx.has_changed().unwrap());\nassert_eq!(state_rx.borrow_and_update().counter, 2);\n\nassert!(!state_rx.has_changed().unwrap());\nassert!(!state_tx.send_if_modified(inc_counter_if_odd));\nassert!(!state_rx.has_changed().unwrap());\nassert_eq!(state_rx.borrow_and_update().counter, 2);\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["modify",{"generic":"F"}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"primitive":"bool"}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7146":{"id":7146,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5384":{"id":5384,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1860":{"id":1860,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7473":{"id":7473,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3949":{"id":3949,"crate_id":0,"name":"thread_name","span":{"filename":"src/runtime/builder.rs","begin":[594,5],"end":[598,6]},"visibility":"public","docs":"Sets name of threads spawned by the `Runtime`'s thread pool.\n\nThe default name is \"tokio-rt-worker\".\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n# use tokio::runtime;\n\n# pub fn main() {\nlet rt = runtime::Builder::new_multi_thread()\n    .thread_name(\"my-pool\")\n    .build();\n# }\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["val",{"impl_trait":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"String","id":448,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl Into<String>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"String","id":448,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2187":{"id":2187,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/net/tcp/listener.rs","begin":[413,9],"end":[415,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"425":{"id":425,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5711":{"id":5711,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6038":{"id":6038,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2514":{"id":2514,"crate_id":0,"name":"local_addr","span":{"filename":"src/net/udp.rs","begin":[297,5],"end":[299,6]},"visibility":"public","docs":"Returns the local address that this socket is bound to.\n\n# Example\n\n```no_run\nuse tokio::net::UdpSocket;\n# use std::{io, net::SocketAddr};\n\n# #[tokio::main]\n# async fn main() -> io::Result<()> {\nlet addr = \"0.0.0.0:8080\".parse::<SocketAddr>().unwrap();\nlet sock = UdpSocket::bind(addr).await?;\n// the address the socket is bound to\nlet local_addr = sock.local_addr()?;\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"752":{"id":752,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/stdout.rs","begin":[226,5],"end":[228,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4276":{"id":4276,"crate_id":0,"name":"block_in_place","span":{"filename":"src/task/blocking.rs","begin":[74,5],"end":[79,6]},"visibility":"public","docs":"Runs the provided blocking function on the current thread without\nblocking the executor.\n\nIn general, issuing a blocking call or performing a lot of compute in a\nfuture without yielding is problematic, as it may prevent the executor\nfrom driving other tasks forward. Calling this function informs the\nexecutor that the currently executing task is about to block the thread,\nso the executor is able to hand off any other tasks it has to a new\nworker thread before that happens. See the [CPU-bound tasks and blocking\ncode][blocking] section for more information.\n\nBe aware that although this function avoids starving other independently\nspawned tasks, any other code running concurrently in the same task will\nbe suspended during the call to `block_in_place`. This can happen e.g.\nwhen using the [`join!`] macro. To avoid this issue, use\n[`spawn_blocking`] instead of `block_in_place`.\n\nNote that this function cannot be used within a [`current_thread`] runtime\nbecause in this case there are no other worker threads to hand off tasks\nto. On the other hand, calling the function outside a runtime is\nallowed. In this case, `block_in_place` just calls the provided closure\nnormally.\n\nCode running behind `block_in_place` cannot be cancelled. When you shut\ndown the executor, it will wait indefinitely for all blocking operations\nto finish. You can use [`shutdown_timeout`] to stop waiting for them\nafter a certain timeout. Be aware that this will still not cancel the\ntasks — they are simply allowed to keep running after the method\nreturns.\n\n[blocking]: ../index.html#cpu-bound-tasks-and-blocking-code\n[`spawn_blocking`]: fn@crate::task::spawn_blocking\n[`join!`]: macro@join\n[`thread::spawn`]: fn@std::thread::spawn\n[`shutdown_timeout`]: fn@crate::runtime::Runtime::shutdown_timeout\n\n# Examples\n\n```\nuse tokio::task;\n\n# async fn docs() {\ntask::block_in_place(move || {\n    // do some compute-heavy work or call synchronous code\n});\n# }\n```\n\nCode running inside `block_in_place` may use `block_on` to reenter the\nasync context.\n\n```\nuse tokio::task;\nuse tokio::runtime::Handle;\n\n# async fn docs() {\ntask::block_in_place(move || {\n    Handle::current().block_on(async move {\n        // do something async\n    });\n});\n# }\n```\n\n# Panics\n\nThis function panics if called from a [`current_thread`] runtime.\n\n[`current_thread`]: fn@crate::runtime::Builder::new_current_thread","links":{"fn@std::thread::spawn":6908,"macro@join":4212,"fn@crate::task::spawn_blocking":379,"fn@crate::runtime::Runtime::shutdown_timeout":4275,"fn@crate::runtime::Builder::new_current_thread":3937},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt-multi-thread\"), span: src/macros/cfg.rs:496:19: 496:46 (#4205) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt-multi-thread\"))]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["f",{"generic":"F"}]],"output":{"generic":"R"},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"R"}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4603":{"id":4603,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[26,41],"end":[26,43]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2841":{"id":2841,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1079":{"id":1079,"crate_id":0,"name":"Target","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[195,5],"end":[195,21]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"E"},"default_unstable":null}}},"6365":{"id":6365,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6692":{"id":6692,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3168":{"id":3168,"crate_id":0,"name":"try_write_vectored","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1600,5],"end":[1604,6]},"visibility":"public","docs":"Tries to write several buffers to the pipe, returning how many bytes\nwere written.\n\nData is written from each buffer in order, with the final buffer read\nfrom possible being only partially consumed. This method behaves\nequivalently to a single call to [`try_write()`] with concatenated\nbuffers.\n\nThis function is usually paired with `writable()`.\n\n[`try_write()`]: NamedPipeClient::try_write()\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the pipe is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-client-try-write-vectored\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let client = named_pipe::ClientOptions::new().open(PIPE_NAME)?;\n\n    let bufs = [io::IoSlice::new(b\"hello \"), io::IoSlice::new(b\"world\")];\n\n    loop {\n        // Wait for the pipe to be writable\n        client.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match client.try_write_vectored(&bufs) {\n            Ok(n) => {\n                break;\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"NamedPipeClient::try_write()":3167},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1406":{"id":1406,"crate_id":0,"name":"fmt","span":{"filename":"src/io/split.rs","begin":[157,5],"end":[159,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4930":{"id":4930,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5257":{"id":5257,"crate_id":0,"name":"weak_count","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1624,5],"end":[1626,6]},"visibility":"public","docs":"Returns the number of [`WeakSender`] handles.","links":{"`WeakSender`":5254},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3495":{"id":3495,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1733":{"id":1733,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7019":{"id":7019,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7346":{"id":7346,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5584":{"id":5584,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2060":{"id":2060,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[46,36],"end":[46,48]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"mem::DuplexStream","name":"DuplexStream","id":617,"is_glob":false}}},"298":{"id":298,"crate_id":0,"name":null,"span":{"filename":"src/fs/file.rs","begin":[957,5],"end":[963,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#58) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#58) }], src/macros/cfg.rs:42:26: 42:39 (#58)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#58) }], src/macros/cfg.rs:42:22: 42:49 (#58))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"FromRawHandle","id":299,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[297],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3822":{"id":3822,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/join.rs","begin":[322,1],"end":[322,35]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5911":{"id":5911,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4149":{"id":4149,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/dump.rs","begin":[49,17],"end":[49,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"625":{"id":625,"crate_id":0,"name":null,"span":{"filename":"src/io/util/take.rs","begin":[78,1],"end":[105,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[624],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2387":{"id":2387,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6238":{"id":6238,"crate_id":0,"name":null,"span":{"filename":"src/sync/semaphore.rs","begin":[1225,1],"end":[1229,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[6237],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2714":{"id":2714,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split.rs","begin":[55,1],"end":[187,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[2709,2707,2706,2710,2711,2712,2713],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"952":{"id":952,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4476":{"id":4476,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6565":{"id":6565,"crate_id":0,"name":"InitializingError","span":{"filename":"src/sync/once_cell.rs","begin":[482,5],"end":[482,25]},"visibility":"default","docs":"The cell is currently being initialized.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":{"tuple":[6606]},"discriminant":null}}},"4803":{"id":4803,"crate_id":0,"name":"hash","span":{"filename":"src/signal/unix.rs","begin":[78,30],"end":[78,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["state",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"__H"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[{"name":"__H","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::hash::Hasher","id":2983,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1279":{"id":1279,"crate_id":0,"name":"from","span":{"filename":"src/io/async_fd.rs","begin":[1436,5],"end":[1438,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["value",{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3041":{"id":3041,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6892":{"id":6892,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[474,45],"end":[474,60]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"batch_semaphore::TryAcquireError","name":"TryAcquireError","id":6124,"is_glob":false}}},"3368":{"id":3368,"crate_id":0,"name":"fmt","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2636,10],"end":[2636,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5130":{"id":5130,"crate_id":0,"name":"receiver_count","span":{"filename":"src/sync/broadcast.rs","begin":[866,5],"end":[869,6]},"visibility":"public","docs":"Returns the number of active receivers.\n\nAn active receiver is a [`Receiver`] handle returned from [`channel`] or\n[`subscribe`]. These are the handles that will receive values sent on\nthis [`Sender`].\n\n# Note\n\nIt is not guaranteed that a sent message will reach this number of\nreceivers. Active receivers may never call [`recv`] again before\ndropping.\n\n[`recv`]: crate::sync::broadcast::Receiver::recv\n[`Receiver`]: crate::sync::broadcast::Receiver\n[`Sender`]: crate::sync::broadcast::Sender\n[`subscribe`]: crate::sync::broadcast::Sender::subscribe\n[`channel`]: crate::sync::broadcast::channel\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, _rx1) = broadcast::channel(16);\n\nassert_eq!(1, tx.receiver_count());\n\nlet mut _rx2 = tx.subscribe();\n\nassert_eq!(2, tx.receiver_count());\n\ntx.send(10).unwrap();\n# }\n```","links":{"crate::sync::broadcast::Receiver::recv":5049,"crate::sync::broadcast::Sender":5023,"crate::sync::broadcast::channel":5122,"crate::sync::broadcast::Receiver":5051,"crate::sync::broadcast::Sender::subscribe":5124},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7219":{"id":7219,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5457":{"id":5457,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3695":{"id":3695,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1933":{"id":1933,"crate_id":0,"name":null,"span":{"filename":"src/io/util/repeat.rs","begin":[21,14],"end":[21,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[1932],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4022":{"id":4022,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2260":{"id":2260,"crate_id":0,"name":"into_raw_socket","span":{"filename":"src/net/tcp/socket.rs","begin":[1035,9],"end":[1037,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"RawSocket","id":2192,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"498":{"id":498,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[251,1],"end":[251,46]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::read_to_string::read_to_string","name":"read_to_string","id":447,"is_glob":false}}},"5784":{"id":5784,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[261,1],"end":[261,76]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6111":{"id":6111,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4349":{"id":4349,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"825":{"id":825,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/net/tcp/stream.rs","begin":[1495,5],"end":[1501,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2587":{"id":2587,"crate_id":0,"name":null,"span":{"filename":"src/net/udp.rs","begin":[2319,1],"end":[2323,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[2586],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4676":{"id":4676,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2914":{"id":2914,"crate_id":0,"name":"take_error","span":{"filename":"src/net/unix/stream.rs","begin":[972,5],"end":[974,6]},"visibility":"public","docs":"Returns the value of the `SO_ERROR` option.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1152":{"id":1152,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6438":{"id":6438,"crate_id":0,"name":"downgrade_map","span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[143,5],"end":[180,6]},"visibility":"public","docs":"Makes a new [`RwLockReadGuard`] for a component of the locked data.\n\nThis operation cannot fail as the `RwLockWriteGuard` passed in already\nlocked the data.\n\nThis is an associated function that needs to be used as\n`RwLockWriteGuard::downgrade_map(..)`. A method would interfere with methods of\nthe same name on the contents of the locked data.\n\nThis is equivalent to a combination of asynchronous [`RwLockWriteGuard::map`] and [`RwLockWriteGuard::downgrade`]\nfrom the [`parking_lot` crate].\n\nInside of `f`, you retain exclusive access to the data, despite only being given a `&T`. Handing out a\n`&mut T` would result in unsoundness, as you could use interior mutability.\n\n[`RwLockMappedWriteGuard`]: struct@crate::sync::RwLockMappedWriteGuard\n[`RwLockWriteGuard::map`]: https://docs.rs/lock_api/latest/lock_api/struct.RwLockWriteGuard.html#method.map\n[`RwLockWriteGuard::downgrade`]: https://docs.rs/lock_api/latest/lock_api/struct.RwLockWriteGuard.html#method.downgrade\n[`parking_lot` crate]: https://crates.io/crates/parking_lot\n\n# Examples\n\n```\nuse tokio::sync::{RwLock, RwLockWriteGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = RwLock::new(Foo(1));\n\nlet mapped = RwLockWriteGuard::downgrade_map(lock.write().await, |f| &f.0);\nlet foo = lock.read().await;\nassert_eq!(foo.0, *mapped);\n# }\n```","links":{"struct@crate::sync::RwLockMappedWriteGuard":6317,"`RwLockReadGuard`":6398},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"U"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"U"}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6765":{"id":6765,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5003":{"id":5003,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1479":{"id":1479,"crate_id":0,"name":"split","span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[240,9],"end":[245,10]},"visibility":"default","docs":"Returns a stream of the contents of this reader split on the byte\n`byte`.\n\nThis method is the asynchronous equivalent to\n[`BufRead::split`](std::io::BufRead::split).\n\nThe stream returned from this function will yield instances of\n[`io::Result`]`<`[`Option`]`<`[`Vec<u8>`]`>>`. Each vector returned will *not* have\nthe delimiter byte at the end.\n\n[`io::Result`]: std::io::Result\n[`Option`]: core::option::Option\n[`Vec<u8>`]: std::vec::Vec\n\n# Errors\n\nEach item of the stream has the same error semantics as\n[`AsyncBufReadExt::read_until`](AsyncBufReadExt::read_until).\n\n# Examples\n\n```\n# use tokio::io::AsyncBufRead;\nuse tokio::io::AsyncBufReadExt;\n\n# async fn dox(my_buf_read: impl AsyncBufRead + Unpin) -> std::io::Result<()> {\nlet mut segments = my_buf_read.split(b'f');\n\nwhile let Some(segment) = segments.next_segment().await? {\n    println!(\"length = {}\", segment.len())\n}\n# Ok(())\n# }\n```","links":{"std::io::Result":119,"std::io::BufRead::split":1478,"std::vec::Vec":382,"AsyncBufReadExt::read_until":1472,"core::option::Option":391},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["byte",{"primitive":"u8"}]],"output":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3241":{"id":3241,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5330":{"id":5330,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1749,5],"end":[1753,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3568":{"id":3568,"crate_id":0,"name":"fmt","span":{"filename":"src/process/mod.rs","begin":[1490,10],"end":[1490,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1806":{"id":1806,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7092":{"id":7092,"crate_id":0,"name":null,"span":{"filename":"src/task/task_local.rs","begin":[345,1],"end":[387,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[7091],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7419":{"id":7419,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5657":{"id":5657,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[123,25],"end":[123,27]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::Eq","id":961,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2133":{"id":2133,"crate_id":0,"name":null,"span":{"filename":"src/net/addr.rs","begin":[64,1],"end":[64,39]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"for":{"resolved_path":{"path":"std::net::SocketAddrV4","id":2134,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"371":{"id":371,"crate_id":0,"name":"fmt","span":{"filename":"src/fs/open_options.rs","begin":[87,17],"end":[87,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3895":{"id":3895,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/mod.rs","begin":[192,26],"end":[192,28]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"id::Id","name":"Id","id":3692,"is_glob":false}}},"5984":{"id":5984,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[1085,1],"end":[1091,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Future","id":520,"args":null},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[5982,5983],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4222":{"id":4222,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2460":{"id":2460,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/stream.rs","begin":[78,1],"end":[1460,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[2434,2435,2436,2437,2438,2439,2273,2279,2440,2441,2442,2443,2444,2445,2446,2447,2448,2449,2450,2275,2452,2451,2454,2453,2457,2456,2455,2459,2458,2272,2339],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"698":{"id":698,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/async_write.rs","begin":[212,5],"end":[212,25]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2787":{"id":2787,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1025":{"id":1025,"crate_id":0,"name":null,"span":{"filename":"src/io/ready.rs","begin":[20,50],"end":[20,53]},"visibility":"default","docs":null,"links":{},"attrs":["automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["max","min","clamp"],"trait":{"path":"Ord","id":1026,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[1024],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4549":{"id":4549,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4876":{"id":4876,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3114":{"id":3114,"crate_id":0,"name":"from_raw_handle","span":{"filename":"src/net/windows/named_pipe.rs","begin":[128,5],"end":[134,6]},"visibility":"public","docs":"Constructs a new named pipe server from the specified raw handle.\n\nThis function will consume ownership of the handle given, passing\nresponsibility for closing the handle to the returned object.\n\nThis function is also unsafe as the primitives currently returned have\nthe contract that they are the sole owner of the file descriptor they\nare wrapping. Usage of this function could accidentally allow violating\nthis contract which can cause memory unsafety in code that relies on it\nbeing true.\n\n# Errors\n\nThis errors if called outside of a [Tokio Runtime], or in a runtime that\nhas not [enabled I/O], or if any OS-specific I/O errors occur.\n\n[Tokio Runtime]: crate::runtime::Runtime\n[enabled I/O]: crate::runtime::Builder::enable_io","links":{"crate::runtime::Runtime":3112,"crate::runtime::Builder::enable_io":3113},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["handle",{"resolved_path":{"path":"RawHandle","id":290,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6965":{"id":6965,"crate_id":0,"name":"fmt","span":{"filename":"src/task/coop/mod.rs","begin":[258,14],"end":[258,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3441":{"id":3441,"crate_id":0,"name":"uid","span":{"filename":"src/process/mod.rs","begin":[686,5],"end":[691,6]},"visibility":"public","docs":"Sets the child process's user ID. This translates to a\n`setuid` call in the child process. Failure in the `setuid`\ncall will cause the spawn to fail.","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"unix\", value: None, span: src/process/mod.rs:684:11: 684:15 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(unix))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["id",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1679":{"id":1679,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_stream.rs","begin":[17,14],"end":[17,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[1678],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5203":{"id":5203,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5530":{"id":5530,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3768":{"id":3768,"crate_id":0,"name":"is_finished","span":{"filename":"src/runtime/task/abort.rs","begin":[63,5],"end":[66,6]},"visibility":"public","docs":"Checks if the task associated with this `AbortHandle` has finished.\n\nPlease note that this method can return `false` even if `abort` has been\ncalled on the task. This is because the cancellation process may take\nsome time, and this method does not return `true` until it has\ncompleted.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"244":{"id":244,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2006":{"id":2006,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[357,1],"end":[357,56]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["read_until","read_line","split","fill_buf","consume","lines"],"trait":{"path":"AsyncBufReadExt","id":537,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"7292":{"id":7292,"crate_id":0,"name":null,"span":{"filename":"src/time/error.rs","begin":[88,1],"end":[88,31]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4095":{"id":4095,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[308,1],"end":[335,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[4092,4093],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2333":{"id":2333,"crate_id":0,"name":"fmt","span":{"filename":"src/net/tcp/split.rs","begin":[48,10],"end":[48,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"571":{"id":571,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_writer.rs","begin":[279,1],"end":[287,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncBufRead","id":538,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[569,570],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5857":{"id":5857,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1359,1],"end":[1371,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[5856],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6184":{"id":6184,"crate_id":0,"name":"forget_permits","span":{"filename":"src/sync/semaphore.rs","begin":[576,5],"end":[578,6]},"visibility":"public","docs":"Decrease a semaphore's permits by a maximum of `n`.\n\nIf there are insufficient permits and it's not possible to reduce by `n`,\nreturn the number of permits that were actually reduced.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["n",{"primitive":"usize"}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4422":{"id":4422,"crate_id":0,"name":"spawn_local","span":{"filename":"src/task/local.rs","begin":[395,5],"end":[406,6]},"visibility":"public","docs":"Spawns a `!Send` future on the current [`LocalSet`] or [`LocalRuntime`].\n\nThis is possible when either using one of these types explicitly, or by\nopting to use the `\"local\"` runtime flavor in `tokio::main`:\n\n```ignore\n#[tokio::main(flavor = \"local\")]\n```\n\nThe spawned future will run on the same thread that called `spawn_local`.\n\nThe provided future will start running in the background immediately\nwhen `spawn_local` is called, even if you don't await the returned\n`JoinHandle`.\n\n# Panics\n\nThis function panics if called outside of a [`LocalSet`] or [`LocalRuntime`].\n\nNote that if [`tokio::spawn`] is used from within a `LocalSet`, the\nresulting new task will _not_ be inside the `LocalSet`, so you must use\n`spawn_local` if you want to stay within the `LocalSet`.\n\n# Examples\n\nWith `LocalSet`:\n\n```rust\nuse std::rc::Rc;\nuse tokio::task;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet nonsend_data = Rc::new(\"my nonsend data...\");\n\nlet local = task::LocalSet::new();\n\n// Run the local task set.\nlocal.run_until(async move {\n    let nonsend_data = nonsend_data.clone();\n    task::spawn_local(async move {\n        println!(\"{}\", nonsend_data);\n        // ...\n    }).await.unwrap();\n}).await;\n# }\n```\nWith local runtime flavor.\n\n```rust\n#[tokio::main(flavor = \"local\")]\nasync fn main() {\n    let join = tokio::task::spawn_local(async {\n        println!(\"my nonsend data...\")\n    });\n\n   join.await.unwrap()\n }\n\n```\n\n[`LocalSet`]: struct@crate::task::LocalSet\n[`LocalRuntime`]: struct@crate::runtime::LocalRuntime\n[`tokio::spawn`]: fn@crate::task::spawn\n[unstable]: ../../tokio/index.html#unstable-features","links":{"fn@crate::task::spawn":3799,"struct@crate::task::LocalSet":3939,"struct@crate::runtime::LocalRuntime":3941},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4232) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["future",{"generic":"F"}]],"output":{"resolved_path":{"path":"crate::runtime::task::JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}},"bounds":[{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"898":{"id":898,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2660":{"id":2660,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/listener.rs","begin":[247,1],"end":[251,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[2659],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7619":{"id":7619,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4749":{"id":4749,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[620,29],"end":[620,41]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#1248) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"local_runtime::LocalRuntime","name":"LocalRuntime","id":3941,"is_glob":false}}},"2987":{"id":2987,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/ucred.rs","begin":[4,44],"end":[4,49]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[2986],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1225":{"id":1225,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6838":{"id":6838,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5076":{"id":5076,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[289,21],"end":[289,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[5075],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1552":{"id":1552,"crate_id":0,"name":"Write","span":{"filename":"src/io/util/write.rs","begin":[10,1],"end":[21,2]},"visibility":"public","docs":"A future to write some of the buffer to an `AsyncWrite`.","links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"W","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"3314":{"id":3314,"crate_id":0,"name":"Server","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2630,5],"end":[2630,11]},"visibility":"default","docs":"The named pipe refers to the server end of a named pipe instance.\n\nCorresponds to [`PIPE_SERVER_END`].\n\n[`PIPE_SERVER_END`]: https://docs.rs/windows-sys/latest/windows_sys/Win32/System/Pipes/constant.PIPE_SERVER_END.html","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"7165":{"id":7165,"crate_id":0,"name":null,"span":{"filename":"src/task/join_set.rs","begin":[603,1],"end":[607,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7164],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5403":{"id":5403,"crate_id":0,"name":"max_capacity","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[625,5],"end":[627,6]},"visibility":"public","docs":"Returns the maximum buffer capacity of the channel.\n\nThe maximum capacity is the buffer capacity initially specified when calling\n[`channel`]. This is distinct from [`capacity`], which returns the *current*\navailable buffer capacity: as messages are sent and received, the value\nreturned by [`capacity`] will go up or down, whereas the value\nreturned by [`max_capacity`] will remain constant.\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = mpsc::channel::<()>(5);\n\n// both max capacity and capacity are the same at first\nassert_eq!(rx.max_capacity(), 5);\nassert_eq!(rx.capacity(), 5);\n\n// Making a reservation doesn't change the max capacity.\nlet permit = tx.reserve().await.unwrap();\nassert_eq!(rx.max_capacity(), 5);\n// but drops the capacity by one\nassert_eq!(rx.capacity(), 4);\n# }\n```\n[`capacity`]: Receiver::capacity\n[`max_capacity`]: Receiver::max_capacity","links":{"`channel`":5223,"Receiver::capacity":5404,"Receiver::max_capacity":5403},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7492":{"id":7492,"crate_id":0,"name":"poll","span":{"filename":"src/time/sleep.rs","begin":[464,5],"end":[469,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5730":{"id":5730,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[826,1],"end":[962,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5727,5728,5729],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2206":{"id":2206,"crate_id":0,"name":"reuseaddr","span":{"filename":"src/net/tcp/socket.rs","begin":[255,5],"end":[257,6]},"visibility":"public","docs":"Retrieves the value set for `SO_REUSEADDR` on this socket.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpSocket;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let addr = \"127.0.0.1:8080\".parse().unwrap();\n\n    let socket = TcpSocket::new_v4()?;\n    socket.set_reuseaddr(true)?;\n    assert!(socket.reuseaddr().unwrap());\n    socket.bind(addr)?;\n\n    let listener = socket.listen(1024)?;\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"bool"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"444":{"id":444,"crate_id":0,"name":"read_link","span":{"filename":"src/fs/read_link.rs","begin":[9,1],"end":[12,2]},"visibility":"public","docs":"Reads a symbolic link, returning the file that the link points to.\n\nThis is an async version of [`std::fs::read_link`].","links":{"`std::fs::read_link`":443},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::PathBuf","id":120,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3968":{"id":3968,"crate_id":0,"name":"block_on","span":{"filename":"src/runtime/runtime.rs","begin":[338,5],"end":[345,6]},"visibility":"public","docs":"Runs a future to completion on the Tokio runtime. This is the\nruntime's entry point.\n\nThis runs the given future on the current thread, blocking until it is\ncomplete, and yielding its resolved result. Any tasks or timers\nwhich the future spawns internally will be executed on the runtime.\n\n# Non-worker future\n\nNote that the future required by this function does not run as a\nworker. The expectation is that other tasks are spawned by the future here.\nAwaiting on other futures from the future provided here will not\nperform as fast as those spawned as workers.\n\n# Multi thread scheduler\n\nWhen the multi thread scheduler is used this will allow futures\nto run within the io driver and timer context of the overall runtime.\n\nAny spawned tasks will continue running after `block_on` returns.\n\n# Current thread scheduler\n\nWhen the current thread scheduler is enabled `block_on`\ncan be called concurrently from multiple threads. The first call\nwill take ownership of the io and timer drivers. This means\nother threads which do not own the drivers will hook into that one.\nWhen the first `block_on` completes, other threads will be able to\n\"steal\" the driver to allow continued execution of their futures.\n\nAny spawned tasks will be suspended after `block_on` returns. Calling\n`block_on` again will resume previously spawned tasks.\n\n# Panics\n\nThis function panics if the provided future panics, or if called within an\nasynchronous execution context.\n\n# Examples\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Runtime;\n\n// Create the runtime\nlet rt  = Runtime::new().unwrap();\n\n// Execute the future, blocking the current thread until completion\nrt.block_on(async {\n    println!(\"hello\");\n});\n# }\n```","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["future",{"generic":"F"}]],"output":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4295":{"id":4295,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2533":{"id":2533,"crate_id":0,"name":"try_recv_from","span":{"filename":"src/net/udp.rs","begin":[1442,5],"end":[1446,6]},"visibility":"public","docs":"Tries to receive a single datagram message on the socket. On success,\nreturns the number of bytes read and the origin.\n\nThis method must be called with valid byte array `buf` of sufficient size\nto hold the message bytes. If a message is too long to fit in the\nsupplied buffer, excess bytes may be discarded.\n\nWhen there is no pending data, `Err(io::ErrorKind::WouldBlock)` is\nreturned. This function is usually paired with `readable()`.\n\n# Notes\n\nNote that the socket address **cannot** be implicitly trusted, because it is relatively\ntrivial to send a UDP datagram with a spoofed origin in a [packet injection attack].\nBecause UDP is stateless and does not validate the origin of a packet,\nthe attacker does not need to be able to intercept traffic in order to interfere.\nIt is important to be aware of this when designing your application-level protocol.\n\n[packet injection attack]: https://en.wikipedia.org/wiki/Packet_injection\n\n# Examples\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Connect to a peer\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n\n    loop {\n        // Wait for the socket to be readable\n        socket.readable().await?;\n\n        // The buffer is **not** included in the async task and will\n        // only exist on the stack.\n        let mut buf = [0; 1024];\n\n        // Try to recv data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match socket.try_recv_from(&mut buf) {\n            Ok((n, _addr)) => {\n                println!(\"GOT {:?}\", &buf[..n]);\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e);\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"primitive":"usize"},{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"771":{"id":771,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/util/buf_reader.rs","begin":[278,5],"end":[280,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6057":{"id":6057,"crate_id":0,"name":"Sender","span":{"filename":"src/sync/oneshot.rs","begin":[222,1],"end":[226,2]},"visibility":"public","docs":"Sends a value to the associated [`Receiver`].\n\nA pair of both a [`Sender`] and a [`Receiver`]  are created by the\n[`channel`](fn@channel) function.\n\n# Examples\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = oneshot::channel();\n\ntokio::spawn(async move {\n    if let Err(_) = tx.send(3) {\n        println!(\"the receiver dropped\");\n    }\n});\n\nmatch rx.await {\n    Ok(v) => println!(\"got = {:?}\", v),\n    Err(_) => println!(\"the sender dropped\"),\n}\n# }\n```\n\nIf the sender is dropped without sending, the receiver will fail with\n[`error::RecvError`]:\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = oneshot::channel::<u32>();\n\ntokio::spawn(async move {\n    drop(tx);\n});\n\nmatch rx.await {\n    Ok(_) => panic!(\"This doesn't happen\"),\n    Err(_) => println!(\"the sender dropped\"),\n}\n# }\n```\n\nTo use a `Sender` from a destructor, put it in an [`Option`] and call\n[`Option::take`].\n\n```\nuse tokio::sync::oneshot;\n\nstruct SendOnDrop {\n    sender: Option<oneshot::Sender<&'static str>>,\n}\nimpl Drop for SendOnDrop {\n    fn drop(&mut self) {\n        if let Some(sender) = self.sender.take() {\n            // Using `let _ =` to ignore send errors.\n            let _ = sender.send(\"I got dropped!\");\n        }\n    }\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn _doc() {}\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (send, recv) = oneshot::channel();\n\nlet send_on_drop = SendOnDrop { sender: Some(send) };\ndrop(send_on_drop);\n\nassert_eq!(recv.await, Ok(\"I got dropped!\"));\n# }\n```\n\n[`Option`]: std::option::Option\n[`Option::take`]: std::option::Option::take","links":{"std::option::Option::take":6059,"`Receiver`":6056,"`Sender`":6057,"fn@channel":6058,"`error::RecvError`":5989,"std::option::Option":391},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6083,6085]}}},"6384":{"id":6384,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[203,5],"end":[205,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2860":{"id":2860,"crate_id":0,"name":"is_unnamed","span":{"filename":"src/net/unix/socketaddr.rs","begin":[18,5],"end":[20,6]},"visibility":"public","docs":"Returns `true` if the address is unnamed.\n\nDocumentation reflected in [`SocketAddr`].\n\n[`SocketAddr`]: std::os::unix::net::SocketAddr","links":{"std::os::unix::net::SocketAddr":2859},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1098":{"id":1098,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4622":{"id":4622,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4949":{"id":4949,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3187":{"id":3187,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1425":{"id":1425,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7038":{"id":7038,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5276":{"id":5276,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1752":{"id":1752,"crate_id":0,"name":"copy_buf","span":{"filename":"src/io/util/copy_buf.rs","begin":[69,5],"end":[79,6]},"visibility":"public","docs":"Asynchronously copies the entire contents of a reader into a writer.\n\nThis function returns a future that will continuously read data from\n`reader` and then write it into `writer` in a streaming fashion until\n`reader` returns EOF or fails.\n\nOn success, the total number of bytes that were copied from `reader` to\n`writer` is returned.\n\nThis is a [`tokio::io::copy`] alternative for [`AsyncBufRead`] readers\nwith no extra buffer allocation, since [`AsyncBufRead`] allow access\nto the reader's inner buffer.\n\n# When to use async alternatives instead of `SyncIoBridge`\n\nIf you are looking to use [`std::io::copy`] with a synchronous consumer\n(like a `hasher` or compressor), consider using async alternatives instead of\nwrapping the reader with [`SyncIoBridge`]. See the [`SyncIoBridge`]\ndocumentation for detailed examples and guidance on hashing, compression,\nand data parsing.\n\n[`tokio::io::copy`]: crate::io::copy\n[`AsyncBufRead`]: crate::io::AsyncBufRead\n[`SyncIoBridge`]: https://docs.rs/tokio-util/latest/tokio_util/io/struct.SyncIoBridge.html\n\n# Errors\n\nThe returned future will finish with an error will return an error\nimmediately if any call to `poll_fill_buf` or `poll_write` returns an\nerror.\n\n# Examples\n\n```\nuse tokio::io;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut reader: &[u8] = b\"hello\";\nlet mut writer: Vec<u8> = vec![];\n\nio::copy_buf(&mut reader, &mut writer).await?;\n\nassert_eq!(b\"hello\", &writer[..]);\n# Ok(())\n# }\n```","links":{"crate::io::AsyncBufRead":538,"crate::io::copy":1753,"`std::io::copy`":1751},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#302) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["reader",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"R"}}}],["writer",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"W"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u64"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3514":{"id":3514,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5603":{"id":5603,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3841":{"id":3841,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"317":{"id":317,"crate_id":0,"name":"seek","span":{"filename":"src/io/util/async_seek_ext.rs","begin":[66,9],"end":[71,10]},"visibility":"default","docs":"Creates a future which will seek an IO object, and then yield the\nnew position in the object and the object itself.\n\nEquivalent to:\n\n```ignore\nasync fn seek(&mut self, pos: SeekFrom) -> io::Result<u64>;\n```\n\nIn the case of an error the buffer and the object will be discarded, with\nthe error yielded.\n\n# Examples\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::fs::File;\nuse tokio::io::{AsyncSeekExt, AsyncReadExt};\n\nuse std::io::SeekFrom;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut file = File::open(\"foo.txt\").await?;\nfile.seek(SeekFrom::Start(6)).await?;\n\nlet mut contents = vec![0u8; 10];\nfile.read_exact(&mut contents).await?;\n# Ok(())\n# }\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["pos",{"resolved_path":{"path":"SeekFrom","id":256,"args":null}}]],"output":{"resolved_path":{"path":"Seek","id":1469,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2079":{"id":2079,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[213,1],"end":[213,37]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::async_seek::AsyncSeek","name":"AsyncSeek","id":199,"is_glob":false}}},"7365":{"id":7365,"crate_id":0,"name":"partial_cmp","span":{"filename":"src/time/instant.rs","begin":[33,38],"end":[33,48]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Instant","id":7328,"args":null}}}}]],"output":{"resolved_path":{"path":"$crate::option::Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"$crate::cmp::Ordering","id":1021,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2406":{"id":2406,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split_owned.rs","begin":[503,1],"end":[507,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpStream","id":634,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[2405],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"644":{"id":644,"crate_id":0,"name":"poll_read","span":{"filename":"src/net/unix/pipe.rs","begin":[1459,5],"end":[1467,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4168":{"id":4168,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6257":{"id":6257,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4495":{"id":4495,"crate_id":0,"name":null,"span":{"filename":"src/runtime/id.rs","begin":[29,10],"end":[29,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[4494],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"971":{"id":971,"crate_id":0,"name":"bitor_assign","span":{"filename":"src/io/interest.rs","begin":[281,5],"end":[283,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["other",{"generic":"Self"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2733":{"id":2733,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split.rs","begin":[32,10],"end":[32,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[2732],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6584":{"id":6584,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3060":{"id":3060,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/pipe.rs","begin":[839,1],"end":[843,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[3059],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1298":{"id":1298,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4822":{"id":4822,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5149":{"id":5149,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1625":{"id":1625,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7238":{"id":7238,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[281,5],"end":[281,38]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"blocking::spawn_blocking","name":"spawn_blocking","id":379,"is_glob":false}}},"3714":{"id":3714,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/task/error.rs","begin":[156,5],"end":[166,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1952":{"id":1952,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5476":{"id":5476,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7565":{"id":7565,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5803":{"id":5803,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4041":{"id":4041,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[8,39],"end":[8,49]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"crate::runtime::task::trace::trace_with","name":"trace_with","id":3870,"is_glob":false}}},"517":{"id":517,"crate_id":0,"name":"future","span":{"filename":"src/future/maybe_done.rs","begin":[8,1],"end":[23,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"generic":"Fut"}}},"2279":{"id":2279,"crate_id":0,"name":"ready","span":{"filename":"src/net/tcp/stream.rs","begin":[467,5],"end":[470,6]},"visibility":"public","docs":"Waits for any of the requested ready states.\n\nThis function is usually paired with `try_read()` or `try_write()`. It\ncan be used to concurrently read / write to the same socket on a single\ntask without splitting the socket.\n\nThe function may complete without the socket being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.\n\n# Examples\n\nConcurrently read and write to the stream on the same task without\nsplitting.\n\n```no_run\nuse tokio::io::Interest;\nuse tokio::net::TcpStream;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\n    loop {\n        let ready = stream.ready(Interest::READABLE | Interest::WRITABLE).await?;\n\n        if ready.is_readable() {\n            let mut data = vec![0; 1024];\n            // Try to read data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match stream.try_read(&mut data) {\n                Ok(n) => {\n                    println!(\"read {} bytes\", n);\n                }\n                Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n\n        }\n\n        if ready.is_writable() {\n            // Try to write data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match stream.try_write(b\"hello world\") {\n                Ok(n) => {\n                    println!(\"write {} bytes\", n);\n                }\n                Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    continue\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n        }\n    }\n}\n```","links":{"`Ready`":978},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4368":{"id":4368,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6130":{"id":6130,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"844":{"id":844,"crate_id":0,"name":"poll_write","span":{"filename":"src/net/unix/stream.rs","begin":[1038,5],"end":[1044,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6457":{"id":6457,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4695":{"id":4695,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram.rs","begin":[56,27],"end":[56,32]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[4694],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1171":{"id":1171,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[939,1],"end":[945,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"std::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1170],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2933":{"id":2933,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5022":{"id":5022,"crate_id":0,"name":"send","span":{"filename":"src/sync/broadcast.rs","begin":[661,5],"end":[697,6]},"visibility":"public","docs":"Attempts to send a value to all active [`Receiver`] handles, returning\nit back if it could not be sent.\n\nA successful send occurs when there is at least one active [`Receiver`]\nhandle. An unsuccessful send would be one where all associated\n[`Receiver`] handles have already been dropped.\n\n# Return\n\nOn success, the number of subscribed [`Receiver`] handles is returned.\nThis does not mean that this number of receivers will see the message as\na receiver may drop or lag ([see lagging](self#lagging)) before receiving\nthe message.\n\n# Note\n\nA return value of `Ok` **does not** mean that the sent value will be\nobserved by all or any of the active [`Receiver`] handles. [`Receiver`]\nhandles may be dropped before receiving the sent message.\n\nA return value of `Err` **does not** mean that future calls to `send`\nwill fail. New [`Receiver`] handles may be created by calling\n[`subscribe`].\n\n[`Receiver`]: crate::sync::broadcast::Receiver\n[`subscribe`]: crate::sync::broadcast::Sender::subscribe\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx1) = broadcast::channel(16);\nlet mut rx2 = tx.subscribe();\n\ntokio::spawn(async move {\n    assert_eq!(rx1.recv().await.unwrap(), 10);\n    assert_eq!(rx1.recv().await.unwrap(), 20);\n});\n\ntokio::spawn(async move {\n    assert_eq!(rx2.recv().await.unwrap(), 10);\n    assert_eq!(rx2.recv().await.unwrap(), 20);\n});\n\ntx.send(10).unwrap();\ntx.send(20).unwrap();\n# }\n```","links":{"crate::sync::broadcast::Sender::subscribe":5124,"crate::sync::broadcast::Receiver":5051,"self#lagging":5121},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["value",{"generic":"T"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}},{"type":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3260":{"id":3260,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2380,1],"end":[2588,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[3254,3255,3256,3257,3258,3156,3259],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6784":{"id":6784,"crate_id":0,"name":"borrow","span":{"filename":"src/sync/watch.rs","begin":[629,5],"end":[638,6]},"visibility":"public","docs":"Returns a reference to the most recently sent value.\n\nThis method does not mark the returned value as seen, so future calls to\n[`changed`] may return immediately even if you have already seen the\nvalue with a call to `borrow`.\n\nOutstanding borrows hold a read lock on the inner value. This means that\nlong-lived borrows could cause the producer half to block. It is recommended\nto keep the borrow as short-lived as possible. Additionally, if you are\nrunning in an environment that allows `!Send` futures, you must ensure that\nthe returned `Ref` type is never held alive across an `.await` point,\notherwise, it can lead to a deadlock.\n\nThe priority policy of the lock is dependent on the underlying lock\nimplementation, and this type does not guarantee that any particular policy\nwill be used. In particular, a producer which is waiting to acquire the lock\nin `send` might or might not block concurrent calls to `borrow`, e.g.:\n\n<details><summary>Potential deadlock example</summary>\n\n```text\n// Task 1 (on thread A)    |  // Task 2 (on thread B)\nlet _ref1 = rx.borrow();   |\n                           |  // will block\n                           |  let _ = tx.send(());\n// may deadlock            |\nlet _ref2 = rx.borrow();   |\n```\n</details>\n\nFor more information on when to use this method versus\n[`borrow_and_update`], see [here](self#borrow_and_update-versus-borrow).\n\n[`changed`]: Receiver::changed\n[`borrow_and_update`]: Receiver::borrow_and_update\n\n# Examples\n\n```\nuse tokio::sync::watch;\n\nlet (_, rx) = watch::channel(\"hello\");\nassert_eq!(*rx.borrow(), \"hello\");\n```","links":{"Receiver::changed":6781,"Receiver::borrow_and_update":6782,"self#borrow_and_update-versus-borrow":6783},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7111":{"id":7111,"crate_id":0,"name":"drop","span":{"filename":"src/task/task_local.rs","begin":[296,1],"end":[343,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5349":{"id":5349,"crate_id":2,"name":"IntoIter","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":{"feature":"const_iter","level":"unstable"},"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"I"},"default_unstable":null}}},"1825":{"id":1825,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5676":{"id":5676,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/mod.rs","begin":[130,43],"end":[130,58]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::unbounded::UnboundedSender","name":"UnboundedSender","id":5433,"is_glob":false}}},"7438":{"id":7438,"crate_id":0,"name":"reset_immediately","span":{"filename":"src/time/interval.rs","begin":[551,5],"end":[553,6]},"visibility":"public","docs":"Resets the interval immediately.\n\nThis method ignores [`MissedTickBehavior`] strategy.\n\nThis is equivalent to calling `reset_at(Instant::now())`.\n\n# Examples\n\n```\nuse tokio::time;\n\nuse std::time::Duration;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut interval = time::interval(Duration::from_millis(100));\n\ninterval.tick().await;\n\ntime::sleep(Duration::from_millis(50)).await;\ninterval.reset_immediately();\n\ninterval.tick().await;\ninterval.tick().await;\n\n// approximately 150ms have elapsed.\n# }\n```","links":{"`MissedTickBehavior`":7395},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"390":{"id":390,"crate_id":0,"name":"next_entry","span":{"filename":"src/fs/read_dir.rs","begin":[78,5],"end":[81,6]},"visibility":"public","docs":"Returns the next entry in the directory stream.\n\n# Cancel safety\n\nThis method is cancel safe.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"DirEntry","id":388,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6003":{"id":6003,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2479":{"id":2479,"crate_id":0,"name":"Error","span":{"filename":"src/net/tcp/stream.rs","begin":[1463,5],"end":[1463,28]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Error","id":262,"args":null}},"default_unstable":null}}},"717":{"id":717,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[265,5],"end":[271,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6330":{"id":6330,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2806":{"id":2806,"crate_id":0,"name":"try_write_vectored","span":{"filename":"src/net/unix/split_owned.rs","begin":[349,5],"end":[351,6]},"visibility":"public","docs":"Tries to write several buffers to the stream, returning how many bytes\nwere written.\n\nData is written from each buffer in order, with the final buffer read\nfrom possible being only partially consumed. This method behaves\nequivalently to a single call to [`try_write()`] with concatenated\nbuffers.\n\nThis function is usually paired with `writable()`.\n\n[`try_write()`]: Self::try_write()\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the stream is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::try_write()":2803},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1044":{"id":1044,"crate_id":0,"name":"register","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[29,5],"end":[33,6]},"visibility":"default","docs":"Registers this AIO event source with Tokio's reactor.\n\n# Safety\n\nIt's memory-safe, but not I/O safe.  If the file referenced by `kq` gets dropped, then this\nsource may end up notifying the wrong file.","links":{},"attrs":[],"deprecation":{"since":"1.52.0","note":"use register_borrowed instead"},"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["_kq",{"resolved_path":{"path":"RawFd","id":275,"args":null}}],["_token",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6657":{"id":6657,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3133":{"id":3133,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1371":{"id":1371,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4895":{"id":4895,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6984":{"id":6984,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3460":{"id":3460,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"1698":{"id":1698,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7311":{"id":7311,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3787":{"id":3787,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/abort.rs","begin":[81,1],"end":[81,35]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5549":{"id":5549,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[7,10],"end":[7,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::PartialEq","id":966,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"263":{"id":263,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/fs/file.rs","begin":[870,5],"end":[872,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5876":{"id":5876,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7638":{"id":7638,"crate_id":0,"name":"task_local","span":{"filename":"src/task/task_local.rs","begin":[36,1],"end":[48,2]},"visibility":"public","docs":"Declares a new task-local key of type [`tokio::task::LocalKey`].\n\n# Syntax\n\nThe macro wraps any number of static declarations and makes them local to the current task.\nPublicity and attributes for each static is preserved. For example:\n\n# Examples\n\n```\n# use tokio::task_local;\ntask_local! {\n    pub static ONE: u32;\n\n    #[allow(unused)]\n    static TWO: f32;\n}\n# fn main() {}\n```\n\nSee [`LocalKey` documentation][`tokio::task::LocalKey`] for more\ninformation.\n\n[`tokio::task::LocalKey`]: struct@crate::task::LocalKey","links":{"struct@crate::task::LocalKey":7058},"attrs":[{"other":"#[attr = CfgAttrTrace]"},"macro_export",{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"macro":"macro_rules! task_local {\n    () => { ... };\n    ($(#[$attr:meta])* $vis:vis static $name:ident: $t:ty; $($rest:tt)*) => { ... };\n    ($(#[$attr:meta])* $vis:vis static $name:ident: $t:ty) => { ... };\n}"}},"590":{"id":590,"crate_id":0,"name":null,"span":{"filename":"src/io/async_read.rs","begin":[78,1],"end":[80,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}},"items":[589],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2352":{"id":2352,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4441":{"id":4441,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2679":{"id":2679,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6203":{"id":6203,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6530":{"id":6530,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4768":{"id":4768,"crate_id":0,"name":"alarm","span":{"filename":"src/signal/unix.rs","begin":[117,5],"end":[119,6]},"visibility":"public","docs":"Represents the `SIGALRM` signal.\n\nOn Unix systems this signal is sent when a real-time timer has expired.\nBy default, the process is terminated by this signal.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1244":{"id":1244,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3006":{"id":3006,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3333":{"id":3333,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1571":{"id":1571,"crate_id":0,"name":"write_u32","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an unsigned 32-bit integer in big-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_u32(&mut self, n: u32) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite unsigned 32-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_u32(267).await?;\nwriter.write_u32(1205419366).await?;\n\nassert_eq!(writer, b\"\\x00\\x00\\x01\\x0b\\x47\\xd9\\x3d\\x66\");\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"WriteU32","id":1572,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5095":{"id":5095,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7184":{"id":7184,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5422":{"id":5422,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7511":{"id":7511,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3987":{"id":3987,"crate_id":0,"name":null,"span":{"filename":"src/runtime/builder.rs","begin":[250,1],"end":[1751,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[3937,3936,3942,3943,3945,3946,3948,3949,3950,3951,3953,3954,3955,3956,3957,3958,3960,3961,3962,3935,3940,3947,3965,3966,3970,3972,3973,3979,3980,3977,3985,3986],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2225":{"id":2225,"crate_id":0,"name":"local_addr","span":{"filename":"src/net/tcp/socket.rs","begin":[768,5],"end":[770,6]},"visibility":"public","docs":"Gets the local address of this socket.\n\nWill fail on windows if called before `bind`.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpSocket;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let addr = \"127.0.0.1:8080\".parse().unwrap();\n\n    let socket = TcpSocket::new_v4()?;\n    socket.bind(addr)?;\n    assert_eq!(socket.local_addr().unwrap().to_string(), \"127.0.0.1:8080\");\n    let listener = socket.listen(1024)?;\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"463":{"id":463,"crate_id":0,"name":"set_permissions","span":{"filename":"src/fs/set_permissions.rs","begin":[12,1],"end":[15,2]},"visibility":"public","docs":"Changes the permissions found on a file or a directory.\n\nThis is an async version of [`std::fs::set_permissions`][std]\n\n[std]: fn@std::fs::set_permissions","links":{"fn@std::fs::set_permissions":462},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}],["perm",{"resolved_path":{"path":"std::fs::Permissions","id":223,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5749":{"id":5749,"crate_id":0,"name":"drop","span":{"filename":"src/sync/mutex.rs","begin":[965,5],"end":[975,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6076":{"id":6076,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2552":{"id":2552,"crate_id":0,"name":"multicast_loop_v6","span":{"filename":"src/net/udp.rs","begin":[1960,5],"end":[1962,6]},"visibility":"public","docs":"Gets the value of the `IPV6_MULTICAST_LOOP` option for this socket.\n\nFor more information about this option, see [`set_multicast_loop_v6`].\n\n[`set_multicast_loop_v6`]: method@Self::set_multicast_loop_v6","links":{"method@Self::set_multicast_loop_v6":2551},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"bool"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"790":{"id":790,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/util/empty.rs","begin":[119,5],"end":[121,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4314":{"id":4314,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4641":{"id":4641,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[143,26],"end":[143,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2879":{"id":2879,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1117":{"id":1117,"crate_id":0,"name":"AsyncFdReadyGuard","span":{"filename":"src/io/async_fd.rs","begin":[194,1],"end":[197,2]},"visibility":"public","docs":"Represents an IO-ready event detected on a particular file descriptor that\nhas not yet been acknowledged. This is a `must_use` structure to help ensure\nthat you do not forget to explicitly clear (or not clear) the event.\n\nThis type exposes an immutable reference to the underlying IO object.","links":{},"attrs":[{"must_use":{"reason":"You must explicitly choose whether to clear the readiness state by calling a method on ReadyGuard"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1182,1183,1184,1185,1186,1187,1188,1189,1190,1191,1192,1193,1194,1195,1196,1197,1198,1200]}}},"6403":{"id":6403,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6730":{"id":6730,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1444":{"id":1444,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5295":{"id":5295,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3533":{"id":3533,"crate_id":0,"name":"try_into","span":{"filename":"src/process/mod.rs","begin":[1602,5],"end":[1604,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Stdio","id":3437,"args":null}}},{"type":{"qualified_path":{"name":"Error","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":173,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1771":{"id":1771,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_seek_ext.rs","begin":[96,1],"end":[96,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"S","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"S"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncSeek","id":199,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["seek","rewind","stream_position"],"trait":{"path":"AsyncSeekExt","id":238,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"S"}}}},"7384":{"id":7384,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[179,1],"end":[185,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sub","id":1039,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[7382,7383],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5622":{"id":5622,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[81,25],"end":[81,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[5621],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2098":{"id":2098,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[281,26],"end":[281,30]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"join::Join","name":"Join","id":561,"is_glob":false}}},"336":{"id":336,"crate_id":0,"name":"custom_flags","span":{"filename":"src/fs/open_options.rs","begin":[638,9],"end":[655,10]},"visibility":"public","docs":"Passes custom flags to the `flags` argument of `open`.\n\nThe bits that define the access mode are masked out with `O_ACCMODE`, to\nensure they do not interfere with the access mode set by Rusts options.\n\nCustom flags can only set flags, not remove flags set by Rusts options.\nThis options overwrites any previously set custom flags.\n\n# Examples\n\n```no_run\nuse tokio::fs::OpenOptions;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut options = OpenOptions::new();\n    options.write(true);\n    if cfg!(unix) {\n        options.custom_flags(libc::O_NOFOLLOW);\n    }\n    let file = options.open(\"foo.txt\").await?;\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["flags",{"primitive":"i32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3860":{"id":3860,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/trace/mod.rs","begin":[64,14],"end":[64,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[3859],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5949":{"id":5949,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[379,10],"end":[379,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[5948],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4187":{"id":4187,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2425":{"id":2425,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6276":{"id":6276,"crate_id":0,"name":"try_map","span":{"filename":"src/sync/rwlock/owned_read_guard.rs","begin":[123,5],"end":[140,6]},"visibility":"public","docs":"Attempts to make a new [`OwnedRwLockReadGuard`] for a component of the\nlocked data. The original guard is returned if the closure returns\n`None`.\n\nThis operation cannot fail as the `OwnedRwLockReadGuard` passed in\nalready locked the data.\n\nThis is an associated function that needs to be used as\n`OwnedRwLockReadGuard::try_map(..)`. A method would interfere with\nmethods of the same name on the contents of the locked data.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::{RwLock, OwnedRwLockReadGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(Foo(1)));\n\nlet guard = lock.read_owned().await;\nlet guard = OwnedRwLockReadGuard::try_map(guard, |f| Some(&f.0)).expect(\"should not fail\");\n\nassert_eq!(1, *guard);\n# }\n```","links":{"`OwnedRwLockReadGuard`":6274},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"V"}}],"constraints":[]}}}}},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"V","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"U"}}}],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"V"}}}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2752":{"id":2752,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"990":{"id":990,"crate_id":0,"name":"is_read_closed","span":{"filename":"src/io/ready.rs","begin":[158,5],"end":[160,6]},"visibility":"public","docs":"Returns `true` if the value includes read-closed `readiness`.\n\n# Examples\n\n```\nuse tokio::io::Ready;\n\nassert!(!Ready::EMPTY.is_read_closed());\nassert!(!Ready::READABLE.is_read_closed());\nassert!(Ready::READ_CLOSED.is_read_closed());\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4514":{"id":4514,"crate_id":0,"name":"worker_park_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[186,9],"end":[192,10]},"visibility":"public","docs":"Returns the total number of times the given worker thread has parked.\n\nThe worker park count starts at zero when the runtime is created and\nincreases by one each time the worker parks the thread waiting for new\ninbound events to process. This usually means the worker has processed\nall pending work and is currently idle.\n\nThe counter is monotonically increasing. It is never decremented or\nreset to zero.\n\n# Arguments\n\n`worker` is the index of the worker being queried. The given value must\nbe between 0 and `num_workers()`. The index uniquely identifies a single\nworker and will continue to identify the worker throughout the lifetime\nof the runtime instance.\n\n# Panics\n\nThe method panics when `worker` represents an invalid worker, i.e. is\ngreater than or equal to `num_workers()`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.worker_park_count(0);\nprintln!(\"worker 0 parked {} times\", n);\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/macros/cfg.rs:292:19: 292:43 (#1688) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(target_has_atomic = \"64\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["worker",{"primitive":"usize"}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6603":{"id":6603,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[464,1],"end":[464,52]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4841":{"id":4841,"crate_id":0,"name":"CtrlC","span":{"filename":"src/signal/windows.rs","begin":[65,1],"end":[67,2]},"visibility":"public","docs":"Represents a listener which receives \"ctrl-c\" notifications sent to the process\nvia `SetConsoleCtrlHandler`.\n\nThis event can be turned into a `Stream` using [`CtrlCStream`].\n\n[`CtrlCStream`]: https://docs.rs/tokio-stream/latest/tokio_stream/wrappers/struct.CtrlCStream.html\n\nA notification to this process notifies *all* receivers for\nthis event. Moreover, the notifications **are coalesced** if they aren't processed\nquickly enough. This means that if two notifications are received back-to-back,\nthen the listener may only receive one item about the two notifications.","links":{},"attrs":[{"must_use":{"reason":"listeners do nothing unless polled"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4845,4846,4847,4848,4849,4850,4851,4852,4853,4854,4855,4856,4857,4858,4859,4860,4861,4863]}}},"3079":{"id":3079,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1317":{"id":1317,"crate_id":0,"name":"as_handle","span":{"filename":"src/io/stderr.rs","begin":[123,9],"end":[125,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedHandle","id":294,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6930":{"id":6930,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"IntoFuture","id":525,"args":null},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[3812,3813,3814],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"F"}}}},"5168":{"id":5168,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1644":{"id":1644,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_reader.rs","begin":[10,1],"end":[35,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'__pin","kind":{"lifetime":{"outlives":[]}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"resolved_path":{"path":"$crate::__private::PinnedFieldsOf","id":1463,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"__Origin","id":1645,"args":{"angle_bracketed":{"args":[{"lifetime":"'__pin"},{"type":{"generic":"R"}}],"constraints":[]}}}}}],"constraints":[]}}}},"bounds":[{"trait_bound":{"trait":{"path":"$crate::__private::Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5495":{"id":5495,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[722,1],"end":[726,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5494],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3733":{"id":3733,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"209":{"id":209,"crate_id":0,"name":"write_all","span":{"filename":"src/io/util/async_write_ext.rs","begin":[387,9],"end":[392,10]},"visibility":"default","docs":"Attempts to write an entire buffer into this writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_all(&mut self, buf: &[u8]) -> io::Result<()>;\n```\n\nThis method will continuously call [`write`] until there is no more data\nto be written. This method will not return until the entire buffer\nhas been successfully written or such an error occurs. The first\nerror generated from this method will be returned.\n\n# Cancel safety\n\nThis method is not cancel safe. If it is used as a branch in\n[`tokio::select!`](crate::select) and another branch completes\nfirst, then the provided buffer may have been\npartially written, but future calls to `write_all` will start over\nfrom the beginning of the buffer.\n\n# Errors\n\nThis function will return the first error that [`write`] returns.\n\n# Examples\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, AsyncWriteExt};\nuse tokio::fs::File;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut file = File::create(\"foo.txt\").await?;\n\n    file.write_all(b\"some bytes\").await?;\n    file.flush().await?;\n    Ok(())\n}\n# }\n```\n\n[`write`]: AsyncWriteExt::write","links":{"AsyncWriteExt::write":316,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}],["src",{"borrowed_ref":{"lifetime":"'a","is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"WriteAll","id":1562,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1971":{"id":1971,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4060":{"id":4060,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2298":{"id":2298,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5822":{"id":5822,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1251,1],"end":[1263,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5821],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6149":{"id":6149,"crate_id":0,"name":null,"span":{"filename":"src/sync/batch_semaphore.rs","begin":[751,1],"end":[758,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[6148],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4387":{"id":4387,"crate_id":0,"name":"CurrentThread","span":{"filename":"src/runtime/runtime.rs","begin":[115,5],"end":[115,18]},"visibility":"default","docs":"The flavor that executes all tasks on the current thread.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"863":{"id":863,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1699,5],"end":[1705,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4714":{"id":4714,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2952":{"id":2952,"crate_id":0,"name":"gid","span":{"filename":"src/net/unix/ucred.rs","begin":[21,5],"end":[23,6]},"visibility":"public","docs":"Gets GID (group ID) of the process.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"unix::gid_t","id":2953,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1190":{"id":1190,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6803":{"id":6803,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5041":{"id":5041,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1517":{"id":1517,"crate_id":0,"name":"read_f32","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an 32-bit floating point type in big-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_f32(&mut self) -> io::Result<f32>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead 32-bit floating point type from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![0xff, 0x7f, 0xff, 0xff]);\n\nassert_eq!(f32::MIN, reader.read_f32().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadF32","id":1518,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3279":{"id":3279,"crate_id":0,"name":"fmt","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2372,10],"end":[2372,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5368":{"id":5368,"crate_id":0,"name":"same_channel","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1915,5],"end":[1920,6]},"visibility":"public","docs":"Returns `true` if permits belong to the same channel.\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = mpsc::channel::<()>(2);\n\nlet permit1 = tx.clone().reserve_owned().await.unwrap();\nlet permit2 = tx.clone().reserve_owned().await.unwrap();\nassert!(permit1.same_channel(&permit2));\n\nlet (tx2, rx2) = mpsc::channel::<()>(1);\n\nlet permit3 = tx2.clone().reserve_owned().await.unwrap();\nassert!(!permit3.same_channel(&permit2));\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3606":{"id":3606,"crate_id":0,"name":"fmt","span":{"filename":"src/process/mod.rs","begin":[1499,10],"end":[1499,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7130":{"id":7130,"crate_id":0,"name":"spawn_local_on","span":{"filename":"src/task/join_set.rs","begin":[206,5],"end":[212,6]},"visibility":"public","docs":"Spawn the provided task on the provided [`LocalSet`] and store it in\nthis `JoinSet`, returning an [`AbortHandle`] that can be used to\nremotely cancel the task.\n\nUnlike the [`spawn_local`] method, this method may be used to spawn local\ntasks on a `LocalSet` that is _not_ currently running. The provided\nfuture will start running whenever the `LocalSet` is next started.\n\n[`LocalSet`]: crate::task::LocalSet\n[`AbortHandle`]: crate::task::AbortHandle\n[`spawn_local`]: Self::spawn_local","links":{"crate::task::AbortHandle":3723,"crate::task::LocalSet":3939,"Self::spawn_local":7129},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["task",{"generic":"F"}],["local_set",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}}}}]],"output":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Output","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7457":{"id":7457,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5695":{"id":5695,"crate_id":0,"name":"try_lock","span":{"filename":"src/sync/mutex.rs","begin":[682,5],"end":[703,6]},"visibility":"public","docs":"Attempts to acquire the lock, and returns [`TryLockError`] if the\nlock is currently held somewhere else.\n\n[`TryLockError`]: TryLockError\n# Examples\n\n```\nuse tokio::sync::Mutex;\n# async fn dox() -> Result<(), tokio::sync::TryLockError> {\n\nlet mutex = Mutex::new(1);\n\nlet n = mutex.try_lock()?;\nassert_eq!(*n, 1);\n# Ok(())\n# }\n```","links":{"TryLockError":5694},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2171":{"id":2171,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"409":{"id":409,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6022":{"id":6022,"crate_id":0,"name":"TryRecvError","span":{"filename":"src/sync/oneshot.rs","begin":[352,5],"end":[358,6]},"visibility":"public","docs":"Error returned by the `try_recv` function on `Receiver`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[],"where_predicates":[]},"has_stripped_variants":false,"variants":[6020,6021],"impls":[6023,6024,6025,6026,6027,6028,6029,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6043,6044,6045,6047,6049,6051,6052]}}},"4260":{"id":4260,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2498":{"id":2498,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/mod.rs","begin":[13,38],"end":[13,52]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"split_owned::OwnedWriteHalf","name":"OwnedWriteHalf","id":823,"is_glob":false}}},"736":{"id":736,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[379,5],"end":[381,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6349":{"id":6349,"crate_id":0,"name":"drop","span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[448,5],"end":[459,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2825":{"id":2825,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1063":{"id":1063,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"E","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"E"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4587":{"id":4587,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6676":{"id":6676,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[117,1],"end":[121,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"PartialEq","id":966,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6675],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3152":{"id":3152,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[927,1],"end":[931,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawHandle","id":292,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[3151],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1390":{"id":1390,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7003":{"id":7003,"crate_id":0,"name":"id","span":{"filename":"src/task/local.rs","begin":[859,5],"end":[861,6]},"visibility":"public","docs":"Returns the [`Id`] of the current [`LocalSet`] runtime.\n\n# Examples\n\n```rust\nuse tokio::task;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet local_set = task::LocalSet::new();\nprintln!(\"Local set id: {}\", local_set.id());\n# }\n```\n\n[`Id`]: struct@crate::runtime::Id","links":{"struct@crate::runtime::Id":4281,"`LocalSet`":3939},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"runtime::Id","id":4281,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3479":{"id":3479,"crate_id":0,"name":"raw_handle","span":{"filename":"src/process/mod.rs","begin":[1232,9],"end":[1237,10]},"visibility":"public","docs":"Extracts the raw handle of the process associated with this child while\nit is still running. Returns `None` if the child has exited.","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#615) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#615) }], src/macros/cfg.rs:42:26: 42:39 (#615)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#615) }], src/macros/cfg.rs:42:22: 42:49 (#615))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"RawHandle","id":290,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5241":{"id":5241,"crate_id":0,"name":"try_reserve_many","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1434,5],"end":[1449,6]},"visibility":"public","docs":"Tries to acquire `n` slots in the channel without waiting for the slot to become\navailable.\n\nA [`PermitIterator`] is returned to track the reserved capacity.\nYou can call this [`Iterator`] until it is exhausted to\nget a [`Permit`] and then call [`Permit::send`]. This function is similar to\n[`reserve_many`] except it does not await for the slots to become available.\n\nIf there are fewer than `n` permits available on the channel, then\nthis function will return a [`TrySendError::Full`]. If the channel is closed\nthis function will return a [`TrySendError::Closed`].\n\nDropping [`PermitIterator`] without consuming it entirely releases the remaining\npermits back to the channel.\n\n[`PermitIterator`]: PermitIterator\n[`send`]: Permit::send\n[`reserve_many`]: Sender::reserve_many\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(2);\n\n// Reserve capacity\nlet mut permit = tx.try_reserve_many(2).unwrap();\n\n// Trying to send directly on the `tx` will fail due to no\n// available capacity.\nassert!(tx.try_send(123).is_err());\n\n// Trying to reserve an additional slot on the `tx` will\n// fail because there is no capacity.\nassert!(tx.try_reserve().is_err());\n\n// Sending with the permit iterator succeeds\npermit.next().unwrap().send(456);\npermit.next().unwrap().send(457);\n\n// The iterator should now be exhausted\nassert!(permit.next().is_none());\n\n// The value sent on the permit is received\nassert_eq!(rx.recv().await.unwrap(), 456);\nassert_eq!(rx.recv().await.unwrap(), 457);\n\n// Trying to call try_reserve_many with 0 will return an empty iterator\nlet mut permit = tx.try_reserve_many(0).unwrap();\nassert!(permit.next().is_none());\n\n// Trying to call try_reserve_many with a number greater than the channel\n// capacity will return an error\nlet permit = tx.try_reserve_many(3);\nassert!(permit.is_err());\n\n// Trying to call try_reserve_many on a closed channel will return an error\ndrop(rx);\nlet permit = tx.try_reserve_many(1);\nassert!(permit.is_err());\n\nlet permit = tx.try_reserve_many(0);\nassert!(permit.is_err());\n# }\n```","links":{"`Permit`":5228,"Sender::reserve_many":5242,"`TrySendError::Full`":5248,"Permit::send":5239,"`Iterator`":2149,"`Permit::send`":5239,"`TrySendError::Closed`":5249,"PermitIterator":5240},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["n",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5568":{"id":5568,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3806":{"id":3806,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"282":{"id":282,"crate_id":0,"name":"from_raw_fd","span":{"filename":"src/fs/file.rs","begin":[925,5],"end":[929,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["fd",{"resolved_path":{"path":"std::os::unix::io::RawFd","id":275,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2044":{"id":2044,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[8,5],"end":[8,42]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"async_read_ext::AsyncReadExt","name":"AsyncReadExt","id":202,"is_glob":false}}},"7330":{"id":7330,"crate_id":0,"name":"from_std","span":{"filename":"src/time/instant.rs","begin":[53,5],"end":[55,6]},"visibility":"public","docs":"Create a `tokio::time::Instant` from a `std::time::Instant`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["std",{"resolved_path":{"path":"std::time::Instant","id":7331,"args":null}}]],"output":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4133":{"id":4133,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2371":{"id":2371,"crate_id":0,"name":"as_ref","span":{"filename":"src/net/tcp/split_owned.rs","begin":[498,5],"end":[500,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"TcpStream","id":634,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"609":{"id":609,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/util/buf_writer.rs","begin":[270,5],"end":[276,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5895":{"id":5895,"crate_id":0,"name":"Semaphore","span":{"filename":"src/sync/semaphore.rs","begin":[427,1],"end":[432,2]},"visibility":"public","docs":"Counting semaphore performing asynchronous permit acquisition.\n\nA semaphore maintains a set of permits. Permits are used to synchronize\naccess to a shared resource. A semaphore differs from a mutex in that it\ncan allow more than one concurrent caller to access the shared resource at a\ntime.\n\nWhen `acquire` is called and the semaphore has remaining permits, the\nfunction immediately returns a permit. However, if no remaining permits are\navailable, `acquire` (asynchronously) waits until an outstanding permit is\ndropped. At this point, the freed permit is assigned to the caller.\n\nThis `Semaphore` is fair, which means that permits are given out in the order\nthey were requested. This fairness is also applied when `acquire_many` gets\ninvolved, so if a call to `acquire_many` at the front of the queue requests\nmore permits than currently available, this can prevent a call to `acquire`\nfrom completing, even if the semaphore has enough permits complete the call\nto `acquire`.\n\nTo use the `Semaphore` in a poll function, you can use the [`PollSemaphore`]\nutility.\n\n# Memory ordering\n\nIf a task writes some data and then releases a permit, any task that later\nacquires a permit is guaranteed to see that data. This makes it safe to use\na semaphore to hand data off between tasks through shared state.\n\nStated more precisely in terms of atomic memory orderings: acquiring a\npermit (via [`acquire`], [`acquire_many`], [`try_acquire`],\n[`try_acquire_many`], or their `_owned` variants), releasing permits (by\ndropping a [`SemaphorePermit`] or [`OwnedSemaphorePermit`], or by calling\n[`add_permits`] or [`forget_permits`]), and closing the semaphore (via\n[`close`]) are all `AcqRel` operations. They are totally ordered, and each\none synchronizes-with all such operations that precede it, giving the same\nguarantees as `AcqRel` operations on a single atomic.\n\nA failed acquisition attempt (including [`TryAcquireError::NoPermits`] and\n[`TryAcquireError::Closed`]), along with the [`available_permits`] and\n[`is_closed`] methods, behave like an `Acquire` load.\n\n[`acquire`]: Semaphore::acquire\n[`acquire_many`]: Semaphore::acquire_many\n[`try_acquire`]: Semaphore::try_acquire\n[`try_acquire_many`]: Semaphore::try_acquire_many\n[`add_permits`]: Semaphore::add_permits\n[`forget_permits`]: Semaphore::forget_permits\n[`close`]: Semaphore::close\n[`available_permits`]: Semaphore::available_permits\n[`is_closed`]: Semaphore::is_closed\n\n# Examples\n\nBasic usage:\n\n```\nuse tokio::sync::{Semaphore, TryAcquireError};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet semaphore = Semaphore::new(3);\n\nlet a_permit = semaphore.acquire().await.unwrap();\nlet two_permits = semaphore.acquire_many(2).await.unwrap();\n\nassert_eq!(semaphore.available_permits(), 0);\n\nlet permit_attempt = semaphore.try_acquire();\nassert_eq!(permit_attempt.err(), Some(TryAcquireError::NoPermits));\n# }\n```\n\n## Limit the number of simultaneously opened files in your program\n\nMost operating systems have limits on the number of open file\nhandles. Even in systems without explicit limits, resource constraints\nimplicitly set an upper bound on the number of open files. If your\nprogram attempts to open a large number of files and exceeds this\nlimit, it will result in an error.\n\nThis example uses a Semaphore with 100 permits. By acquiring a permit from\nthe Semaphore before accessing a file, you ensure that your program opens\nno more than 100 files at a time. When trying to open the 101st\nfile, the program will wait until a permit becomes available before\nproceeding to open another file.\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::io::Result;\nuse tokio::fs::File;\nuse tokio::sync::Semaphore;\nuse tokio::io::AsyncWriteExt;\n\nstatic PERMITS: Semaphore = Semaphore::const_new(100);\n\nasync fn write_to_file(message: &[u8]) -> Result<()> {\n    let _permit = PERMITS.acquire().await.unwrap();\n    let mut buffer = File::create(\"example.txt\").await?;\n    buffer.write_all(message).await?;\n    Ok(()) // Permit goes out of scope here, and is available again for acquisition\n}\n# }\n```\n\n## Limit the number of outgoing requests being sent at the same time\n\nIn some scenarios, it might be required to limit the number of outgoing\nrequests being sent in parallel. This could be due to limits of a consumed\nAPI or the network resources of the system the application is running on.\n\nThis example uses an `Arc<Semaphore>` with 10 permits. Each task spawned is\ngiven a reference to the semaphore by cloning the `Arc<Semaphore>`. Before\na task sends a request, it must acquire a permit from the semaphore by\ncalling [`Semaphore::acquire`]. This ensures that at most 10 requests are\nsent in parallel at any given time. After a task has sent a request, it\ndrops the permit to allow other tasks to send requests.\n\n```\nuse std::sync::Arc;\nuse tokio::sync::Semaphore;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\n// Define maximum number of parallel requests.\nlet semaphore = Arc::new(Semaphore::new(5));\n// Spawn many tasks that will send requests.\nlet mut jhs = Vec::new();\nfor task_id in 0..50 {\n    let semaphore = semaphore.clone();\n    let jh = tokio::spawn(async move {\n        // Acquire permit before sending request.\n        let _permit = semaphore.acquire().await.unwrap();\n        // Send the request.\n        let response = send_request(task_id).await;\n        // Drop the permit after the request has been sent.\n        drop(_permit);\n        // Handle response.\n        // ...\n\n        response\n    });\n    jhs.push(jh);\n}\n// Collect responses from tasks.\nlet mut responses = Vec::new();\nfor jh in jhs {\n    let response = jh.await.unwrap();\n    responses.push(response);\n}\n// Process responses.\n// ...\n# }\n# async fn send_request(task_id: usize) {\n#     // Send request.\n# }\n```\n\n## Limit the number of incoming requests being handled at the same time\n\nSimilar to limiting the number of simultaneously opened files, network handles\nare a limited resource. Allowing an unbounded amount of requests to be processed\ncould result in a denial-of-service, among many other issues.\n\nThis example uses an `Arc<Semaphore>` instead of a global variable.\nTo limit the number of requests that can be processed at the time,\nwe acquire a permit for each task before spawning it. Once acquired,\na new task is spawned; and once finished, the permit is dropped inside\nof the task to allow others to spawn. Permits must be acquired via\n[`Semaphore::acquire_owned`] to be movable across the task boundary.\n(Since our semaphore is not a global variable — if it was, then `acquire` would be enough.)\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::sync::Arc;\nuse tokio::sync::Semaphore;\nuse tokio::net::TcpListener;\n\n#[tokio::main]\nasync fn main() -> std::io::Result<()> {\n    let semaphore = Arc::new(Semaphore::new(3));\n    let listener = TcpListener::bind(\"127.0.0.1:8080\").await?;\n\n    loop {\n        // Acquire permit before accepting the next socket.\n        //\n        // We use `acquire_owned` so that we can move `permit` into\n        // other tasks.\n        let permit = semaphore.clone().acquire_owned().await.unwrap();\n        let (mut socket, _) = listener.accept().await?;\n\n        tokio::spawn(async move {\n            // Do work using the socket.\n            handle_connection(&mut socket).await;\n            // Drop socket while the permit is still live.\n            drop(socket);\n            // Drop the permit, so more tasks can be created.\n            drop(permit);\n        });\n    }\n}\n# async fn handle_connection(_socket: &mut tokio::net::TcpStream) {\n#   // Do work\n# }\n# }\n```\n\n## Prevent tests from running in parallel\n\nBy default, Rust runs tests in the same file in parallel. However, in some\ncases, running two tests in parallel may lead to problems. For example, this\ncan happen when tests use the same database.\n\nConsider the following scenario:\n1. `test_insert`: Inserts a key-value pair into the database, then retrieves\n   the value using the same key to verify the insertion.\n2. `test_update`: Inserts a key, then updates the key to a new value and\n   verifies that the value has been accurately updated.\n3. `test_others`: A third test that doesn't modify the database state. It\n   can run in parallel with the other tests.\n\nIn this example, `test_insert` and `test_update` need to run in sequence to\nwork, but it doesn't matter which test runs first. We can leverage a\nsemaphore with a single permit to address this challenge.\n\n```\n# use tokio::sync::Mutex;\n# use std::collections::BTreeMap;\n# struct Database {\n#   map: Mutex<BTreeMap<String, i32>>,\n# }\n# impl Database {\n#    pub const fn setup() -> Database {\n#        Database {\n#            map: Mutex::const_new(BTreeMap::new()),\n#        }\n#    }\n#    pub async fn insert(&self, key: &str, value: i32) {\n#        self.map.lock().await.insert(key.to_string(), value);\n#    }\n#    pub async fn update(&self, key: &str, value: i32) {\n#        self.map.lock().await\n#            .entry(key.to_string())\n#            .and_modify(|origin| *origin = value);\n#    }\n#    pub async fn delete(&self, key: &str) {\n#        self.map.lock().await.remove(key);\n#    }\n#    pub async fn get(&self, key: &str) -> i32 {\n#        *self.map.lock().await.get(key).unwrap()\n#    }\n# }\nuse tokio::sync::Semaphore;\n\n// Initialize a static semaphore with only one permit, which is used to\n// prevent test_insert and test_update from running in parallel.\nstatic PERMIT: Semaphore = Semaphore::const_new(1);\n\n// Initialize the database that will be used by the subsequent tests.\nstatic DB: Database = Database::setup();\n\n#[tokio::test]\n# async fn fake_test_insert() {}\nasync fn test_insert() {\n    // Acquire permit before proceeding. Since the semaphore has only one permit,\n    // the test will wait if the permit is already acquired by other tests.\n    let permit = PERMIT.acquire().await.unwrap();\n\n    // Do the actual test stuff with database\n\n    // Insert a key-value pair to database\n    let (key, value) = (\"name\", 0);\n    DB.insert(key, value).await;\n\n    // Verify that the value has been inserted correctly.\n    assert_eq!(DB.get(key).await, value);\n\n    // Undo the insertion, so the database is empty at the end of the test.\n    DB.delete(key).await;\n\n    // Drop permit. This allows the other test to start running.\n    drop(permit);\n}\n\n#[tokio::test]\n# async fn fake_test_update() {}\nasync fn test_update() {\n    // Acquire permit before proceeding. Since the semaphore has only one permit,\n    // the test will wait if the permit is already acquired by other tests.\n    let permit = PERMIT.acquire().await.unwrap();\n\n    // Do the same insert.\n    let (key, value) = (\"name\", 0);\n    DB.insert(key, value).await;\n\n    // Update the existing value with a new one.\n    let new_value = 1;\n    DB.update(key, new_value).await;\n\n    // Verify that the value has been updated correctly.\n    assert_eq!(DB.get(key).await, new_value);\n\n    // Undo any modificattion.\n    DB.delete(key).await;\n\n    // Drop permit. This allows the other test to start running.\n    drop(permit);\n}\n\n#[tokio::test]\n# async fn fake_test_others() {}\nasync fn test_others() {\n    // This test can run in parallel with test_insert and test_update,\n    // so it does not use PERMIT.\n}\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\n#   test_insert().await;\n#   test_update().await;\n#   test_others().await;\n# }\n```\n\n## Rate limiting using a token bucket\n\nThis example showcases the [`add_permits`] and [`SemaphorePermit::forget`] methods.\n\nMany applications and systems have constraints on the rate at which certain\noperations should occur. Exceeding this rate can result in suboptimal\nperformance or even errors.\n\nThis example implements rate limiting using a [token bucket]. A token bucket is a form of rate\nlimiting that doesn't kick in immediately, to allow for short bursts of incoming requests that\narrive at the same time.\n\nWith a token bucket, each incoming request consumes a token, and the tokens are refilled at a\ncertain rate that defines the rate limit. When a burst of requests arrives, tokens are\nimmediately given out until the bucket is empty. Once the bucket is empty, requests will have to\nwait for new tokens to be added.\n\nUnlike the example that limits how many requests can be handled at the same time, we do not add\ntokens back when we finish handling a request. Instead, tokens are added only by a timer task.\n\nNote that this implementation is suboptimal when the duration is small, because it consumes a\nlot of cpu constantly looping and sleeping.\n\n[token bucket]: https://en.wikipedia.org/wiki/Token_bucket\n[`add_permits`]: crate::sync::Semaphore::add_permits\n[`SemaphorePermit::forget`]: crate::sync::SemaphorePermit::forget\n```\nuse std::sync::Arc;\nuse tokio::sync::Semaphore;\nuse tokio::time::{interval, Duration};\n\nstruct TokenBucket {\n    sem: Arc<Semaphore>,\n    jh: tokio::task::JoinHandle<()>,\n}\n\nimpl TokenBucket {\n    fn new(duration: Duration, capacity: usize) -> Self {\n        let sem = Arc::new(Semaphore::new(capacity));\n\n        // refills the tokens at the end of each interval\n        let jh = tokio::spawn({\n            let sem = sem.clone();\n            let mut interval = interval(duration);\n            interval.set_missed_tick_behavior(tokio::time::MissedTickBehavior::Skip);\n\n            async move {\n                loop {\n                    interval.tick().await;\n\n                    if sem.available_permits() < capacity {\n                        sem.add_permits(1);\n                    }\n                }\n            }\n        });\n\n        Self { jh, sem }\n    }\n\n    async fn acquire(&self) {\n        // This can return an error if the semaphore is closed, but we\n        // never close it, so this error can never happen.\n        let permit = self.sem.acquire().await.unwrap();\n        // To avoid releasing the permit back to the semaphore, we use\n        // the `SemaphorePermit::forget` method.\n        permit.forget();\n    }\n}\n\nimpl Drop for TokenBucket {\n    fn drop(&mut self) {\n        // Kill the background task so it stops taking up resources when we\n        // don't need it anymore.\n        self.jh.abort();\n    }\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn _hidden() {}\n# #[tokio::main(flavor = \"current_thread\", start_paused = true)]\n# async fn main() {\nlet capacity = 5;\nlet update_interval = Duration::from_secs_f32(1.0 / capacity as f32);\nlet bucket = TokenBucket::new(update_interval, capacity);\n\nfor _ in 0..5 {\n    bucket.acquire().await;\n\n    // do the operation\n}\n# }\n```\n\n[`PollSemaphore`]: https://docs.rs/tokio-util/latest/tokio_util/sync/struct.PollSemaphore.html\n[`Semaphore::acquire_owned`]: crate::sync::Semaphore::acquire_owned","links":{"Semaphore::is_closed":6186,"Semaphore::try_acquire_many":6180,"`OwnedSemaphorePermit`":6182,"Semaphore::try_acquire":6123,"`TryAcquireError::NoPermits`":6122,"Semaphore::add_permits":6183,"Semaphore::available_permits":6185,"Semaphore::acquire_many":6179,"`Semaphore::acquire`":6152,"Semaphore::forget_permits":6184,"`TryAcquireError::Closed`":6121,"crate::sync::Semaphore::acquire_owned":6187,"Semaphore::acquire":6152,"`SemaphorePermit`":6181,"crate::sync::SemaphorePermit::forget":6188,"Semaphore::close":6120},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,6206,6207,6208,6209,6210,6212]}}},"6222":{"id":6222,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4460":{"id":4460,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"936":{"id":936,"crate_id":0,"name":"remove","span":{"filename":"src/io/interest.rs","begin":[195,5],"end":[203,6]},"visibility":"public","docs":"Remove `Interest` from `self`.\n\nInterests present in `other` but *not* in `self` are ignored.\n\nReturns `None` if the set would be empty after removing `Interest`.\n\n# Examples\n\n```\nuse tokio::io::Interest;\n\nconst RW_INTEREST: Interest = Interest::READABLE.add(Interest::WRITABLE);\n\nlet w_interest = RW_INTEREST.remove(Interest::READABLE).unwrap();\nassert!(!w_interest.is_readable());\nassert!(w_interest.is_writable());\n\n// Removing all interests from the set returns `None`.\nassert_eq!(w_interest.remove(Interest::WRITABLE), None);\n\n// Remove all interests at once.\nassert_eq!(RW_INTEREST.remove(RW_INTEREST), None);\n```","links":{},"attrs":[{"must_use":{"reason":"this returns the result of the operation, without modifying the original"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["other",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Interest","id":924,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2698":{"id":2698,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/socket.rs","begin":[254,1],"end":[258,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[2697],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6549":{"id":6549,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[1118,1],"end":[1130,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"std::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6548],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3025":{"id":3025,"crate_id":0,"name":"from_file","span":{"filename":"src/net/unix/pipe.rs","begin":[394,5],"end":[396,6]},"visibility":"public","docs":"Creates a new `Sender` from a [`File`].\n\nThis function is intended to construct a pipe from a [`File`] representing\na special FIFO file. It will check if the file is a pipe and has write access,\nset it in non-blocking mode and perform the conversion.\n\n# Errors\n\nFails with `io::ErrorKind::InvalidInput` if the file is not a pipe or it\ndoes not have write access. Also fails with any standard OS error if it occurs.\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"crate::runtime::Runtime::enter":1054,"`File`":198},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["file",{"resolved_path":{"path":"File","id":198,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Sender","id":856,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1263":{"id":1263,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4787":{"id":4787,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6876":{"id":6876,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5114":{"id":5114,"crate_id":0,"name":"clone","span":{"filename":"src/sync/broadcast.rs","begin":[325,36],"end":[325,41]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3352":{"id":3352,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5441":{"id":5441,"crate_id":0,"name":"downgrade","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[670,5],"end":[674,6]},"visibility":"public","docs":"Converts the `UnboundedSender` to a [`WeakUnboundedSender`] that does not count\ntowards RAII semantics, i.e. if all `UnboundedSender` instances of the\nchannel were dropped and only `WeakUnboundedSender` instances remain,\nthe channel is closed.","links":{"`WeakUnboundedSender`":5440},"attrs":[{"must_use":{"reason":"Downgrade creates a WeakSender without destroying the original non-weak sender."}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1917":{"id":1917,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"155":{"id":155,"crate_id":2,"name":"borrow","span":null,"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = RustcDiagnosticItem(\"noop_method_borrow\")]"}],"deprecation":null,"stability":null,"const_stability":{"feature":"const_convert","level":"unstable"},"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7530":{"id":7530,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[90,37],"end":[90,43]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"test-util\"), span: src/macros/cfg.rs:567:19: 567:40 (#4308) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"test-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"clock::resume","name":"resume","id":7255,"is_glob":false}}},"5768":{"id":5768,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2244":{"id":2244,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"482":{"id":482,"crate_id":0,"name":"symlink_file","span":{"filename":"src/fs/symlink_file.rs","begin":[14,1],"end":[19,2]},"visibility":"public","docs":"Creates a new file symbolic link on the filesystem.\n\nThe `link` path will be a file symbolic link pointing to the `original`\npath.\n\nThis is an async version of [`std::os::windows::fs::symlink_file`][std]\n\n[std]: https://doc.rust-lang.org/std/os/windows/fs/fn.symlink_file.html","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["original",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}],["link",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}},{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4006":{"id":4006,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4333":{"id":4333,"crate_id":0,"name":null,"span":{"filename":"src/runtime/handle.rs","begin":[696,1],"end":[721,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[4331,4332],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2571":{"id":2571,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"809":{"id":809,"crate_id":0,"name":"Sink","span":{"filename":"src/io/util/sink.rs","begin":[19,5],"end":[21,6]},"visibility":"public","docs":"An async writer which will move data into the void.\n\nThis struct is generally created by calling [`sink`][sink]. Please\nsee the documentation of `sink()` for more details.\n\nThis is an asynchronous version of [`std::io::Sink`][std].\n\n[sink]: sink()\n[std]: std::io::Sink","links":{"sink()":1940,"std::io::Sink":1941},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#392) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1958,808,1960]}}},"6095":{"id":6095,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[887,1],"end":[1243,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6061,6092,6093,6090,6094],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6422":{"id":6422,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/read_guard.rs","begin":[160,1],"end":[167,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6421],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4660":{"id":4660,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1136":{"id":1136,"crate_id":0,"name":"clear_ready_matching","span":{"filename":"src/io/async_fd.rs","begin":[1282,5],"end":[1295,6]},"visibility":"public","docs":"Indicates to tokio that the file descriptor no longer has a specific readiness.\nThe internal readiness flag will be cleared, and tokio will wait for the\nnext edge-triggered readiness notification from the OS.\n\nThis function is useful in combination with the [`AsyncFd::ready_mut`] method when a\ncombined interest like `Interest::READABLE | Interest::WRITABLE` is used.\n\nIt is critical that this function not be called unless your code\n_actually observes_ that the file descriptor is _not_ ready for the provided `Ready`.\nDo not call it simply because, for example, a read succeeded; it should be called\nwhen a read is observed to block. Only clear the specific readiness that is observed to\nblock. For example when a read blocks when using a combined interest,\nonly clear `Ready::READABLE`.\n\nThis method only clears readiness events that happened before the creation of this guard.\nIn other words, if the IO resource becomes ready between the creation of the guard and\nthis call to `clear_ready_matching`, then the readiness is not actually cleared.\n\n# Examples\n\nConcurrently read and write to a [`std::net::TcpStream`] on the same task without\nsplitting.\n\n```no_run\nuse std::error::Error;\nuse std::io;\nuse std::io::{Read, Write};\nuse std::net::TcpStream;\nuse tokio::io::unix::AsyncFd;\nuse tokio::io::{Interest, Ready};\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let stream = TcpStream::connect(\"127.0.0.1:8080\")?;\n    stream.set_nonblocking(true)?;\n    let mut stream = AsyncFd::new(stream)?;\n\n    loop {\n        let mut guard = stream\n            .ready_mut(Interest::READABLE | Interest::WRITABLE)\n            .await?;\n\n        if guard.ready().is_readable() {\n            let mut data = vec![0; 1024];\n            // Try to read data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match guard.get_inner_mut().read(&mut data) {\n                Ok(n) => {\n                    println!(\"read {} bytes\", n);\n                }\n                Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    // a read has blocked, but a write might still succeed.\n                    // clear only the read readiness.\n                    guard.clear_ready_matching(Ready::READABLE);\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n        }\n\n        if guard.ready().is_writable() {\n            // Try to write data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match guard.get_inner_mut().write(b\"hello world\") {\n                Ok(n) => {\n                    println!(\"write {} bytes\", n);\n                }\n                Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    // a write has blocked, but a read might still succeed.\n                    // clear only the write readiness.\n                    guard.clear_ready_matching(Ready::WRITABLE);\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n        }\n    }\n}\n```","links":{"`AsyncFd::ready_mut`":1138,"`std::net::TcpStream`":1120},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["ready",{"resolved_path":{"path":"Ready","id":978,"args":null}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2898":{"id":2898,"crate_id":0,"name":"try_read_buf","span":{"filename":"src/net/unix/stream.rs","begin":[508,9],"end":[526,10]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffer, advancing the\nbuffer's internal cursor, returning how many bytes were read.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_buf()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: UnixStream::readable()\n[`ready()`]: UnixStream::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the stream's read half is closed\nand will no longer yield data. If the stream is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::UnixStream;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let dir = tempfile::tempdir().unwrap();\n    let bind_path = dir.path().join(\"bind_path\");\n    let stream = UnixStream::connect(bind_path).await?;\n\n    loop {\n        // Wait for the socket to be readable\n        stream.readable().await?;\n\n        let mut buf = Vec::with_capacity(4096);\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match stream.try_read_buf(&mut buf) {\n            Ok(0) => break,\n            Ok(n) => {\n                println!(\"read {} bytes\", n);\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"UnixStream::readable()":2894,"UnixStream::ready()":2708},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#522) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"B","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"BufMut","id":919,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4987":{"id":4987,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6749":{"id":6749,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7076":{"id":7076,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5314":{"id":5314,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3552":{"id":3552,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5641":{"id":5641,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3879":{"id":3879,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2117":{"id":2117,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[287,63],"end":[287,68]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::Empty","name":"Empty","id":579,"is_glob":false}}},"7403":{"id":7403,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5968":{"id":5968,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2444":{"id":2444,"crate_id":0,"name":"try_read_buf","span":{"filename":"src/net/tcp/stream.rs","begin":[767,9],"end":[785,10]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffer, advancing the\nbuffer's internal cursor, returning how many bytes were read.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_buf()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: TcpStream::readable()\n[`ready()`]: TcpStream::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the stream's read half is closed\nand will no longer yield data. If the stream is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\n    loop {\n        // Wait for the socket to be readable\n        stream.readable().await?;\n\n        let mut buf = Vec::with_capacity(4096);\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match stream.try_read_buf(&mut buf) {\n            Ok(0) => break,\n            Ok(n) => {\n                println!(\"read {} bytes\", n);\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"TcpStream::readable()":2440,"TcpStream::ready()":2279},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#493) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"B","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"BufMut","id":919,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"682":{"id":682,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_stream.rs","begin":[179,1],"end":[187,2]},"visibility":"default","docs":"Seek to an offset, in bytes, in the underlying stream.\n\nThe position used for seeking with `SeekFrom::Current(_)` is the\nposition the underlying stream would be at if the `BufStream` had no\ninternal buffer.\n\nSeeking always discards the internal buffer, even if the seek position\nwould otherwise fall within it. This guarantees that calling\n`.into_inner()` immediately after a seek yields the underlying reader\nat the same position.\n\nSee [`AsyncSeek`] for more details.\n\nNote: In the edge case where you're seeking with `SeekFrom::Current(n)`\nwhere `n` minus the internal buffer length overflows an `i64`, two\nseeks will be performed instead of one. If the second seek returns\n`Err`, the underlying reader will be left at the same position it would\nhave if you called `seek` with `SeekFrom::Current(0)`.","links":{"`AsyncSeek`":199},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncSeek","id":199,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncSeek","id":199,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[680,681],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4206":{"id":4206,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[156,10],"end":[156,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[4205],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6295":{"id":6295,"crate_id":0,"name":"Target","span":{"filename":"src/sync/rwlock/owned_read_guard.rs","begin":[170,5],"end":[170,21]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"U"},"default_unstable":null}}},"4533":{"id":4533,"crate_id":0,"name":"worker_poll_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[820,9],"end":[826,10]},"visibility":"public","docs":"Returns the number of tasks the given worker thread has polled.\n\nThe worker poll count starts at zero when the runtime is created and\nincreases by one each time the worker polls a scheduled task.\n\nThe counter is monotonically increasing. It is never decremented or\nreset to zero.\n\n# Arguments\n\n`worker` is the index of the worker being queried. The given value must\nbe between 0 and `num_workers()`. The index uniquely identifies a single\nworker and will continue to identify the worker throughout the lifetime\nof the runtime instance.\n\n# Panics\n\nThe method panics when `worker` represents an invalid worker, i.e. is\ngreater than or equal to `num_workers()`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.worker_poll_count(0);\nprintln!(\"worker 0 has polled {} tasks\", n);\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/metrics/runtime.rs:578:13: 578:27 (#0) }, NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/runtime/metrics/runtime.rs:579:13: 579:37 (#0) }], src/runtime/metrics/runtime.rs:577:15: 580:10 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, target_has_atomic = \"64\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["worker",{"primitive":"usize"}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2771":{"id":2771,"crate_id":0,"name":"readable","span":{"filename":"src/net/unix/split_owned.rs","begin":[149,5],"end":[151,6]},"visibility":"public","docs":"Waits for the socket to become readable.\n\nThis function is equivalent to `ready(Interest::READABLE)` and is usually\npaired with `try_read()`.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read that fails with `WouldBlock` or\n`Poll::Pending`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1009":{"id":1009,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6622":{"id":6622,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3098":{"id":3098,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/pipe.rs","begin":[1476,1],"end":[1480,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[3097],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1336":{"id":1336,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4860":{"id":4860,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6949":{"id":6949,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5187":{"id":5187,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/broadcast.rs","begin":[1730,5],"end":[1732,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3425":{"id":3425,"crate_id":0,"name":"into_std","span":{"filename":"src/process/mod.rs","begin":[338,5],"end":[340,6]},"visibility":"public","docs":"Cheaply convert into a `std::process::Command`.\n\nNote that Tokio specific options will be lost. Currently, this only applies to [`kill_on_drop`].\n\n[`kill_on_drop`]: Command::kill_on_drop","links":{"Command::kill_on_drop":3424},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"StdCommand","id":3415,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1663":{"id":1663,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"RW"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7276":{"id":7276,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3752":{"id":3752,"crate_id":0,"name":"hash","span":{"filename":"src/runtime/task/id.rs","begin":[31,30],"end":[31,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["state",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"__H"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[{"name":"__H","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::hash::Hasher","id":2983,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5514":{"id":5514,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"228":{"id":228,"crate_id":0,"name":null,"span":{"filename":"src/fs/file.rs","begin":[125,1],"end":[594,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[207,210,211,213,214,201,215,216,217,219,220,221,222,226,227],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7603":{"id":7603,"crate_id":0,"name":"windows","span":{"filename":"src/doc/os.rs","begin":[6,1],"end":[6,16]},"visibility":"public","docs":"Platform-specific extensions to `std` for Windows.\n\nSee [`std::os::windows`](https://doc.rust-lang.org/std/os/windows/index.html).","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[7602],"is_stripped":false}}},"5841":{"id":5841,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":{"generic":"T"},"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4079":{"id":4079,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"555":{"id":555,"crate_id":0,"name":"consume","span":{"filename":"src/io/async_buf_read.rs","begin":[118,5],"end":[120,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["amt",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2317":{"id":2317,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4406":{"id":4406,"crate_id":0,"name":null,"span":{"filename":"src/runtime/runtime.rs","begin":[111,10],"end":[111,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[4405],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2644":{"id":2644,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"882":{"id":882,"crate_id":0,"name":"filled","span":{"filename":"src/io/read_buf.rs","begin":[64,5],"end":[69,6]},"visibility":"public","docs":"Returns a shared reference to the filled portion of the buffer.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6168":{"id":6168,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6495":{"id":6495,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4733":{"id":4733,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/mod.rs","begin":[26,65],"end":[26,77]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[allow(unreachable_pub)]"},{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1731) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"histogram::LogHistogram","name":"LogHistogram","id":3978,"is_glob":false}}},"1209":{"id":1209,"crate_id":0,"name":"get_inner_mut","span":{"filename":"src/io/async_fd.rs","begin":[1367,5],"end":[1369,6]},"visibility":"public","docs":"Returns a mutable reference to the backing object of the inner [`AsyncFd`].","links":{"`AsyncFd`":512},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Inner"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2971":{"id":2971,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5060":{"id":5060,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3298":{"id":3298,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6822":{"id":6822,"crate_id":0,"name":"send","span":{"filename":"src/sync/watch.rs","begin":[1064,5],"end":[1072,6]},"visibility":"public","docs":"Sends a new value via the channel, notifying all receivers.\n\nThis method fails if the channel is closed, which is the case when\nevery receiver has been dropped. It is possible to reopen the channel\nusing the [`subscribe`] method. However, when `send` fails, the value\nisn't made available for future receivers (but returned with the\n[`SendError`]).\n\nTo always make a new value available for future receivers, even if no\nreceiver currently exists, one of the other send methods\n([`send_if_modified`], [`send_modify`], or [`send_replace`]) can be\nused instead.\n\n[`subscribe`]: Sender::subscribe\n[`SendError`]: error::SendError\n[`send_if_modified`]: Sender::send_if_modified\n[`send_modify`]: Sender::send_modify\n[`send_replace`]: Sender::send_replace","links":{"error::SendError":6713,"Sender::subscribe":6818,"Sender::send_if_modified":6819,"Sender::send_modify":6820,"Sender::send_replace":6821},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["value",{"generic":"T"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"error::SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7149":{"id":7149,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5387":{"id":5387,"crate_id":0,"name":"drop","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1948,5],"end":[1956,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1863":{"id":1863,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5714":{"id":5714,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7476":{"id":7476,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2190":{"id":2190,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/listener.rs","begin":[418,5],"end":[422,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"super::TcpListener","id":2154,"args":null}},"items":[2189],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"428":{"id":428,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6041":{"id":6041,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2517":{"id":2517,"crate_id":0,"name":"writable","span":{"filename":"src/net/udp.rs","begin":[490,5],"end":[493,6]},"visibility":"public","docs":"Waits for the socket to become writable.\n\nThis function is equivalent to `ready(Interest::WRITABLE)` and is\nusually paired with `try_send()` or `try_send_to()`.\n\nThe function may complete without the socket being writable. This is a\nfalse-positive and attempting a `try_send()` will return with\n`io::ErrorKind::WouldBlock`.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to write that fails with `WouldBlock` or\n`Poll::Pending`.\n\n# Examples\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Bind socket\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n    socket.connect(\"127.0.0.1:8081\").await?;\n\n    loop {\n        // Wait for the socket to be writable\n        socket.writable().await?;\n\n        // Try to send data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match socket.try_send(b\"hello world\") {\n            Ok(n) => {\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e);\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"755":{"id":755,"crate_id":0,"name":"Stdout","span":{"filename":"src/io/stdout.rs","begin":[101,5],"end":[103,6]},"visibility":"public","docs":"A handle to the standard output stream of a process.\n\nConcurrent writes to stdout must be executed with care: Only individual\nwrites to this [`AsyncWrite`] are guaranteed to be intact. In particular\nyou should be aware that writes using [`write_all`] are not guaranteed\nto occur as a single write, so multiple threads writing data with\n[`write_all`] may result in interleaved output.\n\n# Warning\n\nEach call to [`stdout()`] creates a **new** handle with its own\ninternal state. Writes through different handles are not\ncoordinated, so creating a new handle in a loop can cause output\nto appear out of order:\n\n```no_run\n# use tokio::io::{self, AsyncWriteExt};\n# #[tokio::main]\n# async fn main() -> std::io::Result<()> {\n// WRONG: creates a new handle each iteration\nfor i in 0..10 {\n    let mut out = io::stdout();\n    out.write_all(b\"data\").await?;\n    out.write_all(b\"\\n\").await?;\n    // out is dropped here; its last write may still be\n    // running when the next iteration starts\n}\n# Ok(())\n# }\n```\n\nTo preserve order, create one handle outside the loop and\nreuse it:\n\n```no_run\n# use tokio::io::{self, AsyncWriteExt};\n# #[tokio::main]\n# async fn main() -> std::io::Result<()> {\nlet mut out = io::stdout();\nfor i in 0..10 {\n    out.write_all(b\"data\").await?;\n    out.write_all(b\"\\n\").await?;\n}\n# Ok(())\n# }\n```\n\nCreated by the [`stdout`] function.\n\n[`stdout`]: stdout()\n[`AsyncWrite`]: AsyncWrite\n[`write_all`]: crate::io::AsyncWriteExt::write_all()\n\n# Examples\n\n```\nuse tokio::io::{self, AsyncWriteExt};\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut stdout = io::stdout();\n    stdout.write_all(b\"Hello world!\").await?;\n    Ok(())\n}\n```\n\nThe following is an example of using `stdio` with loop.\n\n```\nuse tokio::io::{self, AsyncWriteExt};\n\n#[tokio::main]\nasync fn main() {\n    let messages = vec![\"hello\", \" world\\n\"];\n\n    // When you use `stdio` in a loop, it is recommended to create\n    // a single `stdio` instance outside the loop and call a write\n    // operation against that instance on each loop.\n    //\n    // Repeatedly creating `stdout` instances inside the loop and\n    // writing to that handle could result in mangled output since\n    // each write operation is handled by a different blocking thread.\n    let mut stdout = io::stdout();\n\n    for message in &messages {\n        stdout.write_all(message.as_bytes()).await.unwrap();\n        stdout.flush().await.unwrap();\n    }\n}\n```","links":{"crate::io::AsyncWriteExt::write_all()":209,"`stdout()`":1354,"AsyncWrite":225,"stdout()":1354},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:233:19: 233:37 (#223) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[1355,1356,1357,1358,1359,1360,1361,1362,1363,1364,1365,1366,1367,1368,1369,1370,1371,1373,1375,1377,1379,1381,754]}}},"4279":{"id":4279,"crate_id":0,"name":"runtime_flavor","span":{"filename":"src/runtime/handle.rs","begin":[461,5],"end":[467,6]},"visibility":"public","docs":"Returns the flavor of the current `Runtime`.\n\n# Examples\n\n```\nuse tokio::runtime::{Handle, RuntimeFlavor};\n\n#[tokio::main(flavor = \"current_thread\")]\nasync fn main() {\n  assert_eq!(RuntimeFlavor::CurrentThread, Handle::current().runtime_flavor());\n}\n```\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::{Handle, RuntimeFlavor};\n\n#[tokio::main(flavor = \"multi_thread\", worker_threads = 4)]\nasync fn main() {\n  assert_eq!(RuntimeFlavor::MultiThread, Handle::current().runtime_flavor());\n}\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4606":{"id":4606,"crate_id":0,"name":"from","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[151,5],"end":[153,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["value",{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2844":{"id":2844,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1082":{"id":1082,"crate_id":0,"name":"deref_mut","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[203,5],"end":[205,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"E"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6368":{"id":6368,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6695":{"id":6695,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3171":{"id":3171,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[982,1],"end":[1678,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[3157,3158,3159,3160,3161,3162,3163,3164,3165,3166,3167,3168,3169,3170],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1409":{"id":1409,"crate_id":0,"name":"is_pair_of","span":{"filename":"src/io/split.rs","begin":[105,5],"end":[107,6]},"visibility":"public","docs":"Checks if this `WriteHalf` and some `ReadHalf` were split from the same\nstream.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4933":{"id":4933,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5260":{"id":5260,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3498":{"id":3498,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1736":{"id":1736,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"7022":{"id":7022,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7349":{"id":7349,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3825":{"id":3825,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/join.rs","begin":[324,1],"end":[355,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Future","id":520,"args":null},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[3823,3824],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2063":{"id":2063,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[65,30],"end":[65,36]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"repeat::Repeat","name":"Repeat","id":623,"is_glob":false}}},"5587":{"id":5587,"crate_id":0,"name":"eq","span":{"filename":"src/sync/mpsc/error.rs","begin":[27,10],"end":[27,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5914":{"id":5914,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"628":{"id":628,"crate_id":0,"name":"ReadHalf","span":{"filename":"src/net/tcp/split.rs","begin":[33,1],"end":[33,40]},"visibility":"public","docs":"Borrowed read half of a [`TcpStream`], created by [`split`].\n\nReading from a `ReadHalf` is usually done using the convenience methods found on the\n[`AsyncReadExt`] trait.\n\n[`TcpStream`]: TcpStream\n[`split`]: TcpStream::split()\n[`AsyncReadExt`]: trait@crate::io::AsyncReadExt","links":{"TcpStream::split()":2272,"TcpStream":634,"trait@crate::io::AsyncReadExt":202},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"impls":[2286,2287,2288,2289,2290,2291,2292,2293,2294,2295,2296,2297,2298,2299,2300,2301,2302,2303,2305,627,2307]}}},"2390":{"id":2390,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6241":{"id":6241,"crate_id":0,"name":"forget","span":{"filename":"src/sync/semaphore.rs","begin":[1131,5],"end":[1133,6]},"visibility":"public","docs":"Forgets the permit **without** releasing it back to the semaphore.\nThis can be used to reduce the amount of permits available from a\nsemaphore.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::Semaphore;\n\nlet sem = Arc::new(Semaphore::new(10));\n{\n    let permit = sem.clone().try_acquire_many_owned(5).unwrap();\n    assert_eq!(sem.available_permits(), 5);\n    permit.forget();\n}\n\n// Since we forgot the permit, available permits won't go back to its initial value\n// even after the permit is dropped.\nassert_eq!(sem.available_permits(), 5);\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2717":{"id":2717,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"955":{"id":955,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4479":{"id":4479,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6568":{"id":6568,"crate_id":0,"name":"get_or_init","span":{"filename":"src/sync/once_cell.rs","begin":[350,5],"end":[385,6]},"visibility":"public","docs":"Gets the value currently in the `OnceCell`, or initialize it with the\ngiven asynchronous operation.\n\nIf some other task is currently working on initializing the `OnceCell`,\nthis call will wait for that other task to finish, then return the value\nthat the other task produced.\n\nIf the provided operation is cancelled or panics, the initialization\nattempt is cancelled. If there are other tasks waiting for the value to\nbe initialized, one of them will start another attempt at initializing\nthe value.\n\nThis will deadlock if `f` tries to initialize the cell recursively.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"Fut","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"Fut"}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"Fut"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Output","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4806":{"id":4806,"crate_id":0,"name":"eq","span":{"filename":"src/signal/unix.rs","begin":[78,36],"end":[78,45]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1282":{"id":1282,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[260,35],"end":[260,42]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"super::async_fd::AsyncFd","name":"AsyncFd","id":512,"is_glob":false}}},"3044":{"id":3044,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6895":{"id":6895,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[477,53],"end":[477,73]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"semaphore::OwnedSemaphorePermit","name":"OwnedSemaphorePermit","id":6182,"is_glob":false}}},"3371":{"id":3371,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2636,17],"end":[2636,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[3370],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1609":{"id":1609,"crate_id":0,"name":"Shutdown","span":{"filename":"src/io/util/shutdown.rs","begin":[10,1],"end":[23,2]},"visibility":"public","docs":"A future used to shutdown an I/O object.\n\nCreated by the [`AsyncWriteExt::shutdown`][shutdown] function.\n[shutdown]: [`crate::io::AsyncWriteExt::shutdown`]","links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"A","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"5133":{"id":5133,"crate_id":0,"name":"strong_count","span":{"filename":"src/sync/broadcast.rs","begin":[943,5],"end":[945,6]},"visibility":"public","docs":"Returns the number of [`Sender`] handles.","links":{"`Sender`":5023},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7222":{"id":7222,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5460":{"id":5460,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3698":{"id":3698,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"174":{"id":174,"crate_id":2,"name":"Error","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":{"feature":"const_convert","level":"unstable"},"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Infallible","id":175,"args":null}},"default_unstable":null}}},"4025":{"id":4025,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2263":{"id":2263,"crate_id":0,"name":"as_raw_socket","span":{"filename":"src/net/tcp/socket.rs","begin":[1041,9],"end":[1043,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawSocket","id":2192,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"501":{"id":501,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[260,1],"end":[260,40]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::remove_file::remove_file","name":"remove_file","id":457,"is_glob":false}}},"5787":{"id":5787,"crate_id":0,"name":"Target","span":{"filename":"src/sync/mutex.rs","begin":[1161,5],"end":[1161,21]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"T"},"default_unstable":null}}},"6114":{"id":6114,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[328,10],"end":[328,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6113],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4352":{"id":4352,"crate_id":0,"name":null,"span":{"filename":"src/runtime/handle.rs","begin":[691,10],"end":[691,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[4351],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"828":{"id":828,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/net/tcp/stream.rs","begin":[1513,5],"end":[1516,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2590":{"id":2590,"crate_id":0,"name":"as_fd","span":{"filename":"src/net/udp.rs","begin":[2337,9],"end":[2339,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4679":{"id":4679,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2917":{"id":2917,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1155":{"id":1155,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6441":{"id":6441,"crate_id":0,"name":"into_mapped","span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[335,5],"end":[337,6]},"visibility":"public","docs":"Converts this `RwLockWriteGuard` into an `RwLockMappedWriteGuard`. This\nmethod can be used to store a non-mapped guard in a struct field that\nexpects a mapped guard.\n\nThis is equivalent to calling `RwLockWriteGuard::map(guard, |me| me)`.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}]],"output":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6768":{"id":6768,"crate_id":0,"name":"clone","span":{"filename":"src/sync/watch.rs","begin":[358,21],"end":[358,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5006":{"id":5006,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1482":{"id":1482,"crate_id":0,"name":"fill_buf","span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[277,9],"end":[282,10]},"visibility":"default","docs":"Returns the contents of the internal buffer, filling it with more\ndata from the inner reader if it is empty.\n\nThis function is a lower-level call. It needs to be paired with the\n[`consume`] method to function properly. When calling this method,\nnone of the contents will be \"read\" in the sense that later calling\n`read` may return the same contents. As such, [`consume`] must be\ncalled with the number of bytes that are consumed from this buffer\nto ensure that the bytes are never returned twice.\n\nAn empty buffer returned indicates that the stream has reached EOF.\n\nEquivalent to:\n\n```ignore\nasync fn fill_buf(&mut self) -> io::Result<&[u8]>;\n```\n\n# Errors\n\nThis function will return an I/O error if the underlying reader was\nread, but returned an error.\n\n# Cancel safety\n\nThis method is cancel safe. If used as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, then it is guaranteed that no data was read.\n\n[`consume`]: crate::io::AsyncBufReadExt::consume","links":{"crate::io::AsyncBufReadExt::consume":1481,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"FillBuf","id":1483,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3244":{"id":3244,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7095":{"id":7095,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3571":{"id":3571,"crate_id":0,"name":"try_into","span":{"filename":"src/process/mod.rs","begin":[1610,5],"end":[1612,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Stdio","id":3437,"args":null}}},{"type":{"qualified_path":{"name":"Error","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":173,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1809":{"id":1809,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7422":{"id":7422,"crate_id":0,"name":null,"span":{"filename":"src/time/interval.rs","begin":[175,10],"end":[175,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[7421],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5660":{"id":5660,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[123,36],"end":[123,40]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::marker::Copy","id":959,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"374":{"id":374,"crate_id":0,"name":null,"span":{"filename":"src/fs/open_options.rs","begin":[843,1],"end":[853,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OpenOptions","id":310,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[373],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4225":{"id":4225,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2463":{"id":2463,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"701":{"id":701,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/async_write.rs","begin":[212,5],"end":[212,25]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6314":{"id":6314,"crate_id":0,"name":"OwnedRwLockMappedWriteGuard","span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[16,1],"end":[25,2]},"visibility":"public","docs":"Owned RAII structure used to release the exclusive write access of a lock when\ndropped.\n\nThis structure is created by [mapping] an [`OwnedRwLockWriteGuard`]. It is a\nseparate type from `OwnedRwLockWriteGuard` to disallow downgrading a mapped\nguard, since doing so can cause undefined behavior.\n\n[mapping]: method@crate::sync::OwnedRwLockWriteGuard::map\n[`OwnedRwLockWriteGuard`]: struct@crate::sync::OwnedRwLockWriteGuard","links":{"method@crate::sync::OwnedRwLockWriteGuard::map":6315,"struct@crate::sync::OwnedRwLockWriteGuard":6313},"attrs":[{"other":"#[clippy::has_significant_drop]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":{"generic":"T"},"is_synthetic":false}}}],"where_predicates":[]},"impls":[6362,6363,6364,6365,6366,6367,6368,6369,6370,6371,6372,6373,6374,6375,6376,6377,6378,6381,6383,6385,6387,6389,6390,6391]}}},"2790":{"id":2790,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1028":{"id":1028,"crate_id":0,"name":"bitor","span":{"filename":"src/io/ready.rs","begin":[277,5],"end":[279,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["other",{"resolved_path":{"path":"Ready","id":978,"args":null}}]],"output":{"resolved_path":{"path":"Ready","id":978,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4552":{"id":4552,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6641":{"id":6641,"crate_id":0,"name":"new","span":{"filename":"src/sync/set_once.rs","begin":[148,5],"end":[154,6]},"visibility":"public","docs":"Creates a new empty `SetOnce` instance.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4879":{"id":4879,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3117":{"id":3117,"crate_id":0,"name":"disconnect","span":{"filename":"src/net/windows/named_pipe.rs","begin":[233,5],"end":[235,6]},"visibility":"public","docs":"Disconnects the server end of a named pipe instance from a client\nprocess.\n\n```\nuse tokio::io::AsyncWriteExt;\nuse tokio::net::windows::named_pipe::{ClientOptions, ServerOptions};\nuse windows_sys::Win32::Foundation::ERROR_PIPE_NOT_CONNECTED;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-disconnect\";\n\n# #[tokio::main] async fn main() -> std::io::Result<()> {\nlet server = ServerOptions::new()\n    .create(PIPE_NAME)?;\n\nlet mut client = ClientOptions::new()\n    .open(PIPE_NAME)?;\n\n// Wait for a client to become connected.\nserver.connect().await?;\n\n// Forcibly disconnect the client.\nserver.disconnect()?;\n\n// Write fails with an OS-specific error after client has been\n// disconnected.\nlet e = client.write(b\"ping\").await.unwrap_err();\nassert_eq!(e.raw_os_error(), Some(ERROR_PIPE_NOT_CONNECTED as i32));\n# Ok(()) }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1355":{"id":1355,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6968":{"id":6968,"crate_id":0,"name":null,"span":{"filename":"src/task/coop/mod.rs","begin":[278,5],"end":[289,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[attr = CfgTrace([Any([NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:629:21: 629:35 (#4221) }, NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:630:21: 630:39 (#4221) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:631:21: 631:36 (#4221) }, NameValue { name: \"feature\", value: Some(\"process\"), span: src/macros/cfg.rs:632:21: 632:40 (#4221) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:633:21: 633:35 (#4221) }, NameValue { name: \"feature\", value: Some(\"signal\"), span: src/macros/cfg.rs:634:21: 634:39 (#4221) }, NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:635:21: 635:37 (#4221) }, NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:636:21: 636:37 (#4221) }], src/macros/cfg.rs:628:22: 637:22 (#4221))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[6967],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3444":{"id":3444,"crate_id":0,"name":"pre_exec","span":{"filename":"src/process/mod.rs","begin":[749,5],"end":[755,6]},"visibility":"public","docs":"Schedules a closure to be run just before the `exec` function is\ninvoked.\n\nThe closure is allowed to return an I/O error whose OS error code will\nbe communicated back to the parent and returned as an error from when\nthe spawn was requested.\n\nMultiple closures can be registered and they will be called in order of\ntheir registration. If a closure returns `Err` then no further closures\nwill be called and the spawn operation will immediately return with a\nfailure.\n\n# Safety\n\nThis closure will be run in the context of the child process after a\n`fork`. This primarily means that any modifications made to memory on\nbehalf of this closure will **not** be visible to the parent process.\nThis is often a very constrained environment where normal operations\nlike `malloc` or acquiring a mutex are not guaranteed to work (due to\nother threads perhaps still running when the `fork` was run).\n\nThis also means that all resources such as file descriptors and\nmemory-mapped regions got duplicated. It is your responsibility to make\nsure that the closure does not violate library invariants by making\ninvalid use of these duplicates.\n\nWhen this closure is run, aspects such as the stdio file descriptors and\nworking directory have successfully been changed, so output to these\nlocations may not appear where intended.","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"unix\", value: None, span: src/process/mod.rs:747:11: 747:15 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(unix))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1682":{"id":1682,"crate_id":0,"name":"from","span":{"filename":"src/io/util/buf_stream.rs","begin":[88,5],"end":[118,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["b",{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}}}],"constraints":[]}}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5206":{"id":5206,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5533":{"id":5533,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3771":{"id":3771,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"247":{"id":247,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2009":{"id":2009,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7622":{"id":7622,"crate_id":0,"name":null,"span":{"filename":"src/doc/mod.rs","begin":[20,10],"end":[20,15]},"visibility":"default","docs":null,"links":{},"attrs":["automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[7621],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4098":{"id":4098,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2336":{"id":2336,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split.rs","begin":[419,1],"end":[423,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpStream","id":634,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[2335],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"574":{"id":574,"crate_id":0,"name":null,"span":{"filename":"src/io/util/chain.rs","begin":[109,1],"end":[136,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"AsyncBufRead","id":538,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[572,573],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5860":{"id":5860,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1373,1],"end":[1378,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Deref","id":550,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[5858,5859],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6187":{"id":6187,"crate_id":0,"name":"acquire_owned","span":{"filename":"src/sync/semaphore.rs","begin":[796,5],"end":[813,6]},"visibility":"public","docs":"Acquires a permit from the semaphore.\n\nThe semaphore must be wrapped in an [`Arc`] to call this method.\nIf the semaphore has been closed, this returns an [`AcquireError`].\nOtherwise, this returns a [`OwnedSemaphorePermit`] representing the\nacquired permit.\n\n# Cancel safety\n\nThis method uses a queue to fairly distribute permits in the order they\nwere requested. Cancelling a call to `acquire_owned` makes you lose your\nplace in the queue.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::Semaphore;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet semaphore = Arc::new(Semaphore::new(3));\nlet mut join_handles = Vec::new();\n\nfor _ in 0..5 {\n    let permit = semaphore.clone().acquire_owned().await.unwrap();\n    join_handles.push(tokio::spawn(async move {\n        // perform task...\n        // explicitly own `permit` in the task\n        drop(permit);\n    }));\n}\n\nfor handle in join_handles {\n    handle.await.unwrap();\n}\n# }\n```\n\n[`Arc`]: std::sync::Arc\n[`AcquireError`]: crate::sync::AcquireError\n[`OwnedSemaphorePermit`]: crate::sync::OwnedSemaphorePermit","links":{"std::sync::Arc":2509,"crate::sync::AcquireError":6153,"crate::sync::OwnedSemaphorePermit":6182},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}}},{"type":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4425":{"id":4425,"crate_id":0,"name":"shutdown_background","span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[375,5],"end":[377,6]},"visibility":"public","docs":"Shuts down the runtime, without waiting for any spawned work to stop.\n\nThis can be useful if you want to drop a runtime from within another runtime.\nNormally, dropping a runtime will block indefinitely for spawned blocking tasks\nto complete, which would normally not be permitted within an asynchronous context.\nBy calling `shutdown_background()`, you can drop the runtime from such a context.\n\nNote however, that because we do not wait for any blocking tasks to complete, this\nmay result in a resource leak (in that any blocking tasks are still running until they\nreturn. No other tasks will leak.\n\nSee the [struct level documentation](LocalRuntime#shutdown) for more details.\n\nThis function is equivalent to calling `shutdown_timeout(Duration::from_nanos(0))`.\n\n```\nuse tokio::runtime::LocalRuntime;\n\nfn main() {\n   let runtime = LocalRuntime::new().unwrap();\n\n   runtime.block_on(async move {\n       let inner_runtime = LocalRuntime::new().unwrap();\n       // ...\n       inner_runtime.shutdown_background();\n   });\n}\n```","links":{"LocalRuntime#shutdown":3941},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"901":{"id":901,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2663":{"id":2663,"crate_id":0,"name":"as_fd","span":{"filename":"src/net/unix/listener.rs","begin":[260,5],"end":[262,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4752":{"id":4752,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[638,5],"end":[638,37]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#1248) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"metrics::RuntimeMetrics","name":"RuntimeMetrics","id":4284,"is_glob":false}}},"2990":{"id":2990,"crate_id":0,"name":"pipe","span":{"filename":"src/net/unix/pipe.rs","begin":[67,1],"end":[70,2]},"visibility":"public","docs":"Creates a new anonymous Unix pipe.\n\nThis function will open a new pipe and associate both pipe ends with the default\nevent loop.\n\nIf you need to create a pipe for communication with a spawned process, you can\nuse [`Stdio::piped()`] instead.\n\n[`Stdio::piped()`]: std::process::Stdio::piped\n\n# Errors\n\nIf creating a pipe fails, this function will return with the related OS error.\n\n# Examples\n\nCreate a pipe and pass the writing end to a spawned process.\n\n```no_run\nuse tokio::net::unix::pipe;\nuse tokio::process::Command;\n# use tokio::io::AsyncReadExt;\n# use std::error::Error;\n\n# async fn dox() -> Result<(), Box<dyn Error>> {\nlet (tx, mut rx) = pipe::pipe()?;\nlet mut buffer = String::new();\n\nlet status = Command::new(\"echo\")\n    .arg(\"Hello, world!\")\n    .stdout(tx.into_blocking_fd()?)\n    .status();\nrx.read_to_string(&mut buffer).await?;\n\nassert!(status.await?.success());\nassert_eq!(buffer, \"Hello, world!\\n\");\n# Ok(())\n# }\n```\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"std::process::Stdio::piped":2989,"crate::runtime::Runtime::enter":1054},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"resolved_path":{"path":"Sender","id":856,"args":null}},{"resolved_path":{"path":"Receiver","id":646,"args":null}}]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1228":{"id":1228,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[1380,1],"end":[1386,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"std::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1227],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6841":{"id":6841,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5079":{"id":5079,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[289,36],"end":[289,41]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[5078],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3317":{"id":3317,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5406":{"id":5406,"crate_id":0,"name":"sender_strong_count","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[732,5],"end":[734,6]},"visibility":"public","docs":"Returns the number of [`Sender`] handles.","links":{"`Sender`":5224},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7168":{"id":7168,"crate_id":0,"name":null,"span":{"filename":"src/task/join_set.rs","begin":[637,1],"end":[650,2]},"visibility":"default","docs":"Collect an iterator of futures into a [`JoinSet`].\n\nThis is equivalent to calling [`JoinSet::spawn`] on each element of the iterator.\n\n# Examples\n\nThe main example from [`JoinSet`]'s documentation can also be written using [`collect`]:\n\n```\nuse tokio::task::JoinSet;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut set: JoinSet<_> = (0..10).map(|i| async move { i }).collect();\n\nlet mut seen = [false; 10];\nwhile let Some(res) = set.join_next().await {\n    let idx = res.unwrap();\n    seen[idx] = true;\n}\n\nfor i in 0..10 {\n     assert!(seen[i]);\n}\n# }\n```\n\n[`collect`]: std::iter::Iterator::collect","links":{"std::iter::Iterator::collect":7167,"`JoinSet`":3724,"`JoinSet::spawn`":7127},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Output","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"FromIterator","id":7169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7166],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5733":{"id":5733,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2209":{"id":2209,"crate_id":0,"name":"set_send_buffer_size","span":{"filename":"src/net/tcp/socket.rs","begin":[355,5],"end":[357,6]},"visibility":"public","docs":"Sets the size of the TCP send buffer on this socket.\n\nOn most operating systems, this sets the `SO_SNDBUF` socket option.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["size",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"447":{"id":447,"crate_id":0,"name":"read_to_string","span":{"filename":"src/fs/read_to_string.rs","begin":[27,1],"end":[30,2]},"visibility":"public","docs":"Creates a future which will open a file for reading and read the entire\ncontents into a string and return said string.\n\nThis is the async equivalent of [`std::fs::read_to_string`][std].\n\nThis operation is implemented by running the equivalent blocking operation\non a separate thread pool using [`spawn_blocking`].\n\n[`spawn_blocking`]: crate::task::spawn_blocking\n[std]: fn@std::fs::read_to_string\n\n# Examples\n\n```no_run\nuse tokio::fs;\n\n# async fn dox() -> std::io::Result<()> {\nlet contents = fs::read_to_string(\"foo.txt\").await?;\nprintln!(\"foo.txt contains {} bytes\", contents.len());\n# Ok(())\n# }\n```","links":{"fn@std::fs::read_to_string":446,"crate::task::spawn_blocking":379},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"String","id":448,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3971":{"id":3971,"crate_id":0,"name":"UnhandledPanic","span":{"filename":"src/runtime/builder.rs","begin":[166,5],"end":[238,6]},"visibility":"public","docs":"How the runtime should respond to unhandled panics.\n\nInstances of `UnhandledPanic` are passed to `Builder::unhandled_panic`\nto configure the runtime behavior when a spawned task panics.\n\nSee [`Builder::unhandled_panic`] for more details.","links":{"`Builder::unhandled_panic`":3970},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:609:19: 609:33 (#1562) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"},"non_exhaustive"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[],"where_predicates":[]},"has_stripped_variants":false,"variants":[4017,3969],"impls":[4018,4019,4020,4021,4022,4023,4024,4025,4026,4027,4028,4029,4030,4031,4032,4033,4034,4035,4037,4039]}}},"4298":{"id":4298,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2536":{"id":2536,"crate_id":0,"name":"peek_sender","span":{"filename":"src/net/udp.rs","begin":[1830,5],"end":[1837,6]},"visibility":"public","docs":"Retrieve the sender of the data at the head of the input queue, waiting if empty.\n\nThis is equivalent to calling [`peek_from`] with a zero-sized buffer,\nbut suppresses the `WSAEMSGSIZE` error on Windows and the \"invalid argument\" error on macOS.\n\nNote that the socket address **cannot** be implicitly trusted, because it is relatively\ntrivial to send a UDP datagram with a spoofed origin in a [packet injection attack].\nBecause UDP is stateless and does not validate the origin of a packet,\nthe attacker does not need to be able to intercept traffic in order to interfere.\nIt is important to be aware of this when designing your application-level protocol.\n\n[`peek_from`]: method@Self::peek_from\n[packet injection attack]: https://en.wikipedia.org/wiki/Packet_injection","links":{"method@Self::peek_from":2542},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"774":{"id":774,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_reader.rs","begin":[261,1],"end":[289,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[769,770,771,772,773],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6060":{"id":6060,"crate_id":0,"name":"send","span":{"filename":"src/sync/oneshot.rs","begin":[622,5],"end":[658,6]},"visibility":"public","docs":"Attempts to send a value on this channel, returning it back if it could\nnot be sent.\n\nThis method consumes `self` as only one value may ever be sent on a `oneshot`\nchannel. It is not marked async because sending a message to a `oneshot`\nchannel never requires any form of waiting.  Because of this, the `send`\nmethod can be used in both synchronous and asynchronous code without\nproblems.\n\nA successful send occurs when it is determined that the other end of the\nchannel has not hung up already. An unsuccessful send would be one where\nthe corresponding receiver has already been deallocated. Note that a\nreturn value of `Err` means that the data will never be received, but\na return value of `Ok` does *not* mean that the data will be received.\nIt is possible for the corresponding receiver to hang up immediately\nafter this function returns `Ok`.\n\n# Examples\n\nSend a value to another task\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = oneshot::channel();\n\ntokio::spawn(async move {\n    if let Err(_) = tx.send(3) {\n        println!(\"the receiver dropped\");\n    }\n});\n\nmatch rx.await {\n    Ok(v) => println!(\"got = {:?}\", v),\n    Err(_) => println!(\"the sender dropped\"),\n}\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["t",{"generic":"T"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6387":{"id":6387,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[208,1],"end":[215,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[6386],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2863":{"id":2863,"crate_id":0,"name":"as_abstract_name","span":{"filename":"src/net/unix/socketaddr.rs","begin":[40,5],"end":[47,6]},"visibility":"public","docs":"Returns the contents of this address if it is in the abstract namespace.\n\nDocumentation reflected in [`SocketAddrExt`].\nThe abstract namespace is a Linux-specific feature.\n\n\n[`SocketAddrExt`]: std::os::linux::net::SocketAddrExt","links":{"std::os::linux::net::SocketAddrExt":2862},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/net/unix/socketaddr.rs:38:15: 38:34 (#0) }, NameValue { name: \"target_os\", value: Some(\"android\"), span: src/net/unix/socketaddr.rs:38:36: 38:57 (#0) }], src/net/unix/socketaddr.rs:38:14: 38:58 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(target_os = \"linux\", target_os = \"android\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1101":{"id":1101,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4625":{"id":4625,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4952":{"id":4952,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3190":{"id":3190,"crate_id":0,"name":"fmt","span":{"filename":"src/net/windows/named_pipe.rs","begin":[977,10],"end":[977,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1428":{"id":1428,"crate_id":0,"name":"fmt","span":{"filename":"src/io/split.rs","begin":[163,5],"end":[165,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6714":{"id":6714,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7041":{"id":7041,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3517":{"id":3517,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1755":{"id":1755,"crate_id":0,"name":"copy_bidirectional_with_sizes","span":{"filename":"src/io/util/copy_bidirectional.rs","begin":[94,1],"end":[111,2]},"visibility":"public","docs":"Copies data in both directions between `a` and `b` using buffers of the specified size.\n\nThis method is the same as the [`copy_bidirectional()`], except that it allows you to set the\nsize of the internal buffers used when copying data.","links":{"`copy_bidirectional()`":1756},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["a",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"A"}}}],["b",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}],["a_to_b_buf_size",{"primitive":"usize"}],["b_to_a_buf_size",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"primitive":"u64"},{"primitive":"u64"}]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"A","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"B","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"A"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"B"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5279":{"id":5279,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1638,5],"end":[1642,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5606":{"id":5606,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3844":{"id":3844,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"320":{"id":320,"crate_id":0,"name":"create","span":{"filename":"src/fs/open_options.rs","begin":[382,5],"end":[399,6]},"visibility":"public","docs":"Sets the option for creating a new file.\n\nThis option indicates whether a new file will be created if the file\ndoes not yet already exist.\n\nIn order for the file to be created, [`write`] or [`append`] access must\nbe used.\n\nThis is an async version of [`std::fs::OpenOptions::create`][std]\n\n[std]: std::fs::OpenOptions::create\n[`write`]: OpenOptions::write\n[`append`]: OpenOptions::append\n\n# Examples\n\n```no_run\nuse tokio::fs::OpenOptions;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let file = OpenOptions::new()\n        .write(true)\n        .create(true)\n        .open(\"foo.txt\")\n        .await?;\n\n    Ok(())\n}\n```","links":{"OpenOptions::write":315,"std::fs::OpenOptions::create":324,"OpenOptions::append":321},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["create",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2082":{"id":2082,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[224,19],"end":[224,24]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[doc(no_inline)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"std::io::Error","name":"Error","id":262,"is_glob":false}}},"7368":{"id":7368,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[33,50],"end":[33,53]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["max","min","clamp"],"trait":{"path":"Ord","id":1026,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[7367],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5933":{"id":5933,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2409":{"id":2409,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"647":{"id":647,"crate_id":0,"name":"poll_read","span":{"filename":"src/net/windows/named_pipe.rs","begin":[892,5],"end":[898,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4171":{"id":4171,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6260":{"id":6260,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4498":{"id":4498,"crate_id":0,"name":null,"span":{"filename":"src/runtime/id.rs","begin":[29,23],"end":[29,28]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[4497],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"974":{"id":974,"crate_id":0,"name":"fmt","span":{"filename":"src/io/interest.rs","begin":[287,5],"end":[344,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6587":{"id":6587,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3063":{"id":3063,"crate_id":0,"name":"from_owned_fd","span":{"filename":"src/net/unix/pipe.rs","begin":[967,5],"end":[982,6]},"visibility":"public","docs":"Creates a new `Receiver` from an [`OwnedFd`].\n\nThis function is intended to construct a pipe from an [`OwnedFd`] representing\nan anonymous pipe or a special FIFO file. It will check if the file descriptor\nis a pipe and has read access, set it in non-blocking mode and perform the\nconversion.\n\n# Errors\n\nFails with `io::ErrorKind::InvalidInput` if the file descriptor is not a pipe\nor it does not have read access. Also fails with any standard OS error if it\noccurs.\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"crate::runtime::Runtime::enter":1054,"`OwnedFd`":272},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["owned_fd",{"resolved_path":{"path":"OwnedFd","id":272,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Receiver","id":646,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1301":{"id":1301,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4825":{"id":4825,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5152":{"id":5152,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1628":{"id":1628,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7241":{"id":7241,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[291,5],"end":[291,34]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"yield_now::yield_now","name":"yield_now","id":4758,"is_glob":false}}},"3717":{"id":3717,"crate_id":0,"name":"from","span":{"filename":"src/runtime/task/error.rs","begin":[172,5],"end":[180,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["src",{"resolved_path":{"path":"JoinError","id":3686,"args":null}}]],"output":{"resolved_path":{"path":"io::Error","id":262,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1955":{"id":1955,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5479":{"id":5479,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7568":{"id":7568,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5806":{"id":5806,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4371":{"id":4371,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6133":{"id":6133,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"847":{"id":847,"crate_id":0,"name":"poll_flush","span":{"filename":"src/net/unix/stream.rs","begin":[1058,5],"end":[1060,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6460":{"id":6460,"crate_id":0,"name":"Target","span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[413,5],"end":[413,21]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"T"},"default_unstable":null}}},"4698":{"id":4698,"crate_id":0,"name":"eq","span":{"filename":"src/runtime/metrics/histogram.rs","begin":[56,38],"end":[56,47]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2936":{"id":2936,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/stream.rs","begin":[1015,1],"end":[1025,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixStream","id":2905,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[2934,2935],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5025":{"id":5025,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3263":{"id":3263,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1501":{"id":1501,"crate_id":0,"name":"read_u16","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an unsigned 16-bit integer in big-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_u16(&mut self) -> io::Result<u16>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead unsigned 16 bit big-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![2, 5, 3, 0]);\n\nassert_eq!(517, reader.read_u16().await?);\nassert_eq!(768, reader.read_u16().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadU16","id":1502,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6787":{"id":6787,"crate_id":0,"name":"mark_changed","span":{"filename":"src/sync/watch.rs","begin":[758,5],"end":[760,6]},"visibility":"public","docs":"Marks the state as changed.\n\nAfter invoking this method [`has_changed()`](Self::has_changed)\nreturns `true` and [`changed()`](Self::changed) returns\nimmediately, regardless of whether a new value has been sent.\n\nThis is useful for triggering an initial change notification after\nsubscribing to synchronize new receivers.","links":{"Self::changed":6781,"Self::has_changed":6786},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7114":{"id":7114,"crate_id":0,"name":"poll","span":{"filename":"src/task/task_local.rs","begin":[393,5],"end":[415,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5352":{"id":5352,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1828":{"id":1828,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"3590":{"id":3590,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7441":{"id":7441,"crate_id":0,"name":"missed_tick_behavior","span":{"filename":"src/time/interval.rs","begin":[625,5],"end":[627,6]},"visibility":"public","docs":"Returns the [`MissedTickBehavior`] strategy currently being used.","links":{"`MissedTickBehavior`":7395},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2155":{"id":2155,"crate_id":0,"name":"TcpSocket","span":{"filename":"src/net/tcp/socket.rs","begin":[91,5],"end":[93,6]},"visibility":"public","docs":"A TCP socket that has not yet been converted to a `TcpStream` or\n`TcpListener`.\n\n`TcpSocket` wraps an operating system socket and enables the caller to\nconfigure the socket before establishing a TCP connection or accepting\ninbound connections. The caller is able to set socket option and explicitly\nbind the socket with a socket address.\n\nThe underlying socket is closed when the `TcpSocket` value is dropped.\n\n`TcpSocket` should only be used directly if the default configuration used\nby `TcpStream::connect` and `TcpListener::bind` does not meet the required\nuse case.\n\nCalling `TcpStream::connect(\"127.0.0.1:8080\")` is equivalent to:\n\n```no_run\nuse tokio::net::TcpSocket;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let addr = \"127.0.0.1:8080\".parse().unwrap();\n\n    let socket = TcpSocket::new_v4()?;\n    let stream = socket.connect(addr).await?;\n# drop(stream);\n\n    Ok(())\n}\n```\n\nCalling `TcpListener::bind(\"127.0.0.1:8080\")` is equivalent to:\n\n```no_run\nuse tokio::net::TcpSocket;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let addr = \"127.0.0.1:8080\".parse().unwrap();\n\n    let socket = TcpSocket::new_v4()?;\n    // On platforms with Berkeley-derived sockets, this allows to quickly\n    // rebind a socket, without needing to wait for the OS to clean up the\n    // previous one.\n    //\n    // On Windows, this allows rebinding sockets which are actively in use,\n    // which allows \"socket hijacking\", so we explicitly don't set it here.\n    // https://docs.microsoft.com/en-us/windows/win32/winsock/using-so-reuseaddr-and-so-exclusiveaddruse\n    socket.set_reuseaddr(true)?;\n    socket.bind(addr)?;\n\n    // Note: the actual backlog used by `TcpListener::bind` is platform-dependent,\n    // as Tokio relies on Mio's default backlog value configuration. The `1024` here is only\n    // illustrative and does not reflect the real value used.\n    let listener = socket.listen(1024)?;\n# drop(listener);\n\n    Ok(())\n}\n```\n\nSetting socket options not explicitly provided by `TcpSocket` may be done by\naccessing the `RawFd`/`RawSocket` using [`AsRawFd`]/[`AsRawSocket`] and\nsetting the option with a crate like [`socket2`].\n\n[`RawFd`]: https://doc.rust-lang.org/std/os/fd/type.RawFd.html\n[`RawSocket`]: https://doc.rust-lang.org/std/os/windows/io/type.RawSocket.html\n[`AsRawFd`]: https://doc.rust-lang.org/std/os/fd/trait.AsRawFd.html\n[`AsRawSocket`]: https://doc.rust-lang.org/std/os/windows/io/trait.AsRawSocket.html\n[`socket2`]: https://docs.rs/socket2/","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:336:19: 336:34 (#474) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(alias = \"connect_std\")]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[2232,2233,2234,2235,2236,2237,2238,2239,2240,2241,2242,2243,2244,2245,2246,2247,2248,2250,2252,2254,2256,2258,2261,2264,2266,2268]}}},"393":{"id":393,"crate_id":0,"name":null,"span":{"filename":"src/fs/read_dir.rs","begin":[72,1],"end":[157,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[390,392],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6006":{"id":6006,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2482":{"id":2482,"crate_id":0,"name":"fmt","span":{"filename":"src/net/tcp/stream.rs","begin":[1520,5],"end":[1523,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"720":{"id":720,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/async_write.rs","begin":[284,5],"end":[286,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6333":{"id":6333,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2809":{"id":2809,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split_owned.rs","begin":[255,1],"end":[362,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[2801,2802,2805,2804,2803,2806,2807,2808],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6660":{"id":6660,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3136":{"id":3136,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1374":{"id":1374,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/io/stdout.rs","begin":[189,9],"end":[191,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4898":{"id":4898,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6987":{"id":6987,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5225":{"id":5225,"crate_id":0,"name":"close","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[478,5],"end":[480,6]},"visibility":"public","docs":"Closes the receiving half of a channel without dropping it.\n\nThis prevents any further messages from being sent on the channel while\nstill enabling the receiver to drain messages that are buffered. Any\noutstanding [`Permit`] values will still be able to send messages.\n\nTo guarantee that no messages are dropped, after calling `close()`,\n`recv()` must be called until `None` is returned. If there are\noutstanding [`Permit`] or [`OwnedPermit`] values, the `recv` method will\nnot return `None` until those are released.\n\n[`Permit`]: Permit\n[`OwnedPermit`]: OwnedPermit\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(20);\n\ntokio::spawn(async move {\n    let mut i = 0;\n    while let Ok(permit) = tx.reserve().await {\n        permit.send(i);\n        i += 1;\n    }\n});\n\nrx.close();\n\nwhile let Some(msg) = rx.recv().await {\n    println!(\"got {}\", msg);\n}\n\n// Channel closed and no messages are lost.\n# }\n```","links":{"OwnedPermit":5244,"Permit":5228},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3463":{"id":3463,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1701":{"id":1701,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7314":{"id":7314,"crate_id":0,"name":"fmt","span":{"filename":"src/time/error.rs","begin":[46,10],"end":[46,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3790":{"id":3790,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/abort.rs","begin":[84,1],"end":[91,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[3789],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5552":{"id":5552,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[7,21],"end":[7,23]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::Eq","id":961,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"266":{"id":266,"crate_id":0,"name":null,"span":{"filename":"src/fs/file.rs","begin":[727,1],"end":[884,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[259,260,263,264,265],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5879":{"id":5879,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"593":{"id":593,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/async_read.rs","begin":[98,5],"end":[108,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2355":{"id":2355,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4444":{"id":4444,"crate_id":0,"name":"drop","span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[387,5],"end":[396,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2682":{"id":2682,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"920":{"id":920,"crate_id":0,"name":"fmt","span":{"filename":"src/io/read_buf.rs","begin":[307,5],"end":[313,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6206":{"id":6206,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6533":{"id":6533,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4771":{"id":4771,"crate_id":0,"name":"interrupt","span":{"filename":"src/signal/unix.rs","begin":[157,5],"end":[159,6]},"visibility":"public","docs":"Represents the `SIGINT` signal.\n\nOn Unix systems this signal is sent to interrupt a program.\nBy default, the process is terminated by this signal.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1247":{"id":1247,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[1394,10],"end":[1394,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[1246],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3009":{"id":3009,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5098":{"id":5098,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3336":{"id":3336,"crate_id":0,"name":"clone","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2616,17],"end":[2616,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6860":{"id":6860,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"7187":{"id":7187,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5425":{"id":5425,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[742,1],"end":[748,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5424],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"139":{"id":139,"crate_id":0,"name":"mode","span":{"filename":"src/fs/dir_builder.rs","begin":[124,9],"end":[127,10]},"visibility":"public","docs":"Sets the mode to create new directories with.\n\nThis option defaults to 0o777.\n\n# Examples\n\n\n```no_run\nuse tokio::fs::DirBuilder;\n\nlet mut builder = DirBuilder::new();\nbuilder.mode(0o775);\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["mode",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7514":{"id":7514,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3990":{"id":3990,"crate_id":0,"name":"enable_time","span":{"filename":"src/runtime/builder.rs","begin":[1815,9],"end":[1818,10]},"visibility":"public","docs":"Enables the time driver.\n\nDoing this enables using `tokio::time` on the runtime.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime;\n\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_time()\n    .build()\n    .unwrap();\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2228":{"id":2228,"crate_id":0,"name":"connect","span":{"filename":"src/net/tcp/socket.rs","begin":[841,5],"end":[869,6]},"visibility":"public","docs":"Establishes a TCP connection with a peer at the specified socket address.\n\nThe `TcpSocket` is consumed. Once the connection is established, a\nconnected [`TcpStream`] is returned. If the connection fails, the\nencountered error is returned.\n\n[`TcpStream`]: TcpStream\n\nThis calls the `connect(2)` operating-system function. Behavior is\nplatform specific. Refer to the target platform's documentation for more\ndetails.\n\n# Examples\n\nConnecting to a peer.\n\n```no_run\nuse tokio::net::TcpSocket;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let addr = \"127.0.0.1:8080\".parse().unwrap();\n\n    let socket = TcpSocket::new_v4()?;\n    let stream = socket.connect(addr).await?;\n# drop(stream);\n\n    Ok(())\n}\n```","links":{"TcpStream":634},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["addr",{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpStream","id":634,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"466":{"id":466,"crate_id":0,"name":"symlink_metadata","span":{"filename":"src/fs/symlink_metadata.rs","begin":[12,1],"end":[15,2]},"visibility":"public","docs":"Queries the file system metadata for a path.\n\nThis is an async version of [`std::fs::symlink_metadata`][std]\n\n[std]: fn@std::fs::symlink_metadata","links":{"fn@std::fs::symlink_metadata":465},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::fs::Metadata","id":218,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5752":{"id":5752,"crate_id":0,"name":"deref","span":{"filename":"src/sync/mutex.rs","begin":[980,5],"end":[982,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"qualified_path":{"name":"Target","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":550,"args":null}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6079":{"id":6079,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2555":{"id":2555,"crate_id":0,"name":"set_ttl","span":{"filename":"src/net/udp.rs","begin":[2089,5],"end":[2091,6]},"visibility":"public","docs":"Sets the value for the `IP_TTL` option on this socket.\n\nThis value sets the time-to-live field that is used in every packet sent\nfrom this socket.\n\n# Examples\n\n```no_run\nuse tokio::net::UdpSocket;\n# use std::io;\n\n# async fn dox() -> io::Result<()> {\nlet sock = UdpSocket::bind(\"127.0.0.1:8080\").await?;\nsock.set_ttl(60)?;\n\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["ttl",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"793":{"id":793,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/util/mem.rs","begin":[138,5],"end":[144,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[allow(unused_mut)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4317":{"id":4317,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4644":{"id":4644,"crate_id":0,"name":"required_bucket_count","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[266,9],"end":[266,37]},"visibility":"default","docs":"The number of buckets that would have been required","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"primitive":"usize"}}},"2882":{"id":2882,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6406":{"id":6406,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6733":{"id":6733,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[338,14],"end":[338,23]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::PartialEq","id":966,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3209":{"id":3209,"crate_id":0,"name":"new","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1764,5],"end":[1779,6]},"visibility":"public","docs":"Creates a new named pipe builder with the default settings.\n\n```\nuse tokio::net::windows::named_pipe::ServerOptions;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-new\";\n\n# #[tokio::main] async fn main() -> std::io::Result<()> {\nlet server = ServerOptions::new().create(PIPE_NAME)?;\n# Ok(()) }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1447":{"id":1447,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5298":{"id":5298,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3536":{"id":3536,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1656,5],"end":[1656,29]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(unix))]"},{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"super::ChildStdin","id":873,"args":null}},"items":[3535],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1774":{"id":1774,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7060":{"id":7060,"crate_id":0,"name":"try_with","span":{"filename":"src/task/task_local.rs","begin":[245,5],"end":[264,6]},"visibility":"public","docs":"Accesses the current task-local and runs the provided closure.\n\nIf the task-local with the associated key is not present, this\nmethod will return an `AccessError`. For a panicking variant,\nsee `with`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'static","is_mutable":false,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"resolved_path":{"path":"AccessError","id":7064,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}],"output":{"generic":"R"}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7387":{"id":7387,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[187,1],"end":[193,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sub","id":1039,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Duration","id":2215,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[7385,7386],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5625":{"id":5625,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[81,38],"end":[81,43]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[5624],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2101":{"id":2101,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[286,35],"end":[286,64]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::copy_bidirectional_with_sizes","name":"copy_bidirectional_with_sizes","id":1755,"is_glob":false}}},"339":{"id":339,"crate_id":0,"name":"share_mode","span":{"filename":"src/fs/open_options.rs","begin":[717,9],"end":[720,10]},"visibility":"public","docs":"Overrides the `dwShareMode` argument to the call to [`CreateFile`] with\nthe specified value.\n\nBy default `share_mode` is set to\n`FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE`. This allows\nother processes to read, write, and delete/rename the same file\nwhile it is open. Removing any of the flags will prevent other\nprocesses from performing the corresponding operation until the file\nhandle is closed.\n\n# Examples\n\n```no_run\nuse tokio::fs::OpenOptions;\n\n# #[tokio::main]\n# async fn main() -> std::io::Result<()> {\n// Do not allow others to read or modify this file while we have it open\n// for writing.\nlet file = OpenOptions::new()\n    .write(true)\n    .share_mode(0)\n    .open(\"foo.txt\").await?;\n# Ok(())\n# }\n```\n\n[`CreateFile`]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["share",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3863":{"id":3863,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/trace/mod.rs","begin":[63,1],"end":[71,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'__pin","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"resolved_path":{"path":"$crate::__private::PinnedFieldsOf","id":1463,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"__Origin","id":3864,"args":{"angle_bracketed":{"args":[{"lifetime":"'__pin"},{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"bounds":[{"trait_bound":{"trait":{"path":"$crate::__private::Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5952":{"id":5952,"crate_id":0,"name":"Output","span":{"filename":"src/sync/notify.rs","begin":[1031,5],"end":[1031,22]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"tuple":[]},"default_unstable":null}}},"4190":{"id":4190,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"666":{"id":666,"crate_id":0,"name":"poll_complete","span":{"filename":"src/io/async_seek.rs","begin":[68,5],"end":[68,24]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u64"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2428":{"id":2428,"crate_id":0,"name":"fmt","span":{"filename":"src/net/tcp/split_owned.rs","begin":[91,5],"end":[96,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6279":{"id":6279,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2755":{"id":2755,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"993":{"id":993,"crate_id":0,"name":"is_error","span":{"filename":"src/io/ready.rs","begin":[205,5],"end":[207,6]},"visibility":"public","docs":"Returns `true` if the value includes error `readiness`.\n\n# Examples\n\n```\nuse tokio::io::Ready;\n\nassert!(!Ready::EMPTY.is_error());\nassert!(!Ready::WRITABLE.is_error());\nassert!(Ready::ERROR.is_error());\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4517":{"id":4517,"crate_id":0,"name":"active_tasks_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[282,9],"end":[284,10]},"visibility":"public","docs":"Renamed to [`RuntimeMetrics::num_alive_tasks`]","links":{"`RuntimeMetrics::num_alive_tasks`":4511},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1689) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":{"since":null,"note":"Renamed to num_alive_tasks"},"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6606":{"id":6606,"crate_id":0,"name":"0","span":{"filename":"src/sync/once_cell.rs","begin":[482,23],"end":[482,24]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"generic":"T"}}},"4844":{"id":4844,"crate_id":0,"name":"poll_recv","span":{"filename":"src/signal/windows.rs","begin":[127,5],"end":[129,6]},"visibility":"public","docs":"Polls to receive the next signal notification event, outside of an\n`async` context.\n\nAlthough this returns `Option<()>`, it will never actually return `None`.\nThis was accidentally exposed and would be a breaking change to be removed.\n\n# Examples\n\nPolling from a manually implemented future\n\n```rust,no_run\nuse std::pin::Pin;\nuse std::future::Future;\nuse std::task::{Context, Poll};\nuse tokio::signal::windows::CtrlC;\n\nstruct MyFuture {\n    ctrl_c: CtrlC,\n}\n\nimpl Future for MyFuture {\n    type Output = Option<()>;\n\n    fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {\n        println!(\"polling MyFuture\");\n        self.ctrl_c.poll_recv(cx)\n    }\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3082":{"id":3082,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6933":{"id":6933,"crate_id":0,"name":null,"span":{"filename":"src/task/coop/unconstrained.rs","begin":[6,1],"end":[14,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'__pin","kind":{"lifetime":{"outlives":[]}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"resolved_path":{"path":"$crate::__private::PinnedFieldsOf","id":1463,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"__Origin","id":6934,"args":{"angle_bracketed":{"args":[{"lifetime":"'__pin"},{"type":{"generic":"F"}}],"constraints":[]}}}}}],"constraints":[]}}}},"bounds":[{"trait_bound":{"trait":{"path":"$crate::__private::Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5171":{"id":5171,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"1647":{"id":1647,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_reader.rs","begin":[291,1],"end":[301,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[1646],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7260":{"id":7260,"crate_id":0,"name":"Error","span":{"filename":"src/time/error.rs","begin":[26,1],"end":[26,24]},"visibility":"public","docs":"Errors encountered by the timer implementation.\n\nCurrently, there are two different errors that can occur:\n\n* `shutdown` occurs when a timer operation is attempted, but the timer\n  instance has been dropped. In this case, the operation will never be able\n  to complete and the `shutdown` error is returned. This is a permanent\n  error, i.e., once this error is observed, timer operations will never\n  succeed in the future.\n\n* `at_capacity` occurs when a timer operation is attempted, but the timer\n  instance is currently handling its maximum number of outstanding sleep instances.\n  In this case, the operation is not able to be performed at the current\n  moment, and `at_capacity` is returned. This is a transient error, i.e., at\n  some point in the future, if the operation is attempted again, it might\n  succeed. Callers that observe this error should attempt to [shed load]. One\n  way to do this would be dropping the future that issued the timer operation.\n\n[shed load]: https://en.wikipedia.org/wiki/Load_Shedding","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[7267,7268,7269,7270,7271,7272,7273,7274,7275,7276,7277,7278,7279,7280,7281,7282,7283,7284,7285,7286,7288,7289,7291,7292,7294]}}},"5498":{"id":5498,"crate_id":0,"name":"recv_many","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[241,5],"end":[244,6]},"visibility":"public","docs":"Receives the next values for this receiver and extends `buffer`.\n\nThis method extends `buffer` by no more than a fixed number of values\nas specified by `limit`. If `limit` is zero, the function returns\nimmediately with `0`. The return value is the number of values added to\n`buffer`.\n\nFor `limit > 0`, if there are no messages in the channel's queue,\nbut the channel has not yet been closed, this method will sleep\nuntil a message is sent or the channel is closed.\n\nFor non-zero values of `limit`, this method will never return `0` unless\nthe channel has been closed and there are no remaining messages in the\nchannel's queue. This indicates that no further values can ever be\nreceived from this `Receiver`. The channel is closed when all senders\nhave been dropped, or when [`close`] is called.\n\nThe capacity of `buffer` is increased as needed.\n\n# Cancel safety\n\nThis method is cancel safe. If `recv_many` is used as a branch in\n[`tokio::select!`](crate::select) and another branch completes first,\nit is guaranteed that no messages were received on this\nchannel.\n\n[`close`]: Self::close\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut buffer: Vec<&str> = Vec::with_capacity(2);\nlet limit = 2;\nlet (tx, mut rx) = mpsc::unbounded_channel();\nlet tx2 = tx.clone();\ntx2.send(\"first\").unwrap();\ntx2.send(\"second\").unwrap();\ntx2.send(\"third\").unwrap();\n\n// Call `recv_many` to receive up to `limit` (2) values.\nassert_eq!(2, rx.recv_many(&mut buffer, limit).await);\nassert_eq!(vec![\"first\", \"second\"], buffer);\n\n// If the buffer is full, the next call to `recv_many`\n// reserves additional capacity.\nassert_eq!(1, rx.recv_many(&mut buffer, limit).await);\n\ntokio::spawn(async move {\n    tx.send(\"fourth\").unwrap();\n});\n\n// 'tx' is dropped, but `recv_many`\n// is guaranteed not to return 0 as the channel\n// is not yet closed.\nassert_eq!(1, rx.recv_many(&mut buffer, limit).await);\nassert_eq!(vec![\"first\", \"second\", \"third\", \"fourth\"], buffer);\n\n// Once the last sender is dropped, the channel is\n// closed and `recv_many` returns 0, capacity unchanged.\ndrop(tx2);\nassert_eq!(0, rx.recv_many(&mut buffer, limit).await);\nassert_eq!(vec![\"first\", \"second\", \"third\", \"fourth\"], buffer);\n# }\n```","links":{"Self::close":5434,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["buffer",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}],["limit",{"primitive":"usize"}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3736":{"id":3736,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"212":{"id":212,"crate_id":0,"name":"new","span":{"filename":"src/fs/open_options.rs","begin":[122,5],"end":[141,6]},"visibility":"public","docs":"Creates a blank new set of options ready for configuration.\n\nAll options are initially set to `false`.\n\nThis is an async version of [`std::fs::OpenOptions::new`][std]\n\n[std]: std::fs::OpenOptions::new\n\n# Examples\n\n```no_run\nuse tokio::fs::OpenOptions;\n\nlet mut options = OpenOptions::new();\nlet future = options.read(true).open(\"foo.txt\");\n```","links":{"std::fs::OpenOptions::new":311},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1974":{"id":1974,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4063":{"id":4063,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2301":{"id":2301,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"539":{"id":539,"crate_id":0,"name":"poll_fill_buf","span":{"filename":"src/io/async_buf_read.rs","begin":[78,5],"end":[78,28]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5825":{"id":5825,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1265,1],"end":[1270,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Deref","id":550,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5823,5824],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6152":{"id":6152,"crate_id":0,"name":"acquire","span":{"filename":"src/sync/semaphore.rs","begin":[614,5],"end":[631,6]},"visibility":"public","docs":"Acquires a permit from the semaphore.\n\nIf the semaphore has been closed, this returns an [`AcquireError`].\nOtherwise, this returns a [`SemaphorePermit`] representing the\nacquired permit.\n\n# Cancel safety\n\nThis method uses a queue to fairly distribute permits in the order they\nwere requested. Cancelling a call to `acquire` makes you lose your place\nin the queue.\n\n# Examples\n\n```\nuse tokio::sync::Semaphore;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet semaphore = Semaphore::new(2);\n\nlet permit_1 = semaphore.acquire().await.unwrap();\nassert_eq!(semaphore.available_permits(), 1);\n\nlet permit_2 = semaphore.acquire().await.unwrap();\nassert_eq!(semaphore.available_permits(), 0);\n\ndrop(permit_1);\nassert_eq!(semaphore.available_permits(), 1);\n# }\n```\n\n[`AcquireError`]: crate::sync::AcquireError\n[`SemaphorePermit`]: crate::sync::SemaphorePermit","links":{"crate::sync::AcquireError":6153,"crate::sync::SemaphorePermit":6181},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4390":{"id":4390,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"866":{"id":866,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[1690,1],"end":[1714,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[862,863,864,865],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2628":{"id":2628,"crate_id":0,"name":"UnixListener","span":{"filename":"src/net/unix/listener.rs","begin":[54,5],"end":[56,6]},"visibility":"public","docs":"A Unix socket which can accept connections from other Unix sockets.\n\nYou can accept a new connection by using the [`accept`](`UnixListener::accept`) method.\n\nA `UnixListener` can be turned into a `Stream` with [`UnixListenerStream`].\n\n[`UnixListenerStream`]: https://docs.rs/tokio-stream/0.1/tokio_stream/wrappers/struct.UnixListenerStream.html\n\n# Errors\n\nNote that accepting a connection can lead to various errors and not all\nof them are necessarily fatal ‒ for example having too many open file\ndescriptors or the other side closing the connection while it waits in\nan accept queue. These would terminate the stream if not handled in any\nway.\n\n# Examples\n\n```no_run\nuse tokio::net::UnixListener;\n\n#[tokio::main]\nasync fn main() {\n    let listener = UnixListener::bind(\"/path/to/the/socket\").unwrap();\n    loop {\n        match listener.accept().await {\n            Ok((stream, _addr)) => {\n                println!(\"new client!\");\n            }\n            Err(e) => { /* connection failed */ }\n        }\n    }\n}\n```","links":{"`UnixListener::accept`":2627},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:377:23: 377:27 (#505) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:377:29: 377:44 (#505) }], src/macros/cfg.rs:377:22: 377:45 (#505))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(alias = \"uds\")]"},{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[2639,2640,2641,2642,2643,2644,2645,2646,2647,2648,2649,2650,2651,2652,2653,2654,2655,2658,2660,2662,2664]}}},"4717":{"id":4717,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2955":{"id":2955,"crate_id":0,"name":"pid_t","span":{"filename":"src/net/unix/mod.rs","begin":[39,1],"end":[39,22]},"visibility":"public","docs":"A type representing process and process group IDs.","links":{},"attrs":[{"other":"#[allow(non_camel_case_types)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"type_alias":{"type":{"primitive":"i32"},"generics":{"params":[],"where_predicates":[]}}}},"1193":{"id":1193,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6479":{"id":6479,"crate_id":0,"name":"map","span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[85,5],"end":[100,6]},"visibility":"public","docs":"Makes a new `RwLockMappedWriteGuard` for a component of the locked data.\n\nThis operation cannot fail as the `RwLockMappedWriteGuard` passed in already\nlocked the data.\n\nThis is an associated function that needs to be used as\n`RwLockMappedWriteGuard::map(..)`. A method would interfere with methods\nof the same name on the contents of the locked data.\n\nThis is an asynchronous version of [`RwLockWriteGuard::map`] from the\n[`parking_lot` crate].\n\n[`RwLockWriteGuard::map`]: https://docs.rs/lock_api/latest/lock_api/struct.RwLockWriteGuard.html#method.map\n[`parking_lot` crate]: https://crates.io/crates/parking_lot\n\n# Examples\n\n```\nuse tokio::sync::{RwLock, RwLockWriteGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = RwLock::new(Foo(1));\n\n{\n    let mut mapped = RwLockWriteGuard::map(lock.write().await, |f| &mut f.0);\n    *mapped = 2;\n}\n\nassert_eq!(Foo(2), *lock.read().await);\n# }\n```","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"U"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6806":{"id":6806,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5044":{"id":5044,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/broadcast.rs","begin":[278,9],"end":[280,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3282":{"id":3282,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2372,17],"end":[2372,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[3281],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5371":{"id":5371,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3609":{"id":3609,"crate_id":0,"name":"try_into","span":{"filename":"src/process/mod.rs","begin":[1618,5],"end":[1620,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Stdio","id":3437,"args":null}}},{"type":{"qualified_path":{"name":"Error","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":173,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1847":{"id":1847,"crate_id":0,"name":"simplex","span":{"filename":"src/io/util/mem.rs","begin":[211,1],"end":[213,2]},"visibility":"public","docs":"Creates unidirectional buffer that acts like in memory pipe.\n\nThe `max_buf_size` argument is the maximum amount of bytes that can be\nwritten to a buffer before it returns `Poll::Pending`.\n\n# Unify reader and writer\n\nThe reader and writer half can be unified into a single structure\nof `SimplexStream` that supports both reading and writing or\nthe `SimplexStream` can be already created as unified structure\nusing [`SimplexStream::new_unsplit()`].\n\n```\n# async fn ex() -> std::io::Result<()> {\n# use tokio::io::{AsyncReadExt, AsyncWriteExt};\nlet (reader, writer) = tokio::io::simplex(64);\nlet mut simplex_stream = reader.unsplit(writer);\nsimplex_stream.write_all(b\"hello\").await?;\n\nlet mut buf = [0u8; 5];\nsimplex_stream.read_exact(&mut buf).await?;\nassert_eq!(&buf, b\"hello\");\n# Ok(())\n# }\n```","links":{"`SimplexStream::new_unsplit()`":1848},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["max_buf_size",{"primitive":"usize"}]],"output":{"tuple":[{"resolved_path":{"path":"crate::io::ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}}}],"constraints":[]}}}},{"resolved_path":{"path":"crate::io::WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}}}],"constraints":[]}}}}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7133":{"id":7133,"crate_id":0,"name":"join_next","span":{"filename":"src/task/join_set.rs","begin":[296,5],"end":[298,6]},"visibility":"public","docs":"Waits until one of the tasks in the set completes and returns its output.\n\nReturns `None` if the set is empty.\n\n# Cancel safety\n\nThis method is cancel safe. If `join_next` is used as a branch in\n`tokio::select!` and another branch completes first, it is guaranteed\nthat no tasks were removed from this `JoinSet`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"resolved_path":{"path":"JoinError","id":3686,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7460":{"id":7460,"crate_id":0,"name":"fmt","span":{"filename":"src/time/interval.rs","begin":[385,10],"end":[385,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5698":{"id":5698,"crate_id":0,"name":"into_inner","span":{"filename":"src/sync/mutex.rs","begin":[787,5],"end":[792,6]},"visibility":"public","docs":"Consumes the mutex, returning the underlying data.\n# Examples\n\n```\nuse tokio::sync::Mutex;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mutex = Mutex::new(1);\n\nlet n = mutex.into_inner();\nassert_eq!(n, 1);\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"generic":"T"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2174":{"id":2174,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3936":{"id":3936,"crate_id":0,"name":"new_multi_thread","span":{"filename":"src/runtime/builder.rs","begin":[276,5],"end":[279,6]},"visibility":"public","docs":"Returns a new builder with the multi thread scheduler selected.\n\nConfiguration methods can be chained on the return value.","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt-multi-thread\"), span: src/runtime/builder.rs:274:11: 274:38 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt-multi-thread\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6025":{"id":6025,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"739":{"id":739,"crate_id":0,"name":null,"span":{"filename":"src/io/async_write.rs","begin":[359,1],"end":[392,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"io::Cursor","id":557,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u8"}}],"constraints":[]}}}}}],"constraints":[]}}}},"items":[734,735,736,737,738],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6352":{"id":6352,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[183,1],"end":[183,82]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"owned_write_guard::OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2828":{"id":2828,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split_owned.rs","begin":[53,10],"end":[53,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[2827],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1066":{"id":1066,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"E","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4590":{"id":4590,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4917":{"id":4917,"crate_id":0,"name":null,"span":{"filename":"src/signal/windows.rs","begin":[378,1],"end":[438,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[4915,4916],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6679":{"id":6679,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[125,1],"end":[134,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6678],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1393":{"id":1393,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7006":{"id":7006,"crate_id":0,"name":null,"span":{"filename":"src/task/local.rs","begin":[865,5],"end":[932,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:609:19: 609:33 (#4249) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[7005],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5244":{"id":5244,"crate_id":0,"name":"OwnedPermit","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[95,1],"end":[97,2]},"visibility":"public","docs":"Owned permit to send one value into the channel.\n\nThis is identical to the [`Permit`] type, except that it moves the sender\nrather than borrowing it.\n\n`OwnedPermit` values are returned by [`Sender::reserve_owned()`] and\n[`Sender::try_reserve_owned()`] and are used to guarantee channel capacity\nbefore generating a message to send.\n\n[`Permit`]: Permit\n[`Sender::reserve_owned()`]: Sender::reserve_owned\n[`Sender::try_reserve_owned()`]: Sender::try_reserve_owned","links":{"Sender::try_reserve_owned":5250,"Sender::reserve_owned":5246,"Permit":5228},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5370,5371,5372,5373,5374,5375,5376,5377,5378,5379,5380,5381,5382,5383,5384,5385,5386,5388,5390]}}},"5571":{"id":5571,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3809":{"id":3809,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"285":{"id":285,"crate_id":0,"name":"from","span":{"filename":"src/fs/file.rs","begin":[936,9],"end":[938,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["handle",{"resolved_path":{"path":"OwnedHandle","id":286,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2047":{"id":2047,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[17,5],"end":[17,35]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"buf_reader::BufReader","name":"BufReader","id":513,"is_glob":false}}},"7333":{"id":7333,"crate_id":0,"name":"duration_since","span":{"filename":"src/time/instant.rs","begin":[72,5],"end":[74,6]},"visibility":"public","docs":"Returns the amount of time elapsed from another instant to this one, or\nzero duration if that instant is later than this one.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["earlier",{"resolved_path":{"path":"Instant","id":7328,"args":null}}]],"output":{"resolved_path":{"path":"Duration","id":2215,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4136":{"id":4136,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"612":{"id":612,"crate_id":0,"name":null,"span":{"filename":"src/io/util/chain.rs","begin":[82,1],"end":[107,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[611],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6225":{"id":6225,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4463":{"id":4463,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"939":{"id":939,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2701":{"id":2701,"crate_id":0,"name":"into_raw_fd","span":{"filename":"src/net/unix/socket.rs","begin":[270,5],"end":[272,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4790":{"id":4790,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3028":{"id":3028,"crate_id":0,"name":"from_owned_fd_unchecked","span":{"filename":"src/net/unix/pipe.rs","begin":[494,5],"end":[498,6]},"visibility":"public","docs":"Creates a new `Sender` from an [`OwnedFd`] without checking pipe properties.\n\nThis function is intended to construct a pipe from an [`OwnedFd`] representing\nan anonymous pipe or a special FIFO file. The conversion assumes nothing about\nthe underlying pipe; it is left up to the user to make sure that the file\ndescriptor represents the writing end of a pipe and the pipe is set in\nnon-blocking mode.\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"crate::runtime::Runtime::enter":1054,"`OwnedFd`":272},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["owned_fd",{"resolved_path":{"path":"OwnedFd","id":272,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Sender","id":856,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1266":{"id":1266,"crate_id":3,"name":"to_string","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"String","id":448,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6879":{"id":6879,"crate_id":0,"name":"Target","span":{"filename":"src/sync/watch.rs","begin":[1470,5],"end":[1470,21]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"T"},"default_unstable":null}}},"5117":{"id":5117,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[352,5],"end":[360,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[5116],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1593":{"id":1593,"crate_id":0,"name":"write_i32_le","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes a signed 32-bit integer in little-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_i32_le(&mut self, n: i32) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite signed 32-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_i32_le(267).await?;\nwriter.write_i32_le(1205419366).await?;\n\nassert_eq!(writer, b\"\\x0b\\x01\\x00\\x00\\x66\\x3d\\xd9\\x47\");\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"i32"}]],"output":{"resolved_path":{"path":"WriteI32Le","id":1594,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3355":{"id":3355,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7206":{"id":7206,"crate_id":0,"name":"spawn","span":{"filename":"src/task/builder.rs","begin":[87,5],"end":[98,6]},"visibility":"public","docs":"Spawns a task with this builder's settings on the current runtime.\n\n# Panics\n\nThis method panics if called outside of a Tokio runtime.\n\nSee [`task::spawn`](crate::task::spawn()) for\nmore details.","links":{"crate::task::spawn()":3799},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["future",{"generic":"Fut"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Fut"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"Fut","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Fut"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Fut"},"trait":{"path":"","id":520,"args":null}}},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5444":{"id":5444,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[529,1],"end":[685,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5436,5437,5438,5439,5441,5442,5443],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1920":{"id":1920,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7533":{"id":7533,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[99,30],"end":[99,41]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"interval::interval_at","name":"interval_at","id":7398,"is_glob":false}}},"5771":{"id":5771,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2247":{"id":2247,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"485":{"id":485,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[218,1],"end":[218,42]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::canonicalize::canonicalize","name":"canonicalize","id":116,"is_glob":false}}},"4009":{"id":4009,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4336":{"id":4336,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2574":{"id":2574,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"812":{"id":812,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/net/tcp/split.rs","begin":[397,5],"end":[399,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6098":{"id":6098,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6425":{"id":6425,"crate_id":0,"name":"drop","span":{"filename":"src/sync/rwlock/read_guard.rs","begin":[179,5],"end":[190,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2901":{"id":2901,"crate_id":0,"name":"try_write","span":{"filename":"src/net/unix/stream.rs","begin":[665,5],"end":[669,6]},"visibility":"public","docs":"Tries to write a buffer to the stream, returning how many bytes were\nwritten.\n\nThe function will attempt to write the entire contents of `buf`, but\nonly part of the buffer may be written.\n\nThis function is usually paired with `writable()`.\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the stream is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::UnixStream;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let dir = tempfile::tempdir().unwrap();\n    let bind_path = dir.path().join(\"bind_path\");\n    let stream = UnixStream::connect(bind_path).await?;\n\n    loop {\n        // Wait for the socket to be writable\n        stream.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match stream.try_write(b\"hello world\") {\n            Ok(n) => {\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1139":{"id":1139,"crate_id":0,"name":"readable_mut","span":{"filename":"src/io/async_fd.rs","begin":[731,5],"end":[733,6]},"visibility":"public","docs":"Waits for the file descriptor to become readable, returning a\n[`AsyncFdReadyMutGuard`] that must be dropped to resume read-readiness\npolling.\n\nThis method takes `&mut self`, so it is possible to access the inner IO\nresource mutably when handling the [`AsyncFdReadyMutGuard`].\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`AsyncFdReadyMutGuard`":1131},"attrs":[{"other":"#[allow(clippy::needless_lifetimes)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4663":{"id":4663,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[261,10],"end":[261,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4990":{"id":4990,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3228":{"id":3228,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6752":{"id":6752,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7079":{"id":7079,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5317":{"id":5317,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1793":{"id":1793,"crate_id":0,"name":"get_ref","span":{"filename":"src/io/util/lines.rs","begin":[81,5],"end":[83,6]},"visibility":"public","docs":"Obtains a reference to the underlying reader.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"R"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3555":{"id":3555,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5644":{"id":5644,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3882":{"id":3882,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"358":{"id":358,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2120":{"id":2120,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[287,85],"end":[287,89]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::Sink","name":"Sink","id":809,"is_glob":false}}},"7406":{"id":7406,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5971":{"id":5971,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2447":{"id":2447,"crate_id":0,"name":"try_write","span":{"filename":"src/net/tcp/stream.rs","begin":[920,5],"end":[926,6]},"visibility":"public","docs":"Try to write a buffer to the stream, returning how many bytes were\nwritten.\n\nThe function will attempt to write the entire contents of `buf`, but\nonly part of the buffer may be written.\n\nThis function is usually paired with `writable()`.\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the stream is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\n    loop {\n        // Wait for the socket to be writable\n        stream.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match stream.try_write(b\"hello world\") {\n            Ok(n) => {\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"685":{"id":685,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_writer.rs","begin":[226,1],"end":[267,2]},"visibility":"default","docs":"Seek to the offset, in bytes, in the underlying writer.\n\nSeeking always writes out the internal buffer before seeking.","links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncSeek","id":199,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncSeek","id":199,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[683,684],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6298":{"id":6298,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/rwlock/owned_read_guard.rs","begin":[181,5],"end":[183,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4536":{"id":4536,"crate_id":0,"name":"poll_time_histogram_bucket_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[974,9],"end":[982,10]},"visibility":"public","docs":"Returns the number of times the given worker polled tasks with a poll\nduration within the given bucket's range.\n\nEach worker maintains its own histogram and the counts for each bucket\nstarts at zero when the runtime is created. Each time the worker polls a\ntask, it tracks the duration the task poll time took and increments the\nassociated bucket by 1.\n\nEach bucket is a monotonically increasing counter. It is never\ndecremented or reset to zero.\n\n# Arguments\n\n`worker` is the index of the worker being queried. The given value must\nbe between 0 and `num_workers()`. The index uniquely identifies a single\nworker and will continue to identify the worker throughout the lifetime\nof the runtime instance.\n\n`bucket` is the index of the bucket being queried. The bucket is scoped\nto the worker. The range represented by the bucket can be queried by\ncalling [`poll_time_histogram_bucket_range()`]. Each worker maintains\nidentical bucket ranges.\n\n# Panics\n\nThe method panics when `worker` represents an invalid worker, i.e. is\ngreater than or equal to `num_workers()` or if `bucket` represents an\ninvalid bucket.\n\n# Examples\n\n```\nuse tokio::runtime::{self, Handle};\n\nfn main() {\n    runtime::Builder::new_current_thread()\n        .enable_metrics_poll_time_histogram()\n        .build()\n        .unwrap()\n        .block_on(async {\n            let metrics = Handle::current().metrics();\n            let buckets = metrics.poll_time_histogram_num_buckets();\n\n            for worker in 0..metrics.num_workers() {\n                for i in 0..buckets {\n                    let count = metrics.poll_time_histogram_bucket_count(worker, i);\n                    println!(\"Poll count {}\", count);\n                }\n            }\n        });\n}\n```\n\n[`poll_time_histogram_bucket_range()`]: crate::runtime::RuntimeMetrics::poll_time_histogram_bucket_range","links":{"crate::runtime::RuntimeMetrics::poll_time_histogram_bucket_range":4524},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/metrics/runtime.rs:578:13: 578:27 (#0) }, NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/runtime/metrics/runtime.rs:579:13: 579:37 (#0) }], src/runtime/metrics/runtime.rs:577:15: 580:10 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, target_has_atomic = \"64\")))]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["worker",{"primitive":"usize"}],["bucket",{"primitive":"usize"}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1012":{"id":1012,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2774":{"id":2774,"crate_id":0,"name":"try_read_vectored","span":{"filename":"src/net/unix/split_owned.rs","begin":[230,5],"end":[232,6]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffers, returning\nhow many bytes were read.\n\nData is copied to fill each buffer in order, with the final buffer\nwritten to possibly being only partially filled. This method behaves\nequivalently to a single call to [`try_read()`] with concatenated\nbuffers.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_vectored()` is non-blocking, the buffer does not have to be\nstored by the async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`try_read()`]: Self::try_read()\n[`readable()`]: Self::readable()\n[`ready()`]: Self::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the stream's read half is closed\nand will no longer yield data. If the stream is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::ready()":2772,"Self::try_read()":2770,"Self::readable()":2771},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"resolved_path":{"path":"io::IoSliceMut","id":2282,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6625":{"id":6625,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3101":{"id":3101,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/mod.rs","begin":[16,23],"end":[16,36]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"split_owned::OwnedReadHalf","name":"OwnedReadHalf","id":640,"is_glob":false}}},"1339":{"id":1339,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4863":{"id":4863,"crate_id":0,"name":null,"span":{"filename":"src/signal/windows.rs","begin":[64,10],"end":[64,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[4862],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6952":{"id":6952,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1666":{"id":1666,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"7279":{"id":7279,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3755":{"id":3755,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/id.rs","begin":[31,40],"end":[31,49]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1993":{"id":1993,"crate_id":0,"name":"limit","span":{"filename":"src/io/util/take.rs","begin":[37,5],"end":[39,6]},"visibility":"public","docs":"Returns the remaining number of bytes that can be\nread before this instance will return EOF.\n\n# Note\n\nThis instance may reach `EOF` after reading fewer bytes than indicated by\nthis method if the underlying [`AsyncRead`] instance reaches EOF.","links":{"`AsyncRead`":224},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"231":{"id":231,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5517":{"id":5517,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5844":{"id":5844,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4082":{"id":4082,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"558":{"id":558,"crate_id":0,"name":"poll_fill_buf","span":{"filename":"src/io/join.rs","begin":[123,5],"end":[125,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2320":{"id":2320,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7606":{"id":7606,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4409":{"id":4409,"crate_id":0,"name":null,"span":{"filename":"src/runtime/runtime.rs","begin":[111,17],"end":[111,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[4408],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2647":{"id":2647,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"885":{"id":885,"crate_id":0,"name":"initialized","span":{"filename":"src/io/read_buf.rs","begin":[92,5],"end":[97,6]},"visibility":"public","docs":"Returns a shared reference to the initialized portion of the buffer.\n\nThis includes the filled portion.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6171":{"id":6171,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/batch_semaphore.rs","begin":[68,10],"end":[68,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6498":{"id":6498,"crate_id":0,"name":"Target","span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[169,5],"end":[169,21]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"T"},"default_unstable":null}}},"1212":{"id":1212,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2974":{"id":2974,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5063":{"id":5063,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3301":{"id":3301,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1539":{"id":1539,"crate_id":0,"name":"read_f64_le","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an 64-bit floating point type in little-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_f64_le(&mut self) -> io::Result<f64>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead 64-bit floating point type from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![\n    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xef, 0xff\n]);\n\nassert_eq!(f64::MIN, reader.read_f64_le().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadF64Le","id":1540,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6825":{"id":6825,"crate_id":0,"name":"closed","span":{"filename":"src/sync/watch.rs","begin":[1313,5],"end":[1330,6]},"visibility":"public","docs":"Completes when all receivers have dropped.\n\nThis allows the producer to get notified when interest in the produced\nvalues is canceled and immediately stop doing work. Once a channel is\nclosed, the only way to reopen it is to call [`Sender::subscribe`] to\nget a new receiver.\n\nIf the channel becomes closed for a brief amount of time (e.g., the last\nreceiver is dropped and then `subscribe` is called), then this call to\n`closed` might return, but it is also possible that it does not \"notice\"\nthat the channel was closed for a brief amount of time.\n\n# Cancel safety\n\nThis method is cancel safe.\n\n# Examples\n\n```\nuse tokio::sync::watch;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = watch::channel(\"hello\");\n\ntokio::spawn(async move {\n    // use `rx`\n    drop(rx);\n});\n\n// Waits for `rx` to drop\ntx.closed().await;\nprintln!(\"the `rx` handles dropped\")\n# }\n```","links":{"`Sender::subscribe`":6818},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7152":{"id":7152,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5390":{"id":5390,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1959,1],"end":[1965,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5389],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1866":{"id":1866,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5717":{"id":5717,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[259,1],"end":[259,59]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3955":{"id":3955,"crate_id":0,"name":"on_thread_stop","span":{"filename":"src/runtime/builder.rs","begin":[734,5],"end":[740,6]},"visibility":"public","docs":"Executes function `f` before each thread stops.\n\nThis is intended for bookkeeping and monitoring use cases.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n{\n# use tokio::runtime;\n# pub fn main() {\nlet runtime = runtime::Builder::new_multi_thread()\n    .on_thread_stop(|| {\n        println!(\"thread stopping\");\n    })\n    .build();\n# }\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([Not(NameValue { name: \"loom\", value: None, span: src/runtime/builder.rs:733:15: 733:19 (#0) }, src/runtime/builder.rs:733:14: 733:20 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Fn","id":3952,"args":{"parenthesized":{"inputs":[],"output":null}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2193":{"id":2193,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/listener.rs","begin":[448,5],"end":[452,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#471) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#471) }], src/macros/cfg.rs:42:26: 42:39 (#471)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#471) }], src/macros/cfg.rs:42:22: 42:49 (#471))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawSocket","id":2194,"args":null},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[2191],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"431":{"id":431,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7479":{"id":7479,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6044":{"id":6044,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[351,21],"end":[351,23]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2520":{"id":2520,"crate_id":0,"name":"poll_send","span":{"filename":"src/net/udp.rs","begin":[600,5],"end":[604,6]},"visibility":"public","docs":"Attempts to send data on the socket to the remote address to which it\nwas previously `connect`ed.\n\nThe [`connect`] method will connect this socket to a remote address.\nThis method will fail if the socket is not connected.\n\nNote that on multiple calls to a `poll_*` method in the send direction,\nonly the `Waker` from the `Context` passed to the most recent call will\nbe scheduled to receive a wakeup.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the socket is not available to write\n* `Poll::Ready(Ok(n))` `n` is the number of bytes sent\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n[`connect`]: method@Self::connect","links":{"method@Self::connect":2506},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"758":{"id":758,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/split.rs","begin":[133,5],"end":[135,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4282":{"id":4282,"crate_id":0,"name":"id","span":{"filename":"src/runtime/handle.rs","begin":[483,5],"end":[490,6]},"visibility":"public","docs":"Returns the [`Id`] of the current `Runtime`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n#[tokio::main(flavor = \"current_thread\")]\nasync fn main() {\n  println!(\"Current runtime id: {}\", Handle::current().id());\n}\n```\n\n[`Id`]: struct@crate::runtime::Id","links":{"struct@crate::runtime::Id":4281},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"runtime::Id","id":4281,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6371":{"id":6371,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2847":{"id":2847,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1085":{"id":1085,"crate_id":0,"name":null,"span":{"filename":"src/io/bsd/poll_aio.rs","begin":[208,1],"end":[212,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(target_os = \"freebsd\", feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"E","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AioSource","id":1049,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[1084],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6698":{"id":6698,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3174":{"id":3174,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1412":{"id":1412,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4936":{"id":4936,"crate_id":0,"name":"ctrl_logoff","span":{"filename":"src/signal/windows.rs","begin":[459,1],"end":[463,2]},"visibility":"public","docs":"Creates a new listener which receives \"ctrl-logoff\" notifications sent to the\nprocess.\n\n# Examples\n\n```rust,no_run\nuse tokio::signal::windows::ctrl_logoff;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    // A listener of CTRL-LOGOFF events.\n    let mut signal = ctrl_logoff()?;\n\n    signal.recv().await;\n    println!(\"got CTRL-LOGOFF. Cleaning up before exiting\");\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5263":{"id":5263,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3501":{"id":3501,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1739":{"id":1739,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7025":{"id":7025,"crate_id":0,"name":null,"span":{"filename":"src/task/local.rs","begin":[935,1],"end":[939,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[7024],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7352":{"id":7352,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3828":{"id":3828,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/task/join.rs","begin":[371,5],"end":[376,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2066":{"id":2066,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[73,5],"end":[73,26]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"split::Split","name":"Split","id":1480,"is_glob":false}}},"5590":{"id":5590,"crate_id":0,"name":"clone","span":{"filename":"src/sync/mpsc/error.rs","begin":[27,25],"end":[27,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5917":{"id":5917,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4155":{"id":4155,"crate_id":0,"name":"BacktraceFrame","span":{"filename":"src/runtime/dump.rs","begin":[112,1],"end":[116,2]},"visibility":"public","docs":"A backtrace frame.\n\nThis struct represents one stack frame in a captured backtrace, similar to [`backtrace::BacktraceFrame`].","links":{"`backtrace::BacktraceFrame`":4154},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4159,4160,4161,4162,4163,4164,4165,4166,4167,4168,4169,4170,4171,4172,4173,4174,4175,4176,4177,4179,4181]}}},"631":{"id":631,"crate_id":0,"name":"OwnedReadHalf","span":{"filename":"src/net/tcp/split_owned.rs","begin":[35,1],"end":[37,2]},"visibility":"public","docs":"Owned read half of a [`TcpStream`], created by [`into_split`].\n\nReading from an `OwnedReadHalf` is usually done using the convenience methods found\non the [`AsyncReadExt`] trait.\n\n[`TcpStream`]: TcpStream\n[`into_split`]: TcpStream::into_split()\n[`AsyncReadExt`]: trait@crate::io::AsyncReadExt","links":{"trait@crate::io::AsyncReadExt":202,"TcpStream":634,"TcpStream::into_split()":2339},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[2351,2352,2353,2354,2355,2356,2357,2358,2359,2360,2361,2362,2363,2364,2365,2366,2367,2368,2370,630,2372]}}},"2393":{"id":2393,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6244":{"id":6244,"crate_id":0,"name":"semaphore","span":{"filename":"src/sync/semaphore.rs","begin":[1215,5],"end":[1217,6]},"visibility":"public","docs":"Returns the [`Semaphore`] from which this permit was acquired.","links":{"`Semaphore`":5895},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}}}],"constraints":[]}}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2720":{"id":2720,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"958":{"id":958,"crate_id":0,"name":null,"span":{"filename":"src/io/interest.rs","begin":[28,17],"end":[28,21]},"visibility":"default","docs":null,"links":{},"attrs":["automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4482":{"id":4482,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6571":{"id":6571,"crate_id":0,"name":"take","span":{"filename":"src/sync/once_cell.rs","begin":[454,5],"end":[456,6]},"visibility":"public","docs":"Takes ownership of the current value, leaving the cell empty.  Returns\n`None` if the cell is empty.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4809":{"id":4809,"crate_id":0,"name":"from","span":{"filename":"src/signal/unix.rs","begin":[230,5],"end":[232,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["signum",{"resolved_path":{"path":"std::os::raw::c_int","id":4766,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1285":{"id":1285,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[260,83],"end":[260,103]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"super::async_fd::AsyncFdReadyMutGuard","name":"AsyncFdReadyMutGuard","id":1131,"is_glob":false}}},"3047":{"id":3047,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6898":{"id":6898,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[482,5],"end":[482,62]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"rwlock::owned_write_guard::OwnedRwLockWriteGuard","name":"OwnedRwLockWriteGuard","id":6313,"is_glob":false}}},"3374":{"id":3374,"crate_id":0,"name":null,"span":{"filename":"src/net/mod.rs","begin":[36,1],"end":[36,29]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"addr::ToSocketAddrs","name":"ToSocketAddrs","id":2128,"is_glob":false}}},"5136":{"id":5136,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7225":{"id":7225,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5463":{"id":5463,"crate_id":0,"name":"clone","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[50,5],"end":[54,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3701":{"id":3701,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"177":{"id":177,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4028":{"id":4028,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2266":{"id":2266,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/socket.rs","begin":[1046,5],"end":[1050,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#476) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#476) }], src/macros/cfg.rs:42:26: 42:39 (#476)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#476) }], src/macros/cfg.rs:42:22: 42:49 (#476))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsSocket","id":2198,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[2265],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"504":{"id":504,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[269,1],"end":[269,50]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::symlink_metadata::symlink_metadata","name":"symlink_metadata","id":466,"is_glob":false}}},"5790":{"id":5790,"crate_id":0,"name":"deref_mut","span":{"filename":"src/sync/mutex.rs","begin":[1168,5],"end":[1170,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"qualified_path":{"name":"Target","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":550,"args":null}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6117":{"id":6117,"crate_id":0,"name":"Output","span":{"filename":"src/sync/oneshot.rs","begin":[1269,5],"end":[1269,40]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"resolved_path":{"path":"RecvError","id":5989,"args":null}}}],"constraints":[]}}}},"default_unstable":null}}},"2593":{"id":2593,"crate_id":0,"name":null,"span":{"filename":"src/net/udp.rs","begin":[2347,5],"end":[2351,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#500) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#500) }], src/macros/cfg.rs:42:26: 42:39 (#500)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#500) }], src/macros/cfg.rs:42:22: 42:49 (#500))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawSocket","id":2194,"args":null},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[2592],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"831":{"id":831,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/net/unix/split.rs","begin":[300,5],"end":[306,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4355":{"id":4355,"crate_id":0,"name":null,"span":{"filename":"src/runtime/handle.rs","begin":[747,1],"end":[747,41]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4682":{"id":4682,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2920":{"id":2920,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1158":{"id":1158,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6444":{"id":6444,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6771":{"id":6771,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[363,5],"end":[367,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[6770],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5009":{"id":5009,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3247":{"id":3247,"crate_id":0,"name":"clone","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1733,17],"end":[1733,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5336":{"id":5336,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3574":{"id":3574,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1657,5],"end":[1657,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(unix))]"},{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"super::ChildStdout","id":655,"args":null}},"items":[3573],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1812":{"id":1812,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7098":{"id":7098,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7425":{"id":7425,"crate_id":0,"name":null,"span":{"filename":"src/time/interval.rs","begin":[175,24],"end":[175,28]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5663":{"id":5663,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/error.rs","begin":[155,9],"end":[164,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2139":{"id":2139,"crate_id":0,"name":null,"span":{"filename":"src/net/addr.rs","begin":[104,1],"end":[104,42]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"for":{"tuple":[{"resolved_path":{"path":"std::net::Ipv4Addr","id":2140,"args":null}},{"primitive":"u16"}]},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5990":{"id":5990,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4228":{"id":4228,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"704":{"id":704,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/async_write.rs","begin":[216,5],"end":[216,25]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2466":{"id":2466,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6317":{"id":6317,"crate_id":0,"name":"RwLockMappedWriteGuard","span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[15,1],"end":[24,2]},"visibility":"public","docs":"RAII structure used to release the exclusive write access of a lock when\ndropped.\n\nThis structure is created by [mapping] an [`RwLockWriteGuard`]. It is a\nseparate type from `RwLockWriteGuard` to disallow downgrading a mapped\nguard, since doing so can cause undefined behavior.\n\n[mapping]: method@crate::sync::RwLockWriteGuard::map\n[`RwLockWriteGuard`]: struct@crate::sync::RwLockWriteGuard","links":{"method@crate::sync::RwLockWriteGuard::map":6437,"struct@crate::sync::RwLockWriteGuard":6436},"attrs":[{"other":"#[clippy::has_significant_drop]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6481,6482,6483,6484,6485,6486,6487,6488,6489,6490,6491,6492,6493,6494,6495,6496,6497,6500,6502,6504,6506,6508,6509,6510]}}},"2793":{"id":2793,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1031":{"id":1031,"crate_id":0,"name":null,"span":{"filename":"src/io/ready.rs","begin":[282,1],"end":[287,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"BitOrAssign","id":973,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[1030],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4555":{"id":4555,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6644":{"id":6644,"crate_id":0,"name":"const_new_with","span":{"filename":"src/sync/set_once.rs","begin":[240,5],"end":[246,6]},"visibility":"public","docs":"Creates a new `SetOnce` that contains the provided value.\n\n# Example\n\nWhen using the `tracing` [unstable feature], a `SetOnce` created with\n`const_new_with` will not be instrumented. As such, it will not be\nvisible in [`tokio-console`]. Instead, [`SetOnce::new_with`] should be\nused to create an instrumented object if that is needed.\n\n```\nuse tokio::sync::SetOnce;\n\nstatic ONCE: SetOnce<u32> = SetOnce::const_new_with(1);\n\nfn get_global_integer() -> Option<&'static u32> {\n    ONCE.get()\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet result = get_global_integer();\n\nassert_eq!(result, Some(&1));\n# }\n```\n\n[`tokio-console`]: https://github.com/tokio-rs/console\n[unstable feature]: crate#unstable-features","links":{"`SetOnce::new_with`":6643,"crate#unstable-features":3944},"attrs":[{"other":"#[attr = CfgTrace([Not(All([NameValue { name: \"loom\", value: None, span: src/sync/set_once.rs:239:19: 239:23 (#0) }, NameValue { name: \"test\", value: None, span: src/sync/set_once.rs:239:25: 239:29 (#0) }], src/sync/set_once.rs:239:18: 239:30 (#0)), src/sync/set_once.rs:239:14: 239:31 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["value",{"generic":"T"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4882":{"id":4882,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3120":{"id":3120,"crate_id":0,"name":"poll_read_ready","span":{"filename":"src/net/windows/named_pipe.rs","begin":[388,5],"end":[390,6]},"visibility":"public","docs":"Polls for read readiness.\n\nIf the pipe is not currently ready for reading, this method will\nstore a clone of the `Waker` from the provided `Context`. When the pipe\nbecomes ready for reading, `Waker::wake` will be called on the waker.\n\nNote that on multiple calls to `poll_read_ready` or `poll_read`, only\nthe `Waker` from the `Context` passed to the most recent call is\nscheduled to receive a wakeup. (However, `poll_write_ready` retains a\nsecond, independent waker.)\n\nThis function is intended for cases where creating and pinning a future\nvia [`readable`] is not feasible. Where possible, using [`readable`] is\npreferred, as this supports polling from multiple tasks at once.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the pipe is not ready for reading.\n* `Poll::Ready(Ok(()))` if the pipe is ready for reading.\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n[`readable`]: method@Self::readable","links":{"method@Self::readable":3119},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1358":{"id":1358,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6971":{"id":6971,"crate_id":0,"name":"cooperative","span":{"filename":"src/task/coop/mod.rs","begin":[490,5],"end":[492,6]},"visibility":"public","docs":"Creates a wrapper future that makes the inner future cooperate with the Tokio scheduler.\n\nWhen polled, the wrapper will first call [`poll_proceed`] to consume task budget, and\nimmediately yield if the budget has been depleted. If budget was available, the inner future\nis polled. The budget consumption will be made final using [`RestoreOnPending::made_progress`]\nif the inner future resolves to its final value.\n\n# Examples\n\nWhen you call `recv` on the `Receiver` of a [`tokio::sync::mpsc`](crate::sync::mpsc)\nchannel, task budget will automatically be consumed when the next value is returned.\nThis makes tasks that use Tokio mpsc channels automatically cooperative.\n\nIf you're using [`futures::channel::mpsc`](https://docs.rs/futures/latest/futures/channel/mpsc/index.html)\ninstead, automatic task budget consumption will not happen. This example shows how can use\n`cooperative` to make `futures::channel::mpsc` channels cooperate with the scheduler in the\nsame way Tokio channels do.\n\n```\nuse tokio::task::coop::cooperative;\nuse futures::channel::mpsc::Receiver;\nuse futures::stream::StreamExt;\n\nasync fn receive_next<T>(receiver: &mut Receiver<T>) -> Option<T> {\n    // Use `StreamExt::next` to obtain a `Future` that resolves to the next value\n    let recv_future = receiver.next();\n    // Wrap it a cooperative wrapper\n    let coop_future = cooperative(recv_future);\n    // And await\n    coop_future.await\n}","links":{"crate::sync::mpsc":5680,"`RestoreOnPending::made_progress`":6947,"`poll_proceed`":6945},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:629:21: 629:35 (#4221) }, NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:630:21: 630:39 (#4221) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:631:21: 631:36 (#4221) }, NameValue { name: \"feature\", value: Some(\"process\"), span: src/macros/cfg.rs:632:21: 632:40 (#4221) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:633:21: 633:35 (#4221) }, NameValue { name: \"feature\", value: Some(\"signal\"), span: src/macros/cfg.rs:634:21: 634:39 (#4221) }, NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:635:21: 635:37 (#4221) }, NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:636:21: 636:37 (#4221) }], src/macros/cfg.rs:628:22: 637:22 (#4221))])]"},{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["fut",{"generic":"F"}]],"output":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3447":{"id":3447,"crate_id":0,"name":"spawn_with","span":{"filename":"src/process/mod.rs","begin":[934,5],"end":[941,6]},"visibility":"public","docs":"Executes the command as a child process with a custom spawning function,\nreturning a handle to it.\n\nThis is identical to [`Self::spawn`] in every aspect except the spawn:\nhere, it is customizable through the `with` parameter instead of\ndefaulting to the usual spawn. In fact, [`Self::spawn`] is just\n[`Self::spawn_with`] with [`StdCommand::spawn`].\n\nThis is useful mostly under Windows for now, since the platform exposes\nspecial APIs to configure child processes when spawning them with various\nattributes that customize the exact behavior of the spawn operation.\n\n# Examples\n\nBasic usage:\n\n```no_run\n# async fn test() { // allow using await\nuse std::process::Stdio;\n\nlet output = tokio::process::Command::new(\"ls\")\n    .stdin(Stdio::null())\n    .stdout(Stdio::piped())\n    .stderr(Stdio::piped())\n    .spawn_with(std::process::Command::spawn)\n    .unwrap()\n    .wait_with_output()\n    .await\n    .unwrap();\n# }\n```\n\nActually customizing the spawn under Windows:\n\n```ignore\n#![feature(windows_process_extensions_raw_attribute)]\n# #[cfg(windows)]   // Windows-only nightly APIs are used here.\n# async fn test() { // Allow using await.\nuse std::os::windows::process::{CommandExt, ProcThreadAttributeList};\nuse std::process::Stdio;\nuse tokio::process::Command;\n\nlet parent = Command::new(\"cmd\").spawn().unwrap();\nlet parent_process_handle = parent.raw_handle();\n\nconst PROC_THREAD_ATTRIBUTE_PARENT_PROCESS: usize = 0x00020000;\nlet attribute_list = ProcThreadAttributeList::build()\n    .attribute(PROC_THREAD_ATTRIBUTE_PARENT_PROCESS, &parent_process_handle)\n    .finish()\n    .unwrap();\n\nlet _output = Command::new(\"ls\")\n    .stdin(Stdio::null())\n    .stdout(Stdio::piped())\n    .stderr(Stdio::piped())\n    .spawn_with(|cmd| cmd.spawn_with_attributes(&attribute_list))\n    .unwrap()\n    .wait_with_output()\n    .await\n    .unwrap();\n# }\n```","links":{"`Self::spawn`":3416,"`Self::spawn_with`":3447,"`StdCommand::spawn`":3448},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/process/mod.rs:931:11: 931:25 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["with",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"StdCommand","id":3415,"args":null}}}}],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"StdChild","id":3449,"args":null}}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Child","id":3419,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl FnOnce(&mut StdCommand) -> io::Result<StdChild>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"StdCommand","id":3415,"args":null}}}}],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"StdChild","id":3449,"args":null}}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5209":{"id":5209,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7298":{"id":7298,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5536":{"id":5536,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3774":{"id":3774,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2012":{"id":2012,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4101":{"id":4101,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2339":{"id":2339,"crate_id":0,"name":"into_split","span":{"filename":"src/net/tcp/stream.rs","begin":[1426,5],"end":[1428,6]},"visibility":"public","docs":"Splits a `TcpStream` into a read half and a write half, which can be used\nto read and write the stream concurrently.\n\nUnlike [`split`], the owned halves can be moved to separate tasks, however\nthis comes at the cost of a heap allocation.\n\n**Note:** Dropping the write half will shut down the write half of the TCP\nstream. This is equivalent to calling [`shutdown()`] on the `TcpStream`.\n\n[`split`]: TcpStream::split()\n[`shutdown()`]: fn@crate::io::AsyncWriteExt::shutdown","links":{"TcpStream::split()":2272,"fn@crate::io::AsyncWriteExt::shutdown":1608},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"tuple":[{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"577":{"id":577,"crate_id":0,"name":"consume","span":{"filename":"src/io/util/empty.rs","begin":[89,5],"end":[89,50]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5863":{"id":5863,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mutex.rs","begin":[1387,5],"end":[1389,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6190":{"id":6190,"crate_id":0,"name":"const_new","span":{"filename":"src/sync/semaphore.rs","begin":[533,5],"end":[539,6]},"visibility":"public","docs":"Creates a new semaphore with the initial number of permits.\n\nWhen using the `tracing` [unstable feature], a `Semaphore` created with\n`const_new` will not be instrumented. As such, it will not be visible\nin [`tokio-console`]. Instead, [`Semaphore::new`] should be used to\ncreate an instrumented object if that is needed.\n\n# Examples\n\n```\nuse tokio::sync::Semaphore;\n\nstatic SEM: Semaphore = Semaphore::const_new(10);\n```\n\n[`tokio-console`]: https://github.com/tokio-rs/console\n[unstable feature]: crate#unstable-features","links":{"crate#unstable-features":3944,"`Semaphore::new`":6189},"attrs":[{"other":"#[attr = CfgTrace([Not(All([NameValue { name: \"loom\", value: None, span: src/sync/semaphore.rs:532:19: 532:23 (#0) }, NameValue { name: \"test\", value: None, span: src/sync/semaphore.rs:532:25: 532:29 (#0) }], src/sync/semaphore.rs:532:18: 532:30 (#0)), src/sync/semaphore.rs:532:14: 532:31 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["permits",{"primitive":"usize"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4428":{"id":4428,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"904":{"id":904,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4755":{"id":4755,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[641,67],"end":[641,79]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1811) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"metrics::LogHistogram","name":"LogHistogram","id":3978,"is_glob":false}}},"2993":{"id":2993,"crate_id":0,"name":"new","span":{"filename":"src/net/unix/pipe.rs","begin":[132,5],"end":[138,6]},"visibility":"public","docs":"Creates a blank new set of options ready for configuration.\n\nAll options are initially set to `false`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1231":{"id":1231,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6517":{"id":6517,"crate_id":0,"name":"with_max_readers","span":{"filename":"src/sync/rwlock.rs","begin":[270,5],"end":[327,6]},"visibility":"public","docs":"Creates a new instance of an `RwLock<T>` which is unlocked\nand allows a maximum of `max_reads` concurrent readers.\n\n# Examples\n\n```\nuse tokio::sync::RwLock;\n\nlet lock = RwLock::with_max_readers(5, 1024);\n```\n\n# Panics\n\nPanics if `max_reads` is `0` or is bigger than `u32::MAX >> 3`.","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["value",{"generic":"T"}],["max_reads",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6844":{"id":6844,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5082":{"id":5082,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[319,5],"end":[319,44]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3320":{"id":3320,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5409":{"id":5409,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7171":{"id":7171,"crate_id":0,"name":null,"span":{"filename":"src/task/join_set.rs","begin":[681,1],"end":[695,2]},"visibility":"default","docs":"Extend a [`JoinSet`] with futures from an iterator.\n\nThis is equivalent to calling [`JoinSet::spawn`] on each element of the iterator.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::task::JoinSet;\n\n#[tokio::main]\nasync fn main() {\n    let mut set: JoinSet<_> = (0..5).map(|i| async move { i }).collect();\n\n    set.extend((5..10).map(|i| async move { i }));\n\n    let mut seen = [false; 10];\n    while let Some(res) = set.join_next().await {\n        let idx = res.unwrap();\n        seen[idx] = true;\n    }\n\n    for i in 0..10 {\n        assert!(seen[i]);\n    }\n}\n# }\n```","links":{"`JoinSet`":3724,"`JoinSet::spawn`":7127},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Output","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"provided_trait_methods":["extend_one","extend_reserve","extend_one_unchecked"],"trait":{"path":"Extend","id":7172,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7170],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"123":{"id":123,"crate_id":0,"name":"create_dir_all","span":{"filename":"src/fs/create_dir_all.rs","begin":[51,1],"end":[54,2]},"visibility":"public","docs":"Recursively creates a directory and all of its parent components if they\nare missing.\n\nThis is an async version of [`std::fs::create_dir_all`].\n\n# Platform-specific behavior\n\nThis function currently corresponds to the `mkdir` function on Unix\nand the `CreateDirectory` function on Windows.\nNote that, this [may change in the future][changes].\n\n[changes]: https://doc.rust-lang.org/std/io/index.html#platform-specific-behavior\n\n# Errors\n\nThis function will return an error in the following situations, but is not\nlimited to just these cases:\n\n* If any directory in the path specified by `path` does not already exist\n  and it could not be created otherwise. The specific error conditions for\n  when a directory is being created (after it is determined to not exist) are\n  outlined by [`fs::create_dir`].\n\nIf the final component at `path` already exists and is a directory, this\nfunction will also return successfully without error.\n\nNotable exception is made for situations where any of the directories\nspecified in the `path` could not be created as it was being created concurrently.\nSuch cases are considered to be successful. That is, calling `create_dir_all`\nconcurrently from multiple threads or processes is guaranteed not to fail\ndue to a race condition with itself.\n\n[`fs::create_dir`]: std::fs::create_dir\n\n# Examples\n\n```no_run\nuse tokio::fs;\n\n#[tokio::main]\nasync fn main() -> std::io::Result<()> {\n    fs::create_dir_all(\"/some/dir\").await?;\n    Ok(())\n}\n```","links":{"std::fs::create_dir":122,"`std::fs::create_dir_all`":126},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7498":{"id":7498,"crate_id":0,"name":"timeout_at","span":{"filename":"src/time/timeout.rs","begin":[164,1],"end":[170,2]},"visibility":"public","docs":"Requires a `Future` to complete before the specified instant in time.\n\nIf the future completes before the instant is reached, then the completed\nvalue is returned. Otherwise, an error is returned.\n\nThis function returns a future whose return type is [`Result`]`<T,`[`Elapsed`]`>`, where `T` is the\nreturn type of the provided future.\n\nIf the provided future completes immediately, then the future returned from\nthis function is guaranteed to complete immediately with an [`Ok`] variant\nno matter the provided deadline.\n\n[`Ok`]: std::result::Result::Ok\n[`Result`]: std::result::Result\n[`Elapsed`]: crate::time::error::Elapsed\n\n# Cancellation\n\nCancelling a timeout is done by dropping the future. No additional cleanup\nor other work is required.\n\nThe original future may be obtained by calling [`Timeout::into_inner`]. This\nconsumes the `Timeout`.\n\n# Examples\n\nCreate a new `Timeout` set to expire in 10 milliseconds.\n\n```rust\nuse tokio::time::{Instant, timeout_at};\nuse tokio::sync::oneshot;\n\nuse std::time::Duration;\n\n# async fn dox() {\nlet (tx, rx) = oneshot::channel();\n# tx.send(()).unwrap();\n\n// Wrap the future with a `Timeout` set to expire 10 milliseconds into the\n// future.\nif let Err(_) = timeout_at(Instant::now() + Duration::from_millis(10), rx).await {\n    println!(\"did not receive value within 10 ms\");\n}\n# }\n```\n\n# Panics\n\nThis function panics if there is no current timer set.\n\nIt can be triggered when [`Builder::enable_time`] or\n[`Builder::enable_all`] are not included in the builder.\n\nIt can also panic whenever a timer is created outside of a\nTokio runtime. That is why `rt.block_on(sleep(...))` will panic,\nsince the function is executed outside of the runtime.\nWhereas `rt.block_on(async {sleep(...).await})` doesn't panic.\nAnd this is because wrapping the function on an async makes it lazy,\nand so gets executed inside the runtime successfully without\npanicking.\n\n[`Builder::enable_time`]: crate::runtime::Builder::enable_time\n[`Builder::enable_all`]: crate::runtime::Builder::enable_all","links":{"std::result::Result":171,"crate::runtime::Builder::enable_all":3942,"crate::runtime::Builder::enable_time":3990,"crate::time::error::Elapsed":7296,"std::result::Result::Ok":7495,"`Timeout::into_inner`":7496},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["deadline",{"resolved_path":{"path":"crate::time::Instant","id":7328,"args":null}}],["future",{"generic":"F"}]],"output":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"IntoFuture","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":525,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"IntoFuture","id":525,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5736":{"id":5736,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2212":{"id":2212,"crate_id":0,"name":"recv_buffer_size","span":{"filename":"src/net/tcp/socket.rs","begin":[416,5],"end":[418,6]},"visibility":"public","docs":"Returns the size of the TCP receive buffer for this socket.\n\nOn most operating systems, this is the value of the `SO_RCVBUF` socket\noption.\n\nNote that if [`set_recv_buffer_size`] has been called on this socket\npreviously, the value returned by this function may not be the same as\nthe argument provided to `set_recv_buffer_size`. This is for the\nfollowing reasons:\n\n* Most operating systems have minimum and maximum allowed sizes for the\n  receive buffer, and will clamp the provided value if it is below the\n  minimum or above the maximum. The minimum and maximum buffer sizes are\n  OS-dependent.\n* Linux will double the buffer size to account for internal bookkeeping\n  data, and returns the doubled value from `getsockopt(2)`. As per `man\n  7 socket`:\n  > Sets or gets the maximum socket send buffer in bytes. The\n  > kernel doubles this value (to allow space for bookkeeping\n  > overhead) when it is set using `setsockopt(2)`, and this doubled\n  > value is returned by `getsockopt(2)`.\n\n[`set_recv_buffer_size`]: #method.set_recv_buffer_size","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u32"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3974":{"id":3974,"crate_id":0,"name":"RngSeed","span":{"filename":"src/util/rand.rs","begin":[16,1],"end":[19,2]},"visibility":"public","docs":"A seed for random number generation.\n\nIn order to make certain functions within a runtime deterministic, a seed\ncan be specified at the time of creation.","links":{},"attrs":[{"other":"#[allow(unreachable_pub)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[7557,7558,7559,7560,7561,7562,7563,7564,7565,7566,7567,7568,7569,7570,7571,7572,7573,7574,7575,7577,7579]}}},"4301":{"id":4301,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2539":{"id":2539,"crate_id":0,"name":"poll_peek","span":{"filename":"src/net/udp.rs","begin":[1615,5],"end":[1632,6]},"visibility":"public","docs":"Receives data from the connected address, without removing it from the input queue.\n\n# Notes\n\nNote that on multiple calls to a `poll_*` method in the `recv` direction, only the\n`Waker` from the `Context` passed to the most recent call will be scheduled to\nreceive a wakeup\n\nOn Windows, if the data is larger than the buffer specified, the buffer\nis filled with the first part of the data, and peek returns the error\n`WSAEMSGSIZE(10040)`. The excess data is lost.\nMake sure to always use a sufficiently large buffer to hold the\nmaximum UDP packet size, which can be up to 65536 bytes in size.\n\nMacOS will return an error if you pass a zero-sized buffer.\n\nIf you're merely interested in learning the sender of the data at the head of the queue,\ntry [`poll_peek_sender`].\n\nNote that the socket address **cannot** be implicitly trusted, because it is relatively\ntrivial to send a UDP datagram with a spoofed origin in a [packet injection attack].\nBecause UDP is stateless and does not validate the origin of a packet,\nthe attacker does not need to be able to intercept traffic in order to interfere.\nIt is important to be aware of this when designing your application-level protocol.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the socket is not ready to read\n* `Poll::Ready(Ok(()))` reads data into `ReadBuf` if the socket is ready\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n[`poll_peek_sender`]: method@Self::poll_peek_sender\n[packet injection attack]: https://en.wikipedia.org/wiki/Packet_injection","links":{"method@Self::poll_peek_sender":2538},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"777":{"id":777,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/util/buf_stream.rs","begin":[138,5],"end":[140,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6063":{"id":6063,"crate_id":0,"name":"is_closed","span":{"filename":"src/sync/oneshot.rs","begin":[773,5],"end":[778,6]},"visibility":"public","docs":"Returns `true` if the associated [`Receiver`] handle has been dropped.\n\nA [`Receiver`] is closed by either calling [`close`] explicitly or the\n[`Receiver`] value is dropped.\n\nIf `true` is returned, a call to `send` will always result in an error.\n\n[`Receiver`]: Receiver\n[`close`]: Receiver::close\n\n# Examples\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = oneshot::channel();\n\nassert!(!tx.is_closed());\n\ndrop(rx);\n\nassert!(tx.is_closed());\nassert!(tx.send(\"never received\").is_err());\n# }\n```","links":{"Receiver::close":6061,"Receiver":6056},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6390":{"id":6390,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[172,1],"end":[177,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"owned_write_guard_mapped::OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2866":{"id":2866,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1104":{"id":1104,"crate_id":0,"name":null,"span":{"filename":"src/io/bsd/poll_aio.rs","begin":[217,10],"end":[217,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(target_os = \"freebsd\", feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[1103],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4628":{"id":4628,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4955":{"id":4955,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3193":{"id":3193,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[1716,1],"end":[1720,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawHandle","id":292,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[3192],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1431":{"id":1431,"crate_id":0,"name":"join","span":{"filename":"src/io/join.rs","begin":[11,1],"end":[17,2]},"visibility":"public","docs":"Join two values implementing `AsyncRead` and `AsyncWrite` into a\nsingle handle.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["reader",{"generic":"R"}],["writer",{"generic":"W"}]],"output":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6717":{"id":6717,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7044":{"id":7044,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3520":{"id":3520,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"5282":{"id":5282,"crate_id":0,"name":"upgrade","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1665,5],"end":[1667,6]},"visibility":"public","docs":"Tries to convert a `WeakSender` into a [`Sender`]. This will return `Some`\nif there are other `Sender` instances alive and the channel wasn't\npreviously dropped, otherwise `None` is returned.","links":{"`Sender`":5224},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5609":{"id":5609,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3847":{"id":3847,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"323":{"id":323,"crate_id":0,"name":"truncate","span":{"filename":"src/fs/open_options.rs","begin":[332,5],"end":[349,6]},"visibility":"public","docs":"Sets the option for truncating a previous file.\n\nIf a file is successfully opened with this option set it will truncate\nthe file to 0 length if it already exists.\n\nThe file must be opened with write access for truncate to work.\n\nThis is an async version of [`std::fs::OpenOptions::truncate`][std]\n\n[std]: std::fs::OpenOptions::truncate\n\n# Examples\n\n```no_run\nuse tokio::fs::OpenOptions;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let file = OpenOptions::new()\n        .write(true)\n        .truncate(true)\n        .open(\"foo.txt\")\n        .await?;\n\n    Ok(())\n}\n```","links":{"std::fs::OpenOptions::truncate":322},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["truncate",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2085":{"id":2085,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[224,45],"end":[224,53]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[doc(no_inline)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"std::io::SeekFrom","name":"SeekFrom","id":256,"is_glob":false}}},"7371":{"id":7371,"crate_id":0,"name":"from","span":{"filename":"src/time/instant.rs","begin":[154,5],"end":[156,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["time",{"resolved_path":{"path":"std::time::Instant","id":7331,"args":null}}]],"output":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5936":{"id":5936,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2412":{"id":2412,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"650":{"id":650,"crate_id":0,"name":"poll_read","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1681,5],"end":[1687,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4174":{"id":4174,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6263":{"id":6263,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/semaphore.rs","begin":[454,10],"end":[454,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4501":{"id":4501,"crate_id":0,"name":null,"span":{"filename":"src/runtime/id.rs","begin":[29,36],"end":[29,38]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2739":{"id":2739,"crate_id":0,"name":"ready","span":{"filename":"src/net/unix/split.rs","begin":[213,5],"end":[215,6]},"visibility":"public","docs":"Waits for any of the requested ready states.\n\nThis function is usually paired with [`try_write()`]. It can be used instead\nof [`writable()`] to check the returned ready set for [`Ready::WRITABLE`]\nand [`Ready::WRITE_CLOSED`] events.\n\nThe function may complete without the socket being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\nThis function is equivalent to [`UnixStream::ready`].\n\n[`try_write()`]: Self::try_write\n[`writable()`]: Self::writable\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`Ready`":978,"Self::try_write":2737,"`UnixStream::ready`":2708,"Self::writable":2738,"`Ready::WRITABLE`":981,"`Ready::WRITE_CLOSED`":983},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6590":{"id":6590,"crate_id":0,"name":"default","span":{"filename":"src/sync/once_cell.rs","begin":[77,5],"end":[79,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3066":{"id":3066,"crate_id":0,"name":"readable","span":{"filename":"src/net/unix/pipe.rs","begin":[1116,5],"end":[1119,6]},"visibility":"public","docs":"Waits for the pipe to become readable.\n\nThis function is equivalent to `ready(Interest::READABLE)` and is usually\npaired with [`try_read()`].\n\n[`try_read()`]: Self::try_read()\n\n# Examples\n\n```no_run\nuse tokio::net::unix::pipe;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Open a reading end of a fifo\n    let rx = pipe::OpenOptions::new().open_receiver(\"path/to/a/fifo\")?;\n\n    let mut msg = vec![0; 1024];\n\n    loop {\n        // Wait for the pipe to be readable\n        rx.readable().await?;\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match rx.try_read(&mut msg) {\n            Ok(n) => {\n                msg.truncate(n);\n                break;\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    println!(\"GOT = {:?}\", msg);\n    Ok(())\n}\n```","links":{"Self::try_read()":3068},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1304":{"id":1304,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4828":{"id":4828,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6917":{"id":6917,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5155":{"id":5155,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[1088,1],"end":[1095,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5154],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1631":{"id":1631,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[357,1],"end":[357,56]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["read_until","read_line","split","fill_buf","consume","lines"],"trait":{"path":"AsyncBufReadExt","id":537,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"7244":{"id":7244,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[305,44],"end":[305,59]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"local::LocalEnterGuard","name":"LocalEnterGuard","id":6999,"is_glob":false}}},"5482":{"id":5482,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1958":{"id":1958,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7571":{"id":7571,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5809":{"id":5809,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4047":{"id":4047,"crate_id":0,"name":"tasks","span":{"filename":"src/runtime/dump.rs","begin":[296,5],"end":[298,6]},"visibility":"public","docs":"Tasks in this snapshot.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Tasks","id":4048,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"523":{"id":523,"crate_id":0,"name":"MaybeDone","span":{"filename":"src/future/maybe_done.rs","begin":[8,1],"end":[23,2]},"visibility":"public","docs":"A future that may have completed.","links":{},"attrs":[{"repr":{"kind":"c","align":null,"packed":null,"int":null}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[{"name":"Fut","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"has_stripped_variants":false,"variants":[518,521,522],"impls":[]}}},"2285":{"id":2285,"crate_id":0,"name":"local_addr","span":{"filename":"src/net/tcp/split.rs","begin":[273,5],"end":[275,6]},"visibility":"public","docs":"Returns the local address that this stream is bound to.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4374":{"id":4374,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6136":{"id":6136,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"850":{"id":850,"crate_id":0,"name":"poll_write","span":{"filename":"src/net/unix/pipe.rs","begin":[804,5],"end":[810,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6463":{"id":6463,"crate_id":0,"name":"deref_mut","span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[421,5],"end":[423,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4701":{"id":4701,"crate_id":0,"name":"linear","span":{"filename":"src/runtime/metrics/histogram.rs","begin":[79,9],"end":[86,10]},"visibility":"public","docs":"Create a linear bucketed histogram\n\n# Arguments\n\n* `bucket_width`: The width of each bucket\n* `num_buckets`: The number of buckets","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["bucket_width",{"resolved_path":{"path":"Duration","id":2215,"args":null}}],["num_buckets",{"primitive":"usize"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1177":{"id":1177,"crate_id":0,"name":"retain_ready","span":{"filename":"src/io/async_fd.rs","begin":[1078,5],"end":[1080,6]},"visibility":"public","docs":"This method should be invoked when you intentionally want to keep the\nready flag asserted.\n\nWhile this function is itself a no-op, it satisfies the `#[must_use]`\nconstraint on the [`AsyncFdReadyGuard`] type.","links":{"`AsyncFdReadyGuard`":1117},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2939":{"id":2939,"crate_id":0,"name":"as_ref","span":{"filename":"src/net/unix/stream.rs","begin":[1108,5],"end":[1110,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5028":{"id":5028,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3266":{"id":3266,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6790":{"id":6790,"crate_id":0,"name":"same_channel","span":{"filename":"src/sync/watch.rs","begin":[950,5],"end":[952,6]},"visibility":"public","docs":"Returns `true` if receivers belong to the same channel.\n\n# Examples\n\n```\nlet (tx, rx) = tokio::sync::watch::channel(true);\nlet rx2 = rx.clone();\nassert!(rx.same_channel(&rx2));\n\nlet (tx3, rx3) = tokio::sync::watch::channel(true);\nassert!(!rx3.same_channel(&rx2));\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7117":{"id":7117,"crate_id":0,"name":null,"span":{"filename":"src/task/task_local.rs","begin":[418,1],"end":[441,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[7116],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5355":{"id":5355,"crate_id":0,"name":"next","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1761,5],"end":[1768,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Item","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":2149,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1831":{"id":1831,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3593":{"id":3593,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7444":{"id":7444,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"396":{"id":396,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6009":{"id":6009,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/oneshot.rs","begin":[347,14],"end":[347,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2485":{"id":2485,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/stream.rs","begin":[1526,1],"end":[1530,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpStream","id":634,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[2484],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"723":{"id":723,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[300,5],"end":[306,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4247":{"id":4247,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6336":{"id":6336,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4574":{"id":4574,"crate_id":0,"name":"builder","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[71,5],"end":[73,6]},"visibility":"public","docs":"Creates a builder for [`LogHistogram`]","links":{"`LogHistogram`":3978},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2812":{"id":2812,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6663":{"id":6663,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3139":{"id":3139,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"1377":{"id":1377,"crate_id":0,"name":null,"span":{"filename":"src/io/stdout.rs","begin":[194,5],"end":[198,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"super::Stdout","id":755,"args":null}},"items":[1376],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4901":{"id":4901,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5228":{"id":5228,"crate_id":0,"name":"Permit","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[67,1],"end":[69,2]},"visibility":"public","docs":"Permits to send one value into the channel.\n\n`Permit` values are returned by [`Sender::reserve()`] and [`Sender::try_reserve()`]\nand are used to guarantee channel capacity before generating a message to send.\n\n[`Sender::reserve()`]: Sender::reserve\n[`Sender::try_reserve()`]: Sender::try_reserve","links":{"Sender::try_reserve":5247,"Sender::reserve":5227},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5311,5312,5313,5314,5315,5316,5317,5318,5319,5320,5321,5322,5323,5324,5325,5326,5327,5329,5331]}}},"3466":{"id":3466,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1704":{"id":1704,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"7317":{"id":7317,"crate_id":0,"name":"eq","span":{"filename":"src/time/error.rs","begin":[46,17],"end":[46,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3793":{"id":3793,"crate_id":0,"name":"clone","span":{"filename":"src/runtime/task/abort.rs","begin":[101,5],"end":[104,6]},"visibility":"default","docs":"Returns a cloned `AbortHandle` that can be used to remotely abort this task.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5555":{"id":5555,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[7,32],"end":[7,36]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::marker::Copy","id":959,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"269":{"id":269,"crate_id":0,"name":"fmt","span":{"filename":"src/fs/file.rs","begin":[893,5],"end":[897,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5882":{"id":5882,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"596":{"id":596,"crate_id":0,"name":null,"span":{"filename":"src/io/async_read.rs","begin":[111,1],"end":[135,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"slice":{"primitive":"u8"}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"io::Cursor","id":557,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[595],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2358":{"id":2358,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4447":{"id":4447,"crate_id":0,"name":null,"span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[401,1],"end":[401,51]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2685":{"id":2685,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6209":{"id":6209,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6536":{"id":6536,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"never"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5709],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4774":{"id":4774,"crate_id":0,"name":"quit","span":{"filename":"src/signal/unix.rs","begin":[192,5],"end":[194,6]},"visibility":"public","docs":"Represents the `SIGQUIT` signal.\n\nOn Unix systems this signal is sent to issue a shutdown of the\nprocess, after which the OS will dump the process core.\nBy default, the process is terminated by this signal.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1250":{"id":1250,"crate_id":0,"name":"into_parts","span":{"filename":"src/io/async_fd.rs","begin":[1412,5],"end":[1414,6]},"visibility":"public","docs":"Returns the original object passed to [`try_new`] or [`try_with_interest`]\nalongside the error that caused these functions to fail.\n\n[`try_new`]: AsyncFd::try_new\n[`try_with_interest`]: AsyncFd::try_with_interest","links":{"AsyncFd::try_with_interest":1123,"AsyncFd::try_new":1125},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"tuple":[{"generic":"T"},{"resolved_path":{"path":"io::Error","id":262,"args":null}}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3012":{"id":3012,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5101":{"id":5101,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3339":{"id":3339,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2616,30],"end":[2616,39]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1577":{"id":1577,"crate_id":0,"name":"write_i64","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an signed 64-bit integer in big-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_i64(&mut self, n: i64) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite signed 64-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_i64(i64::MIN).await?;\nwriter.write_i64(i64::MAX).await?;\n\nassert_eq!(writer, b\"\\x80\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x7f\\xff\\xff\\xff\\xff\\xff\\xff\\xff\");\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"i64"}]],"output":{"resolved_path":{"path":"WriteI64","id":1578,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6863":{"id":6863,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7190":{"id":7190,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"7517":{"id":7517,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"IntoFuture","id":525,"args":null},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[3812,3813,3814],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"F"}}}},"3993":{"id":3993,"crate_id":0,"name":null,"span":{"filename":"src/runtime/builder.rs","begin":[1823,5],"end":[1844,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:742:17: 742:31 (#1605) }, NameValue { name: \"feature\", value: Some(\"io-uring\"), span: src/macros/cfg.rs:743:17: 743:37 (#1605) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:744:17: 744:31 (#1605) }, NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:745:17: 745:31 (#1605) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/macros/cfg.rs:746:17: 746:36 (#1605) }], src/macros/cfg.rs:741:22: 747:14 (#1605))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[3992],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2231":{"id":2231,"crate_id":0,"name":"from_std_stream","span":{"filename":"src/net/tcp/socket.rs","begin":[960,5],"end":[976,6]},"visibility":"public","docs":"Converts a [`std::net::TcpStream`] into a `TcpSocket`. The provided\nsocket must not have been connected prior to calling this function. This\nfunction is typically used together with crates such as [`socket2`] to\nconfigure socket options that are not available on `TcpSocket`.\n\n[`std::net::TcpStream`]: struct@std::net::TcpStream\n[`socket2`]: https://docs.rs/socket2/\n\n# Notes\n\nThe caller is responsible for ensuring that the socket is in\nnon-blocking mode. Otherwise all I/O operations on the socket\nwill block the thread, which will cause unexpected behavior.\nNon-blocking mode can be set using [`set_nonblocking`].\n\n[`set_nonblocking`]: std::net::TcpStream::set_nonblocking\n\n# Examples\n\n```\nuse tokio::net::TcpSocket;\nuse socket2::{Domain, Socket, Type};\n\n#[tokio::main]\nasync fn main() -> std::io::Result<()> {\n    let socket2_socket = Socket::new(Domain::IPV4, Type::STREAM, None)?;\n    socket2_socket.set_nonblocking(true)?;\n\n    let socket = TcpSocket::from_std_stream(socket2_socket.into());\n\n    Ok(())\n}\n```","links":{"struct@std::net::TcpStream":1120,"std::net::TcpStream::set_nonblocking":2230},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["std_stream",{"resolved_path":{"path":"std::net::TcpStream","id":1120,"args":null}}]],"output":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"469":{"id":469,"crate_id":0,"name":"write","span":{"filename":"src/fs/write.rs","begin":[26,1],"end":[49,2]},"visibility":"public","docs":"Creates a future that will open a file for writing and write the entire\ncontents of `contents` to it.\n\nThis is the async equivalent of [`std::fs::write`][std].\n\nThis operation is implemented by running the equivalent blocking operation\non a separate thread pool using [`spawn_blocking`].\n\n[`spawn_blocking`]: crate::task::spawn_blocking\n[std]: fn@std::fs::write\n\n# Examples\n\n```no_run\nuse tokio::fs;\n\n# async fn dox() -> std::io::Result<()> {\nfs::write(\"foo.txt\", b\"Hello world!\").await?;\n# Ok(())\n# }\n```","links":{"crate::task::spawn_blocking":379,"fn@std::fs::write":468},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}],["contents",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"slice":{"primitive":"u8"}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}},{"name":"impl AsRef<[u8]>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"slice":{"primitive":"u8"}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5755":{"id":5755,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[985,1],"end":[989,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"DerefMut","id":549,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5754],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6082":{"id":6082,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/oneshot.rs","begin":[221,10],"end":[221,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2558":{"id":2558,"crate_id":0,"name":"tos_v4","span":{"filename":"src/net/udp.rs","begin":[2118,5],"end":[2120,6]},"visibility":"public","docs":"Gets the value of the `IP_TOS` option for this socket.\n\nFor more information about this option, see [`set_tos_v4`].\n\n[`set_tos_v4`]: Self::set_tos_v4","links":{"Self::set_tos_v4":2557},"attrs":[{"other":"#[attr = CfgTrace([Not(Any([NameValue { name: \"target_os\", value: Some(\"fuchsia\"), span: src/net/udp.rs:2100:9: 2100:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"redox\"), span: src/net/udp.rs:2101:9: 2101:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"solaris\"), span: src/net/udp.rs:2102:9: 2102:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"illumos\"), span: src/net/udp.rs:2103:9: 2103:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"haiku\"), span: src/net/udp.rs:2104:9: 2104:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/net/udp.rs:2105:9: 2105:27 (#0) }], src/net/udp.rs:2099:18: 2106:6 (#0)), src/net/udp.rs:2099:14: 2106:7 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(not(any(target_os = \"fuchsia\", target_os = \"redox\", target_os = \"solaris\", target_os = \"illumos\", target_os = \"haiku\", target_os = \"wasi\"))))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u32"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"796":{"id":796,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/util/mem.rs","begin":[159,5],"end":[164,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[allow(unused_mut)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4320":{"id":4320,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4647":{"id":4647,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2885":{"id":2885,"crate_id":0,"name":"fmt","span":{"filename":"src/net/unix/socketaddr.rs","begin":[51,5],"end":[53,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1123":{"id":1123,"crate_id":0,"name":"try_with_interest","span":{"filename":"src/io/async_fd.rs","begin":[297,5],"end":[302,6]},"visibility":"public","docs":"Creates an [`AsyncFd`] backed by (and taking ownership of) an object\nimplementing [`AsRawFd`], with a specific [`Interest`]. The backing\nfile descriptor is cached at the time of creation.\n\nIn the case of failure, it returns [`AsyncFdTryNewError`] that contains the original object\npassed to this function.\n\n# Panics\n\nThis function panics if there is no current reactor set, or if the `rt`\nfeature flag is not enabled.","links":{"`AsyncFd`":512,"`AsyncFdTryNewError`":1124,"`Interest`":924,"`AsRawFd`":277},"attrs":[{"other":"#[attr = Inline(Hint)]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["inner",{"generic":"T"}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}},{"type":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6409":{"id":6409,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6736":{"id":6736,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[338,25],"end":[338,27]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::Eq","id":961,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3212":{"id":3212,"crate_id":0,"name":"pipe_mode","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1789,5],"end":[1792,6]},"visibility":"public","docs":"The pipe mode.\n\nThe default pipe mode is [`PipeMode::Byte`]. See [`PipeMode`] for\ndocumentation of what each mode means.\n\nThis corresponds to specifying `PIPE_TYPE_` and `PIPE_READMODE_` in  [`dwPipeMode`].\n\n[`dwPipeMode`]: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea","links":{"`PipeMode`":3211,"`PipeMode::Byte`":3210},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["pipe_mode",{"resolved_path":{"path":"PipeMode","id":3211,"args":null}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1450":{"id":1450,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"4974":{"id":4974,"crate_id":0,"name":"new","span":{"filename":"src/sync/barrier.rs","begin":[63,5],"end":[111,6]},"visibility":"public","docs":"Creates a new barrier that can block a given number of tasks.\n\nA barrier will block `n`-1 tasks which call [`Barrier::wait`] and then wake up all\ntasks at once when the `n`th task calls `wait`.","links":{"`Barrier::wait`":4973},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["n",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5301":{"id":5301,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3539":{"id":3539,"crate_id":0,"name":"as_raw_handle","span":{"filename":"src/process/mod.rs","begin":[1715,5],"end":[1715,29]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawHandle","id":290,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1777":{"id":1777,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7063":{"id":7063,"crate_id":0,"name":"sync_scope","span":{"filename":"src/task/task_local.rs","begin":[168,5],"end":[177,6]},"visibility":"public","docs":"Sets a value `T` as the task-local value for the closure `F`.\n\nOn completion of `sync_scope`, the task-local will be dropped.\n\n### Panics\n\nThis method panics if called inside a call to [`with`] or [`try_with`]\non the same `LocalKey`.\n\n### Examples\n\n```\n# async fn dox() {\ntokio::task_local! {\n    static NUMBER: u32;\n}\n\nNUMBER.sync_scope(1, || {\n    println!(\"task local value: {}\", NUMBER.get());\n});\n# }\n```\n\n[`with`]: fn@Self::with\n[`try_with`]: fn@Self::try_with","links":{"fn@Self::with":7059,"fn@Self::try_with":7060},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'static","is_mutable":false,"type":{"generic":"Self"}}}],["value",{"generic":"T"}],["f",{"generic":"F"}]],"output":{"generic":"R"},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"R"}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5628":{"id":5628,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[100,1],"end":[100,31]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2104":{"id":2104,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[286,84],"end":[286,89]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::empty","name":"empty","id":1760,"is_glob":false}}},"342":{"id":342,"crate_id":0,"name":"security_qos_flags","span":{"filename":"src/fs/open_options.rs","begin":[836,9],"end":[839,10]},"visibility":"public","docs":"Sets the `dwSecurityQosFlags` argument to the call to [`CreateFile2`] to\nthe specified value (or combines it with `custom_flags` and `attributes`\nto set the `dwFlagsAndAttributes` for [`CreateFile`]).\n\nBy default `security_qos_flags` is not set. It should be specified when\nopening a named pipe, to control to which degree a server process can\nact on behalf of a client process (security impersonation level).\n\nWhen `security_qos_flags` is not set, a malicious program can gain the\nelevated privileges of a privileged Rust process when it allows opening\nuser-specified paths, by tricking it into opening a named pipe. So\narguably `security_qos_flags` should also be set when opening arbitrary\npaths. However the bits can then conflict with other flags, specifically\n`FILE_FLAG_OPEN_NO_RECALL`.\n\nFor information about possible values, see [Impersonation Levels] on the\nWindows Dev Center site. The `SECURITY_SQOS_PRESENT` flag is set\nautomatically when using this method.\n\n# Examples\n\n```no_run\nuse windows_sys::Win32::Storage::FileSystem::SECURITY_IDENTIFICATION;\nuse tokio::fs::OpenOptions;\n\n# #[tokio::main]\n# async fn main() -> std::io::Result<()> {\nlet file = OpenOptions::new()\n    .write(true)\n    .create(true)\n\n    // Sets the flag value to `SecurityIdentification`.\n    .security_qos_flags(SECURITY_IDENTIFICATION)\n\n    .open(r\"\\\\.\\pipe\\MyPipe\").await?;\n# Ok(())\n# }\n```\n\n[`CreateFile`]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea\n[`CreateFile2`]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfile2\n[Impersonation Levels]:\n    https://docs.microsoft.com/en-us/windows/win32/api/winnt/ne-winnt-security_impersonation_level","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["flags",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3866":{"id":3866,"crate_id":0,"name":"poll","span":{"filename":"src/runtime/task/trace/mod.rs","begin":[338,5],"end":[361,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Never)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5955":{"id":5955,"crate_id":0,"name":"drop","span":{"filename":"src/sync/notify.rs","begin":[1039,5],"end":[1044,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4193":{"id":4193,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"669":{"id":669,"crate_id":0,"name":"poll_complete","span":{"filename":"src/io/async_seek.rs","begin":[72,5],"end":[72,24]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u64"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6282":{"id":6282,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":{"generic":"T"},"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2758":{"id":2758,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"996":{"id":996,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6609":{"id":6609,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[496,1],"end":[512,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6607,6608],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4847":{"id":4847,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1323":{"id":1323,"crate_id":0,"name":"stdin","span":{"filename":"src/io/stdin.rs","begin":[43,5],"end":[52,6]},"visibility":"public","docs":"Constructs a new handle to the standard input of the current process.\n\nThis handle is best used for non-interactive uses, such as when a file\nis piped into the application. For technical reasons, `stdin` is\nimplemented by using an ordinary blocking read on a separate thread, and\nit is impossible to cancel that read. This can make shutdown of the\nruntime hang until the user presses enter.\n\nFor interactive uses, it is recommended to spawn a thread dedicated to\nuser input and use blocking IO directly in that thread.","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:233:19: 233:37 (#220) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3085":{"id":3085,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6936":{"id":6936,"crate_id":0,"name":"poll","span":{"filename":"src/task/coop/unconstrained.rs","begin":[23,9],"end":[26,10]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:629:21: 629:35 (#4214) }, NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:630:21: 630:39 (#4214) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:631:21: 631:36 (#4214) }, NameValue { name: \"feature\", value: Some(\"process\"), span: src/macros/cfg.rs:632:21: 632:40 (#4214) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:633:21: 633:35 (#4214) }, NameValue { name: \"feature\", value: Some(\"signal\"), span: src/macros/cfg.rs:634:21: 634:39 (#4214) }, NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:635:21: 635:37 (#4214) }, NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:636:21: 636:37 (#4214) }], src/macros/cfg.rs:628:22: 637:22 (#4214))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5174":{"id":5174,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7263":{"id":7263,"crate_id":0,"name":"at_capacity","span":{"filename":"src/time/error.rs","begin":[68,5],"end":[70,6]},"visibility":"public","docs":"Creates an error representing a timer at capacity.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Error","id":7260,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5501":{"id":5501,"crate_id":0,"name":"blocking_recv","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[321,5],"end":[323,6]},"visibility":"public","docs":"Blocking receive to call outside of asynchronous contexts.\n\n# Panics\n\nThis function panics if called within an asynchronous execution\ncontext.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::thread;\nuse tokio::sync::mpsc;\n\n#[tokio::main]\nasync fn main() {\n    let (tx, mut rx) = mpsc::unbounded_channel::<u8>();\n\n    let sync_code = thread::spawn(move || {\n        assert_eq!(Some(10), rx.blocking_recv());\n    });\n\n    let _ = tx.send(10);\n    sync_code.join().unwrap();\n}\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/sync/mpsc/unbounded.rs:319:11: 319:27 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[attr = TrackCaller]"},{"other":"#[doc(alias = \"recv_blocking\")]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3739":{"id":3739,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"215":{"id":215,"crate_id":0,"name":"sync_data","span":{"filename":"src/fs/file.rs","begin":[352,5],"end":[358,6]},"visibility":"public","docs":"This function is similar to `sync_all`, except that it may not\nsynchronize file metadata to the filesystem.\n\nThis is intended for use cases that must synchronize content, but don't\nneed the metadata on disk. The goal of this method is to reduce disk\noperations.\n\nNote that some platforms may simply implement this in terms of `sync_all`.\n\n# Examples\n\n```no_run\nuse tokio::fs::File;\nuse tokio::io::AsyncWriteExt;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut file = File::create(\"foo.txt\").await?;\nfile.write_all(b\"hello, world!\").await?;\nfile.sync_data().await?;\n# Ok(())\n# }\n```\n\nThe [`write_all`] method is defined on the [`AsyncWriteExt`] trait.\n\n[`write_all`]: fn@crate::io::AsyncWriteExt::write_all\n[`AsyncWriteExt`]: trait@crate::io::AsyncWriteExt","links":{"fn@crate::io::AsyncWriteExt::write_all":209,"trait@crate::io::AsyncWriteExt":203},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1977":{"id":1977,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4066":{"id":4066,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/dump.rs","begin":[13,10],"end":[13,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2304":{"id":2304,"crate_id":0,"name":"fmt","span":{"filename":"src/net/tcp/split.rs","begin":[32,10],"end":[32,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5828":{"id":5828,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mutex.rs","begin":[1279,5],"end":[1281,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6155":{"id":6155,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4393":{"id":4393,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"869":{"id":869,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/process/mod.rs","begin":[1562,5],"end":[1564,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2631":{"id":2631,"crate_id":0,"name":"SocketAddr","span":{"filename":"src/net/unix/socketaddr.rs","begin":[10,1],"end":[10,66]},"visibility":"public","docs":"An address associated with a Tokio Unix socket.\n\nThis type is a thin wrapper around [`std::os::unix::net::SocketAddr`]. You\ncan convert to and from the standard library `SocketAddr` type using the\n[`From`] trait.","links":{"`From`":162,"`std::os::unix::net::SocketAddr`":2859},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[2864,2865,2866,2867,2868,2869,2870,2871,2872,2873,2874,2875,2876,2877,2878,2879,2880,2881,2882,2884,2886,2888,2890]}}},"4720":{"id":4720,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2958":{"id":2958,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1196":{"id":1196,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6482":{"id":6482,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6809":{"id":6809,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5047":{"id":5047,"crate_id":0,"name":"Closed","span":{"filename":"src/sync/broadcast.rs","begin":[293,9],"end":[293,15]},"visibility":"default","docs":"There are no more active senders implying no further messages will ever\nbe sent.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"1523":{"id":1523,"crate_id":0,"name":"read_i16_le","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads a signed 16-bit integer in little-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_i16_le(&mut self) -> io::Result<i16>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead signed 16 bit little-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![0x00, 0xc1, 0xff, 0x7c]);\n\nassert_eq!(-16128, reader.read_i16_le().await?);\nassert_eq!(31999, reader.read_i16_le().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadI16Le","id":1524,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3285":{"id":3285,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5374":{"id":5374,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3612":{"id":3612,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1658,5],"end":[1658,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(unix))]"},{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"super::ChildStderr","id":658,"args":null}},"items":[3611],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1850":{"id":1850,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7136":{"id":7136,"crate_id":0,"name":"try_join_next_with_id","span":{"filename":"src/task/join_set.rs","begin":[352,5],"end":[369,6]},"visibility":"public","docs":"Tries to join one of the tasks in the set that has completed and return its output,\nalong with the [task ID] of the completed task.\n\nReturns `None` if there are no completed tasks, or if the set is empty.\n\nWhen this method returns an error, then the id of the task that failed can be accessed\nusing the [`JoinError::id`] method.\n\n[task ID]: crate::task::Id\n[`JoinError::id`]: fn@crate::task::JoinError::id","links":{"crate::task::Id":3692,"fn@crate::task::JoinError::id":3693},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"resolved_path":{"path":"Id","id":3692,"args":null}},{"generic":"T"}]}},{"type":{"resolved_path":{"path":"JoinError","id":3686,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7463":{"id":7463,"crate_id":0,"name":"sleep_until","span":{"filename":"src/time/sleep.rs","begin":[62,1],"end":[64,2]},"visibility":"public","docs":"Waits until `deadline` is reached.\n\nNo work is performed while awaiting on the sleep future to complete. `Sleep`\noperates at millisecond granularity and should not be used for tasks that\nrequire high-resolution timers.\n\nTo run something regularly on a schedule, see [`interval`].\n\n# Cancellation\n\nCanceling a sleep instance is done by dropping the returned future. No additional\ncleanup work is required.\n\n# Examples\n\nWait 100ms and print \"100 ms have elapsed\".\n\n```\nuse tokio::time::{sleep_until, Instant, Duration};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nsleep_until(Instant::now() + Duration::from_millis(100)).await;\nprintln!(\"100 ms have elapsed\");\n# }\n```\n\nSee the documentation for the [`Sleep`] type for more examples.\n\n# Panics\n\nThis function panics if there is no current timer set.\n\nIt can be triggered when [`Builder::enable_time`] or\n[`Builder::enable_all`] are not included in the builder.\n\nIt can also panic whenever a timer is created outside of a\nTokio runtime. That is why `rt.block_on(sleep(...))` will panic,\nsince the function is executed outside of the runtime.\nWhereas `rt.block_on(async {sleep(...).await})` doesn't panic.\nAnd this is because wrapping the function on an async makes it lazy,\nand so gets executed inside the runtime successfully without\npanicking.\n\n[`Sleep`]: struct@crate::time::Sleep\n[`interval`]: crate::time::interval()\n[`Builder::enable_time`]: crate::runtime::Builder::enable_time\n[`Builder::enable_all`]: crate::runtime::Builder::enable_all","links":{"crate::runtime::Builder::enable_all":3942,"crate::runtime::Builder::enable_time":3990,"crate::time::interval()":7400,"struct@crate::time::Sleep":4266},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(alias = \"delay_until\")]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["deadline",{"resolved_path":{"path":"crate::time::Instant","id":7328,"args":null}}]],"output":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5701":{"id":5701,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2177":{"id":2177,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"415":{"id":415,"crate_id":0,"name":"ino","span":{"filename":"src/fs/read_dir.rs","begin":[183,9],"end":[185,10]},"visibility":"public","docs":"Returns the underlying `d_ino` field in the contained `dirent`\nstructure.\n\n# Examples\n\n```\nuse tokio::fs;\n\n# #[tokio::main]\n# async fn main() -> std::io::Result<()> {\nlet mut entries = fs::read_dir(\".\").await?;\nwhile let Some(entry) = entries.next_entry().await? {\n    // Here, `entry` is a `DirEntry`.\n    println!(\"{:?}: {}\", entry.file_name(), entry.ino());\n}\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3939":{"id":3939,"crate_id":0,"name":"LocalSet","span":{"filename":"src/task/local.rs","begin":[224,5],"end":[233,6]},"visibility":"public","docs":"A set of tasks which are executed on the same thread.\n\nIn some cases, it is necessary to run one or more futures that do not\nimplement [`Send`] and thus are unsafe to send between threads. In these\ncases, a [local task set] may be used to schedule one or more `!Send`\nfutures to run together on the same thread.\n\nFor example, the following code will not compile:\n\n```rust,compile_fail\nuse std::rc::Rc;\n\n#[tokio::main]\nasync fn main() {\n    // `Rc` does not implement `Send`, and thus may not be sent between\n    // threads safely.\n    let nonsend_data = Rc::new(\"my nonsend data...\");\n\n    let nonsend_data = nonsend_data.clone();\n    // Because the `async` block here moves `nonsend_data`, the future is `!Send`.\n    // Since `tokio::spawn` requires the spawned future to implement `Send`, this\n    // will not compile.\n    tokio::spawn(async move {\n        println!(\"{}\", nonsend_data);\n        // ...\n    }).await.unwrap();\n}\n```\n\n# Use with `run_until`\n\nTo spawn `!Send` futures, we can use a local task set to schedule them\non the thread calling [`Runtime::block_on`]. When running inside of the\nlocal task set, we can use [`task::spawn_local`], which can spawn\n`!Send` futures. For example:\n\n```rust\nuse std::rc::Rc;\nuse tokio::task;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet nonsend_data = Rc::new(\"my nonsend data...\");\n\n// Construct a local task set that can run `!Send` futures.\nlet local = task::LocalSet::new();\n\n// Run the local task set.\nlocal.run_until(async move {\n    let nonsend_data = nonsend_data.clone();\n    // `spawn_local` ensures that the future is spawned on the local\n    // task set.\n    task::spawn_local(async move {\n        println!(\"{}\", nonsend_data);\n        // ...\n    }).await.unwrap();\n}).await;\n# }\n```\n**Note:** The `run_until` method can only be used in `#[tokio::main]`,\n`#[tokio::test]` or directly inside a call to [`Runtime::block_on`]. It\ncannot be used inside a task spawned with `tokio::spawn`.\n\n## Awaiting a `LocalSet`\n\nAdditionally, a `LocalSet` itself implements `Future`, completing when\n*all* tasks spawned on the `LocalSet` complete. This can be used to run\nseveral futures on a `LocalSet` and drive the whole set until they\ncomplete. For example,\n\n```rust\nuse tokio::{task, time};\nuse std::rc::Rc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet nonsend_data = Rc::new(\"world\");\nlet local = task::LocalSet::new();\n\nlet nonsend_data2 = nonsend_data.clone();\nlocal.spawn_local(async move {\n    // ...\n    println!(\"hello {}\", nonsend_data2)\n});\n\nlocal.spawn_local(async move {\n    time::sleep(time::Duration::from_millis(100)).await;\n    println!(\"goodbye {}\", nonsend_data)\n});\n\n// ...\n\nlocal.await;\n# }\n```\n**Note:** Awaiting a `LocalSet` can only be done inside\n`#[tokio::main]`, `#[tokio::test]` or directly inside a call to\n[`Runtime::block_on`]. It cannot be used inside a task spawned with\n`tokio::spawn`.\n\n## Use inside `tokio::spawn`\n\nThe two methods mentioned above cannot be used inside `tokio::spawn`, so\nto spawn `!Send` futures from inside `tokio::spawn`, we need to do\nsomething else. The solution is to create the `LocalSet` somewhere else,\nand communicate with it using an [`mpsc`] channel.\n\nThe following example puts the `LocalSet` inside a new thread.\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Builder;\nuse tokio::sync::{mpsc, oneshot};\nuse tokio::task::LocalSet;\n\n// This struct describes the task you want to spawn. Here we include\n// some simple examples. The oneshot channel allows sending a response\n// to the spawner.\n#[derive(Debug)]\nenum Task {\n    PrintNumber(u32),\n    AddOne(u32, oneshot::Sender<u32>),\n}\n\n#[derive(Clone)]\nstruct LocalSpawner {\n   send: mpsc::UnboundedSender<Task>,\n}\n\nimpl LocalSpawner {\n    pub fn new() -> Self {\n        let (send, mut recv) = mpsc::unbounded_channel();\n\n        let rt = Builder::new_current_thread()\n            .enable_all()\n            .build()\n            .unwrap();\n\n        std::thread::spawn(move || {\n            let local = LocalSet::new();\n\n            local.spawn_local(async move {\n                while let Some(new_task) = recv.recv().await {\n                    tokio::task::spawn_local(run_task(new_task));\n                }\n                // If the while loop returns, then all the LocalSpawner\n                // objects have been dropped.\n            });\n\n            // This will return once all senders are dropped and all\n            // spawned tasks have returned.\n            rt.block_on(local);\n        });\n\n        Self {\n            send,\n        }\n    }\n\n    pub fn spawn(&self, task: Task) {\n        self.send.send(task).expect(\"Thread with LocalSet has shut down.\");\n    }\n}\n\n// This task may do !Send stuff. We use printing a number as an example,\n// but it could be anything.\n//\n// The Task struct is an enum to support spawning many different kinds\n// of operations.\nasync fn run_task(task: Task) {\n    match task {\n        Task::PrintNumber(n) => {\n            println!(\"{}\", n);\n        },\n        Task::AddOne(n, response) => {\n            // We ignore failures to send the response.\n            let _ = response.send(n + 1);\n        },\n    }\n}\n\n#[tokio::main]\nasync fn main() {\n    let spawner = LocalSpawner::new();\n\n    let (send, response) = oneshot::channel();\n    spawner.spawn(Task::AddOne(10, send));\n    let eleven = response.await.unwrap();\n    assert_eq!(eleven, 11);\n}\n# }\n```\n\n[`Send`]: trait@std::marker::Send\n[local task set]: struct@LocalSet\n[`Runtime::block_on`]: method@crate::runtime::Runtime::block_on\n[`task::spawn_local`]: fn@spawn_local\n[`mpsc`]: mod@crate::sync::mpsc","links":{"trait@std::marker::Send":142,"struct@LocalSet":3939,"fn@spawn_local":4422,"mod@crate::sync::mpsc":5680,"method@crate::runtime::Runtime::block_on":3968},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4227) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[7004,7006,7007,7008,7009,7010,7011,7012,7013,7014,7015,7016,7017,7018,7019,7020,7021,7022,7023,7025,7028,7030,7032]}}},"6028":{"id":6028,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4266":{"id":4266,"crate_id":0,"name":"Sleep","span":{"filename":"src/time/sleep.rs","begin":[132,1],"end":[232,2]},"visibility":"public","docs":"Future returned by [`sleep`](sleep) and [`sleep_until`](sleep_until).\n\nThis type does not implement the `Unpin` trait, which means that if you\nuse it with [`select!`] or by calling `poll`, you have to pin it first.\nIf you use it with `.await`, this does not apply.\n\n# Examples\n\nWait 100ms and print \"100 ms have elapsed\".\n\n```\nuse tokio::time::{sleep, Duration};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nsleep(Duration::from_millis(100)).await;\nprintln!(\"100 ms have elapsed\");\n# }\n```\n\nUse with [`select!`]. Pinning the `Sleep` with [`tokio::pin!`] is\nnecessary when the same `Sleep` is selected on multiple times.\n```no_run\nuse tokio::time::{self, Duration, Instant};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet sleep = time::sleep(Duration::from_millis(10));\ntokio::pin!(sleep);\n\nloop {\n    tokio::select! {\n        () = &mut sleep => {\n            println!(\"timer elapsed\");\n            sleep.as_mut().reset(Instant::now() + Duration::from_millis(50));\n        },\n    }\n}\n# }\n```\nUse in a struct with boxing. By pinning the `Sleep` with a `Box`, the\n`HasSleep` struct implements `Unpin`, even though `Sleep` does not.\n```\nuse std::future::Future;\nuse std::pin::Pin;\nuse std::task::{Context, Poll};\nuse tokio::time::Sleep;\n\nstruct HasSleep {\n    sleep: Pin<Box<Sleep>>,\n}\n\nimpl Future for HasSleep {\n    type Output = ();\n\n    fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<()> {\n        self.sleep.as_mut().poll(cx)\n    }\n}\n```\nUse in a struct with pin projection. This method avoids the `Box`, but\nthe `HasSleep` struct will not be `Unpin` as a consequence.\n```\nuse std::future::Future;\nuse std::pin::Pin;\nuse std::task::{Context, Poll};\nuse tokio::time::Sleep;\nuse pin_project_lite::pin_project;\n\npin_project! {\n    struct HasSleep {\n        #[pin]\n        sleep: Sleep,\n    }\n}\n\nimpl Future for HasSleep {\n    type Output = ();\n\n    fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<()> {\n        self.project().sleep.poll(cx)\n    }\n}\n```\n\n[`select!`]: ../macro.select.html\n[`tokio::pin!`]: ../macro.pin.html","links":{"sleep_until":7463,"sleep":7256},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(alias = \"Delay\")]"},{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[7472,7473,7474,7475,7476,7477,7478,7479,7480,7481,7482,7483,7484,7485,7486,7487,7488,7490,7493]}}},"2504":{"id":2504,"crate_id":0,"name":"send_to","span":{"filename":"src/net/udp.rs","begin":[1185,5],"end":[1195,6]},"visibility":"public","docs":"Sends data on the socket to the given address. On success, returns the\nnumber of bytes written.\n\nAddress type can be any implementer of [`ToSocketAddrs`] trait. See its\ndocumentation for concrete examples.\n\nIt is possible for `addr` to yield multiple addresses, but `send_to`\nwill only send data to the first address yielded by `addr`.\n\nThis will return an error when the IP version of the local socket does\nnot match that returned from [`ToSocketAddrs`].\n\n[`ToSocketAddrs`]: crate::net::ToSocketAddrs\n\n# Cancel safety\n\nThis method is cancel safe. If `send_to` is used as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, then it is guaranteed that the message was not sent.\n\n# Example\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n    let len = socket.send_to(b\"hello world\", \"127.0.0.1:8081\").await?;\n\n    println!(\"Sent {} bytes\", len);\n\n    Ok(())\n}\n```","links":{"crate::net::ToSocketAddrs":2128,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}],["addr",{"generic":"A"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"A","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"742":{"id":742,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[414,5],"end":[416,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2831":{"id":2831,"crate_id":0,"name":"as_ref","span":{"filename":"src/net/unix/split_owned.rs","begin":[416,5],"end":[418,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1069":{"id":1069,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4593":{"id":4593,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6682":{"id":6682,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[366,1],"end":[366,51]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4920":{"id":4920,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3158":{"id":3158,"crate_id":0,"name":"info","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1028,5],"end":[1031,6]},"visibility":"public","docs":"Retrieves information about the named pipe the client is associated\nwith.\n\n```no_run\nuse tokio::net::windows::named_pipe::{ClientOptions, PipeEnd, PipeMode};\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-client-info\";\n\n# #[tokio::main] async fn main() -> std::io::Result<()> {\nlet client = ClientOptions::new()\n    .open(PIPE_NAME)?;\n\nlet client_info = client.info()?;\n\nassert_eq!(client_info.end, PipeEnd::Client);\nassert_eq!(client_info.mode, PipeMode::Message);\nassert_eq!(client_info.max_instances, 5);\n# Ok(()) }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1396":{"id":1396,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7009":{"id":7009,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3485":{"id":3485,"crate_id":0,"name":"wait_with_output","span":{"filename":"src/process/mod.rs","begin":[1446,5],"end":[1474,6]},"visibility":"public","docs":"Returns a future that will resolve to an `Output`, containing the exit\nstatus, stdout, and stderr of the child process.\n\nThe returned future will simultaneously waits for the child to exit and\ncollect all remaining output on the stdout/stderr handles, returning an\n`Output` instance.\n\nThe stdin handle to the child process, if any, will be closed before\nwaiting. This helps avoid deadlock: it ensures that the child does not\nblock waiting for input from the parent, while the parent waits for the\nchild to exit.\n\nBy default, stdin, stdout and stderr are inherited from the parent. In\norder to capture the output into this `Output` it is necessary to create\nnew pipes between parent and child. Use `stdout(Stdio::piped())` or\n`stderr(Stdio::piped())`, respectively, when creating a `Command`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Output","id":3451,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5247":{"id":5247,"crate_id":0,"name":"try_reserve","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1356,5],"end":[1364,6]},"visibility":"public","docs":"Tries to acquire a slot in the channel without waiting for the slot to become\navailable.\n\nIf the channel is full this function will return [`TrySendError`], otherwise\nif there is a slot available it will return a [`Permit`] that will then allow you\nto [`send`] on the channel with a guaranteed slot. This function is similar to\n[`reserve`] except it does not await for the slot to become available.\n\nDropping [`Permit`] without sending a message releases the capacity back\nto the channel.\n\n[`Permit`]: Permit\n[`send`]: Permit::send\n[`reserve`]: Sender::reserve\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(1);\n\n// Reserve capacity\nlet permit = tx.try_reserve().unwrap();\n\n// Trying to send directly on the `tx` will fail due to no\n// available capacity.\nassert!(tx.try_send(123).is_err());\n\n// Trying to reserve an additional slot on the `tx` will\n// fail because there is no capacity.\nassert!(tx.try_reserve().is_err());\n\n// Sending on the permit succeeds\npermit.send(456);\n\n// The value sent on the permit is received\nassert_eq!(rx.recv().await.unwrap(), 456);\n\n# }\n```","links":{"Sender::reserve":5227,"Permit::send":5239,"`TrySendError`":5233,"Permit":5228},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5574":{"id":5574,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3812":{"id":3812,"crate_id":2,"name":"Output","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"Future","id":520,"args":null}}},"default_unstable":null}}},"2050":{"id":2050,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[26,5],"end":[26,26]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"chain::Chain","name":"Chain","id":575,"is_glob":false}}},"7336":{"id":7336,"crate_id":0,"name":"elapsed","span":{"filename":"src/time/instant.rs","begin":[134,5],"end":[136,6]},"visibility":"public","docs":"Returns the amount of time elapsed since this instant was created,\nor zero duration if this instant is in the future.\n\n# Examples\n\n```\nuse tokio::time::{Duration, Instant, sleep};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet instant = Instant::now();\nlet three_secs = Duration::from_secs(3);\nsleep(three_secs).await;\nassert!(instant.elapsed() >= three_secs);\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Duration","id":2215,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"288":{"id":288,"crate_id":0,"name":"NotDefinedHere","span":{"filename":"src/doc/mod.rs","begin":[21,1],"end":[21,27]},"visibility":"public","docs":"The name of a type which is not defined here.\n\nThis is typically used as an alias for another type, like so:\n\n```rust,ignore\n/// See [some::other::location](https://example.com).\ntype DEFINED_ELSEWHERE = crate::doc::NotDefinedHere;\n```\n\nThis type is uninhabitable like the [`never` type] to ensure that no one\nwill ever accidentally use it.\n\n[`never` type]: https://doc.rust-lang.org/std/primitive.never.html","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[],"where_predicates":[]},"has_stripped_variants":false,"variants":[],"impls":[7605,7606,7607,7608,7609,7610,7611,7612,7613,7614,7615,7616,7617,7618,7619,7620,287,7622,7629]}}},"4139":{"id":4139,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2377":{"id":2377,"crate_id":0,"name":"try_write","span":{"filename":"src/net/tcp/split_owned.rs","begin":[416,5],"end":[418,6]},"visibility":"public","docs":"Tries to write a buffer to the stream, returning how many bytes were\nwritten.\n\nThe function will attempt to write the entire contents of `buf`, but\nonly part of the buffer may be written.\n\nThis function is usually paired with `writable()`.\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the stream is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"615":{"id":615,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/util/mem.rs","begin":[127,5],"end":[133,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[allow(unused_mut)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5901":{"id":5901,"crate_id":0,"name":"enable","span":{"filename":"src/sync/notify.rs","begin":[1003,5],"end":[1005,6]},"visibility":"public","docs":"Adds this future to the list of futures that are ready to receive\nwakeups from calls to [`notify_one`].\n\nPolling the future also adds it to the list, so this method should only\nbe used if you want to add the future to the list before the first call\nto `poll`. (In fact, this method is equivalent to calling `poll` except\nthat no `Waker` is registered.)\n\nThis has no effect on notifications sent using [`notify_waiters`], which\nare received as long as they happen after the creation of the `Notified`\nregardless of whether `enable` or `poll` has been called.\n\nThis method returns true if the `Notified` is ready. This happens in the\nfollowing situations:\n\n 1. The `notify_waiters` method was called between the creation of the\n    `Notified` and the call to this method.\n 2. This is the first call to `enable` or `poll` on this future, and the\n    `Notify` was holding a permit from a previous call to `notify_one`.\n    The call consumes the permit in that case.\n 3. The future has previously been enabled or polled, and it has since\n    then been marked ready by either consuming a permit from the\n    `Notify`, or by a call to `notify_one` or `notify_waiters` that\n    removed it from the list of futures ready to receive wakeups.\n\nIf this method returns true, any future calls to poll on the same future\nwill immediately return `Poll::Ready`.\n\n# Examples\n\nUnbound multi-producer multi-consumer (mpmc) channel.\n\nThe call to `enable` is important because otherwise if you have two\ncalls to `recv` and two calls to `send` in parallel, the following could\nhappen:\n\n 1. Both calls to `try_recv` return `None`.\n 2. Both new elements are added to the vector.\n 3. The `notify_one` method is called twice, adding only a single\n    permit to the `Notify`.\n 4. Both calls to `recv` reach the `Notified` future. One of them\n    consumes the permit, and the other sleeps forever.\n\nBy adding the `Notified` futures to the list by calling `enable` before\n`try_recv`, the `notify_one` calls in step three would remove the\nfutures from the list and mark them notified instead of adding a permit\nto the `Notify`. This ensures that both futures are woken.\n\n```\nuse tokio::sync::Notify;\n\nuse std::collections::VecDeque;\nuse std::sync::Mutex;\n\nstruct Channel<T> {\n    messages: Mutex<VecDeque<T>>,\n    notify_on_sent: Notify,\n}\n\nimpl<T> Channel<T> {\n    pub fn send(&self, msg: T) {\n        let mut locked_queue = self.messages.lock().unwrap();\n        locked_queue.push_back(msg);\n        drop(locked_queue);\n\n        // Send a notification to one of the calls currently\n        // waiting in a call to `recv`.\n        self.notify_on_sent.notify_one();\n    }\n\n    pub fn try_recv(&self) -> Option<T> {\n        let mut locked_queue = self.messages.lock().unwrap();\n        locked_queue.pop_front()\n    }\n\n    pub async fn recv(&self) -> T {\n        let future = self.notify_on_sent.notified();\n        tokio::pin!(future);\n\n        loop {\n            // Make sure that no wakeup is lost if we get\n            // `None` from `try_recv`.\n            future.as_mut().enable();\n\n            if let Some(msg) = self.try_recv() {\n                return msg;\n            }\n\n            // Wait for a call to `notify_one`.\n            //\n            // This uses `.as_mut()` to avoid consuming the future,\n            // which lets us call `Pin::set` below.\n            future.as_mut().await;\n\n            // Reset the future in case another call to\n            // `try_recv` got the message before us.\n            future.set(self.notify_on_sent.notified());\n        }\n    }\n}\n```\n\n[`notify_one`]: Notify::notify_one()\n[`notify_waiters`]: Notify::notify_waiters()","links":{"Notify::notify_waiters()":5906,"Notify::notify_one()":5897},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6228":{"id":6228,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4466":{"id":4466,"crate_id":0,"name":"default","span":{"filename":"src/runtime/local_runtime/options.rs","begin":[13,10],"end":[13,17]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"942":{"id":942,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4793":{"id":4793,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3031":{"id":3031,"crate_id":0,"name":"try_write","span":{"filename":"src/net/unix/pipe.rs","begin":[663,5],"end":[667,6]},"visibility":"public","docs":"Tries to write a buffer to the pipe, returning how many bytes were\nwritten.\n\nThe function will attempt to write the entire contents of `buf`, but\nonly part of the buffer may be written. If the length of `buf` is not\ngreater than `PIPE_BUF` (an OS constant, 4096 under Linux), then the\nwrite is guaranteed to be atomic, i.e. either the entire content of\n`buf` will be written or this method will fail with `WouldBlock`. There\nis no such guarantee if `buf` is larger than `PIPE_BUF`.\n\nThis function is usually paired with [`writable`].\n\n[`writable`]: Self::writable\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the pipe is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Notes\n\nTo avoid unnecessary syscalls, this will only attempt the write\noperation if the OS has informed Tokio that this pipe has become\nwritable. Because of this, `try_write()` may fail with a\n[`WouldBlock`] error if Tokio has not yet heard from the OS that\nthis pipe has become writable.\n\n# Examples\n\n```no_run\nuse tokio::net::unix::pipe;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Open a writing end of a fifo\n    let tx = pipe::OpenOptions::new().open_sender(\"path/to/a/fifo\")?;\n\n    loop {\n        // Wait for the pipe to be writable\n        tx.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match tx.try_write(b\"hello world\") {\n            Ok(n) => {\n                break;\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```\n\n[`WouldBlock`]: std::io::ErrorKind::WouldBlock","links":{"Self::writable":3029,"std::io::ErrorKind::WouldBlock":1116},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6882":{"id":6882,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[459,23],"end":[459,30]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"barrier::Barrier","name":"Barrier","id":4972,"is_glob":false}}},"3358":{"id":3358,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7209":{"id":7209,"crate_id":0,"name":"spawn_on","span":{"filename":"src/task/builder.rs","begin":[108,5],"end":[119,6]},"visibility":"public","docs":"Spawn a task with this builder's settings on the provided [runtime\nhandle].\n\nSee [`Handle::spawn`] for more details.\n\n[runtime handle]: crate::runtime::Handle\n[`Handle::spawn`]: crate::runtime::Handle::spawn","links":{"crate::runtime::Handle::spawn":4272,"crate::runtime::Handle":4265},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["future",{"generic":"Fut"}],["handle",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Handle","id":4265,"args":null}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Fut"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"Fut","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Fut"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Fut"},"trait":{"path":"","id":520,"args":null}}},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5447":{"id":5447,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1923":{"id":1923,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7536":{"id":7536,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[102,17],"end":[102,22]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"sleep::sleep","name":"sleep","id":7256,"is_glob":false}}},"5774":{"id":5774,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2250":{"id":2250,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/socket.rs","begin":[989,1],"end":[993,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[2249],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"488":{"id":488,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[227,1],"end":[227,39]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::dir_builder::DirBuilder","name":"DirBuilder","id":131,"is_glob":false}}},"4012":{"id":4012,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4339":{"id":4339,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2577":{"id":2577,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"815":{"id":815,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split.rs","begin":[380,1],"end":[411,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[810,811,812,813,814],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6101":{"id":6101,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6428":{"id":6428,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[154,1],"end":[154,80]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"read_guard::RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2904":{"id":2904,"crate_id":0,"name":"async_io","span":{"filename":"src/net/unix/stream.rs","begin":[800,5],"end":[809,6]},"visibility":"public","docs":"Reads or writes from the socket using a user-provided IO operation.\n\nThe readiness of the socket is awaited and when the socket is ready,\nthe provided closure is called. The closure should attempt to perform\nIO operation on the socket by manually calling the appropriate syscall.\nIf the operation fails because the socket is not actually ready,\nthen the closure should return a `WouldBlock` error. In such case the\nreadiness flag is cleared and the socket readiness is awaited again.\nThis loop is repeated until the closure returns an `Ok` or an error\nother than `WouldBlock`.\n\nThe closure should only return a `WouldBlock` error if it has performed\nan IO operation on the socket that failed due to the socket not being\nready. Returning a `WouldBlock` error in any other situation will\nincorrectly clear the readiness flag, which can cause the socket to\nbehave incorrectly.\n\nThe closure should not perform the IO operation using any of the methods\ndefined on the Tokio `UnixStream` type, as this will mess with the\nreadiness flag and can cause the socket to behave incorrectly.\n\nThis method is not intended to be used with combined interests.\nThe closure should perform only one type of IO operation, so it should not\nrequire more than one ready state. This method may panic or sleep forever\nif it is called with a combined interest.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnMut() -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1142":{"id":1142,"crate_id":0,"name":"try_io","span":{"filename":"src/io/async_fd.rs","begin":[1151,5],"end":[1164,6]},"visibility":"public","docs":"Performs the provided IO operation.\n\nIf `f` returns a [`WouldBlock`] error, the readiness state associated\nwith this file descriptor is cleared, and the method returns\n`Err(TryIoError::WouldBlock)`. You will typically need to poll the\n`AsyncFd` again when this happens.\n\nThis method helps ensure that the readiness state of the underlying file\ndescriptor remains in sync with the tokio-side readiness state, by\nclearing the tokio-side state only when a [`WouldBlock`] condition\noccurs. It is the responsibility of the caller to ensure that `f`\nreturns [`WouldBlock`] only if the file descriptor that originated this\n`AsyncFdReadyGuard` no longer expresses the readiness state that was queried to\ncreate this `AsyncFdReadyGuard`.\n\n# Examples\n\nThis example sends some bytes to the inner [`std::net::UdpSocket`]. Waiting\nfor write-readiness and retrying when the send operation does block are explicit.\nThis example can be written more succinctly using [`AsyncFd::async_io`].\n\n```no_run\nuse tokio::io::unix::AsyncFd;\n\nuse std::io;\nuse std::net::UdpSocket;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let socket = UdpSocket::bind(\"0.0.0.0:8080\")?;\n    socket.set_nonblocking(true)?;\n    let async_fd = AsyncFd::new(socket)?;\n\n    let written = loop {\n        let mut guard = async_fd.writable().await?;\n        match guard.try_io(|inner| inner.get_ref().send(&[1, 2])) {\n            Ok(result) => {\n                break result?;\n            }\n            Err(_would_block) => {\n                // try_io already cleared the file descriptor's readiness state\n                continue;\n            }\n        }\n    };\n\n    println!(\"wrote {written} bytes\");\n\n    Ok(())\n}\n```\n\n[`WouldBlock`]: std::io::ErrorKind::WouldBlock","links":{"`AsyncFd::async_io`":1143,"std::io::ErrorKind::WouldBlock":1116,"`std::net::UdpSocket`":1141},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(alias = \"with_io\")]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":"'a","is_mutable":false,"type":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Inner"}}],"constraints":[]}}}}}}],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnOnce(&'a AsyncFd<Inner>) -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":"'a","is_mutable":false,"type":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Inner"}}],"constraints":[]}}}}}}],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4666":{"id":4666,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[270,1],"end":[277,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[4665],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4993":{"id":4993,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3231":{"id":3231,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1469":{"id":1469,"crate_id":0,"name":"Seek","span":{"filename":"src/io/seek.rs","begin":[10,1],"end":[21,2]},"visibility":"public","docs":"Future for the [`seek`](crate::io::AsyncSeekExt::seek) method.","links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"S","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"6755":{"id":6755,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7082":{"id":7082,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5320":{"id":5320,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1796":{"id":1796,"crate_id":0,"name":"poll_next_line","span":{"filename":"src/io/util/lines.rs","begin":[112,5],"end":[134,6]},"visibility":"public","docs":"Polls for the next line in the stream.\n\nThis method returns:\n\n * `Poll::Pending` if the next line is not yet available.\n * `Poll::Ready(Ok(Some(line)))` if the next line is available.\n * `Poll::Ready(Ok(None))` if there are no more lines in this stream.\n * `Poll::Ready(Err(err))` if an IO error occurred while reading the next line.\n\nWhen the method returns `Poll::Pending`, the `Waker` in the provided\n`Context` is scheduled to receive a wakeup when more bytes become\navailable on the underlying IO resource.  Note that on multiple calls to\n`poll_next_line`, only the `Waker` from the `Context` passed to the most\nrecent call is scheduled to receive a wakeup.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"String","id":448,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3558":{"id":3558,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"5647":{"id":5647,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3885":{"id":3885,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"361":{"id":361,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2123":{"id":2123,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[287,104],"end":[287,117]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::SimplexStream","name":"SimplexStream","id":620,"is_glob":false}}},"7409":{"id":7409,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5974":{"id":5974,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2450":{"id":2450,"crate_id":0,"name":"async_io","span":{"filename":"src/net/tcp/stream.rs","begin":[1057,5],"end":[1066,6]},"visibility":"public","docs":"Reads or writes from the socket using a user-provided IO operation.\n\nThe readiness of the socket is awaited and when the socket is ready,\nthe provided closure is called. The closure should attempt to perform\nIO operation on the socket by manually calling the appropriate syscall.\nIf the operation fails because the socket is not actually ready,\nthen the closure should return a `WouldBlock` error. In such case the\nreadiness flag is cleared and the socket readiness is awaited again.\nThis loop is repeated until the closure returns an `Ok` or an error\nother than `WouldBlock`.\n\nThe closure should only return a `WouldBlock` error if it has performed\nan IO operation on the socket that failed due to the socket not being\nready. Returning a `WouldBlock` error in any other situation will\nincorrectly clear the readiness flag, which can cause the socket to\nbehave incorrectly.\n\nThe closure should not perform the IO operation using any of the methods\ndefined on the Tokio `TcpStream` type, as this will mess with the\nreadiness flag and can cause the socket to behave incorrectly.\n\nThis method is not intended to be used with combined interests.\nThe closure should perform only one type of IO operation, so it should not\nrequire more than one ready state. This method may panic or sleep forever\nif it is called with a combined interest.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnMut() -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"688":{"id":688,"crate_id":0,"name":null,"span":{"filename":"src/io/util/empty.rs","begin":[136,1],"end":[148,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncSeek","id":199,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[686,687],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4212":{"id":4212,"crate_id":0,"name":"join","span":{"filename":"src/macros/join.rs","begin":[110,7],"end":[112,2]},"visibility":"public","docs":"Waits on multiple concurrent branches, returning when **all** branches\ncomplete.\n\nThe `join!` macro must be used inside of async functions, closures, and\nblocks.\n\nThe `join!` macro takes a list of async expressions and evaluates them\nconcurrently on the same task. Each async expression evaluates to a future\nand the futures from each expression are multiplexed on the current task.\n\nWhen working with async expressions returning `Result`, `join!` will wait\nfor **all** branches complete regardless if any complete with `Err`. Use\n[`try_join!`] to return early when `Err` is encountered.\n\n[`try_join!`]: crate::try_join\n\n# Notes\n\nThe supplied futures are stored inline and do not require allocating a\n`Vec`.\n\n## Runtime characteristics\n\nBy running all async expressions on the current task, the expressions are\nable to run **concurrently** but not in **parallel**. This means all\nexpressions are run on the same thread and if one branch blocks the thread,\nall other expressions will be unable to continue. If parallelism is\nrequired, spawn each async expression using [`tokio::spawn`] and pass the\njoin handle to `join!`.\n\n[`tokio::spawn`]: crate::spawn\n\n## Fairness\n\nBy default, `join!`'s generated future rotates which contained\nfuture is polled first whenever it is woken.\n\nThis behavior can be overridden by adding `biased;` to the beginning of the\nmacro usage. See the examples for details. This will cause `join` to poll\nthe futures in the order they appear from top to bottom.\n\nYou may want this if your futures may interact in a way where known polling order is significant.\n\nBut there is an important caveat to this mode. It becomes your responsibility\nto ensure that the polling order of your futures is fair. If for example you\nare joining a stream and a shutdown future, and the stream has a\nhuge volume of messages that takes a long time to finish processing per poll, you should\nplace the shutdown future earlier in the `join!` list to ensure that it is\nalways polled, and will not be delayed due to the stream future taking a long time to return\n`Poll::Pending`.\n\n# Examples\n\nBasic join with two branches\n\n```\nasync fn do_stuff_async() {\n    // async work\n}\n\nasync fn more_async_work() {\n    // more here\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (first, second) = tokio::join!(\n    do_stuff_async(),\n    more_async_work());\n\n// do something with the values\n# }\n```\n\nUsing the `biased;` mode to control polling order.\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nasync fn do_stuff_async() {\n    // async work\n}\n\nasync fn more_async_work() {\n    // more here\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (first, second) = tokio::join!(\n    biased;\n    do_stuff_async(),\n    more_async_work()\n);\n\n// do something with the values\n# }\n# }\n```","links":{"crate::spawn":3799,"crate::try_join":7637},"attrs":[{"other":"#[attr = CfgAttrTrace]"},"macro_export",{"other":"#[doc(cfg(feature = \"macros\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"macro":"macro_rules! join {\n    ($(biased;)? $($future:expr),*) => { ... };\n}"}},"6301":{"id":6301,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_read_guard.rs","begin":[186,1],"end":[193,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[6300],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4539":{"id":4539,"crate_id":0,"name":"schedule_latency_histogram_num_buckets","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[1093,9],"end":[1101,10]},"visibility":"public","docs":"Returns the number of histogram buckets tracking the distribution of\ntask schedule latencies.\n\nThis value is configured by calling\n[`metrics_schedule_latency_histogram_configuration()`] when building the runtime.\n\n# Examples\n\n```\nuse tokio::runtime::{self, Handle};\n\nfn main() {\n    runtime::Builder::new_current_thread()\n        .enable_metrics_schedule_latency_histogram()\n        .build()\n        .unwrap()\n        .block_on(async {\n            let metrics = Handle::current().metrics();\n            let buckets = metrics.schedule_latency_histogram_num_buckets();\n\n            println!(\"Histogram buckets: {:?}\", buckets);\n        });\n}\n```\n\n[`metrics_schedule_latency_histogram_configuration()`]: crate::runtime::Builder::metrics_schedule_latency_histogram_configuration","links":{"crate::runtime::Builder::metrics_schedule_latency_histogram_configuration":3996},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"schedule-latency\"), span: src/runtime/metrics/runtime.rs:1033:12: 1033:40 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"schedule-latency\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1015":{"id":1015,"crate_id":0,"name":null,"span":{"filename":"src/io/ready.rs","begin":[20,17],"end":[20,21]},"visibility":"default","docs":null,"links":{},"attrs":["automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2777":{"id":2777,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split_owned.rs","begin":[101,1],"end":[243,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[2768,2772,2771,2770,2773,2774,2775,2776],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6628":{"id":6628,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[474,10],"end":[474,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6627],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3104":{"id":3104,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/mod.rs","begin":[19,1],"end":[19,32]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"socketaddr::SocketAddr","name":"SocketAddr","id":2631,"is_glob":false}}},"1342":{"id":1342,"crate_id":0,"name":null,"span":{"filename":"src/io/stdin.rs","begin":[28,14],"end":[28,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[1341],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4866":{"id":4866,"crate_id":0,"name":"recv","span":{"filename":"src/signal/windows.rs","begin":[172,5],"end":[175,6]},"visibility":"public","docs":"Receives the next signal notification event.\n\nAlthough this returns `Option<()>`, it will never actually return `None`.\nThis was accidentally exposed and would be a breaking change to be removed.\n\n# Examples\n\n```rust,no_run\nuse tokio::signal::windows::ctrl_break;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    // A listener of CTRL-BREAK events.\n    let mut signal = ctrl_break()?;\n\n    // Print whenever a CTRL-BREAK event is received.\n    loop {\n        signal.recv().await;\n        println!(\"got signal CTRL-BREAK\");\n    }\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6955":{"id":6955,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5193":{"id":5193,"crate_id":0,"name":"sender_strong_count","span":{"filename":"src/sync/broadcast.rs","begin":[1365,5],"end":[1367,6]},"visibility":"public","docs":"Returns the number of [`Sender`] handles.","links":{"`Sender`":5023},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3431":{"id":3431,"crate_id":0,"name":"envs","span":{"filename":"src/process/mod.rs","begin":[479,5],"end":[487,6]},"visibility":"public","docs":"Adds or updates multiple environment variable mappings.\n\n# Examples\n\nBasic usage:\n\n```no_run\n# async fn test() { // allow using await\nuse tokio::process::Command;\nuse std::process::{Stdio};\nuse std::env;\nuse std::collections::HashMap;\n\nlet filtered_env : HashMap<String, String> =\n    env::vars().filter(|&(ref k, _)|\n        k == \"TERM\" || k == \"TZ\" || k == \"LANG\" || k == \"PATH\"\n    ).collect();\n\nlet output = Command::new(\"printenv\")\n        .stdin(Stdio::null())\n        .stdout(Stdio::inherit())\n        .env_clear()\n        .envs(&filtered_env)\n        .output().await.unwrap();\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["vars",{"generic":"I"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[{"name":"I","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"K","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"V","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"I"},"bounds":[{"trait_bound":{"trait":{"path":"IntoIterator","id":3428,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Item","args":null,"binding":{"equality":{"type":{"tuple":[{"generic":"K"},{"generic":"V"}]}}}}]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"K"},"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"V"},"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1669":{"id":1669,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7282":{"id":7282,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3758":{"id":3758,"crate_id":0,"name":"partial_cmp","span":{"filename":"src/runtime/task/id.rs","begin":[31,51],"end":[31,61]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Id","id":3692,"args":null}}}}]],"output":{"resolved_path":{"path":"$crate::option::Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"$crate::cmp::Ordering","id":1021,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1996":{"id":1996,"crate_id":0,"name":"get_mut","span":{"filename":"src/io/util/take.rs","begin":[59,5],"end":[61,6]},"visibility":"public","docs":"Gets a mutable reference to the underlying reader.\n\nCare should be taken to avoid modifying the internal I/O state of the\nunderlying reader as doing so may corrupt the internal limit of this\n`Take`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"R"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"234":{"id":234,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5520":{"id":5520,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5847":{"id":5847,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4085":{"id":4085,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"561":{"id":561,"crate_id":0,"name":"Join","span":{"filename":"src/io/join.rs","begin":[19,1],"end":[29,2]},"visibility":"public","docs":"Joins two values implementing `AsyncRead` and `AsyncWrite` into a\nsingle handle.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1441,1442,1443,1444,1445,1446,1447,1448,1449,1450,1451,1452,1453,1454,1455,1456,1457,1458,1459,1461,1462,604,768,560]}}},"2323":{"id":2323,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"7609":{"id":7609,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6174":{"id":6174,"crate_id":0,"name":null,"span":{"filename":"src/sync/batch_semaphore.rs","begin":[726,1],"end":[730,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[6173],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2650":{"id":2650,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"888":{"id":888,"crate_id":0,"name":"inner_mut","span":{"filename":"src/io/read_buf.rs","begin":[125,5],"end":[127,6]},"visibility":"public","docs":"Returns a mutable reference to the entire buffer, without ensuring that it has been fully\ninitialized.\n\nThe elements between 0 and `self.filled().len()` are filled, and those between 0 and\n`self.initialized().len()` are initialized (and so can be converted to a `&mut [u8]`).\n\nThe caller of this method must ensure that these invariants are upheld. For example, if the\ncaller initializes some of the uninitialized section of the buffer, it must call\n[`assume_init`](Self::assume_init) with the number of bytes initialized.\n\n# Safety\n\nThe caller must not de-initialize portions of the buffer that have already been initialized.\nThis includes any bytes in the region marked as uninitialized by `ReadBuf`.","links":{"Self::assume_init":887},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"resolved_path":{"path":"MaybeUninit","id":880,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u8"}}],"constraints":[]}}}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6501":{"id":6501,"crate_id":0,"name":"deref_mut","span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[177,5],"end":[179,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4739":{"id":4739,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[560,9],"end":[560,44]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:609:19: 609:33 (#1609) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"crate::util::rand::RngSeed","name":"RngSeed","id":3974,"is_glob":false}}},"1215":{"id":1215,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2977":{"id":2977,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/ucred.rs","begin":[4,16],"end":[4,21]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[2976],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5066":{"id":5066,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3304":{"id":3304,"crate_id":0,"name":"clone","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2593,17],"end":[2593,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1542":{"id":1542,"crate_id":0,"name":"read_to_string","span":{"filename":"src/io/util/async_read_ext.rs","begin":[1404,9],"end":[1409,10]},"visibility":"default","docs":"Reads all bytes until EOF in this source, appending them to `buf`.\n\nEquivalent to:\n\n```ignore\nasync fn read_to_string(&mut self, buf: &mut String) -> io::Result<usize>;\n```\n\nIf successful, the number of bytes which were read and appended to\n`buf` is returned.\n\n# Errors\n\nIf the data in this stream is *not* valid UTF-8 then an error is\nreturned and `buf` is unchanged.\n\nSee [`read_to_end`][AsyncReadExt::read_to_end] for other error semantics.\n\n# Examples\n\n[`File`][crate::fs::File]s implement `Read`:\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, AsyncReadExt};\nuse tokio::fs::File;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut f = File::open(\"foo.txt\").await?;\n    let mut buffer = String::new();\n\n    f.read_to_string(&mut buffer).await?;\n    Ok(())\n}\n# }\n```\n\n(See also the [`crate::fs::read_to_string`] convenience function for\nreading from a file.)\n\n[`crate::fs::read_to_string`]: fn@crate::fs::read_to_string","links":{"crate::fs::File":204,"AsyncReadExt::read_to_end":206,"fn@crate::fs::read_to_string":447},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}],["dst",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"resolved_path":{"path":"String","id":448,"args":null}}}}]],"output":{"resolved_path":{"path":"ReadToString","id":1543,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6828":{"id":6828,"crate_id":0,"name":"same_channel","span":{"filename":"src/sync/watch.rs","begin":[1453,5],"end":[1455,6]},"visibility":"public","docs":"Returns `true` if senders belong to the same channel.\n\n# Examples\n\n```\nlet (tx, rx) = tokio::sync::watch::channel(true);\nlet tx2 = tx.clone();\nassert!(tx.same_channel(&tx2));\n\nlet (tx3, rx3) = tokio::sync::watch::channel(true);\nassert!(!tx3.same_channel(&tx2));\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7155":{"id":7155,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5393":{"id":5393,"crate_id":0,"name":"recv_many","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[319,5],"end":[322,6]},"visibility":"public","docs":"Receives the next values for this receiver and extends `buffer`.\n\nThis method extends `buffer` by no more than a fixed number of values\nas specified by `limit`. If `limit` is zero, the function immediately\nreturns `0`. The return value is the number of values added to `buffer`.\n\nFor `limit > 0`, if there are no messages in the channel's queue, but\nthe channel has not yet been closed, this method will sleep until a\nmessage is sent or the channel is closed. Note that if [`close`] is\ncalled, but there are still outstanding [`Permits`] from before it was\nclosed, the channel is not considered closed by `recv_many` until the\npermits are released.\n\nFor non-zero values of `limit`, this method will never return `0` unless\nthe channel has been closed and there are no remaining messages in the\nchannel's queue. This indicates that no further values can ever be\nreceived from this `Receiver`. The channel is closed when all senders\nhave been dropped, or when [`close`] is called.\n\nThe capacity of `buffer` is increased as needed.\n\n# Cancel safety\n\nThis method is cancel safe. If `recv_many` is used as a branch in\n[`tokio::select!`](crate::select) and another branch completes first,\nit is guaranteed that no messages were received on this\nchannel.\n\n[`close`]: Self::close\n[`Permits`]: struct@crate::sync::mpsc::Permit\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut buffer: Vec<&str> = Vec::with_capacity(2);\nlet limit = 2;\nlet (tx, mut rx) = mpsc::channel(100);\nlet tx2 = tx.clone();\ntx2.send(\"first\").await.unwrap();\ntx2.send(\"second\").await.unwrap();\ntx2.send(\"third\").await.unwrap();\n\n// Call `recv_many` to receive up to `limit` (2) values.\nassert_eq!(2, rx.recv_many(&mut buffer, limit).await);\nassert_eq!(vec![\"first\", \"second\"], buffer);\n\n// If the buffer is full, the next call to `recv_many`\n// reserves additional capacity.\nassert_eq!(1, rx.recv_many(&mut buffer, 1).await);\n\ntokio::spawn(async move {\n    tx.send(\"fourth\").await.unwrap();\n});\n\n// 'tx' is dropped, but `recv_many`\n// is guaranteed not to return 0 as the channel\n// is not yet closed.\nassert_eq!(1, rx.recv_many(&mut buffer, 1).await);\nassert_eq!(vec![\"first\", \"second\", \"third\", \"fourth\"], buffer);\n\n// Once the last sender is dropped, the channel is\n// closed and `recv_many` returns 0, capacity unchanged.\ndrop(tx2);\nassert_eq!(0, rx.recv_many(&mut buffer, limit).await);\nassert_eq!(vec![\"first\", \"second\", \"third\", \"fourth\"], buffer);\n# }\n```","links":{"struct@crate::sync::mpsc::Permit":5228,"Self::close":5225,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["buffer",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}],["limit",{"primitive":"usize"}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1869":{"id":1869,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mem.rs","begin":[75,10],"end":[75,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[1868],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5720":{"id":5720,"crate_id":0,"name":"default","span":{"filename":"src/sync/mutex.rs","begin":[805,5],"end":[807,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3958":{"id":3958,"crate_id":0,"name":"on_task_spawn","span":{"filename":"src/runtime/builder.rs","begin":[903,5],"end":[909,6]},"visibility":"public","docs":"Executes function `f` just before a task is spawned.\n\n`f` is called within the Tokio context, so functions like\n[`tokio::spawn`](crate::spawn) can be called, and may result in this callback being\ninvoked immediately.\n\nThis can be used for bookkeeping or monitoring purposes.\n\nNote: There can only be one spawn callback for a runtime; calling this function more\nthan once replaces the last callback defined, rather than adding to it.\n\nThis *does not* support [`LocalSet`](crate::task::LocalSet) at this time.\n\n**Note**: This is an [unstable API][unstable]. The public API of this type\nmay break in 1.x releases. See [the documentation on unstable\nfeatures][unstable] for details.\n\n[unstable]: crate#unstable-features\n\n# Examples\n\n```\n# use tokio::runtime;\n# pub fn main() {\nlet runtime = runtime::Builder::new_current_thread()\n    .on_task_spawn(|_| {\n        println!(\"spawning task\");\n    })\n    .build()\n    .unwrap();\n\nruntime.block_on(async {\n    tokio::task::spawn(std::future::ready(()));\n\n    for _ in 0..64 {\n        tokio::task::yield_now().await;\n    }\n})\n# }\n```","links":{"crate::spawn":3799,"crate::task::LocalSet":3939,"crate#unstable-features":3944},"attrs":[{"other":"#[attr = CfgTrace([All([Not(NameValue { name: \"loom\", value: None, span: src/runtime/builder.rs:901:19: 901:23 (#0) }, src/runtime/builder.rs:901:18: 901:24 (#0)), NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/builder.rs:901:26: 901:40 (#0) }], src/runtime/builder.rs:901:14: 901:41 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Fn","id":3952,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],"output":null}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7482":{"id":7482,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"434":{"id":434,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2196":{"id":2196,"crate_id":0,"name":"BorrowedSocket","span":{"filename":"src/doc/os.rs","begin":[60,9],"end":[60,71]},"visibility":"public","docs":"See [`std::os::windows::io::BorrowedSocket`](https://doc.rust-lang.org/std/os/windows/io/struct.BorrowedSocket.html)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"type_alias":{"type":{"resolved_path":{"path":"crate::doc::NotDefinedHere","id":288,"args":null}},"generics":{"params":[{"name":"'socket","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]}}}},"6047":{"id":6047,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[351,25],"end":[351,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[6046],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2523":{"id":2523,"crate_id":0,"name":"poll_recv_ready","span":{"filename":"src/net/udp.rs","begin":[749,5],"end":[751,6]},"visibility":"public","docs":"Polls for read/receive readiness.\n\nIf the udp stream is not currently ready for receiving, this method will\nstore a clone of the `Waker` from the provided `Context`. When the udp\nsocket becomes ready for reading, `Waker::wake` will be called on the\nwaker.\n\nNote that on multiple calls to `poll_recv_ready`, `poll_recv` or\n`poll_peek`, only the `Waker` from the `Context` passed to the most\nrecent call is scheduled to receive a wakeup. (However,\n`poll_send_ready` retains a second, independent waker.)\n\nThis function is intended for cases where creating and pinning a future\nvia [`readable`] is not feasible. Where possible, using [`readable`] is\npreferred, as this supports polling from multiple tasks at once.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the udp stream is not ready for reading.\n* `Poll::Ready(Ok(()))` if the udp stream is ready for reading.\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n[`readable`]: method@Self::readable","links":{"method@Self::readable":2522},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"761":{"id":761,"crate_id":0,"name":null,"span":{"filename":"src/io/split.rs","begin":[120,1],"end":[149,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[756,757,758,759,760],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4285":{"id":4285,"crate_id":0,"name":null,"span":{"filename":"src/runtime/handle.rs","begin":[39,1],"end":[518,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[4268,4267,4270,4272,4273,4278,4279,4282,4283,3976],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6374":{"id":6374,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"Deref","id":550,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Target","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Receiver","id":1075,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[1073],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"P"}}}},"4612":{"id":4612,"crate_id":0,"name":"max_value","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[222,5],"end":[228,6]},"visibility":"public","docs":"Sets the maximum value that can by this histogram without truncation\n\nValues greater than this fall in the final bucket that stretches to `u64::MAX`.\n\n# Panics\nThe provided value is 0","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["duration",{"resolved_path":{"path":"Duration","id":2215,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2850":{"id":2850,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1088":{"id":1088,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6701":{"id":6701,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3177":{"id":3177,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1415":{"id":1415,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4939":{"id":4939,"crate_id":0,"name":"recv","span":{"filename":"src/signal/windows.rs","begin":[501,5],"end":[504,6]},"visibility":"public","docs":"Receives the next signal notification event.\n\nAlthough this returns `Option<()>`, it will never actually return `None`.\nThis was accidentally exposed and would be a breaking change to be removed.\n\n# Examples\n\n```rust,no_run\nuse tokio::signal::windows::ctrl_logoff;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    // An listener of CTRL-LOGOFF events.\n    let mut signal = ctrl_logoff()?;\n\n    // Print whenever a CTRL-LOGOFF event is received.\n    signal.recv().await;\n    println!(\"got CTRL-LOGOFF. Cleaning up before exiting\");\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5266":{"id":5266,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3504":{"id":3504,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1175,10],"end":[1175,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"process\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[3503],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1742":{"id":1742,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7028":{"id":7028,"crate_id":0,"name":null,"span":{"filename":"src/task/local.rs","begin":[941,1],"end":[968,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Future","id":520,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[7026,7027],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7355":{"id":7355,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5593":{"id":5593,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/error.rs","begin":[49,5],"end":[54,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5920":{"id":5920,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4158":{"id":4158,"crate_id":0,"name":"symbols","span":{"filename":"src/runtime/dump.rs","begin":[148,5],"end":[150,6]},"visibility":"public","docs":"Return an iterator over the symbols of this backtrace frame.\n\nDue to inlining, it is possible for there to be multiple [`BacktraceSymbol`] items relating\nto a single frame. The first symbol listed is the \"innermost function\",\nwhereas the last symbol is the outermost (last caller).","links":{"`BacktraceSymbol`":4121},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"impl_trait":[{"trait_bound":{"trait":{"path":"Iterator","id":2149,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Item","args":null,"binding":{"equality":{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}}}}}}}]}}},"generic_params":[],"modifier":"none"}}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2396":{"id":2396,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"634":{"id":634,"crate_id":0,"name":"TcpStream","span":{"filename":"src/net/tcp/stream.rs","begin":[73,5],"end":[75,6]},"visibility":"public","docs":"A TCP stream between a local and a remote socket.\n\nA TCP stream can either be created by connecting to an endpoint, via the\n[`connect`] method, or by [accepting] a connection from a [listener]. A\nTCP stream can also be created via the [`TcpSocket`] type.\n\nReading and writing to a `TcpStream` is usually done using the\nconvenience methods found on the [`AsyncReadExt`] and [`AsyncWriteExt`]\ntraits.\n\n[`connect`]: method@TcpStream::connect\n[accepting]: method@crate::net::TcpListener::accept\n[listener]: struct@crate::net::TcpListener\n[`TcpSocket`]: struct@crate::net::TcpSocket\n[`AsyncReadExt`]: trait@crate::io::AsyncReadExt\n[`AsyncWriteExt`]: trait@crate::io::AsyncWriteExt\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\nuse tokio::io::AsyncWriteExt;\nuse std::error::Error;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let mut stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\n    // Write some data.\n    stream.write_all(b\"hello world!\").await?;\n\n    Ok(())\n}\n```\n\nThe [`write_all`] method is defined on the [`AsyncWriteExt`] trait.\n\n[`write_all`]: fn@crate::io::AsyncWriteExt::write_all\n[`AsyncWriteExt`]: trait@crate::io::AsyncWriteExt\n\nTo shut down the stream in the write direction, you can call the\n[`shutdown()`] method. This will cause the other peer to receive a read of\nlength 0, indicating that no more data will be sent. This only closes\nthe stream in one direction.\n\n[`shutdown()`]: fn@crate::io::AsyncWriteExt::shutdown","links":{"method@TcpStream::connect":2434,"struct@crate::net::TcpListener":2154,"trait@crate::io::AsyncWriteExt":203,"method@crate::net::TcpListener::accept":2153,"struct@crate::net::TcpSocket":2155,"fn@crate::io::AsyncWriteExt::write_all":209,"fn@crate::io::AsyncWriteExt::shutdown":1608,"trait@crate::io::AsyncReadExt":202},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:336:19: 336:34 (#491) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[2460,2461,2462,2463,2464,2465,2466,2467,2468,2469,2470,2471,2472,2473,2474,2475,2476,2477,2478,2307,2336,2372,2406,2481,633,829,2483,2485,2487,2489,2491,2493]}}},"4485":{"id":4485,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2723":{"id":2723,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6247":{"id":6247,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6574":{"id":6574,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4812":{"id":4812,"crate_id":0,"name":null,"span":{"filename":"src/signal/unix.rs","begin":[235,1],"end":[239,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"std::os::raw::c_int","id":4766,"args":null}},"items":[4811],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3050":{"id":3050,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6901":{"id":6901,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[485,5],"end":[485,51]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"rwlock::write_guard::RwLockWriteGuard","name":"RwLockWriteGuard","id":6436,"is_glob":false}}},"3377":{"id":3377,"crate_id":0,"name":null,"span":{"filename":"src/net/mod.rs","begin":[44,5],"end":[44,36]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:336:19: 336:34 (#464) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"tcp::stream::TcpStream","name":"TcpStream","id":634,"is_glob":false}}},"5139":{"id":5139,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7228":{"id":7228,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5466":{"id":5466,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[57,1],"end":[63,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5465],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1942":{"id":1942,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"180":{"id":180,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3704":{"id":3704,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4031":{"id":4031,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5793":{"id":5793,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1173,1],"end":[1177,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5792],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"507":{"id":507,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[278,1],"end":[278,38]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::try_exists::try_exists","name":"try_exists","id":475,"is_glob":false}}},"2269":{"id":2269,"crate_id":0,"name":"FromRawSocket","span":{"filename":"src/doc/os.rs","begin":[39,9],"end":[42,10]},"visibility":"public","docs":"See [`std::os::windows::io::FromRawSocket`](https://doc.rust-lang.org/std/os/windows/io/trait.FromRawSocket.html)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":false,"items":[7598],"generics":{"params":[],"where_predicates":[]},"bounds":[],"implementations":[2268]}}},"6120":{"id":6120,"crate_id":0,"name":"close","span":{"filename":"src/sync/semaphore.rs","begin":[992,5],"end":[994,6]},"visibility":"public","docs":"Closes the semaphore.\n\nThis prevents the semaphore from issuing new permits and notifies all pending waiters.\n\n# Examples\n\n```\nuse tokio::sync::Semaphore;\nuse std::sync::Arc;\nuse tokio::sync::TryAcquireError;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet semaphore = Arc::new(Semaphore::new(1));\nlet semaphore2 = semaphore.clone();\n\ntokio::spawn(async move {\n    let permit = semaphore.acquire_many(2).await;\n    assert!(permit.is_err());\n    println!(\"waiter received error\");\n});\n\nprintln!(\"closing semaphore\");\nsemaphore2.close();\n\n// Cannot obtain more permits\nassert_eq!(semaphore2.try_acquire().err(), Some(TryAcquireError::Closed))\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"834":{"id":834,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/net/unix/split.rs","begin":[316,5],"end":[318,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4685":{"id":4685,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2923":{"id":2923,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"1161":{"id":1161,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6447":{"id":6447,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5012":{"id":5012,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5339":{"id":5339,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3577":{"id":3577,"crate_id":0,"name":"as_raw_handle","span":{"filename":"src/process/mod.rs","begin":[1716,5],"end":[1716,30]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawHandle","id":290,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1815":{"id":1815,"crate_id":0,"name":null,"span":{"filename":"src/io/util/lines.rs","begin":[10,1],"end":[30,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'__pin","kind":{"lifetime":{"outlives":[]}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"resolved_path":{"path":"$crate::__private::PinnedFieldsOf","id":1463,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"__Origin","id":1816,"args":{"angle_bracketed":{"args":[{"lifetime":"'__pin"},{"type":{"generic":"R"}}],"constraints":[]}}}}}],"constraints":[]}}}},"bounds":[{"trait_bound":{"trait":{"path":"$crate::__private::Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7101":{"id":7101,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7428":{"id":7428,"crate_id":0,"name":null,"span":{"filename":"src/time/interval.rs","begin":[175,30],"end":[175,39]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[7427],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5666":{"id":5666,"crate_id":0,"name":"error","span":{"filename":"src/sync/mpsc/error.rs","begin":[1,1],"end":[168,2]},"visibility":"public","docs":"Channel error types.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[5230,5233,5398,5235],"is_stripped":false}}},"5993":{"id":5993,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4231":{"id":4231,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"707":{"id":707,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/async_write.rs","begin":[216,5],"end":[216,25]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2469":{"id":2469,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"6320":{"id":6320,"crate_id":0,"name":"into_mapped","span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[320,5],"end":[322,6]},"visibility":"public","docs":"Converts this `OwnedRwLockWriteGuard` into an\n`OwnedRwLockMappedWriteGuard`. This method can be used to store a\nnon-mapped guard in a struct field that expects a mapped guard.\n\nThis is equivalent to calling `OwnedRwLockWriteGuard::map(guard, |me| me)`.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}]],"output":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2796":{"id":2796,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split_owned.rs","begin":[34,10],"end":[34,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[2795],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1034":{"id":1034,"crate_id":0,"name":null,"span":{"filename":"src/io/ready.rs","begin":[289,1],"end":[296,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"BitAnd","id":1035,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[1032,1033],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4558":{"id":4558,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6647":{"id":6647,"crate_id":0,"name":"SetOnceError","span":{"filename":"src/sync/set_once.rs","begin":[380,1],"end":[380,35]},"visibility":"public","docs":"Error that can be returned from [`SetOnce::set`].\n\nThis error means that the `SetOnce` was already initialized when\nset was called\n\n[`SetOnce::set`]: crate::sync::SetOnce::set","links":{"crate::sync::SetOnce::set":6648},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[6684]},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6685,6686,6687,6688,6689,6690,6691,6692,6693,6694,6695,6696,6697,6698,6699,6700,6701,6703,6704,6706,6707,6709,6710]}}},"4885":{"id":4885,"crate_id":0,"name":"fmt","span":{"filename":"src/signal/windows.rs","begin":[144,10],"end":[144,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3123":{"id":3123,"crate_id":0,"name":"try_read_buf","span":{"filename":"src/net/windows/named_pipe.rs","begin":[600,9],"end":[618,10]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffer, advancing the\nbuffer's internal cursor, returning how many bytes were read.\n\nReceives any pending data from the pipe but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_buf()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: NamedPipeServer::readable()\n[`ready()`]: NamedPipeServer::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the stream's read half is closed\nand will no longer yield data. If the stream is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-client-readable\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let server = named_pipe::ServerOptions::new().create(PIPE_NAME)?;\n\n    loop {\n        // Wait for the pipe to be readable\n        server.readable().await?;\n\n        let mut buf = Vec::with_capacity(4096);\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match server.try_read_buf(&mut buf) {\n            Ok(0) => break,\n            Ok(n) => {\n                println!(\"read {} bytes\", n);\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"NamedPipeServer::ready()":3118,"NamedPipeServer::readable()":3119},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#547) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"B","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"BufMut","id":919,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1361":{"id":1361,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6974":{"id":6974,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5212":{"id":5212,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7301":{"id":7301,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5539":{"id":5539,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3777":{"id":3777,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2015":{"id":2015,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7628":{"id":7628,"crate_id":0,"name":"deregister","span":{"filename":"src/doc/mod.rs","begin":[41,5],"end":[43,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["_registry",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"mio::Registry","id":7624,"args":null}}}}]],"output":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4104":{"id":4104,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2342":{"id":2342,"crate_id":0,"name":"poll_peek","span":{"filename":"src/net/tcp/split_owned.rs","begin":[145,5],"end":[151,6]},"visibility":"public","docs":"Attempt to receive data on the socket, without removing that data from\nthe queue, registering the current task for wakeup if data is not yet\navailable.\n\nNote that on multiple calls to `poll_peek` or `poll_read`, only the\n`Waker` from the `Context` passed to the most recent call is scheduled\nto receive a wakeup.\n\nSee the [`TcpStream::poll_peek`] level documentation for more details.\n\n# Examples\n\n```no_run\nuse tokio::io::{self, ReadBuf};\nuse tokio::net::TcpStream;\n\nuse std::future::poll_fn;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let stream = TcpStream::connect(\"127.0.0.1:8000\").await?;\n    let (mut read_half, _) = stream.into_split();\n    let mut buf = [0; 10];\n    let mut buf = ReadBuf::new(&mut buf);\n\n    poll_fn(|cx| {\n        read_half.poll_peek(cx, &mut buf)\n    }).await?;\n\n    Ok(())\n}\n```\n\n[`TcpStream::poll_peek`]: TcpStream::poll_peek","links":{"TcpStream::poll_peek":2273},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"580":{"id":580,"crate_id":0,"name":"poll_fill_buf","span":{"filename":"src/io/util/take.rs","begin":[108,5],"end":[119,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5866":{"id":5866,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1392,1],"end":[1396,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"fmt::Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[5865],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6193":{"id":6193,"crate_id":0,"name":"try_acquire_many_owned","span":{"filename":"src/sync/semaphore.rs","begin":[950,5],"end":[961,6]},"visibility":"public","docs":"Tries to acquire `n` permits from the semaphore.\n\nThe semaphore must be wrapped in an [`Arc`] to call this method. If\nthe semaphore has been closed, this returns a [`TryAcquireError::Closed`]\nand a [`TryAcquireError::NoPermits`] if there are no permits left.\nOtherwise, this returns a [`OwnedSemaphorePermit`] representing the\nacquired permit.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::{Semaphore, TryAcquireError};\n\n# fn main() {\nlet semaphore = Arc::new(Semaphore::new(4));\n\nlet permit_1 = Arc::clone(&semaphore).try_acquire_many_owned(3).unwrap();\nassert_eq!(semaphore.available_permits(), 1);\n\nlet permit_2 = semaphore.try_acquire_many_owned(2);\nassert_eq!(permit_2.err(), Some(TryAcquireError::NoPermits));\n# }\n```\n\n[`Arc`]: std::sync::Arc\n[`TryAcquireError::Closed`]: crate::sync::TryAcquireError::Closed\n[`TryAcquireError::NoPermits`]: crate::sync::TryAcquireError::NoPermits\n[`OwnedSemaphorePermit`]: crate::sync::OwnedSemaphorePermit","links":{"crate::sync::TryAcquireError::NoPermits":6122,"std::sync::Arc":2509,"crate::sync::OwnedSemaphorePermit":6182,"crate::sync::TryAcquireError::Closed":6121},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}}],["n",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}}},{"type":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4431":{"id":4431,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"907":{"id":907,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2669":{"id":2669,"crate_id":0,"name":"UnixSocket","span":{"filename":"src/net/unix/socket.rs","begin":[89,5],"end":[91,6]},"visibility":"public","docs":"A Unix socket that has not yet been converted to a [`UnixStream`], [`UnixDatagram`], or\n[`UnixListener`].\n\n`UnixSocket` wraps an operating system socket and enables the caller to\nconfigure the socket before establishing a connection or accepting\ninbound connections. The caller is able to set socket option and explicitly\nbind the socket with a socket address.\n\nThe underlying socket is closed when the `UnixSocket` value is dropped.\n\n`UnixSocket` should only be used directly if the default configuration used\nby [`UnixStream::connect`], [`UnixDatagram::bind`], and [`UnixListener::bind`]\ndoes not meet the required use case.\n\nCalling `UnixStream::connect(path)` effectively performs the same function as:\n\n```no_run\nuse tokio::net::UnixSocket;\nuse std::error::Error;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let dir = tempfile::tempdir().unwrap();\n    let path = dir.path().join(\"bind_path\");\n    let socket = UnixSocket::new_stream()?;\n\n    let stream = socket.connect(path).await?;\n\n    Ok(())\n}\n```\n\nCalling `UnixDatagram::bind(path)` effectively performs the same function as:\n\n```no_run\nuse tokio::net::UnixSocket;\nuse std::error::Error;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let dir = tempfile::tempdir().unwrap();\n    let path = dir.path().join(\"bind_path\");\n    let socket = UnixSocket::new_datagram()?;\n    socket.bind(path)?;\n\n    let datagram = socket.datagram()?;\n\n    Ok(())\n}\n```\n\nCalling `UnixListener::bind(path)` effectively performs the same function as:\n\n```no_run\nuse tokio::net::UnixSocket;\nuse std::error::Error;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let dir = tempfile::tempdir().unwrap();\n    let path = dir.path().join(\"bind_path\");\n    let socket = UnixSocket::new_stream()?;\n    socket.bind(path)?;\n\n    let listener = socket.listen(1024)?;\n\n    Ok(())\n}\n```\n\nSetting socket options not explicitly provided by `UnixSocket` may be done by\naccessing the [`RawFd`]/[`RawSocket`] using [`AsRawFd`]/[`AsRawSocket`] and\nsetting the option with a crate like [`socket2`].\n\n[`RawFd`]: std::os::fd::RawFd\n[`RawSocket`]: https://doc.rust-lang.org/std/os/windows/io/type.RawSocket.html\n[`AsRawFd`]: std::os::fd::AsRawFd\n[`AsRawSocket`]: https://doc.rust-lang.org/std/os/windows/io/trait.AsRawSocket.html\n[`socket2`]: https://docs.rs/socket2/","links":{"`UnixStream`":643,"`UnixStream::connect`":2667,"`UnixListener`":2628,"std::os::fd::RawFd":275,"`UnixDatagram`":2619,"`UnixDatagram::bind`":2668,"`UnixListener::bind`":2629,"std::os::fd::AsRawFd":277},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:377:23: 377:27 (#506) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:377:29: 377:44 (#506) }], src/macros/cfg.rs:377:22: 377:45 (#506))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[2676,2677,2678,2679,2680,2681,2682,2683,2684,2685,2686,2687,2688,2689,2690,2691,2692,2694,2696,2698,2700,2702]}}},"6520":{"id":6520,"crate_id":0,"name":"blocking_read","span":{"filename":"src/sync/rwlock.rs","begin":[529,5],"end":[531,6]},"visibility":"public","docs":"Blockingly locks this `RwLock` with shared read access.\n\nThis method is intended for use cases where you\nneed to use this rwlock in asynchronous code as well as in synchronous code.\n\nReturns an RAII guard which will drop the read access of this `RwLock` when dropped.\n\n# Panics\n\nThis function panics if called within an asynchronous execution context.\n\n  - If you find yourself in an asynchronous execution context and needing\n    to call some (synchronous) function which performs one of these\n    `blocking_` operations, then consider wrapping that call inside\n    [`spawn_blocking()`][crate::runtime::Handle::spawn_blocking]\n    (or [`block_in_place()`][crate::task::block_in_place]).\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::sync::Arc;\nuse tokio::sync::RwLock;\n\n#[tokio::main]\nasync fn main() {\n    let rwlock = Arc::new(RwLock::new(1));\n    let mut write_lock = rwlock.write().await;\n\n    let blocking_task = tokio::task::spawn_blocking({\n        let rwlock = Arc::clone(&rwlock);\n        move || {\n            // This shall block until the `write_lock` is released.\n            let read_lock = rwlock.blocking_read();\n            assert_eq!(*read_lock, 0);\n        }\n    });\n\n    *write_lock -= 1;\n    drop(write_lock); // release the lock.\n\n    // Await the completion of the blocking task.\n    blocking_task.await.unwrap();\n\n    // Assert uncontended.\n    assert!(rwlock.try_write().is_ok());\n}\n# }\n```","links":{"crate::task::block_in_place":4276,"crate::runtime::Handle::spawn_blocking":4273},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/sync/rwlock.rs:528:11: 528:27 (#0) }])]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2996":{"id":2996,"crate_id":0,"name":"OpenOptions","span":{"filename":"src/net/unix/pipe.rs","begin":[122,1],"end":[126,2]},"visibility":"public","docs":"Options and flags which can be used to configure how a FIFO file is opened.\n\nThis builder allows configuring how to create a pipe end from a FIFO file.\nGenerally speaking, when using `OpenOptions`, you'll first call [`new`],\nthen chain calls to methods to set each option, then call either\n[`open_receiver`] or [`open_sender`], passing the path of the FIFO file you\nare trying to open. This will give you a [`io::Result`] with a pipe end\ninside that you can further operate on.\n\n[`new`]: OpenOptions::new\n[`open_receiver`]: OpenOptions::open_receiver\n[`open_sender`]: OpenOptions::open_sender\n\n# Examples\n\nOpening a pair of pipe ends from a FIFO file:\n\n```no_run\nuse tokio::net::unix::pipe;\n# use std::error::Error;\n\nconst FIFO_NAME: &str = \"path/to/a/fifo\";\n\n# async fn dox() -> Result<(), Box<dyn Error>> {\nlet rx = pipe::OpenOptions::new().open_receiver(FIFO_NAME)?;\nlet tx = pipe::OpenOptions::new().open_sender(FIFO_NAME)?;\n# Ok(())\n# }\n```\n\nOpening a [`Sender`] on Linux when you are sure the file is a FIFO:\n\n```ignore\nuse tokio::net::unix::pipe;\nuse nix::{unistd::mkfifo, sys::stat::Mode};\n# use std::error::Error;\n\n// Our program has exclusive access to this path.\nconst FIFO_NAME: &str = \"path/to/a/new/fifo\";\n\n# async fn dox() -> Result<(), Box<dyn Error>> {\nmkfifo(FIFO_NAME, Mode::S_IRWXU)?;\nlet tx = pipe::OpenOptions::new()\n    .read_write(true)\n    .unchecked(true)\n    .open_sender(FIFO_NAME)?;\n# Ok(())\n# }\n```","links":{"OpenOptions::open_receiver":2994,"`io::Result`":119,"OpenOptions::new":2993,"OpenOptions::open_sender":2995,"`Sender`":856},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[2999,3000,3001,3002,3003,3004,3005,3006,3007,3008,3009,3010,3011,3012,3013,3014,3015,3016,3017,3019,3021,3023]}}},"1234":{"id":1234,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4758":{"id":4758,"crate_id":0,"name":"yield_now","span":{"filename":"src/task/yield_now.rs","begin":[38,1],"end":[60,2]},"visibility":"public","docs":"Yields execution back to the Tokio runtime.\n\nA task yields by awaiting on `yield_now()`, and may resume when that future\ncompletes (with no output.) The current task will be re-added as a pending\ntask at the _back_ of the pending queue. Any other pending tasks will be\nscheduled. No other waking is required for the task to continue.\n\nSee also the usage example in the [task module](index.html#yield_now).\n\n## Non-guarantees\n\nThis function may not yield all the way up to the executor if there are any\nspecial combinators above it in the call stack. For example, if a\n[`tokio::select!`] has another branch complete during the same poll as the\n`yield_now()`, then the yield is not propagated all the way up to the\nruntime.\n\nIt is generally not guaranteed that the runtime behaves like you expect it\nto when deciding which task to schedule next after a call to `yield_now()`.\nIn particular, the runtime may choose to poll the task that just ran\n`yield_now()` again immediately without polling any other tasks first. For\nexample, the runtime will not drive the IO driver between every poll of a\ntask, and this could result in the runtime polling the current task again\nimmediately even if there is another task that could make progress if that\nother task is waiting for a notification from the IO driver.\n\nIn general, changes to the order in which the runtime polls tasks is not\nconsidered a breaking change, and your program should be correct no matter\nwhich order the runtime polls your tasks in.\n\n[`tokio::select!`]: macro@crate::select","links":{"macro@crate::select":1471},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6847":{"id":6847,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5085":{"id":5085,"crate_id":0,"name":"0","span":{"filename":"src/sync/broadcast.rs","begin":[349,16],"end":[349,19]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"primitive":"u64"}}},"1561":{"id":1561,"crate_id":0,"name":"WriteAllBuf","span":{"filename":"src/io/util/write_all_buf.rs","begin":[11,1],"end":[21,2]},"visibility":"public","docs":"A future to write some of the buffer to an `AsyncWrite`.","links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"B","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"3323":{"id":3323,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5412":{"id":5412,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7501":{"id":7501,"crate_id":0,"name":"get_ref","span":{"filename":"src/time/timeout.rs","begin":[190,5],"end":[192,6]},"visibility":"public","docs":"Gets a reference to the underlying value in this timeout.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5739":{"id":5739,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3977":{"id":3977,"crate_id":0,"name":"metrics_poll_time_histogram_configuration","span":{"filename":"src/runtime/builder.rs","begin":[1567,9],"end":[1570,10]},"visibility":"public","docs":"Configure the histogram for tracking poll times\n\nBy default, a linear histogram with 10 buckets each 100 microseconds wide will be used.\nThis has an extremely low memory footprint, but may not provide enough granularity. For\nbetter granularity with low memory usage, use [`LogHistogram`] instead.\n\n# Examples\nConfigure a [`LogHistogram`] with [default configuration]:\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime;\nuse tokio::runtime::{HistogramConfiguration, LogHistogram};\n\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_metrics_poll_time_histogram()\n    .metrics_poll_time_histogram_configuration(\n        HistogramConfiguration::log(LogHistogram::default())\n    )\n    .build()\n    .unwrap();\n# }\n```\n\nConfigure a linear histogram with 100 buckets, each 10μs wide\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime;\nuse std::time::Duration;\nuse tokio::runtime::HistogramConfiguration;\n\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_metrics_poll_time_histogram()\n    .metrics_poll_time_histogram_configuration(\n        HistogramConfiguration::linear(Duration::from_micros(10), 100)\n    )\n    .build()\n    .unwrap();\n# }\n```\n\nConfigure a [`LogHistogram`] with the following settings:\n- Measure times from 100ns to 120s\n- Max error of 0.1\n- No more than 1024 buckets\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::time::Duration;\nuse tokio::runtime;\nuse tokio::runtime::{HistogramConfiguration, LogHistogram};\n\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_metrics_poll_time_histogram()\n    .metrics_poll_time_histogram_configuration(\n        HistogramConfiguration::log(LogHistogram::builder()\n            .max_value(Duration::from_secs(120))\n            .min_value(Duration::from_nanos(100))\n            .max_error(0.1)\n            .max_buckets(1024)\n            .expect(\"configuration uses 488 buckets\")\n        )\n    )\n    .build()\n    .unwrap();\n# }\n```\n\nWhen migrating from the legacy histogram ([`HistogramScale::Log`]) and wanting\nto match the previous behavior, use `precision_exact(0)`. This creates a histogram\nwhere each bucket is twice the size of the previous bucket.\n```rust\nuse std::time::Duration;\nuse tokio::runtime::{HistogramConfiguration, LogHistogram};\nlet rt = tokio::runtime::Builder::new_current_thread()\n    .enable_all()\n    .enable_metrics_poll_time_histogram()\n    .metrics_poll_time_histogram_configuration(HistogramConfiguration::log(\n        LogHistogram::builder()\n            .min_value(Duration::from_micros(20))\n            .max_value(Duration::from_millis(4))\n            // Set `precision_exact` to `0` to match `HistogramScale::Log`\n            .precision_exact(0)\n            .max_buckets(10)\n            .unwrap(),\n    ))\n    .build()\n    .unwrap();\n```\n\n[`LogHistogram`]: crate::runtime::LogHistogram\n[default configuration]: crate::runtime::LogHistogramBuilder\n[`HistogramScale::Log`]: crate::runtime::HistogramScale::Log","links":{"crate::runtime::LogHistogram":3978,"crate::runtime::LogHistogramBuilder":3982,"crate::runtime::HistogramScale::Log":3983},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1598) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["configuration",{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6066":{"id":6066,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4304":{"id":4304,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/handle.rs","begin":[10,10],"end":[10,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2542":{"id":2542,"crate_id":0,"name":"peek_from","span":{"filename":"src/net/udp.rs","begin":[1711,5],"end":[1718,6]},"visibility":"public","docs":"Receives data from the socket, without removing it from the input queue.\nOn success, returns the number of bytes read and the address from whence\nthe data came.\n\n# Notes\n\nOn Windows, if the data is larger than the buffer specified, the buffer\nis filled with the first part of the data, and `peek_from` returns the error\n`WSAEMSGSIZE(10040)`. The excess data is lost.\nMake sure to always use a sufficiently large buffer to hold the\nmaximum UDP packet size, which can be up to 65536 bytes in size.\n\nMacOS will return an error if you pass a zero-sized buffer.\n\nIf you're merely interested in learning the sender of the data at the head of the queue,\ntry [`peek_sender`].\n\nNote that the socket address **cannot** be implicitly trusted, because it is relatively\ntrivial to send a UDP datagram with a spoofed origin in a [packet injection attack].\nBecause UDP is stateless and does not validate the origin of a packet,\nthe attacker does not need to be able to intercept traffic in order to interfere.\nIt is important to be aware of this when designing your application-level protocol.\n\n# Examples\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n\n    let mut buf = vec![0u8; 32];\n    let (len, addr) = socket.peek_from(&mut buf).await?;\n\n    println!(\"peeked {:?} bytes from {:?}\", len, addr);\n\n    Ok(())\n}\n```\n\n[`peek_sender`]: method@Self::peek_sender\n[packet injection attack]: https://en.wikipedia.org/wiki/Packet_injection","links":{"method@Self::peek_sender":2536},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"primitive":"usize"},{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"780":{"id":780,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_stream.rs","begin":[121,1],"end":[149,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[775,776,777,778,779],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2869":{"id":2869,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1107":{"id":1107,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[251,33],"end":[251,41]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"poll_aio::AioEvent","name":"AioEvent","id":1057,"is_glob":false}}},"4631":{"id":4631,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4958":{"id":4958,"crate_id":0,"name":"fmt","span":{"filename":"src/signal/windows.rs","begin":[473,10],"end":[473,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6720":{"id":6720,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1434":{"id":1434,"crate_id":0,"name":"into_inner","span":{"filename":"src/io/join.rs","begin":[38,5],"end":[40,6]},"visibility":"public","docs":"Splits this `Join` back into its `AsyncRead` and `AsyncWrite`\ncomponents.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"tuple":[{"generic":"R"},{"generic":"W"}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7047":{"id":7047,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3523":{"id":3523,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5285":{"id":5285,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1661,1],"end":[1678,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5282,5283,5284],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5612":{"id":5612,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3850":{"id":3850,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"326":{"id":326,"crate_id":0,"name":"create_new","span":{"filename":"src/fs/open_options.rs","begin":[439,5],"end":[456,6]},"visibility":"public","docs":"Sets the option to always create a new file.\n\nThis option indicates whether a new file will be created.  No file is\nallowed to exist at the target location, also no (dangling) symlink.\n\nThis option is useful because it is atomic. Otherwise between checking\nwhether a file exists and creating a new one, the file may have been\ncreated by another process (a TOCTOU race condition / attack).\n\nIf `.create_new(true)` is set, [`.create()`] and [`.truncate()`] are\nignored.\n\nThe file must be opened with write or append access in order to create a\nnew file.\n\nThis is an async version of [`std::fs::OpenOptions::create_new`][std]\n\n[std]: std::fs::OpenOptions::create_new\n[`.create()`]: OpenOptions::create\n[`.truncate()`]: OpenOptions::truncate\n\n# Examples\n\n```no_run\nuse tokio::fs::OpenOptions;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let file = OpenOptions::new()\n        .write(true)\n        .create_new(true)\n        .open(\"foo.txt\")\n        .await?;\n\n    Ok(())\n}\n```","links":{"OpenOptions::truncate":323,"OpenOptions::create":320,"std::fs::OpenOptions::create_new":325},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["create_new",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2088":{"id":2088,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[268,22],"end":[268,28]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:233:19: 233:37 (#214) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"stderr::stderr","name":"stderr","id":1291,"is_glob":false}}},"7374":{"id":7374,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[159,1],"end":[163,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Instant","id":7328,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"std::time::Instant","id":7331,"args":null}},"items":[7373],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4177":{"id":4177,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2415":{"id":2415,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"653":{"id":653,"crate_id":0,"name":"poll_read","span":{"filename":"src/process/mod.rs","begin":[1580,5],"end":[1586,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5939":{"id":5939,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6266":{"id":6266,"crate_id":0,"name":null,"span":{"filename":"src/sync/semaphore.rs","begin":[1231,1],"end":[1235,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[6265],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4504":{"id":4504,"crate_id":0,"name":null,"span":{"filename":"src/runtime/id.rs","begin":[29,40],"end":[29,49]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[4503],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"980":{"id":980,"crate_id":0,"name":"READABLE","span":{"filename":"src/io/ready.rs","begin":[28,5],"end":[28,49]},"visibility":"public","docs":"Returns a `Ready` representing readable readiness.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}},"value":"_","default_unstable":null}}},"2742":{"id":2742,"crate_id":0,"name":"local_addr","span":{"filename":"src/net/unix/split.rs","begin":[276,5],"end":[278,6]},"visibility":"public","docs":"Returns the socket address of the local half of this connection.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6593":{"id":6593,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[82,1],"end":[88,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6592],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3069":{"id":3069,"crate_id":0,"name":"poll_read_ready","span":{"filename":"src/net/unix/pipe.rs","begin":[1148,5],"end":[1150,6]},"visibility":"public","docs":"Polls for read readiness.\n\nIf the pipe is not currently ready for reading, this method will\nstore a clone of the `Waker` from the provided `Context`. When the pipe\nbecomes ready for reading, `Waker::wake` will be called on the waker.\n\nNote that on multiple calls to `poll_read_ready` or `poll_read`, only\nthe `Waker` from the `Context` passed to the most recent call is\nscheduled to receive a wakeup.\n\nThis function is intended for cases where creating and pinning a future\nvia [`readable`] is not feasible. Where possible, using [`readable`] is\npreferred, as this supports polling from multiple tasks at once.\n\n[`readable`]: Self::readable\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the pipe is not ready for reading.\n* `Poll::Ready(Ok(()))` if the pipe is ready for reading.\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.","links":{"Self::readable":3066},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1307":{"id":1307,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4831":{"id":4831,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6920":{"id":6920,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5158":{"id":5158,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/broadcast.rs","begin":[1724,5],"end":[1726,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1634":{"id":1634,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"7247":{"id":7247,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[312,5],"end":[312,47]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"crate::runtime::task::AbortHandle","name":"AbortHandle","id":3723,"is_glob":false}}},"3723":{"id":3723,"crate_id":0,"name":"AbortHandle","span":{"filename":"src/runtime/task/abort.rs","begin":[23,1],"end":[25,2]},"visibility":"public","docs":"An owned permission to abort a spawned task, without awaiting its completion.\n\nUnlike a [`JoinHandle`], an `AbortHandle` does *not* represent the\npermission to await the task's completion, only to terminate it.\n\nThe task may be aborted by calling the [`AbortHandle::abort`] method.\nDropping an `AbortHandle` releases the permission to terminate the task\n--- it does *not* abort the task.\n\nBe aware that tasks spawned using [`spawn_blocking`] cannot be aborted\nbecause they are not async. If you call `abort` on a `spawn_blocking` task,\nthen this *will not have any effect*, and the task will continue running\nnormally. The exception is if the task has not started running yet; in that\ncase, calling `abort` may prevent the task from starting.\n\n[`JoinHandle`]: crate::task::JoinHandle\n[`spawn_blocking`]: crate::task::spawn_blocking","links":{"`AbortHandle::abort`":3766,"crate::task::JoinHandle":3722,"crate::task::spawn_blocking":379},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[3770,3771,3772,3773,3774,3775,3776,3777,3778,3779,3780,3781,3782,3783,3784,3785,3786,3787,3788,3790,3792,3794]}}},"5485":{"id":5485,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"199":{"id":199,"crate_id":0,"name":"AsyncSeek","span":{"filename":"src/io/async_seek.rs","begin":[18,1],"end":[53,2]},"visibility":"public","docs":"Seek bytes asynchronously.\n\nThis trait is analogous to the [`std::io::Seek`] trait, but integrates\nwith the asynchronous task system. In particular, the `start_seek`\nmethod, unlike [`Seek::seek`], will not block the calling thread.\n\nUtilities for working with `AsyncSeek` values are provided by\n[`AsyncSeekExt`].\n\n[`std::io::Seek`]: std::io::Seek\n[`Seek::seek`]: std::io::Seek::seek()\n[`AsyncSeekExt`]: crate::io::AsyncSeekExt","links":{"std::io::Seek":663,"std::io::Seek::seek()":664,"crate::io::AsyncSeekExt":238},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":true,"items":[660,662],"generics":{"params":[],"where_predicates":[]},"bounds":[],"implementations":[258,667,670,673,676,679,682,685,688]}}},"7574":{"id":7574,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5812":{"id":5812,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2288":{"id":2288,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4050":{"id":4050,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4377":{"id":4377,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6139":{"id":6139,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"853":{"id":853,"crate_id":0,"name":"poll_flush","span":{"filename":"src/net/unix/pipe.rs","begin":[824,5],"end":[826,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6466":{"id":6466,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[426,1],"end":[433,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6465],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4704":{"id":4704,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1180":{"id":1180,"crate_id":0,"name":"get_ref","span":{"filename":"src/io/async_fd.rs","begin":[1167,5],"end":[1169,6]},"visibility":"public","docs":"Returns a shared reference to the inner [`AsyncFd`].","links":{"`AsyncFd`":512},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":"'a","is_mutable":false,"type":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Inner"}}],"constraints":[]}}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2942":{"id":2942,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/stream.rs","begin":[1113,1],"end":[1117,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[2941],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5031":{"id":5031,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3269":{"id":3269,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1507":{"id":1507,"crate_id":0,"name":"read_i32","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads a signed 32-bit integer in big-endian order from the\nunderlying reader.\n\n\nEquivalent to:\n\n```ignore\nasync fn read_i32(&mut self) -> io::Result<i32>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead signed 32-bit big-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![0xff, 0xff, 0x7a, 0x33]);\n\nassert_eq!(-34253, reader.read_i32().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadI32","id":1508,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6793":{"id":6793,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5358":{"id":5358,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1775,1],"end":[1775,55]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["len","is_empty"],"trait":{"path":"ExactSizeIterator","id":5359,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1834":{"id":1834,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3596":{"id":3596,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"5685":{"id":5685,"crate_id":0,"name":"lock","span":{"filename":"src/sync/mutex.rs","begin":[434,5],"end":[466,6]},"visibility":"public","docs":"Locks this mutex, causing the current task to yield until the lock has\nbeen acquired.  When the lock has been acquired, function returns a\n[`MutexGuard`].\n\nIf the mutex is available to be acquired immediately, then this call\nwill typically not yield to the runtime. However, this is not guaranteed\nunder all circumstances.\n\n# Cancel safety\n\nThis method uses a queue to fairly distribute locks in the order they\nwere requested. Cancelling a call to `lock` makes you lose your place in\nthe queue.\n\n# Examples\n\n```\nuse tokio::sync::Mutex;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mutex = Mutex::new(1);\n\nlet mut n = mutex.lock().await;\n*n = 2;\n# }\n```","links":{"`MutexGuard`":5686},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7447":{"id":7447,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"399":{"id":399,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2161":{"id":2161,"crate_id":0,"name":"into_std","span":{"filename":"src/net/tcp/listener.rs","begin":[273,5],"end":[300,6]},"visibility":"public","docs":"Turns a [`tokio::net::TcpListener`] into a [`std::net::TcpListener`].\n\nThe returned [`std::net::TcpListener`] will have nonblocking mode set as\n`true`.  Use [`set_nonblocking`] to change the blocking mode if needed.\n\n# Examples\n\n```rust,no_run\nuse std::error::Error;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let tokio_listener = tokio::net::TcpListener::bind(\"127.0.0.1:0\").await?;\n    let std_listener = tokio_listener.into_std()?;\n    std_listener.set_nonblocking(false)?;\n    Ok(())\n}\n```\n\n[`tokio::net::TcpListener`]: TcpListener\n[`std::net::TcpListener`]: std::net::TcpListener\n[`set_nonblocking`]: fn@std::net::TcpListener::set_nonblocking","links":{"std::net::TcpListener":2160,"fn@std::net::TcpListener::set_nonblocking":2158,"TcpListener":2154},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::net::TcpListener","id":2160,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6012":{"id":6012,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[347,25],"end":[347,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2488":{"id":2488,"crate_id":0,"name":"as_fd","span":{"filename":"src/net/tcp/stream.rs","begin":[1544,9],"end":[1546,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"726":{"id":726,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/async_write.rs","begin":[319,5],"end":[321,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4250":{"id":4250,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6339":{"id":6339,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4577":{"id":4577,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2815":{"id":2815,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1053":{"id":1053,"crate_id":0,"name":"clear_ready","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[165,5],"end":[167,6]},"visibility":"public","docs":"Indicates to Tokio that the source is no longer ready.  The internal\nreadiness flag will be cleared, and tokio will wait for the next\nedge-triggered readiness notification from the OS.\n\nIt is critical that this method not be called unless your code\n_actually observes_ that the source is _not_ ready.  The OS must\ndeliver a subsequent notification, or this source will block\nforever.  It is equally critical that you `do` call this method if you\nresubmit the same structure to the kernel and poll it again.\n\nThis method is not very useful with AIO readiness, since each `aiocb`\nstructure is typically only used once.  It's main use with\n[`lio_listio`], which will sometimes send notification when only a\nportion of its elements are complete.  In that case, the caller must\ncall `clear_ready` before resubmitting it.\n\n[`lio_listio`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/lio_listio.html","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["ev",{"resolved_path":{"path":"AioEvent","id":1057,"args":null}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6666":{"id":6666,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3142":{"id":3142,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1380":{"id":1380,"crate_id":0,"name":"as_handle","span":{"filename":"src/io/stdout.rs","begin":[211,9],"end":[213,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedHandle","id":294,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4904":{"id":4904,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6993":{"id":6993,"crate_id":0,"name":null,"span":{"filename":"src/task/coop/mod.rs","begin":[443,5],"end":[456,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[attr = CfgTrace([Any([NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:629:21: 629:35 (#4221) }, NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:630:21: 630:39 (#4221) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:631:21: 631:36 (#4221) }, NameValue { name: \"feature\", value: Some(\"process\"), span: src/macros/cfg.rs:632:21: 632:40 (#4221) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:633:21: 633:35 (#4221) }, NameValue { name: \"feature\", value: Some(\"signal\"), span: src/macros/cfg.rs:634:21: 634:39 (#4221) }, NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:635:21: 635:37 (#4221) }, NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:636:21: 636:37 (#4221) }], src/macros/cfg.rs:628:22: 637:22 (#4221))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Future","id":520,"args":null},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[6991,6992],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5231":{"id":5231,"crate_id":0,"name":"closed","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[862,5],"end":[864,6]},"visibility":"public","docs":"Completes when the receiver has dropped.\n\nThis allows the producers to get notified when interest in the produced\nvalues is canceled and immediately stop doing work.\n\n# Cancel safety\n\nThis method is cancel safe. Once the channel is closed, it stays closed\nforever and all future calls to `closed` will return immediately.\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx1, rx) = mpsc::channel::<()>(1);\nlet tx2 = tx1.clone();\nlet tx3 = tx1.clone();\nlet tx4 = tx1.clone();\nlet tx5 = tx1.clone();\ntokio::spawn(async move {\n    drop(rx);\n});\n\nfutures::join!(\n    tx1.closed(),\n    tx2.closed(),\n    tx3.closed(),\n    tx4.closed(),\n    tx5.closed()\n);\nprintln!(\"Receiver dropped\");\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3469":{"id":3469,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1707":{"id":1707,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7320":{"id":7320,"crate_id":0,"name":"fmt","span":{"filename":"src/time/error.rs","begin":[112,5],"end":[114,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5558":{"id":5558,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/error.rs","begin":[17,5],"end":[19,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5885":{"id":5885,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4123":{"id":4123,"crate_id":0,"name":"name_demangled","span":{"filename":"src/runtime/dump.rs","begin":[78,5],"end":[80,6]},"visibility":"public","docs":"Return the demangled name of the symbol.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"primitive":"str"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"599":{"id":599,"crate_id":0,"name":"Stdin","span":{"filename":"src/io/stdin.rs","begin":[29,5],"end":[31,6]},"visibility":"public","docs":"A handle to the standard input stream of a process.\n\nThe handle implements the [`AsyncRead`] trait, but beware that concurrent\nreads of `Stdin` must be executed with care.\n\nThis handle is best used for non-interactive uses, such as when a file\nis piped into the application. For technical reasons, `stdin` is\nimplemented by using an ordinary blocking read on a separate thread, and\nit is impossible to cancel that read. This can make shutdown of the\nruntime hang until the user presses enter.\n\nFor interactive uses, it is recommended to spawn a thread dedicated to\nuser input and use blocking IO directly in that thread.\n\nCreated by the [`stdin`] function.\n\n[`stdin`]: fn@stdin\n[`AsyncRead`]: trait@AsyncRead","links":{"trait@AsyncRead":224,"fn@stdin":1323},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:233:19: 233:37 (#220) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[1324,1325,1326,1327,1328,1329,1330,1331,1332,1333,1334,1335,1336,1337,1338,1339,1340,1342,1344,1346,1348,1350,598]}}},"2361":{"id":2361,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4450":{"id":4450,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2688":{"id":2688,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"926":{"id":926,"crate_id":0,"name":"LIO","span":{"filename":"src/io/interest.rs","begin":[49,9],"end":[49,54]},"visibility":"public","docs":"Interest for POSIX AIO `lio_listio` events.","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([Any([NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:120:27: 120:33 (#173) }, NameValue { name: \"target_os\", value: Some(\"freebsd\"), span: src/macros/cfg.rs:120:35: 120:56 (#173) }], src/macros/cfg.rs:120:26: 120:57 (#173)), NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:120:59: 120:74 (#173) }], src/macros/cfg.rs:120:22: 120:75 (#173)),\nNot(NameValue { name: \"target_os\", value: Some(\"freebsd\"), span: src/io/interest.rs:48:19: 48:40 (#0) }, src/io/interest.rs:48:18: 48:41 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(target_os = \"freebsd\", feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"resolved_path":{"path":"Interest","id":924,"args":null}},"value":"_","default_unstable":null}}},"6212":{"id":6212,"crate_id":0,"name":null,"span":{"filename":"src/sync/semaphore.rs","begin":[426,10],"end":[426,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[6211],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6539":{"id":6539,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4777":{"id":4777,"crate_id":0,"name":"user_defined2","span":{"filename":"src/signal/unix.rs","begin":[216,5],"end":[218,6]},"visibility":"public","docs":"Represents the `SIGUSR2` signal.\n\nOn Unix systems this is a user defined signal.\nBy default, the process is terminated by this signal.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1253":{"id":1253,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3015":{"id":3015,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5104":{"id":5104,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3342":{"id":3342,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2616,41],"end":[2616,43]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6866":{"id":6866,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"7193":{"id":7193,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"145":{"id":145,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5758":{"id":5758,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mutex.rs","begin":[998,5],"end":[1000,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3996":{"id":3996,"crate_id":0,"name":"metrics_schedule_latency_histogram_configuration","span":{"filename":"src/runtime/builder.rs","begin":[1994,9],"end":[1997,10]},"visibility":"public","docs":"Configure the histogram for tracking task schedule latencies.\n\nTracking of task schedule latencies must be enabled with\n[`enable_metrics_schedule_latency_histogram()`] for this function\nto have any effect.\n\nBy default, a linear histogram with 10 buckets each 100 microseconds wide will be used.\nThis has an extremely low memory footprint, but may not provide enough granularity. For\nbetter granularity with low memory usage, use [`LogHistogram`] instead.\n\n# Examples\nConfigure a [`LogHistogram`] with [default configuration]:\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime;\nuse tokio::runtime::{HistogramConfiguration, LogHistogram};\n\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_metrics_schedule_latency_histogram()\n    .metrics_schedule_latency_histogram_configuration(\n        HistogramConfiguration::log(LogHistogram::default())\n    )\n    .build()\n    .unwrap();\n# }\n```\n\nConfigure a linear histogram with 100 buckets, each 10μs wide\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime;\nuse std::time::Duration;\nuse tokio::runtime::HistogramConfiguration;\n\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_metrics_schedule_latency_histogram()\n    .metrics_schedule_latency_histogram_configuration(\n        HistogramConfiguration::linear(Duration::from_micros(10), 100)\n    )\n    .build()\n    .unwrap();\n# }\n```\n\nConfigure a [`LogHistogram`] with the following settings:\n- Measure times from 100ns to 120s\n- Max error of 0.1\n- No more than 1024 buckets\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::time::Duration;\nuse tokio::runtime;\nuse tokio::runtime::{HistogramConfiguration, LogHistogram};\n\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_metrics_schedule_latency_histogram()\n    .metrics_schedule_latency_histogram_configuration(\n        HistogramConfiguration::log(LogHistogram::builder()\n            .max_value(Duration::from_secs(120))\n            .min_value(Duration::from_nanos(100))\n            .max_error(0.1)\n            .max_buckets(1024)\n            .expect(\"configuration uses 488 buckets\")\n        )\n    )\n    .build()\n    .unwrap();\n# }\n```\n\n[`LogHistogram`]: crate::runtime::LogHistogram\n[`enable_metrics_schedule_latency_histogram()`]: Builder::enable_metrics_schedule_latency_histogram","links":{"crate::runtime::LogHistogram":3978,"Builder::enable_metrics_schedule_latency_histogram":3997},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["configuration",{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2234":{"id":2234,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"472":{"id":472,"crate_id":0,"name":"copy","span":{"filename":"src/fs/copy.rs","begin":[20,1],"end":[24,2]},"visibility":"public","docs":"Copies the contents of one file to another. This function will also copy the permission bits\nof the original file to the destination file.\nThis function will overwrite the contents of to.\n\nThis is the async equivalent of [`std::fs::copy`].\n\n# Examples\n\n```no_run\nuse tokio::fs;\n\n# async fn dox() -> std::io::Result<()> {\nfs::copy(\"foo.txt\", \"bar.txt\").await?;\n# Ok(())\n# }\n```","links":{"`std::fs::copy`":471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["from",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}],["to",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u64"}},{"type":{"resolved_path":{"path":"std::io::Error","id":262,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}},{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7520":{"id":7520,"crate_id":0,"name":"fmt","span":{"filename":"src/time/timeout.rs","begin":[175,14],"end":[175,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6085":{"id":6085,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[871,1],"end":[885,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6084],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2561":{"id":2561,"crate_id":0,"name":"join_multicast_v4","span":{"filename":"src/net/udp.rs","begin":[2251,5],"end":[2253,6]},"visibility":"public","docs":"Executes an operation of the `IP_ADD_MEMBERSHIP` type.\n\nThis function specifies a new multicast group for this socket to join.\nThe address must be a valid multicast address, and `interface` is the\naddress of the local interface with which the system should join the\nmulticast group. If it's equal to `INADDR_ANY` then an appropriate\ninterface is chosen by the system.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["multiaddr",{"resolved_path":{"path":"Ipv4Addr","id":2140,"args":null}}],["interface",{"resolved_path":{"path":"Ipv4Addr","id":2140,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"799":{"id":799,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/util/mem.rs","begin":[359,9],"end":[372,10]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:629:21: 629:35 (#312) }, NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:630:21: 630:39 (#312) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:631:21: 631:36 (#312) }, NameValue { name: \"feature\", value: Some(\"process\"), span: src/macros/cfg.rs:632:21: 632:40 (#312) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:633:21: 633:35 (#312) }, NameValue { name: \"feature\", value: Some(\"signal\"), span: src/macros/cfg.rs:634:21: 634:39 (#312) }, NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:635:21: 635:37 (#312) }, NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:636:21: 636:37 (#312) }], src/macros/cfg.rs:628:22: 637:22 (#312))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4323":{"id":4323,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4650":{"id":4650,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2888":{"id":2888,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/socketaddr.rs","begin":[56,1],"end":[60,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2859,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[2887],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1126":{"id":1126,"crate_id":0,"name":"get_ref","span":{"filename":"src/io/async_fd.rs","begin":[323,5],"end":[325,6]},"visibility":"public","docs":"Returns a shared reference to the backing object of this [`AsyncFd`].","links":{"`AsyncFd`":512},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6412":{"id":6412,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6739":{"id":6739,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[338,36],"end":[338,40]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::marker::Copy","id":959,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3215":{"id":3215,"crate_id":0,"name":"first_pipe_instance","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2051,5],"end":[2054,6]},"visibility":"public","docs":"If you attempt to create multiple instances of a pipe with this flag\nset, creation of the first server instance succeeds, but creation of any\nsubsequent instances will fail with\n[`std::io::ErrorKind::PermissionDenied`].\n\nThis option is intended to be used with servers that want to ensure that\nthey are the only process listening for clients on a given named pipe.\nThis is accomplished by enabling it for the first server instance\ncreated in a process.\n\nThis corresponds to setting [`FILE_FLAG_FIRST_PIPE_INSTANCE`].\n\n# Errors\n\nIf this option is set and more than one instance of the server for a\ngiven named pipe exists, calling [`create`] will fail with\n[`std::io::ErrorKind::PermissionDenied`].\n\n```\nuse std::io;\nuse tokio::net::windows::named_pipe::ServerOptions;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-first-instance-error\";\n\n# #[tokio::main] async fn main() -> io::Result<()> {\nlet server1 = ServerOptions::new()\n    .first_pipe_instance(true)\n    .create(PIPE_NAME)?;\n\n// Second server errs, since it's not the first instance.\nlet e = ServerOptions::new()\n    .first_pipe_instance(true)\n    .create(PIPE_NAME)\n    .unwrap_err();\n\nassert_eq!(e.kind(), io::ErrorKind::PermissionDenied);\n# Ok(()) }\n```\n\n# Examples\n\n```\nuse std::io;\nuse tokio::net::windows::named_pipe::ServerOptions;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-first-instance\";\n\n# #[tokio::main] async fn main() -> io::Result<()> {\nlet mut builder = ServerOptions::new();\nbuilder.first_pipe_instance(true);\n\nlet server = builder.create(PIPE_NAME)?;\nlet e = builder.create(PIPE_NAME).unwrap_err();\nassert_eq!(e.kind(), io::ErrorKind::PermissionDenied);\ndrop(server);\n\n// OK: since, we've closed the other instance.\nlet _server2 = builder.create(PIPE_NAME)?;\n# Ok(()) }\n```\n\n[`create`]: ServerOptions::create\n[`FILE_FLAG_FIRST_PIPE_INSTANCE`]: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_first_pipe_instance","links":{"`std::io::ErrorKind::PermissionDenied`":330,"ServerOptions::create":3110},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["first",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1453":{"id":1453,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4977":{"id":4977,"crate_id":0,"name":null,"span":{"filename":"src/sync/barrier.rs","begin":[57,1],"end":[199,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[4974,4973],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5304":{"id":5304,"crate_id":0,"name":"clone","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1646,5],"end":[1652,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3542":{"id":3542,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1715,5],"end":[1715,29]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(windows))]"},{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsHandle","id":296,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[3541],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1780":{"id":1780,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7066":{"id":7066,"crate_id":0,"name":"get","span":{"filename":"src/task/task_local.rs","begin":[275,5],"end":[277,6]},"visibility":"public","docs":"Returns a copy of the task-local value\nif the task-local value implements `Clone`.\n\n# Panics\n\nThis function will panic if the task local doesn't have a value set.","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'static","is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"generic":"T"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3869":{"id":3869,"crate_id":0,"name":"trace_leaf_addr","span":{"filename":"src/runtime/task/trace/mod.rs","begin":[168,5],"end":[168,39]},"visibility":"public","docs":"The address of the internal `trace_leaf` function that triggered this callback.\n\nWhen capturing a backtrace, use this as the lower bound — frames at or below\nthis address are internal implementation details and should be excluded.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"raw_pointer":{"is_mutable":false,"type":{"resolved_path":{"path":"std::ffi::c_void","id":3225,"args":null}}}}}},"2107":{"id":2107,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[286,105],"end":[286,112]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::simplex","name":"simplex","id":1847,"is_glob":false}}},"345":{"id":345,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5631":{"id":5631,"crate_id":0,"name":"0","span":{"filename":"src/sync/mpsc/error.rs","begin":[132,16],"end":[132,17]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"generic":"T"}}},"4196":{"id":4196,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"672":{"id":672,"crate_id":0,"name":"poll_complete","span":{"filename":"src/io/async_seek.rs","begin":[84,5],"end":[86,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u64"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2434":{"id":2434,"crate_id":0,"name":"connect","span":{"filename":"src/net/tcp/stream.rs","begin":[118,9],"end":[136,10]},"visibility":"public","docs":"Opens a TCP connection to a remote host.\n\n`addr` is an address of the remote host. Anything which implements the\n[`ToSocketAddrs`] trait can be supplied as the address.  If `addr`\nyields multiple addresses, connect will be attempted with each of the\naddresses until a connection is successful. If none of the addresses\nresult in a successful connection, the error returned from the last\nconnection attempt (the last address) is returned.\n\nTo configure the socket before connecting, you can use the [`TcpSocket`]\ntype.\n\n[`ToSocketAddrs`]: trait@crate::net::ToSocketAddrs\n[`TcpSocket`]: struct@crate::net::TcpSocket\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\nuse tokio::io::AsyncWriteExt;\nuse std::error::Error;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let mut stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\n    // Write some data.\n    stream.write_all(b\"hello world!\").await?;\n\n    Ok(())\n}\n```\n\nThe [`write_all`] method is defined on the [`AsyncWriteExt`] trait.\n\n[`write_all`]: fn@crate::io::AsyncWriteExt::write_all\n[`AsyncWriteExt`]: trait@crate::io::AsyncWriteExt","links":{"fn@crate::io::AsyncWriteExt::write_all":209,"trait@crate::io::AsyncWriteExt":203,"trait@crate::net::ToSocketAddrs":2128,"struct@crate::net::TcpSocket":2155},"attrs":[{"other":"#[attr = CfgTrace([Not(All([NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/macros/cfg.rs:709:27: 709:45 (#492) }, NameValue { name: \"target_env\", value: Some(\"p1\"), span: src/macros/cfg.rs:709:47: 709:64 (#492) }], src/macros/cfg.rs:709:26: 709:65 (#492)), src/macros/cfg.rs:709:22: 709:66 (#492))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["addr",{"generic":"A"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpStream","id":634,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"A","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6285":{"id":6285,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2761":{"id":2761,"crate_id":0,"name":"fmt","span":{"filename":"src/net/unix/split.rs","begin":[48,10],"end":[48,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"999":{"id":999,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4523":{"id":4523,"crate_id":0,"name":"poll_time_histogram_num_buckets","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[471,9],"end":[479,10]},"visibility":"public","docs":"Returns the number of histogram buckets tracking the distribution of\ntask poll times.\n\nThis value is configured by calling\n[`metrics_poll_time_histogram_configuration()`] when building the runtime.\n\n# Examples\n\n```\nuse tokio::runtime::{self, Handle};\n\nfn main() {\n    runtime::Builder::new_current_thread()\n        .enable_metrics_poll_time_histogram()\n        .build()\n        .unwrap()\n        .block_on(async {\n            let metrics = Handle::current().metrics();\n            let buckets = metrics.poll_time_histogram_num_buckets();\n\n            println!(\"Histogram buckets: {:?}\", buckets);\n        });\n}\n```\n\n[`metrics_poll_time_histogram_configuration()`]:\n    crate::runtime::Builder::metrics_poll_time_histogram_configuration","links":{"crate::runtime::Builder::metrics_poll_time_histogram_configuration":3977},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1689) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6612":{"id":6612,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4850":{"id":4850,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1326":{"id":1326,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3088":{"id":3088,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6939":{"id":6939,"crate_id":0,"name":null,"span":{"filename":"src/task/coop/mod.rs","begin":[63,5],"end":[63,44]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4212) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"consume_budget::consume_budget","name":"consume_budget","id":6912,"is_glob":false}}},"5177":{"id":5177,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1653":{"id":1653,"crate_id":0,"name":"with_capacity","span":{"filename":"src/io/util/buf_stream.rs","begin":[39,5],"end":[50,6]},"visibility":"public","docs":"Creates a `BufStream` with the specified [`BufReader`] capacity and [`BufWriter`]\ncapacity.\n\nSee the documentation for those types and [`BufStream`] for details.","links":{"`BufReader`":513,"`BufWriter`":514,"`BufStream`":568},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["reader_capacity",{"primitive":"usize"}],["writer_capacity",{"primitive":"usize"}],["stream",{"generic":"RW"}]],"output":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7266":{"id":7266,"crate_id":0,"name":"is_invalid","span":{"filename":"src/time/error.rs","begin":[83,5],"end":[85,6]},"visibility":"public","docs":"Returns `true` if the error was caused by the timer being misconfigured.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5504":{"id":5504,"crate_id":0,"name":"is_empty","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[390,5],"end":[392,6]},"visibility":"public","docs":"Checks if a channel is empty.\n\nThis method returns `true` if the channel has no messages.\n\n# Examples\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = mpsc::unbounded_channel();\nassert!(rx.is_empty());\n\ntx.send(0).unwrap();\nassert!(!rx.is_empty());\n# }\n\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1980":{"id":1980,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3742":{"id":3742,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4069":{"id":4069,"crate_id":0,"name":"iter","span":{"filename":"src/runtime/dump.rs","begin":[303,5],"end":[305,6]},"visibility":"public","docs":"Iterate over tasks.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"impl_trait":[{"trait_bound":{"trait":{"path":"Iterator","id":2149,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Item","args":null,"binding":{"equality":{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Task","id":4070,"args":null}}}}}}}]}}},"generic_params":[],"modifier":"none"}}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2307":{"id":2307,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split.rs","begin":[413,1],"end":[417,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpStream","id":634,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[2306],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"545":{"id":545,"crate_id":0,"name":null,"span":{"filename":"src/io/async_buf_read.rs","begin":[81,1],"end":[83,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncBufRead","id":538,"args":null},"for":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}},"items":[543,544],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5831":{"id":5831,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1284,1],"end":[1288,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"fmt::Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5830],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6158":{"id":6158,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4396":{"id":4396,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"872":{"id":872,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1549,1],"end":[1577,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[867,868,869,870,871],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2634":{"id":2634,"crate_id":0,"name":"from_std","span":{"filename":"src/net/unix/listener.rs","begin":[156,5],"end":[162,6]},"visibility":"public","docs":"Creates new [`UnixListener`] from a [`std::os::unix::net::UnixListener`].\n\nThis function is intended to be used to wrap a `UnixListener` from the\nstandard library in the Tokio equivalent.\n\n# Notes\n\nThe caller is responsible for ensuring that the listener is in\nnon-blocking mode. Otherwise all I/O operations on the listener\nwill block the thread, which will cause unexpected behavior.\nNon-blocking mode can be set using [`set_nonblocking`].\n\nPassing a listener in blocking mode is always erroneous,\nand the behavior in that case may change in the future.\nFor example, it could panic.\n\n[`set_nonblocking`]: std::os::unix::net::UnixListener::set_nonblocking\n\n# Examples\n\n```no_run\nuse tokio::net::UnixListener;\nuse std::os::unix::net::UnixListener as StdUnixListener;\n# use std::error::Error;\n\n# async fn dox() -> Result<(), Box<dyn Error>> {\nlet std_listener = StdUnixListener::bind(\"/path/to/the/socket\")?;\nstd_listener.set_nonblocking(true)?;\nlet listener = UnixListener::from_std(std_listener)?;\n# Ok(())\n# }\n```\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"std::os::unix::net::UnixListener::set_nonblocking":2633,"`UnixListener`":2628,"crate::runtime::Runtime::enter":1054,"`std::os::unix::net::UnixListener`":2632},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["listener",{"resolved_path":{"path":"net::UnixListener","id":2632,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4723":{"id":4723,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram.rs","begin":[67,14],"end":[67,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[4722],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2961":{"id":2961,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1199":{"id":1199,"crate_id":0,"name":"fmt","span":{"filename":"src/io/async_fd.rs","begin":[1373,5],"end":[1377,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"std::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"std::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6485":{"id":6485,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6812":{"id":6812,"crate_id":0,"name":"clone","span":{"filename":"src/sync/watch.rs","begin":[1005,5],"end":[1010,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5050":{"id":5050,"crate_id":0,"name":"Lagged","span":{"filename":"src/sync/broadcast.rs","begin":[307,9],"end":[307,20]},"visibility":"default","docs":"The receiver lagged too far behind: one or more messages were\noverwritten in the ring buffer before this receiver could read them.\n\nThe receiver remains subscribed. Its internal cursor has been advanced\nto the oldest message still retained by the channel; the next\nsuccessful [`recv`] call returns that message (unless further sends\noverwrite it first).\n\nThe `u64` is the number of messages that were skipped (dropped before\nthe receiver's previous cursor position).\n\n[`recv`]: crate::sync::broadcast::Receiver::recv","links":{"crate::sync::broadcast::Receiver::recv":5049},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":{"tuple":[5048]},"discriminant":null}}},"3288":{"id":3288,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5377":{"id":5377,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3615":{"id":3615,"crate_id":0,"name":"as_raw_handle","span":{"filename":"src/process/mod.rs","begin":[1717,5],"end":[1717,30]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawHandle","id":290,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1853":{"id":1853,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7139":{"id":7139,"crate_id":0,"name":"join_all","span":{"filename":"src/task/join_set.rs","begin":[446,5],"end":[457,6]},"visibility":"public","docs":"Awaits the completion of all tasks in this `JoinSet`, returning a vector of their results.\n\nThe results will be stored in the order they completed not the order they were spawned.\nThis is a convenience method that is equivalent to calling [`join_next`] in\na loop. If any tasks on the `JoinSet` fail with an [`JoinError`], then this call\nto `join_all` will panic and all remaining tasks on the `JoinSet` are\ncancelled. To handle errors in any other way, manually call [`join_next`]\nin a loop.\n\n# Examples\n\nSpawn multiple tasks and `join_all` them.\n\n```\nuse tokio::task::JoinSet;\nuse std::time::Duration;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut set = JoinSet::new();\n\nfor i in 0..3 {\n    set.spawn(async move {\n        tokio::time::sleep(Duration::from_secs(3 - i)).await;\n        i\n    });\n}\n\nlet output = set.join_all().await;\nassert_eq!(output, vec![2, 1, 0]);\n# }\n```\n\nEquivalent implementation of `join_all`, using [`join_next`] and loop.\n\n```\nuse tokio::task::JoinSet;\nuse std::panic;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut set = JoinSet::new();\n\nfor i in 0..3 {\n    set.spawn(async move {i});\n}\n\nlet mut output = Vec::new();\nwhile let Some(res) = set.join_next().await{\n    match res {\n        Ok(t) => output.push(t),\n        Err(err) if err.is_panic() => panic::resume_unwind(err.into_panic()),\n        Err(err) => panic!(\"{err}\"),\n    }\n}\nassert_eq!(output.len(),3);\n# }\n```\n[`join_next`]: fn@Self::join_next\n[`JoinError::id`]: fn@crate::task::JoinError::id","links":{"`JoinError`":3686,"fn@Self::join_next":7133,"fn@crate::task::JoinError::id":3693},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5704":{"id":5704,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2180":{"id":2180,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"418":{"id":418,"crate_id":0,"name":"file_name","span":{"filename":"src/fs/read_dir.rs","begin":[265,5],"end":[267,6]},"visibility":"public","docs":"Returns the bare file name of this directory entry without any other\nleading path component.\n\n# Examples\n\n```\nuse tokio::fs;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut entries = fs::read_dir(\".\").await?;\n\nwhile let Some(entry) = entries.next_entry().await? {\n    println!(\"{:?}\", entry.file_name());\n}\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"OsString","id":419,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3942":{"id":3942,"crate_id":0,"name":"enable_all","span":{"filename":"src/runtime/builder.rs","begin":[376,5],"end":[397,6]},"visibility":"public","docs":"Enables both I/O and time drivers.\n\nDoing this is a shorthand for calling `enable_io` and `enable_time`\nindividually. If additional components are added to Tokio in the future,\n`enable_all` will include these future components.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime;\n\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_all()\n    .build()\n    .unwrap();\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6031":{"id":6031,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4269":{"id":4269,"crate_id":0,"name":"EnterGuard","span":{"filename":"src/runtime/handle.rs","begin":[34,1],"end":[37,2]},"visibility":"public","docs":"Runtime context guard.\n\nReturned by [`Runtime::enter`] and [`Handle::enter`], the context guard exits\nthe runtime context on drop.\n\n[`Runtime::enter`]: fn@crate::runtime::Runtime::enter","links":{"`Handle::enter`":4268,"fn@crate::runtime::Runtime::enter":1054},"attrs":[{"must_use":{"reason":"Creating and dropping a guard does nothing"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"impls":[4312,4313,4314,4315,4316,4317,4318,4319,4320,4321,4322,4323,4324,4325,4326,4327,4329]}}},"2507":{"id":2507,"crate_id":0,"name":"send","span":{"filename":"src/net/udp.rs","begin":[570,5],"end":[575,6]},"visibility":"public","docs":"Sends data on the socket to the remote address that the socket is\nconnected to.\n\nThe [`connect`] method will connect this socket to a remote address.\nThis method will fail if the socket is not connected.\n\nThis method may fail with a [`ConnectionRefused`] error if the remote\naddress has replied with ICMP Unreachable to a previously sent packet.\nHowever, this behavior depends on the OS.\n\n[`connect`]: method@Self::connect\n[`ConnectionRefused`]: std::io::ErrorKind::ConnectionRefused\n\n# Return\n\nOn success, the number of bytes sent is returned, otherwise, the\nencountered error is returned.\n\n# Cancel safety\n\nThis method is cancel safe. If `send` is used as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, then it is guaranteed that the message was not sent.\n\n# Examples\n\n```no_run\nuse tokio::io;\nuse tokio::net::UdpSocket;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Bind socket\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n    socket.connect(\"127.0.0.1:8081\").await?;\n\n    // Send a message\n    socket.send(b\"hello world\").await?;\n\n    Ok(())\n}\n```","links":{"crate::select":1471,"std::io::ErrorKind::ConnectionRefused":2519,"method@Self::connect":2506},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"745":{"id":745,"crate_id":0,"name":null,"span":{"filename":"src/io/async_write.rs","begin":[394,1],"end":[427,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"io::Cursor","id":557,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Box","id":542,"args":{"angle_bracketed":{"args":[{"type":{"slice":{"primitive":"u8"}}}],"constraints":[]}}}}}],"constraints":[]}}}},"items":[740,741,742,743,744],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2834":{"id":2834,"crate_id":0,"name":"1","span":{"filename":"src/net/unix/split_owned.rs","begin":[88,44],"end":[88,62]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}}}},"1072":{"id":1072,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4596":{"id":4596,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[26,10],"end":[26,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[4595],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6685":{"id":6685,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4923":{"id":4923,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3161":{"id":3161,"crate_id":0,"name":"poll_read_ready","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1182,5],"end":[1184,6]},"visibility":"public","docs":"Polls for read readiness.\n\nIf the pipe is not currently ready for reading, this method will\nstore a clone of the `Waker` from the provided `Context`. When the pipe\nbecomes ready for reading, `Waker::wake` will be called on the waker.\n\nNote that on multiple calls to `poll_read_ready` or `poll_read`, only\nthe `Waker` from the `Context` passed to the most recent call is\nscheduled to receive a wakeup. (However, `poll_write_ready` retains a\nsecond, independent waker.)\n\nThis function is intended for cases where creating and pinning a future\nvia [`readable`] is not feasible. Where possible, using [`readable`] is\npreferred, as this supports polling from multiple tasks at once.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the pipe is not ready for reading.\n* `Poll::Ready(Ok(()))` if the pipe is ready for reading.\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n[`readable`]: method@Self::readable","links":{"method@Self::readable":3160},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1399":{"id":1399,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7012":{"id":7012,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3488":{"id":3488,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1726":{"id":1726,"crate_id":0,"name":"get_pin_mut","span":{"filename":"src/io/util/chain.rs","begin":[58,5],"end":[61,6]},"visibility":"public","docs":"Gets pinned mutable references to the underlying readers in this `Chain`.\n\nCare should be taken to avoid modifying the internal I/O state of the\nunderlying readers as doing so may corrupt the internal state of this\n`Chain`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}]],"output":{"tuple":[{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}}],"constraints":[]}}}},{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}}],"constraints":[]}}}}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5250":{"id":5250,"crate_id":0,"name":"try_reserve_owned","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1506,5],"end":[1516,6]},"visibility":"public","docs":"Tries to acquire a slot in the channel without waiting for the slot to become\navailable, returning an owned permit.\n\nThis moves the sender _by value_, and returns an owned permit that can\nbe used to send a message into the channel. Unlike [`Sender::try_reserve`],\nthis method may be used in cases where the permit must be valid for the\n`'static` lifetime.  `Sender`s may be cloned cheaply (`Sender::clone` is\nessentially a reference count increment, comparable to [`Arc::clone`]),\nso when multiple [`OwnedPermit`]s are needed or the `Sender` cannot be\nmoved, it can be cloned prior to calling `try_reserve_owned`.\n\nIf the channel is full this function will return a [`TrySendError`].\nSince the sender is taken by value, the `TrySendError` returned in this\ncase contains the sender, so that it may be used again. Otherwise, if\nthere is a slot available, this method will return an [`OwnedPermit`]\nthat can then be used to [`send`] on the channel with a guaranteed slot.\nThis function is similar to  [`reserve_owned`] except it does not await\nfor the slot to become available.\n\nDropping the [`OwnedPermit`] without sending a message releases the capacity back\nto the channel.\n\n[`OwnedPermit`]: OwnedPermit\n[`send`]: OwnedPermit::send\n[`reserve_owned`]: Sender::reserve_owned\n[`Arc::clone`]: std::sync::Arc::clone\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(1);\n\n// Reserve capacity\nlet permit = tx.clone().try_reserve_owned().unwrap();\n\n// Trying to send directly on the `tx` will fail due to no\n// available capacity.\nassert!(tx.try_send(123).is_err());\n\n// Trying to reserve an additional slot on the `tx` will\n// fail because there is no capacity.\nassert!(tx.try_reserve().is_err());\n\n// Sending on the permit succeeds\npermit.send(456);\n\n// The value sent on the permit is received\nassert_eq!(rx.recv().await.unwrap(), 456);\n\n# }\n```","links":{"std::sync::Arc::clone":5243,"`Sender::try_reserve`":5247,"`TrySendError`":5233,"OwnedPermit::send":5245,"OwnedPermit":5244,"Sender::reserve_owned":5246},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7339":{"id":7339,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[38,1],"end":[151,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[7329,7330,7332,7333,7334,7335,7336,7337,7338],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5577":{"id":5577,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3815":{"id":3815,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"IntoFuture","id":525,"args":null},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[3812,3813,3814],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"F"}}}},"291":{"id":291,"crate_id":0,"name":null,"span":{"filename":"src/fs/file.rs","begin":[941,5],"end":[945,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#58) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#58) }], src/macros/cfg.rs:42:26: 42:39 (#58)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#58) }], src/macros/cfg.rs:42:22: 42:49 (#58))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawHandle","id":292,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[289],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2053":{"id":2053,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[32,54],"end":[32,83]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"copy_bidirectional::copy_bidirectional_with_sizes","name":"copy_bidirectional_with_sizes","id":1755,"is_glob":false}}},"4142":{"id":4142,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2380":{"id":2380,"crate_id":0,"name":"try_write_vectored","span":{"filename":"src/net/tcp/split_owned.rs","begin":[437,5],"end":[439,6]},"visibility":"public","docs":"Tries to write several buffers to the stream, returning how many bytes\nwere written.\n\nData is written from each buffer in order, with the final buffer read\nfrom possible being only partially consumed. This method behaves\nequivalently to a single call to [`try_write()`] with concatenated\nbuffers.\n\nThis function is usually paired with `writable()`.\n\n[`try_write()`]: Self::try_write()\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the stream is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::try_write()":2377},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"618":{"id":618,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/util/mem.rs","begin":[329,9],"end":[342,10]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:629:21: 629:35 (#310) }, NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:630:21: 630:39 (#310) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:631:21: 631:36 (#310) }, NameValue { name: \"feature\", value: Some(\"process\"), span: src/macros/cfg.rs:632:21: 632:40 (#310) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:633:21: 633:35 (#310) }, NameValue { name: \"feature\", value: Some(\"signal\"), span: src/macros/cfg.rs:634:21: 634:39 (#310) }, NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:635:21: 635:37 (#310) }, NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:636:21: 636:37 (#310) }], src/macros/cfg.rs:628:22: 637:22 (#310))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5904":{"id":5904,"crate_id":0,"name":"notified_owned","span":{"filename":"src/sync/notify.rs","begin":[610,5],"end":[620,6]},"visibility":"public","docs":"Wait for a notification with an owned `Future`.\n\nUnlike [`Self::notified`] which returns a future tied to the `Notify`'s\nlifetime, `notified_owned` creates a self-contained future that owns its\nnotification state, making it safe to move between threads.\n\nSee [`Self::notified`] for more details.\n\n# Cancel safety\n\nThis method uses a queue to fairly distribute notifications in the order\nthey were requested. Cancelling a call to `notified_owned` makes you lose your\nplace in the queue.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::Notify;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet notify = Arc::new(Notify::new());\n\nfor _ in 0..10 {\n    let notified = notify.clone().notified_owned();\n    tokio::spawn(async move {\n        notified.await;\n        println!(\"received notification\");\n    });\n}\n\nprintln!(\"sending notification\");\nnotify.notify_waiters();\n# }\n```","links":{"`Self::notified`":5896},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6231":{"id":6231,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4469":{"id":4469,"crate_id":0,"name":null,"span":{"filename":"src/runtime/local_runtime/options.rs","begin":[13,19],"end":[13,24]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[4468],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"945":{"id":945,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2707":{"id":2707,"crate_id":0,"name":"readable","span":{"filename":"src/net/unix/split.rs","begin":[94,5],"end":[96,6]},"visibility":"public","docs":"Waits for the socket to become readable.\n\nThis function is equivalent to `ready(Interest::READABLE)` and is usually\npaired with `try_read()`.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read that fails with `WouldBlock` or\n`Poll::Pending`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4796":{"id":4796,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3034":{"id":3034,"crate_id":0,"name":"try_io","span":{"filename":"src/net/unix/pipe.rs","begin":[771,5],"end":[775,6]},"visibility":"public","docs":"Tries to write from the socket using a user-provided IO operation.\n\nIf the socket is ready, the provided closure is called. The closure\nshould attempt to perform IO operation on the socket by manually\ncalling the appropriate syscall. If the operation fails because the\nsocket is not actually ready, then the closure should return a\n`WouldBlock` error and the readiness flag is cleared. The return value\nof the closure is then returned by `try_io`.\n\nIf the socket is not ready, then the closure is not called\nand a `WouldBlock` error is returned.\n\nThe closure should only return a `WouldBlock` error if it has performed\nan IO operation on the socket that failed due to the socket not being\nready. Returning a `WouldBlock` error in any other situation will\nincorrectly clear the readiness flag, which can cause the socket to\nbehave incorrectly.\n\nThe closure should not perform the IO operation using any of the methods\ndefined on the Tokio `pipe::Sender` type, as this will mess with the\nreadiness flag and can cause the socket to behave incorrectly.\n\nUsually, [`writable()`] or [`ready()`] is used with this function.\n\n[`writable()`]: Self::writable()\n[`ready()`]: Self::ready()","links":{"Self::writable()":3029,"Self::ready()":3030},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnOnce() -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1272":{"id":1272,"crate_id":0,"name":"fmt","span":{"filename":"src/io/async_fd.rs","begin":[1418,5],"end":[1420,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6558":{"id":6558,"crate_id":0,"name":"const_new","span":{"filename":"src/sync/once_cell.rs","begin":[168,5],"end":[174,6]},"visibility":"public","docs":"Creates a new empty `OnceCell` instance.\n\nEquivalent to `OnceCell::new`, except that it can be used in static\nvariables.\n\nWhen using the `tracing` [unstable feature], a `OnceCell` created with\n`const_new` will not be instrumented. As such, it will not be visible\nin [`tokio-console`]. Instead, [`OnceCell::new`] should be used to\ncreate an instrumented object if that is needed.\n\n# Example\n\n```\nuse tokio::sync::OnceCell;\n\nstatic ONCE: OnceCell<u32> = OnceCell::const_new();\n\nasync fn get_global_integer() -> &'static u32 {\n    ONCE.get_or_init(|| async {\n        1 + 1\n    }).await\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet result = get_global_integer().await;\nassert_eq!(*result, 2);\n# }\n```\n\n[`tokio-console`]: https://github.com/tokio-rs/console\n[unstable feature]: crate#unstable-features","links":{"`OnceCell::new`":6557,"crate#unstable-features":3944},"attrs":[{"other":"#[attr = CfgTrace([Not(All([NameValue { name: \"loom\", value: None, span: src/sync/once_cell.rs:167:19: 167:23 (#0) }, NameValue { name: \"test\", value: None, span: src/sync/once_cell.rs:167:25: 167:29 (#0) }], src/sync/once_cell.rs:167:18: 167:30 (#0)), src/sync/once_cell.rs:167:14: 167:31 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6885":{"id":6885,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[466,28],"end":[466,38]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"mutex::MutexGuard","name":"MutexGuard","id":5686,"is_glob":false}}},"5123":{"id":5123,"crate_id":0,"name":"new","span":{"filename":"src/sync/broadcast.rs","begin":[558,5],"end":[561,6]},"visibility":"public","docs":"Creates the sending-half of the [`broadcast`] channel.\n\nSee the documentation of [`broadcast::channel`] for more information on this method.\n\n[`broadcast`]: crate::sync::broadcast\n[`broadcast::channel`]: crate::sync::broadcast::channel","links":{"crate::sync::broadcast::channel":5122,"crate::sync::broadcast":5121},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["capacity",{"primitive":"usize"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1599":{"id":1599,"crate_id":0,"name":"write_u128_le","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an unsigned 128-bit integer in little-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_u128_le(&mut self, n: u128) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite unsigned 128-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_u128_le(16947640962301618749969007319746179).await?;\n\nassert_eq!(writer, vec![\n    0x83, 0x86, 0x60, 0x4d, 0x95, 0x43, 0x03, 0x00,\n    0x83, 0x86, 0x60, 0x4d, 0x95, 0x43, 0x03, 0x00,\n]);\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"u128"}]],"output":{"resolved_path":{"path":"WriteU128Le","id":1600,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3361":{"id":3361,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5450":{"id":5450,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3688":{"id":3688,"crate_id":0,"name":"is_cancelled","span":{"filename":"src/runtime/task/error.rs","begin":[40,5],"end":[42,6]},"visibility":"public","docs":"Returns true if the error was caused by the task being cancelled.\n\nSee [the module level docs] for more information on cancellation.\n\n[the module level docs]: crate::task#cancellation","links":{"crate::task#cancellation":3687},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1926":{"id":1926,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"164":{"id":164,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7212":{"id":7212,"crate_id":0,"name":null,"span":{"filename":"src/task/builder.rs","begin":[67,1],"end":[235,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[7208,7204,7206,7209,7205,7210,7207,7211],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5777":{"id":5777,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2253":{"id":2253,"crate_id":0,"name":"as_fd","span":{"filename":"src/net/tcp/socket.rs","begin":[1006,9],"end":[1008,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"491":{"id":491,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[236,1],"end":[236,34]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::metadata::metadata","name":"metadata","id":305,"is_glob":false}}},"4015":{"id":4015,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/builder.rs","begin":[2062,5],"end":[2091,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7539":{"id":7539,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[106,19],"end":[106,26]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[doc(inline)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"timeout::timeout","name":"timeout","id":4286,"is_glob":false}}},"4342":{"id":4342,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2580":{"id":2580,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"818":{"id":818,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/net/tcp/split_owned.rs","begin":[469,5],"end":[475,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6104":{"id":6104,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2907":{"id":2907,"crate_id":0,"name":"from_std","span":{"filename":"src/net/unix/stream.rs","begin":[853,5],"end":[860,6]},"visibility":"public","docs":"Creates new [`UnixStream`] from a [`std::os::unix::net::UnixStream`].\n\nThis function is intended to be used to wrap a `UnixStream` from the\nstandard library in the Tokio equivalent.\n\n# Notes\n\nThe caller is responsible for ensuring that the stream is in\nnon-blocking mode. Otherwise all I/O operations on the stream\nwill block the thread, which will cause unexpected behavior.\nNon-blocking mode can be set using [`set_nonblocking`].\n\nPassing a listener in blocking mode is always erroneous,\nand the behavior in that case may change in the future.\nFor example, it could panic.\n\n[`set_nonblocking`]: std::os::unix::net::UnixStream::set_nonblocking\n\n# Examples\n\n```no_run\nuse tokio::net::UnixStream;\nuse std::os::unix::net::UnixStream as StdUnixStream;\n# use std::error::Error;\n\n# async fn dox() -> Result<(), Box<dyn Error>> {\nlet std_stream = StdUnixStream::connect(\"/path/to/the/socket\")?;\nstd_stream.set_nonblocking(true)?;\nlet stream = UnixStream::from_std(std_stream)?;\n# Ok(())\n# }\n```\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"`UnixStream`":643,"crate::runtime::Runtime::enter":1054,"`std::os::unix::net::UnixStream`":2905,"std::os::unix::net::UnixStream::set_nonblocking":2906},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["stream",{"resolved_path":{"path":"net::UnixStream","id":2905,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1145":{"id":1145,"crate_id":0,"name":"async_io_mut","span":{"filename":"src/io/async_fd.rs","begin":[866,5],"end":[874,6]},"visibility":"public","docs":"Reads or writes from the file descriptor using a user-provided IO operation.\n\nThe behavior is the same as [`async_io`], except that the closure can mutate the inner\nvalue of the [`AsyncFd`].\n\n[`async_io`]: AsyncFd::async_io","links":{"`AsyncFd`":512,"AsyncFd::async_io":1143},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnMut(&mut T) -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4669":{"id":4669,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram.rs","begin":[3,24],"end":[3,53]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"h2_histogram::InvalidHistogramConfiguration","name":"InvalidHistogramConfiguration","id":4616,"is_glob":false}}},"6758":{"id":6758,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3234":{"id":3234,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1472":{"id":1472,"crate_id":0,"name":"read_until","span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[96,9],"end":[101,10]},"visibility":"default","docs":"Reads all bytes into `buf` until the delimiter `byte` or EOF is reached.\n\nEquivalent to:\n\n```ignore\nasync fn read_until(&mut self, byte: u8, buf: &mut Vec<u8>) -> io::Result<usize>;\n```\n\nThis function will read bytes from the underlying stream until the\ndelimiter or EOF is found. Once found, all bytes up to, and including,\nthe delimiter (if found) will be appended to `buf`.\n\nIf successful, this function will return the total number of bytes read.\n\nIf this function returns `Ok(0)`, the stream has reached EOF.\n\n# Errors\n\nThis function will ignore all instances of [`ErrorKind::Interrupted`] and\nwill otherwise return any errors returned by [`fill_buf`].\n\nIf an I/O error is encountered then all bytes read so far will be\npresent in `buf` and its length will have been adjusted appropriately.\n\n[`fill_buf`]: AsyncBufRead::poll_fill_buf\n[`ErrorKind::Interrupted`]: std::io::ErrorKind::Interrupted\n\n# Cancel safety\n\nIf used as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, then some data may have been partially read. Any\npartially read bytes are appended to `buf`, and the method can be\ncalled again to continue reading until `byte`.\n\nThis method returns the total number of bytes read. If you cancel\nthe call to `read_until` and then call it again to continue reading,\nthe counter is reset.\n\n# Examples\n\n[`std::io::Cursor`][`Cursor`] is a type that implements `BufRead`. In\nthis example, we use [`Cursor`] to read all the bytes in a byte slice\nin hyphen delimited segments:\n\n[`Cursor`]: std::io::Cursor\n\n```\nuse tokio::io::AsyncBufReadExt;\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut cursor = Cursor::new(b\"lorem-ipsum\");\nlet mut buf = vec![];\n\n// cursor is at 'l'\nlet num_bytes = cursor.read_until(b'-', &mut buf)\n    .await\n    .expect(\"reading from cursor won't fail\");\n\nassert_eq!(num_bytes, 6);\nassert_eq!(buf, b\"lorem-\");\nbuf.clear();\n\n// cursor is at 'i'\nlet num_bytes = cursor.read_until(b'-', &mut buf)\n    .await\n    .expect(\"reading from cursor won't fail\");\n\nassert_eq!(num_bytes, 5);\nassert_eq!(buf, b\"ipsum\");\nbuf.clear();\n\n// cursor is at EOF\nlet num_bytes = cursor.read_until(b'-', &mut buf)\n    .await\n    .expect(\"reading from cursor won't fail\");\nassert_eq!(num_bytes, 0);\nassert_eq!(buf, b\"\");\n# }\n```","links":{"crate::select":1471,"std::io::ErrorKind::Interrupted":380,"AsyncBufRead::poll_fill_buf":534,"std::io::Cursor":557},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}],["byte",{"primitive":"u8"}],["buf",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u8"}}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"ReadUntil","id":1473,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7085":{"id":7085,"crate_id":0,"name":"fmt","span":{"filename":"src/task/task_local.rs","begin":[291,5],"end":[293,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3561":{"id":3561,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1799":{"id":1799,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5323":{"id":5323,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5650":{"id":5650,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3888":{"id":3888,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/task/trace/mod.rs","begin":[156,10],"end":[156,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"364":{"id":364,"crate_id":3,"name":"clone_into","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["target",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7412":{"id":7412,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5977":{"id":5977,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2453":{"id":2453,"crate_id":0,"name":"set_quickack","span":{"filename":"src/net/tcp/stream.rs","begin":[1253,5],"end":[1255,6]},"visibility":"public","docs":"Enable or disable `TCP_QUICKACK`.\n\nThis flag causes Linux to eagerly send `ACK`s rather than delaying them.\nLinux may reset this flag after further operations on the socket.\n\nSee [`man 7 tcp`](https://man7.org/linux/man-pages/man7/tcp.7.html) and\n[TCP delayed acknowledgment](https://en.wikipedia.org/wiki/TCP_delayed_acknowledgment)\nfor more information.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\nstream.set_quickack(true)?;\n# Ok(())\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/net/tcp/stream.rs:1239:9: 1239:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"android\"), span: src/net/tcp/stream.rs:1240:9: 1240:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"fuchsia\"), span: src/net/tcp/stream.rs:1241:9: 1241:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"cygwin\"), span: src/net/tcp/stream.rs:1242:9: 1242:29 (#0) }], src/net/tcp/stream.rs:1238:14: 1243:6 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(target_os = \"linux\", target_os = \"android\", target_os = \"fuchsia\", target_os = \"cygwin\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["quickack",{"primitive":"bool"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"691":{"id":691,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/async_write.rs","begin":[67,5],"end":[67,87]},"visibility":"default","docs":"Attempts to flush the object, ensuring that any buffered data reach\ntheir destination.\n\nOn success, returns `Poll::Ready(Ok(()))`.\n\nIf flushing cannot immediately complete, this method returns\n`Poll::Pending` and arranges for the current task (via\n`cx.waker()`) to receive a notification when the object can make\nprogress towards flushing.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"4215":{"id":4215,"crate_id":0,"name":"root","span":{"filename":"src/runtime/dump.rs","begin":[280,5],"end":[285,6]},"visibility":"public","docs":"Create a root for stack traces captured using [`Trace::capture`]. Stack frames above\nthe root will not be captured.\n\nNesting multiple [`Root`] futures is fine. Captures will stop at the first root. Not having\na [`Root`] is fine as well, but there is no guarantee on where the capture will stop.","links":{"`Root`":3840,"`Trace::capture`":4214},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6304":{"id":6304,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[157,1],"end":[162,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"owned_read_guard::OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4542":{"id":4542,"crate_id":0,"name":"io_driver_fd_registered_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[1247,13],"end":[1251,14]},"visibility":"public","docs":"Returns the number of file descriptors that have been registered with the\nruntime's I/O driver.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n#[tokio::main]\nasync fn main() {\n    let metrics = Handle::current().metrics();\n\n    let registered_fds = metrics.io_driver_fd_registered_count();\n    println!(\"{} fds have been registered with the runtime's I/O driver.\", registered_fds);\n\n    let deregistered_fds = metrics.io_driver_fd_deregistered_count();\n\n    let current_fd_count = registered_fds - deregistered_fds;\n    println!(\"{} fds are currently registered by the runtime's I/O driver.\", current_fd_count);\n}\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/metrics/runtime.rs:1222:13: 1222:27 (#0) }, NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/runtime/metrics/runtime.rs:1223:13: 1223:37 (#0) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/runtime/metrics/runtime.rs:1224:13: 1224:28 (#0) }], src/runtime/metrics/runtime.rs:1221:15: 1225:10 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, target_has_atomic = \"64\", feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1018":{"id":1018,"crate_id":0,"name":null,"span":{"filename":"src/io/ready.rs","begin":[20,23],"end":[20,32]},"visibility":"default","docs":null,"links":{},"attrs":["automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[1017],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2780":{"id":2780,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6631":{"id":6631,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[474,17],"end":[474,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::PartialEq","id":966,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6630],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4869":{"id":4869,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1345":{"id":1345,"crate_id":0,"name":"as_fd","span":{"filename":"src/io/stdin.rs","begin":[68,9],"end":[70,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6958":{"id":6958,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5196":{"id":5196,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[1161,1],"end":[1399,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5127,5191,5192,5193,5194,5195],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1672":{"id":1672,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3434":{"id":3434,"crate_id":0,"name":"current_dir","span":{"filename":"src/process/mod.rs","begin":[554,5],"end":[557,6]},"visibility":"public","docs":"Sets the working directory for the child process.\n\n# Platform-specific behavior\n\nIf the program path is relative (e.g., `\"./script.sh\"`), it's ambiguous\nwhether it should be interpreted relative to the parent's working\ndirectory or relative to `current_dir`. The behavior in this case is\nplatform specific and unstable, and it's recommended to use\n[`canonicalize`] to get an absolute program path instead.\n\n[`canonicalize`]: crate::fs::canonicalize()\n\n# Examples\n\nBasic usage:\n\n```no_run\n# async fn test() { // allow using await\nuse tokio::process::Command;\n\nlet output = Command::new(\"ls\")\n        .current_dir(\"/bin\")\n        .output().await.unwrap();\n# }\n```","links":{"crate::fs::canonicalize()":116},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["dir",{"generic":"P"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7285":{"id":7285,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3761":{"id":3761,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/id.rs","begin":[31,63],"end":[31,66]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["max","min","clamp"],"trait":{"path":"Ord","id":1026,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[3760],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1999":{"id":1999,"crate_id":0,"name":null,"span":{"filename":"src/io/util/take.rs","begin":[29,1],"end":[76,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[1993,1994,1995,1996,1997,1998],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"237":{"id":237,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_seek_ext.rs","begin":[96,1],"end":[96,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"S","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"S"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncSeek","id":199,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["seek","rewind","stream_position"],"trait":{"path":"AsyncSeekExt","id":238,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"S"}}}},"5523":{"id":5523,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5850":{"id":5850,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4088":{"id":4088,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/dump.rs","begin":[21,10],"end":[21,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"564":{"id":564,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_reader.rs","begin":[122,1],"end":[144,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncBufRead","id":538,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[562,563],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2326":{"id":2326,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7612":{"id":7612,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2653":{"id":2653,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"891":{"id":891,"crate_id":0,"name":"initialize_unfilled_to","span":{"filename":"src/io/read_buf.rs","begin":[158,5],"end":[177,6]},"visibility":"public","docs":"Returns a mutable reference to the first `n` bytes of the unfilled part of the buffer, ensuring it is\nfully initialized.\n\n# Panics\n\nPanics if `self.remaining()` is less than `n`.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"usize"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6504":{"id":6504,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[182,1],"end":[189,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6503],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4742":{"id":4742,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[608,9],"end":[608,38]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:609:19: 609:33 (#1627) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"task_hooks::TaskMeta","name":"TaskMeta","id":3959,"is_glob":false}}},"1218":{"id":1218,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2980":{"id":2980,"crate_id":0,"name":"eq","span":{"filename":"src/net/unix/ucred.rs","begin":[4,27],"end":[4,36]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"UCred","id":2913,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5069":{"id":5069,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3307":{"id":3307,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2593,30],"end":[2593,39]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1545":{"id":1545,"crate_id":0,"name":"io","span":{"filename":"src/io/mod.rs","begin":[1,1],"end":[308,2]},"visibility":"public","docs":"Traits, helpers, and type definitions for asynchronous I/O functionality.\n\nThis module is the asynchronous version of `std::io`. Primarily, it\ndefines two traits, [`AsyncRead`] and [`AsyncWrite`], which are asynchronous\nversions of the [`Read`] and [`Write`] traits in the standard library.\n\n# `AsyncRead` and `AsyncWrite`\n\nLike the standard library's [`Read`] and [`Write`] traits, [`AsyncRead`] and\n[`AsyncWrite`] provide the most general interface for reading and writing\ninput and output. Unlike the standard library's traits, however, they are\n_asynchronous_ &mdash; meaning that reading from or writing to a `tokio::io`\ntype will _yield_ to the Tokio scheduler when IO is not ready, rather than\nblocking. This allows other tasks to run while waiting on IO.\n\nAnother difference is that `AsyncRead` and `AsyncWrite` only contain\ncore methods needed to provide asynchronous reading and writing\nfunctionality. Instead, utility methods are defined in the [`AsyncReadExt`]\nand [`AsyncWriteExt`] extension traits. These traits are automatically\nimplemented for all values that implement `AsyncRead` and `AsyncWrite`\nrespectively.\n\nEnd users will rarely interact directly with `AsyncRead` and\n`AsyncWrite`. Instead, they will use the async functions defined in the\nextension traits. Library authors are expected to implement `AsyncRead`\nand `AsyncWrite` in order to provide types that behave like byte streams.\n\nEven with these differences, Tokio's `AsyncRead` and `AsyncWrite` traits\ncan be used in almost exactly the same manner as the standard library's\n`Read` and `Write`. Most types in the standard library that implement `Read`\nand `Write` have asynchronous equivalents in `tokio` that implement\n`AsyncRead` and `AsyncWrite`, such as [`File`] and [`TcpStream`].\n\nFor example, the standard library documentation introduces `Read` by\n[demonstrating][std_example] reading some bytes from a [`std::fs::File`]. We\ncan do the same with [`tokio::fs::File`][`File`]:\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, AsyncReadExt};\nuse tokio::fs::File;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut f = File::open(\"foo.txt\").await?;\n    let mut buffer = [0; 10];\n\n    // read up to 10 bytes\n    let n = f.read(&mut buffer).await?;\n\n    println!(\"The bytes: {:?}\", &buffer[..n]);\n    Ok(())\n}\n# }\n```\n\n[`File`]: crate::fs::File\n[`TcpStream`]: crate::net::TcpStream\n[`std::fs::File`]: std::fs::File\n[std_example]: std::io#read-and-write\n\n## Buffered Readers and Writers\n\nByte-based interfaces are unwieldy and can be inefficient, as we'd need to be\nmaking near-constant calls to the operating system. To help with this,\n`std::io` comes with [support for _buffered_ readers and writers][stdbuf],\nand therefore, `tokio::io` does as well.\n\nTokio provides an async version of the [`std::io::BufRead`] trait,\n[`AsyncBufRead`]; and async [`BufReader`] and [`BufWriter`] structs, which\nwrap readers and writers. These wrappers use a buffer, reducing the number\nof calls and providing nicer methods for accessing exactly what you want.\n\nFor example, [`BufReader`] works with the [`AsyncBufRead`] trait to add\nextra methods to any async reader:\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, BufReader, AsyncBufReadExt};\nuse tokio::fs::File;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let f = File::open(\"foo.txt\").await?;\n    let mut reader = BufReader::new(f);\n    let mut buffer = String::new();\n\n    // read a line into buffer\n    reader.read_line(&mut buffer).await?;\n\n    println!(\"{}\", buffer);\n    Ok(())\n}\n# }\n```\n\n[`BufWriter`] doesn't add any new ways of writing; it just buffers every call\nto [`write`](crate::io::AsyncWriteExt::write). However, you **must** flush\n[`BufWriter`] to ensure that any buffered data is written.\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, BufWriter, AsyncWriteExt};\nuse tokio::fs::File;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let f = File::create(\"foo.txt\").await?;\n    {\n        let mut writer = BufWriter::new(f);\n\n        // Write a byte to the buffer.\n        writer.write(&[42u8]).await?;\n\n        // Flush the buffer before it goes out of scope.\n        writer.flush().await?;\n\n    } // Unless flushed or shut down, the contents of the buffer is discarded on drop.\n\n    Ok(())\n}\n# }\n```\n\n[stdbuf]: std::io#bufreader-and-bufwriter\n[`std::io::BufRead`]: std::io::BufRead\n[`AsyncBufRead`]: crate::io::AsyncBufRead\n[`BufReader`]: crate::io::BufReader\n[`BufWriter`]: crate::io::BufWriter\n\n## Implementing `AsyncRead` and `AsyncWrite`\n\nBecause they are traits, we can implement [`AsyncRead`] and [`AsyncWrite`] for\nour own types, as well. Note that these traits must only be implemented for\nnon-blocking I/O types that integrate with the futures type system. In\nother words, these types must never block the thread, and instead the\ncurrent task is notified when the I/O resource is ready.\n\n## Conversion to and from Stream/Sink\n\nIt is often convenient to encapsulate the reading and writing of bytes in a\n[`Stream`] or [`Sink`] of data.\n\nTokio provides simple wrappers for converting [`AsyncRead`] to [`Stream`]\nand vice-versa in the [tokio-util] crate, see [`ReaderStream`] and\n[`StreamReader`].\n\nThere are also utility traits that abstract the asynchronous buffering\nnecessary to write your own adaptors for encoding and decoding bytes to/from\nyour structured data, allowing to transform something that implements\n[`AsyncRead`]/[`AsyncWrite`] into a [`Stream`]/[`Sink`], see [`Decoder`] and\n[`Encoder`] in the [tokio-util::codec] module.\n\n[tokio-util]: https://docs.rs/tokio-util\n[tokio-util::codec]: https://docs.rs/tokio-util/latest/tokio_util/codec/index.html\n\n# Standard input and output\n\nTokio provides asynchronous APIs to standard [input], [output], and [error].\nThese APIs are very similar to the ones provided by `std`, but they also\nimplement [`AsyncRead`] and [`AsyncWrite`].\n\nNote that the standard input / output APIs  **must** be used from the\ncontext of the Tokio runtime, as they require Tokio-specific features to\nfunction. Calling these functions outside of a Tokio runtime will panic.\n\n[input]: fn@stdin\n[output]: fn@stdout\n[error]: fn@stderr\n\n# `std` re-exports\n\nAdditionally, [`Error`], [`ErrorKind`], [`Result`], and [`SeekFrom`] are\nre-exported from `std::io` for ease of use.\n\n[`AsyncRead`]: trait@AsyncRead\n[`AsyncWrite`]: trait@AsyncWrite\n[`AsyncReadExt`]: trait@AsyncReadExt\n[`AsyncWriteExt`]: trait@AsyncWriteExt\n[\"codec\"]: https://docs.rs/tokio-util/latest/tokio_util/codec/index.html\n[`Encoder`]: https://docs.rs/tokio-util/latest/tokio_util/codec/trait.Encoder.html\n[`Decoder`]: https://docs.rs/tokio-util/latest/tokio_util/codec/trait.Decoder.html\n[`ReaderStream`]: https://docs.rs/tokio-util/latest/tokio_util/io/struct.ReaderStream.html\n[`StreamReader`]: https://docs.rs/tokio-util/latest/tokio_util/io/struct.StreamReader.html\n[`Error`]: struct@Error\n[`ErrorKind`]: enum@ErrorKind\n[`Result`]: type@Result\n[`Read`]: std::io::Read\n[`SeekFrom`]: enum@SeekFrom\n[`Sink`]: https://docs.rs/futures/0.3/futures/sink/trait.Sink.html\n[`Stream`]: https://docs.rs/futures/0.3/futures/stream/trait.Stream.html\n[`Write`]: std::io::Write","links":{"trait@AsyncReadExt":202,"crate::io::BufWriter":514,"fn@stderr":1291,"trait@AsyncRead":224,"std::io#bufreader-and-bufwriter":2124,"crate::net::TcpStream":634,"std::fs::File":198,"crate::io::BufReader":513,"std::io::Write":696,"struct@Error":262,"crate::fs::File":204,"std::io#read-and-write":2124,"trait@AsyncWrite":225,"crate::io::AsyncWriteExt::write":316,"fn@stdin":1323,"crate::io::AsyncBufRead":538,"enum@ErrorKind":328,"type@Result":119,"std::io::Read":585,"std::io::BufRead":535,"enum@SeekFrom":256,"fn@stdout":1354,"trait@AsyncWriteExt":203},"attrs":[{"other":"#[attr = CfgAttrTrace]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[1109,1287,2077,2078,2079,2080,2081,2082,2083,2084,2085,2086,2087,2088,2089,2090,2091,2092,2093,2094,2095,2096,2097,2098,2099,2100,2101,2102,2103,2104,2105,2106,2107,2108,2109,2110,2111,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123],"is_stripped":false}}},"6831":{"id":6831,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7158":{"id":7158,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5396":{"id":5396,"crate_id":0,"name":"poll_recv","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[650,5],"end":[652,6]},"visibility":"public","docs":"Polls to receive the next message on this channel.\n\nThis method returns:\n\n * `Poll::Pending` if no messages are available but the channel is not\n   closed, or if a spurious failure happens.\n * `Poll::Ready(Some(message))` if a message is available.\n * `Poll::Ready(None)` if the channel has been closed and all messages\n   sent before it was closed have been received.\n\nWhen the method returns `Poll::Pending`, the `Waker` in the provided\n`Context` is scheduled to receive a wakeup when a message is sent on any\nreceiver, or when the channel is closed.  Note that on multiple calls to\n`poll_recv` or `poll_recv_many`, only the `Waker` from the `Context`\npassed to the most recent call is scheduled to receive a wakeup.\n\nIf this method returns `Poll::Pending` due to a spurious failure, then\nthe `Waker` will be notified when the situation causing the spurious\nfailure has been resolved. Note that receiving such a wakeup does not\nguarantee that the next call will succeed — it could fail with another\nspurious failure.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5723":{"id":5723,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[810,1],"end":[822,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"std::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5722],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3961":{"id":3961,"crate_id":0,"name":"on_after_task_poll","span":{"filename":"src/runtime/builder.rs","begin":[997,5],"end":[1003,6]},"visibility":"public","docs":"Executes function `f` just after a task is polled\n\n`f` is called within the Tokio context, so functions like\n[`tokio::spawn`](crate::spawn) can be called, and may result in this callback being\ninvoked immediately.\n\n**Note**: This is an [unstable API][unstable]. The public API of this type\nmay break in 1.x releases. See [the documentation on unstable\nfeatures][unstable] for details.\n\n[unstable]: crate#unstable-features\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n# use std::sync::{atomic::AtomicUsize, Arc};\n# use tokio::task::yield_now;\n# pub fn main() {\nlet poll_stop_counter = Arc::new(AtomicUsize::new(0));\nlet poll_stop = poll_stop_counter.clone();\nlet rt = tokio::runtime::Builder::new_multi_thread()\n    .enable_all()\n    .on_after_task_poll(move |meta| {\n        println!(\"task {} completed polling\", meta.id());\n    })\n    .build()\n    .unwrap();\nlet task = rt.spawn(async {\n    yield_now().await;\n});\nlet _ = rt.block_on(task);\n\n# }\n# }\n```","links":{"crate::spawn":3799,"crate#unstable-features":3944},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/builder.rs:995:11: 995:25 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Fn","id":3952,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],"output":null}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7485":{"id":7485,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"437":{"id":437,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6050":{"id":6050,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/oneshot.rs","begin":[373,9],"end":[378,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2526":{"id":2526,"crate_id":0,"name":"try_recv_buf","span":{"filename":"src/net/udp.rs","begin":[945,9],"end":[961,10]},"visibility":"public","docs":"Tries to receive data from the stream into the provided buffer, advancing the\nbuffer's internal cursor, returning how many bytes were read.\n\nThis method must be called with valid byte array `buf` of sufficient size\nto hold the message bytes. If a message is too long to fit in the\nsupplied buffer, excess bytes may be discarded.\n\nThis method can be used even if `buf` is uninitialized.\n\nWhen there is no pending data, `Err(io::ErrorKind::WouldBlock)` is\nreturned. This function is usually paired with `readable()`.\n\n# Examples\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Connect to a peer\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n    socket.connect(\"127.0.0.1:8081\").await?;\n\n    loop {\n        // Wait for the socket to be readable\n        socket.readable().await?;\n\n        let mut buf = Vec::with_capacity(1024);\n\n        // Try to recv data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match socket.try_recv_buf(&mut buf) {\n            Ok(n) => {\n                println!(\"GOT {:?}\", &buf[..n]);\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e);\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#499) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"B","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"BufMut","id":919,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"764":{"id":764,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/join.rs","begin":[98,5],"end":[100,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4288":{"id":4288,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6377":{"id":6377,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4615":{"id":4615,"crate_id":0,"name":"max_buckets","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[231,5],"end":[242,6]},"visibility":"public","docs":"Builds the log histogram, enforcing the max buckets requirement","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["max_buckets",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}}},{"type":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2853":{"id":2853,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split_owned.rs","begin":[87,10],"end":[87,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[2852],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1091":{"id":1091,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6704":{"id":6704,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[379,17],"end":[379,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::PartialEq","id":966,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3180":{"id":3180,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"1418":{"id":1418,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4942":{"id":4942,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7031":{"id":7031,"crate_id":0,"name":"drop","span":{"filename":"src/task/local.rs","begin":[977,5],"end":[1021,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5269":{"id":5269,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3507":{"id":3507,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1656,5],"end":[1656,29]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"super::ChildStdin","id":873,"args":null}},"items":[3506],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1745":{"id":1745,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7358":{"id":7358,"crate_id":0,"name":"clone","span":{"filename":"src/time/instant.rs","begin":[33,10],"end":[33,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5596":{"id":5596,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[57,1],"end":[68,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5595],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5923":{"id":5923,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[198,10],"end":[198,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[5922],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4161":{"id":4161,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2399":{"id":2399,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"637":{"id":637,"crate_id":0,"name":"ReadHalf","span":{"filename":"src/net/unix/split.rs","begin":[33,1],"end":[33,41]},"visibility":"public","docs":"Borrowed read half of a [`UnixStream`], created by [`split`].\n\nReading from a `ReadHalf` is usually done using the convenience methods found on the\n[`AsyncReadExt`] trait.\n\n[`UnixStream`]: UnixStream\n[`split`]: UnixStream::split()\n[`AsyncReadExt`]: trait@crate::io::AsyncReadExt","links":{"trait@crate::io::AsyncReadExt":202,"UnixStream":643,"UnixStream::split()":2705},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"impls":[2714,2715,2716,2717,2718,2719,2720,2721,2722,2723,2724,2725,2726,2727,2728,2729,2730,2731,2733,636,2735]}}},"4488":{"id":4488,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2726":{"id":2726,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"964":{"id":964,"crate_id":0,"name":"eq","span":{"filename":"src/io/interest.rs","begin":[28,27],"end":[28,36]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Interest","id":924,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6250":{"id":6250,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6577":{"id":6577,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4815":{"id":4815,"crate_id":0,"name":"recv","span":{"filename":"src/signal/unix.rs","begin":[452,5],"end":[455,6]},"visibility":"public","docs":"Receives the next signal notification event.\n\nAlthough this returns `Option<()>`, it will never actually return `None`.\nThis was accidentally exposed and would be a breaking change to be removed.\n\n# Cancel safety\n\nThis method is cancel safe. If you use it as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, then it is guaranteed that no signal is lost.\n\n# Examples\n\nWait for `SIGHUP`\n\n```rust,no_run\nuse tokio::signal::unix::{signal, SignalKind};\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    // An infinite stream of hangup signals.\n    let mut stream = signal(SignalKind::hangup())?;\n\n    // Print whenever a HUP signal is received\n    loop {\n        stream.recv().await;\n        println!(\"got signal HUP\");\n    }\n}\n```","links":{"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1291":{"id":1291,"crate_id":0,"name":"stderr","span":{"filename":"src/io/stderr.rs","begin":[82,5],"end":[91,6]},"visibility":"public","docs":"Constructs a new handle to the standard error of the current process.\n\nThe returned handle allows writing to standard error from the within the\nTokio runtime.\n\nConcurrent writes to stderr must be executed with care: Only individual\nwrites to this [`AsyncWrite`] are guaranteed to be intact. In particular\nyou should be aware that writes using [`write_all`] are not guaranteed\nto occur as a single write, so multiple threads writing data with\n[`write_all`] may result in interleaved output.\n\nNote that unlike [`std::io::stderr`], each call to this `stderr()`\nproduces a new writer, so for example, this program does **not** flush stderr:\n\n```no_run\n# use tokio::io::AsyncWriteExt;\n# #[tokio::main]\n# async fn main() -> std::io::Result<()> {\ntokio::io::stderr().write_all(b\"aa\").await?;\ntokio::io::stderr().flush().await?;\n# Ok(())\n# }\n```\n\n[`std::io::stderr`]: std::io::stderr\n[`AsyncWrite`]: AsyncWrite\n[`write_all`]: crate::io::AsyncWriteExt::write_all()\n\n# Examples\n\n```\nuse tokio::io::{self, AsyncWriteExt};\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut stderr = io::stderr();\n    stderr.write_all(b\"Print some error here.\").await?;\n    Ok(())\n}\n```","links":{"AsyncWrite":225,"crate::io::AsyncWriteExt::write_all()":209,"std::io::stderr":1319},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:233:19: 233:37 (#217) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3053":{"id":3053,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5142":{"id":5142,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3380":{"id":3380,"crate_id":0,"name":null,"span":{"filename":"src/net/mod.rs","begin":[56,5],"end":[56,50]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:377:23: 377:27 (#501) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:377:29: 377:44 (#501) }], src/macros/cfg.rs:377:22: 377:45 (#501))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"unix::datagram::socket::UnixDatagram","name":"UnixDatagram","id":2619,"is_glob":false}}},"1618":{"id":1618,"crate_id":0,"name":"with_capacity","span":{"filename":"src/io/util/buf_reader.rs","begin":[45,5],"end":[54,6]},"visibility":"public","docs":"Creates a new `BufReader` with the specified buffer capacity.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["capacity",{"primitive":"usize"}],["inner",{"generic":"R"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6904":{"id":6904,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[492,41],"end":[492,49]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::once_cell::SetError","name":"SetError","id":6567,"is_glob":false}}},"7231":{"id":7231,"crate_id":0,"name":"fmt","span":{"filename":"src/task/builder.rs","begin":[61,19],"end":[61,24]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5469":{"id":5469,"crate_id":0,"name":"strong_count","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[712,5],"end":[714,6]},"visibility":"public","docs":"Returns the number of [`UnboundedSender`] handles.","links":{"`UnboundedSender`":5433},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1945":{"id":1945,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3707":{"id":3707,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7558":{"id":7558,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4034":{"id":4034,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2272":{"id":2272,"crate_id":0,"name":"split","span":{"filename":"src/net/tcp/stream.rs","begin":[1411,5],"end":[1413,6]},"visibility":"public","docs":"Splits a `TcpStream` into a read half and a write half, which can be used\nto read and write the stream concurrently.\n\nThis method is more efficient than [`into_split`], but the halves cannot be\nmoved into independently spawned tasks.\n\n[`into_split`]: TcpStream::into_split()","links":{"TcpStream::into_split()":2339},"attrs":[{"other":"#[allow(clippy::needless_lifetimes)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"tuple":[{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}}]},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"510":{"id":510,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[295,5],"end":[295,46]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#74) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#74) }], src/macros/cfg.rs:42:26: 42:39 (#74)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#74) }], src/macros/cfg.rs:42:22: 42:49 (#74))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::symlink_file::symlink_file","name":"symlink_file","id":482,"is_glob":false}}},"6123":{"id":6123,"crate_id":0,"name":"try_acquire","span":{"filename":"src/sync/semaphore.rs","begin":[709,5],"end":[717,6]},"visibility":"public","docs":"Tries to acquire a permit from the semaphore.\n\nIf the semaphore has been closed, this returns a [`TryAcquireError::Closed`]\nand a [`TryAcquireError::NoPermits`] if there are no permits left. Otherwise,\nthis returns a [`SemaphorePermit`] representing the acquired permits.\n\n# Examples\n\n```\nuse tokio::sync::{Semaphore, TryAcquireError};\n\n# fn main() {\nlet semaphore = Semaphore::new(2);\n\nlet permit_1 = semaphore.try_acquire().unwrap();\nassert_eq!(semaphore.available_permits(), 1);\n\nlet permit_2 = semaphore.try_acquire().unwrap();\nassert_eq!(semaphore.available_permits(), 0);\n\nlet permit_3 = semaphore.try_acquire();\nassert_eq!(permit_3.err(), Some(TryAcquireError::NoPermits));\n# }\n```\n\n[`TryAcquireError::Closed`]: crate::sync::TryAcquireError::Closed\n[`TryAcquireError::NoPermits`]: crate::sync::TryAcquireError::NoPermits\n[`SemaphorePermit`]: crate::sync::SemaphorePermit","links":{"crate::sync::TryAcquireError::NoPermits":6122,"crate::sync::TryAcquireError::Closed":6121,"crate::sync::SemaphorePermit":6181},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"837":{"id":837,"crate_id":0,"name":"poll_write","span":{"filename":"src/net/unix/split_owned.rs","begin":[373,5],"end":[379,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4688":{"id":4688,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2926":{"id":2926,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1164":{"id":1164,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6450":{"id":6450,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3253":{"id":3253,"crate_id":0,"name":"ClientOptions","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2373,1],"end":[2378,2]},"visibility":"public","docs":"A builder suitable for building and interacting with named pipes from the\nclient side.\n\nSee [`ClientOptions::open`].","links":{"`ClientOptions::open`":3156},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[3260,3261,3262,3263,3264,3265,3266,3267,3268,3269,3270,3271,3272,3273,3274,3275,3276,3277,3278,3280,3282]}}},"5015":{"id":5015,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5342":{"id":5342,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3580":{"id":3580,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1716,5],"end":[1716,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(windows))]"},{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsHandle","id":296,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[3579],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7104":{"id":7104,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7431":{"id":7431,"crate_id":0,"name":null,"span":{"filename":"src/time/interval.rs","begin":[360,1],"end":[373,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[7430],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5669":{"id":5669,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/mod.rs","begin":[121,27],"end":[121,33]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::bounded::Permit","name":"Permit","id":5228,"is_glob":false}}},"2145":{"id":2145,"crate_id":0,"name":null,"span":{"filename":"src/net/addr.rs","begin":[190,5],"end":[190,42]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:336:19: 336:34 (#458) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"for":{"tuple":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"primitive":"str"}}},{"primitive":"u16"}]},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5996":{"id":5996,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4234":{"id":4234,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/dump.rs","begin":[187,10],"end":[187,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"710":{"id":710,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/async_write.rs","begin":[224,5],"end":[230,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2472":{"id":2472,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6323":{"id":6323,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[37,1],"end":[413,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6315,6316,6318,6319,6320,6321,6322],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4561":{"id":4561,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1037":{"id":1037,"crate_id":0,"name":"sub","span":{"filename":"src/io/ready.rs","begin":[302,5],"end":[304,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["other",{"resolved_path":{"path":"Ready","id":978,"args":null}}]],"output":{"resolved_path":{"path":"Ready","id":978,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6650":{"id":6650,"crate_id":0,"name":"wait","span":{"filename":"src/sync/set_once.rs","begin":[339,5],"end":[358,6]},"visibility":"public","docs":"Waits until the value is set.\n\nIf the `SetOnce` is already initialized, it will return the value\nimmediately.\n\n# Cancel safety\n\nThis method is cancel safe.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4888":{"id":4888,"crate_id":0,"name":"ctrl_close","span":{"filename":"src/signal/windows.rs","begin":[259,1],"end":[263,2]},"visibility":"public","docs":"Creates a new listener which receives \"ctrl-close\" notifications sent to the\nprocess.\n\n# Examples\n\n```rust,no_run\nuse tokio::signal::windows::ctrl_close;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    // A listener of CTRL-CLOSE events.\n    let mut signal = ctrl_close()?;\n\n    // Print whenever a CTRL-CLOSE event is received.\n    for countdown in (0..3).rev() {\n        signal.recv().await;\n        println!(\"got CTRL-CLOSE. {} more to exit\", countdown);\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1364":{"id":1364,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3126":{"id":3126,"crate_id":0,"name":"try_write","span":{"filename":"src/net/windows/named_pipe.rs","begin":[749,5],"end":[753,6]},"visibility":"public","docs":"Tries to write a buffer to the pipe, returning how many bytes were\nwritten.\n\nThe function will attempt to write the entire contents of `buf`, but\nonly part of the buffer may be written.\n\nThis function is usually paired with `writable()`.\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the pipe is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-server-try-write\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let server = named_pipe::ServerOptions::new()\n        .create(PIPE_NAME)?;\n\n    loop {\n        // Wait for the pipe to be writable\n        server.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match server.try_write(b\"hello world\") {\n            Ok(n) => {\n                break;\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6977":{"id":6977,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3453":{"id":3453,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[286,1],"end":[1093,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[3421,3422,3423,3425,3427,3426,3429,3430,3431,3432,3433,3434,3436,3438,3439,3424,3440,3441,3442,3443,3444,3446,3416,3447,3417,3418,3452],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1691":{"id":1691,"crate_id":0,"name":"get_ref","span":{"filename":"src/io/util/buf_writer.rs","begin":[87,5],"end":[89,6]},"visibility":"public","docs":"Gets a reference to the underlying writer.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"W"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5215":{"id":5215,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7304":{"id":7304,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5542":{"id":5542,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3780":{"id":3780,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2018":{"id":2018,"crate_id":0,"name":null,"span":{"filename":"src/io/util/take.rs","begin":[11,14],"end":[11,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[2017],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7631":{"id":7631,"crate_id":0,"name":null,"span":{"filename":"src/lib.rs","begin":[577,5],"end":[577,25]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4291) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"task::spawn","name":"spawn","id":3799,"is_glob":false}}},"4107":{"id":4107,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2345":{"id":2345,"crate_id":0,"name":"readable","span":{"filename":"src/net/tcp/split_owned.rs","begin":[237,5],"end":[239,6]},"visibility":"public","docs":"Waits for the socket to become readable.\n\nThis function is equivalent to `ready(Interest::READABLE)` and is usually\npaired with `try_read()`.\n\nThis function is also equivalent to [`TcpStream::ready`].\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`TcpStream::ready`":2279},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"583":{"id":583,"crate_id":0,"name":"Take","span":{"filename":"src/io/util/take.rs","begin":[9,1],"end":[20,2]},"visibility":"public","docs":"Stream for the [`take`](super::AsyncReadExt::take) method.","links":{"super::AsyncReadExt::take":1544},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"must_use":{"reason":"streams do nothing unless you `.await` or poll them"}},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2018,2019,625,582]}}},"5869":{"id":5869,"crate_id":0,"name":"try_write","span":{"filename":"src/sync/rwlock.rs","begin":[985,5],"end":[1012,6]},"visibility":"public","docs":"Attempts to acquire this `RwLock` with exclusive write access.\n\nIf the access couldn't be acquired immediately, returns [`TryLockError`].\nOtherwise, an RAII guard is returned which will release write access\nwhen dropped.\n\n[`TryLockError`]: TryLockError\n\n# Examples\n\n```\nuse tokio::sync::RwLock;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet rw = RwLock::new(1);\n\nlet v = rw.read().await;\nassert_eq!(*v, 1);\n\nassert!(rw.try_write().is_err());\n# }\n```","links":{"TryLockError":5694},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6196":{"id":6196,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4434":{"id":4434,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"910":{"id":910,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2672":{"id":2672,"crate_id":0,"name":"bind","span":{"filename":"src/net/unix/socket.rs","begin":[153,5],"end":[156,6]},"visibility":"public","docs":"Binds the socket to the given address.\n\nThis calls the `bind(2)` operating-system function.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6523":{"id":6523,"crate_id":0,"name":"try_write_owned","span":{"filename":"src/sync/rwlock.rs","begin":[1044,5],"end":[1071,6]},"visibility":"public","docs":"Attempts to acquire this `RwLock` with exclusive write access.\n\nIf the access couldn't be acquired immediately, returns [`TryLockError`].\nOtherwise, an RAII guard is returned which will release write access\nwhen dropped.\n\nThis method is identical to [`RwLock::try_write`], except that the\nreturned guard references the `RwLock` with an [`Arc`] rather than by\nborrowing it. Therefore, the `RwLock` must be wrapped in an `Arc` to\ncall this method, and the guard will live for the `'static` lifetime,\nas it keeps the `RwLock` alive by holding an `Arc`.\n\n[`TryLockError`]: TryLockError\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::RwLock;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet rw = Arc::new(RwLock::new(1));\n\nlet v = Arc::clone(&rw).read_owned().await;\nassert_eq!(*v, 1);\n\nassert!(rw.try_write_owned().is_err());\n# }\n```","links":{"TryLockError":5694,"`RwLock::try_write`":5869,"`Arc`":2509},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2999":{"id":2999,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/pipe.rs","begin":[128,1],"end":[280,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[2993,2997,2998,2994,2995],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1237":{"id":1237,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6850":{"id":6850,"crate_id":0,"name":"clone","span":{"filename":"src/sync/watch.rs","begin":[202,5],"end":[208,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5088":{"id":5088,"crate_id":0,"name":"TryRecvError","span":{"filename":"src/sync/broadcast.rs","begin":[326,5],"end":[350,6]},"visibility":"public","docs":"An error returned from the [`try_recv`] function on a [`Receiver`].\n\n[`try_recv`]: crate::sync::broadcast::Receiver::try_recv\n[`Receiver`]: crate::sync::broadcast::Receiver","links":{"crate::sync::broadcast::Receiver":5051,"crate::sync::broadcast::Receiver::try_recv":5086},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[],"where_predicates":[]},"has_stripped_variants":false,"variants":[5083,5084,5087],"impls":[5089,5090,5091,5092,5093,5094,5095,5096,5097,5098,5099,5100,5101,5102,5103,5104,5105,5106,5107,5109,5110,5112,5113,5115,5117,5118]}}},"3326":{"id":3326,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5415":{"id":5415,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7177":{"id":7177,"crate_id":0,"name":"spawn","span":{"filename":"src/task/join_set.rs","begin":[722,5],"end":[729,6]},"visibility":"public","docs":"Spawn the provided task with this builder's settings and store it in the\n[`JoinSet`], returning an [`AbortHandle`] that can be used to remotely\ncancel the task.\n\n# Returns\n\nAn [`AbortHandle`] that can be used to remotely cancel the task.\n\n# Panics\n\nThis method panics if called outside of a Tokio runtime.\n\n[`AbortHandle`]: crate::task::AbortHandle","links":{"crate::task::AbortHandle":3723,"`JoinSet`":3724},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["future",{"generic":"F"}]],"output":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Output","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7504":{"id":7504,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5742":{"id":5742,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2218":{"id":2218,"crate_id":0,"name":"nodelay","span":{"filename":"src/net/tcp/socket.rs","begin":[518,5],"end":[520,6]},"visibility":"public","docs":"Gets the value of the `TCP_NODELAY` option on this socket.\n\nFor more information about this option, see [`set_nodelay`].\n\n[`set_nodelay`]: TcpSocket::set_nodelay\n\n# Examples\n\n```no_run\nuse tokio::net::TcpSocket;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet socket = TcpSocket::new_v4()?;\n\nprintln!(\"{:?}\", socket.nodelay()?);\n# Ok(())\n# }\n```","links":{"TcpSocket::set_nodelay":2217},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"bool"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3980":{"id":3980,"crate_id":0,"name":"metrics_poll_count_histogram_scale","span":{"filename":"src/runtime/builder.rs","begin":[1468,9],"end":[1471,10]},"visibility":"public","docs":"Sets the histogram scale for tracking the distribution of task poll\ntimes.\n\nTracking the distribution of task poll times can be done using a\nlinear or log scale. When using linear scale, each histogram bucket\nwill represent the same range of poll times. When using log scale,\neach histogram bucket will cover a range twice as big as the\nprevious bucket.\n\n**Default:** linear scale.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::{self, HistogramScale};\n\n# #[allow(deprecated)]\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_metrics_poll_time_histogram()\n    .metrics_poll_count_histogram_scale(HistogramScale::Log)\n    .build()\n    .unwrap();\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1598) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":{"since":null,"note":"use `metrics_poll_time_histogram_configuration`"},"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["histogram_scale",{"resolved_path":{"path":"crate::runtime::HistogramScale","id":3981,"args":null}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6069":{"id":6069,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4307":{"id":4307,"crate_id":0,"name":null,"span":{"filename":"src/runtime/handle.rs","begin":[10,17],"end":[10,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[4306],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2545":{"id":2545,"crate_id":0,"name":"set_broadcast","span":{"filename":"src/net/udp.rs","begin":[1909,5],"end":[1911,6]},"visibility":"public","docs":"Sets the value of the `SO_BROADCAST` option for this socket.\n\nWhen enabled, this socket is allowed to send packets to a broadcast\naddress.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["on",{"primitive":"bool"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"783":{"id":783,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/util/buf_writer.rs","begin":[198,5],"end":[200,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2872":{"id":2872,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4634":{"id":4634,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6723":{"id":6723,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1437":{"id":1437,"crate_id":0,"name":"reader_mut","span":{"filename":"src/io/join.rs","begin":[53,5],"end":[55,6]},"visibility":"public","docs":"Returns a mutable reference to the inner reader.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"R"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7050":{"id":7050,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3526":{"id":3526,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1764":{"id":1764,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5288":{"id":5288,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5615":{"id":5615,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3853":{"id":3853,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2091":{"id":2091,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[271,28],"end":[271,33]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:233:19: 233:37 (#214) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"stdin::Stdin","name":"Stdin","id":599,"is_glob":false}}},"7377":{"id":7377,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[165,1],"end":[171,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Add","id":7378,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Duration","id":2215,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[7375,7376],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4180":{"id":4180,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/dump.rs","begin":[111,17],"end":[111,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2418":{"id":2418,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"656":{"id":656,"crate_id":0,"name":"poll_read","span":{"filename":"src/process/mod.rs","begin":[1590,5],"end":[1596,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5942":{"id":5942,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"983":{"id":983,"crate_id":0,"name":"WRITE_CLOSED","span":{"filename":"src/io/ready.rs","begin":[37,5],"end":[37,57]},"visibility":"public","docs":"Returns a `Ready` representing write closed readiness.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}},"value":"_","default_unstable":null}}},"2745":{"id":2745,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4834":{"id":4834,"crate_id":0,"name":"fmt","span":{"filename":"src/signal/unix.rs","begin":[369,10],"end":[369,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3072":{"id":3072,"crate_id":0,"name":"try_read_buf","span":{"filename":"src/net/unix/pipe.rs","begin":[1411,9],"end":[1429,10]},"visibility":"public","docs":"Tries to read data from the pipe into the provided buffer, advancing the\nbuffer's internal cursor, returning how many bytes were read.\n\nReads any pending data from the pipe but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_buf()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: Self::readable\n[`ready()`]: Self::ready\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the pipe's writing end is\nclosed and will no longer write data. If the pipe is not ready to read\ndata `Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Notes\n\nTo avoid unnecessary syscalls, this will only attempt the read\noperation if the OS has informed Tokio that this pipe has become\nreadable. Because of this, `try_read_buf()` may fail with a\n[`WouldBlock`] error if Tokio has not yet heard from the OS that\nthis pipe has become readable.\n\n# Examples\n\n```no_run\nuse tokio::net::unix::pipe;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Open a reading end of a fifo\n    let rx = pipe::OpenOptions::new().open_receiver(\"path/to/a/fifo\")?;\n\n    loop {\n        // Wait for the pipe to be readable\n        rx.readable().await?;\n\n        let mut buf = Vec::with_capacity(4096);\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match rx.try_read_buf(&mut buf) {\n            Ok(0) => break,\n            Ok(n) => {\n                println!(\"read {} bytes\", n);\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```\n\n[`WouldBlock`]: std::io::ErrorKind::WouldBlock","links":{"Self::ready":3067,"Self::readable":3066,"std::io::ErrorKind::WouldBlock":1116},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#543) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"B","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"BufMut","id":919,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1310":{"id":1310,"crate_id":0,"name":null,"span":{"filename":"src/io/stderr.rs","begin":[37,14],"end":[37,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[1309],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6596":{"id":6596,"crate_id":0,"name":"eq","span":{"filename":"src/sync/once_cell.rs","begin":[97,5],"end":[99,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6923":{"id":6923,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5161":{"id":5161,"crate_id":0,"name":"upgrade","span":{"filename":"src/sync/broadcast.rs","begin":[1111,5],"end":[1133,6]},"visibility":"public","docs":"Tries to convert a `WeakSender` into a [`Sender`].\n\nThis will return `Some` if there are other `Sender` instances alive and\nthe channel wasn't previously dropped, otherwise `None` is returned.","links":{"`Sender`":5023},"attrs":[{"must_use":{"reason":null}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1637":{"id":1637,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7250":{"id":7250,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[320,44],"end":[320,50]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"crate::runtime::task::try_id","name":"try_id","id":3725,"is_glob":false}}},"3726":{"id":3726,"crate_id":0,"name":"id","span":{"filename":"src/runtime/task/id.rs","begin":[45,1],"end":[47,2]},"visibility":"public","docs":"Returns the [`Id`] of the currently running task.\n\n# Panics\n\nThis function panics if called from outside a task. Please note that calls\nto `block_on` do not have task IDs, so the method will panic if called from\nwithin a call to `block_on`. For a version of this function that doesn't\npanic, see [`task::try_id()`](crate::runtime::task::try_id()).\n\n[task ID]: crate::task::Id","links":{"crate::runtime::task::try_id()":3725,"`Id`":3692,"crate::task::Id":3692},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Id","id":3692,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5488":{"id":5488,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"202":{"id":202,"crate_id":0,"name":"AsyncReadExt","span":{"filename":"src/io/util/async_read_ext.rs","begin":[65,5],"end":[1451,6]},"visibility":"public","docs":"Reads bytes from a source.\n\nImplemented as an extension trait, adding utility methods to all\n[`AsyncRead`] types. Callers will tend to import this trait instead of\n[`AsyncRead`].\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::fs::File;\nuse tokio::io::{self, AsyncReadExt};\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut f = File::open(\"foo.txt\").await?;\n    let mut buffer = [0; 10];\n\n    // The `read` method is defined by this trait.\n    let n = f.read(&mut buffer[..]).await?;\n\n    Ok(())\n}\n# }\n```\n\nSee [module][crate::io] documentation for more details.\n\n[`AsyncRead`]: AsyncRead","links":{"crate::io":1545,"AsyncRead":224},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#262) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":false,"items":[1489,1484,1492,1495,1497,1499,1501,1503,1505,1507,1509,1511,1513,1515,1517,1519,1521,1523,1525,1527,1529,1531,1533,1535,1537,1539,206,1542,1544],"generics":{"params":[],"where_predicates":[]},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"implementations":[1546]}}},"7577":{"id":7577,"crate_id":0,"name":null,"span":{"filename":"src/util/rand.rs","begin":[15,10],"end":[15,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[allow(unreachable_pub)]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[7576],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5815":{"id":5815,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2291":{"id":2291,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4053":{"id":4053,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4380":{"id":4380,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6142":{"id":6142,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/batch_semaphore.rs","begin":[51,10],"end":[51,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"856":{"id":856,"crate_id":0,"name":"Sender","span":{"filename":"src/net/unix/pipe.rs","begin":[365,1],"end":[367,2]},"visibility":"public","docs":"Writing end of a Unix pipe.\n\nIt can be constructed from a FIFO file with [`OpenOptions::open_sender`].\n\nOpening a named pipe for writing involves a few steps.\nCall to [`OpenOptions::open_sender`] might fail with an error indicating\ndifferent things:\n\n* [`io::ErrorKind::NotFound`] - There is no file at the specified path.\n* [`io::ErrorKind::InvalidInput`] - The file exists, but it is not a FIFO.\n* [`ENXIO`] - The file is a FIFO, but no process has it open for reading.\n  Sleep for a while and try again.\n* Other OS errors not specific to opening FIFO files.\n\nOpening a `Sender` from a FIFO file should look like this:\n\n```no_run\nuse tokio::net::unix::pipe;\nuse tokio::time::{self, Duration};\n\nconst FIFO_NAME: &str = \"path/to/a/fifo\";\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\n// Wait for a reader to open the file.\nlet tx = loop {\n    match pipe::OpenOptions::new().open_sender(FIFO_NAME) {\n        Ok(tx) => break tx,\n        Err(e) if e.raw_os_error() == Some(libc::ENXIO) => {},\n        Err(e) => return Err(e.into()),\n    }\n\n    time::sleep(Duration::from_millis(50)).await;\n};\n# Ok(())\n# }\n```\n\nOn Linux, it is possible to create a `Sender` without waiting in a sleeping\nloop. This is done by opening a named pipe in read-write access mode with\n`OpenOptions::read_write`. This way, a `Sender` can at the same time hold\nboth a writing end and a reading end, and the latter allows to open a FIFO\nwithout [`ENXIO`] error since the pipe is open for reading as well.\n\n`Sender` cannot be used to read from a pipe, so in practice the read access\nis only used when a FIFO is opened. However, using a `Sender` in read-write\nmode **may lead to lost data**, because written data will be dropped by the\nsystem as soon as all pipe ends are closed. To avoid lost data you have to\nmake sure that a reading end has been opened before dropping a `Sender`.\n\nNote that using read-write access mode with FIFO files is not defined by\nthe POSIX standard and it is only guaranteed to work on Linux.\n\n```ignore\nuse tokio::io::AsyncWriteExt;\nuse tokio::net::unix::pipe;\n\nconst FIFO_NAME: &str = \"path/to/a/fifo\";\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet mut tx = pipe::OpenOptions::new()\n    .read_write(true)\n    .open_sender(FIFO_NAME)?;\n\n// Asynchronously write to the pipe before a reader.\ntx.write_all(b\"hello world\").await?;\n# Ok(())\n# }\n```\n\n[`ENXIO`]: https://docs.rs/libc/latest/libc/constant.ENXIO.html","links":{"`io::ErrorKind::InvalidInput`":332,"`OpenOptions::open_sender`":2995,"`io::ErrorKind::NotFound`":329},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[3037,3038,3039,3040,3041,3042,3043,3044,3045,3046,3047,3048,3049,3050,3051,3052,3053,3054,3056,855,3058,3060]}}},"6469":{"id":6469,"crate_id":0,"name":"drop","span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[445,5],"end":[456,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4707":{"id":4707,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1183":{"id":1183,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5034":{"id":5034,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3272":{"id":3272,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6796":{"id":6796,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7123":{"id":7123,"crate_id":0,"name":"is_empty","span":{"filename":"src/task/join_set.rs","begin":[94,5],"end":[96,6]},"visibility":"public","docs":"Returns whether the `JoinSet` is empty.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1837":{"id":1837,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3599":{"id":3599,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5688":{"id":5688,"crate_id":0,"name":"new","span":{"filename":"src/sync/mutex.rs","begin":[338,5],"end":[375,6]},"visibility":"public","docs":"Creates a new lock in an unlocked state ready for use.\n\n# Examples\n\n```\nuse tokio::sync::Mutex;\n\nlet lock = Mutex::new(5);\n```","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["t",{"generic":"T"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7450":{"id":7450,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"402":{"id":402,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2164":{"id":2164,"crate_id":0,"name":"ttl","span":{"filename":"src/net/tcp/listener.rs","begin":[359,5],"end":[361,6]},"visibility":"public","docs":"Gets the value of the `IP_TTL` option for this socket.\n\nFor more information about this option, see [`set_ttl`].\n\n[`set_ttl`]: method@Self::set_ttl\n\n# Examples\n\n```no_run\nuse tokio::net::TcpListener;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n   let listener = TcpListener::bind(\"127.0.0.1:0\").await?;\n\n   listener.set_ttl(100).expect(\"could not set TTL\");\n   assert_eq!(listener.ttl()?, 100);\n\n   Ok(())\n}\n```","links":{"method@Self::set_ttl":2163},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u32"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6015":{"id":6015,"crate_id":0,"name":"clone","span":{"filename":"src/sync/oneshot.rs","begin":[347,36],"end":[347,41]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2491":{"id":2491,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/stream.rs","begin":[1553,5],"end":[1557,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#495) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#495) }], src/macros/cfg.rs:42:26: 42:39 (#495)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#495) }], src/macros/cfg.rs:42:22: 42:49 (#495))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawSocket","id":2194,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[2490],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"729":{"id":729,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[335,5],"end":[341,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4253":{"id":4253,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6342":{"id":6342,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[415,1],"end":[421,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Deref","id":550,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6340,6341],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4580":{"id":4580,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1056":{"id":1056,"crate_id":0,"name":"new_for_lio","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[137,5],"end":[139,6]},"visibility":"public","docs":"Creates a new `Aio` suitable for use with [`lio_listio`].\n\nIt will be associated with the default reactor.  The runtime is usually\nset implicitly when this function is called from a future driven by a\nTokio runtime, otherwise runtime can be set explicitly with\n[`Runtime::enter`](crate::runtime::Runtime::enter) function.\n\n[`lio_listio`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/lio_listio.html","links":{"crate::runtime::Runtime::enter":1054},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["io",{"generic":"E"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2818":{"id":2818,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6669":{"id":6669,"crate_id":0,"name":"default","span":{"filename":"src/sync/set_once.rs","begin":[98,5],"end":[100,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3145":{"id":3145,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4907":{"id":4907,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5234":{"id":5234,"crate_id":0,"name":"send_timeout","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[988,5],"end":[1005,6]},"visibility":"public","docs":"Sends a value, waiting until there is capacity, but only for a limited time.\n\nShares the same success and error conditions as [`send`], adding one more\ncondition for an unsuccessful send, which is when the provided timeout has\nelapsed, and there is no capacity available.\n\n[`send`]: Sender::send\n\n# Errors\n\nIf the receive half of the channel is closed, either due to [`close`]\nbeing called or the [`Receiver`] having been dropped,\nthe function returns an error. The error includes the value passed to `send`.\n\n[`close`]: Receiver::close\n[`Receiver`]: Receiver\n\n# Panics\n\nThis function panics if it is called outside the context of a Tokio\nruntime [with time enabled](crate::runtime::Builder::enable_time).\n\n# Examples\n\nIn the following example, each call to `send_timeout` will block until the\npreviously sent value was received, unless the timeout has elapsed.\n\n```rust\nuse tokio::sync::mpsc;\nuse tokio::time::{sleep, Duration};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(1);\n\ntokio::spawn(async move {\n    for i in 0..10 {\n        if let Err(e) = tx.send_timeout(i, Duration::from_millis(100)).await {\n            println!(\"send error: #{:?}\", e);\n            return;\n        }\n    }\n});\n\nwhile let Some(i) = rx.recv().await {\n    println!(\"got = {}\", i);\n    sleep(Duration::from_millis(200)).await;\n}\n# }\n```","links":{"Receiver::close":5225,"Sender::send":5229,"Receiver":5226,"crate::runtime::Builder::enable_time":3990},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"time\"), span: src/sync/mpsc/bounded.rs:986:11: 986:27 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["value",{"generic":"T"}],["timeout",{"resolved_path":{"path":"Duration","id":2215,"args":null}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3472":{"id":3472,"crate_id":0,"name":"from","span":{"filename":"src/process/mod.rs","begin":[1096,5],"end":[1101,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["std",{"resolved_path":{"path":"StdCommand","id":3415,"args":null}}]],"output":{"resolved_path":{"path":"Command","id":3420,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1710":{"id":1710,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7323":{"id":7323,"crate_id":0,"name":"from","span":{"filename":"src/time/error.rs","begin":[120,5],"end":[122,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["_err",{"resolved_path":{"path":"Elapsed","id":7296,"args":null}}]],"output":{"resolved_path":{"path":"std::io::Error","id":262,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5561":{"id":5561,"crate_id":0,"name":"from","span":{"filename":"src/sync/mpsc/error.rs","begin":[73,5],"end":[75,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["src",{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3799":{"id":3799,"crate_id":0,"name":"spawn","span":{"filename":"src/task/spawn.rs","begin":[174,5],"end":[185,6]},"visibility":"public","docs":"Spawns a new asynchronous task, returning a\n[`JoinHandle`] for it.\n\nThe provided future will start running in the background immediately\nwhen `spawn` is called, even if you don't await the returned\n[`JoinHandle`].\n\nSpawning a task enables the task to execute concurrently to other tasks. The\nspawned task may execute on the current thread, or it may be sent to a\ndifferent thread to be executed. The specifics depend on the current\n[`Runtime`](crate::runtime::Runtime) configuration. In a\n[running runtime][running-runtime], the task will start immediately in the\nbackground. On a blocked runtime, the user must drive the runtime forward (for\nexample, by calling [`Runtime::block_on`](crate::runtime::Runtime::block_on)).\n\nIt is guaranteed that spawn will not synchronously poll the task being spawned.\nThis means that calling spawn while holding a lock does not pose a risk of\ndeadlocking with the spawned task.\n\nThere is no guarantee that a spawned task will execute to completion.\nWhen a runtime is shutdown, all outstanding tasks are dropped,\nregardless of the lifecycle of that task.\n\nThis function must be called from the context of a Tokio runtime. Tasks running on\nthe Tokio runtime are always inside its context, but you can also enter the context\nusing the [`Runtime::enter`](crate::runtime::Runtime::enter()) method.\n\n[running-runtime]: ../runtime/index.html#driving-the-runtime\n\n# Examples\n\nIn this example, a server is started and `spawn` is used to start a new task\nthat processes each received connection.\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::net::{TcpListener, TcpStream};\n\nuse std::io;\n\nasync fn process(socket: TcpStream) {\n    // ...\n# drop(socket);\n}\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let listener = TcpListener::bind(\"127.0.0.1:8080\").await?;\n\n    loop {\n        let (socket, _) = listener.accept().await?;\n\n        tokio::spawn(async move {\n            // Process each socket concurrently.\n            process(socket).await\n        });\n    }\n}\n# }\n```\n\nTo run multiple tasks in parallel and receive their results, join\nhandles can be stored in a vector.\n```\n# #[tokio::main(flavor = \"current_thread\")] async fn main() {\nasync fn my_background_op(id: i32) -> String {\n    let s = format!(\"Starting background task {}.\", id);\n    println!(\"{}\", s);\n    s\n}\n\nlet ops = vec![1, 2, 3];\nlet mut tasks = Vec::with_capacity(ops.len());\nfor op in ops {\n    // This call will make them start running in the background\n    // immediately.\n    tasks.push(tokio::spawn(my_background_op(op)));\n}\n\nlet mut outputs = Vec::with_capacity(tasks.len());\nfor task in tasks {\n    outputs.push(task.await.unwrap());\n}\nprintln!(\"{:?}\", outputs);\n# }\n```\nThis example pushes the tasks to `outputs` in the order they were\nstarted in. If you do not care about the ordering of the outputs, then\nyou can also use a [`JoinSet`].\n\n[`JoinSet`]: struct@crate::task::JoinSet\n\n# Panics\n\nPanics if called from **outside** of the Tokio runtime.\n\n# Using `!Send` values from a task\n\nThe task supplied to `spawn` must implement `Send`. However, it is\npossible to **use** `!Send` values from the task as long as they only\nexist between calls to `.await`.\n\nFor example, this will work:\n\n```\nuse tokio::task;\n\nuse std::rc::Rc;\n\nfn use_rc(rc: Rc<()>) {\n    // Do stuff w/ rc\n# drop(rc);\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\ntokio::spawn(async {\n    // Force the `Rc` to stay in a scope with no `.await`\n    {\n        let rc = Rc::new(());\n        use_rc(rc.clone());\n    }\n\n    task::yield_now().await;\n}).await.unwrap();\n# }\n```\n\nThis will **not** work:\n\n```compile_fail\nuse tokio::task;\n\nuse std::rc::Rc;\n\nfn use_rc(rc: Rc<()>) {\n    // Do stuff w/ rc\n# drop(rc);\n}\n\n#[tokio::main]\nasync fn main() {\n    tokio::spawn(async {\n        let rc = Rc::new(());\n\n        task::yield_now().await;\n\n        use_rc(rc.clone());\n    }).await.unwrap();\n}\n```\n\nHolding on to a `!Send` value across calls to `.await` will result in\nan unfriendly compile error message similar to:\n\n```text\n`[... some type ...]` cannot be sent between threads safely\n```\n\nor:\n\n```text\nerror[E0391]: cycle detected when processing `main`\n```","links":{"crate::runtime::Runtime":3112,"crate::runtime::Runtime::enter()":1054,"crate::runtime::Runtime::block_on":3968,"`JoinHandle`":3722,"struct@crate::task::JoinSet":3724},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4207) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["future",{"generic":"F"}]],"output":{"resolved_path":{"path":"crate::task::JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5888":{"id":5888,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[292,10],"end":[292,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[5887],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4126":{"id":4126,"crate_id":0,"name":"lineno","span":{"filename":"src/runtime/dump.rs","begin":[96,5],"end":[98,6]},"visibility":"public","docs":"Returns the line number for where this symbol is currently executing.\n\nIf debuginfo is missing, this is likely to return `None`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u32"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"602":{"id":602,"crate_id":0,"name":"ReadHalf","span":{"filename":"src/io/split.rs","begin":[18,5],"end":[20,6]},"visibility":"public","docs":"The readable half of a value returned from [`split`](split()).","links":{"split()":1385},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#227) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1388,1389,1390,1391,1392,1393,1394,1395,1396,1397,1398,1399,1400,1401,1402,1403,601,1404,1405,1407]}}},"2364":{"id":2364,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4453":{"id":4453,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2691":{"id":2691,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"929":{"id":929,"crate_id":0,"name":"ERROR","span":{"filename":"src/io/interest.rs","begin":[66,5],"end":[66,49]},"visibility":"public","docs":"Interest in error events.\n\nPasses error interest to the underlying OS selector.\nBehavior is platform-specific, read your platform's documentation.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"resolved_path":{"path":"Interest","id":924,"args":null}},"value":"_","default_unstable":null}}},"6215":{"id":6215,"crate_id":0,"name":"merge","span":{"filename":"src/sync/semaphore.rs","begin":[1061,5],"end":[1068,6]},"visibility":"public","docs":"Merge two [`SemaphorePermit`] instances together, consuming `other`\nwithout releasing the permits it holds.\n\nPermits held by both `self` and `other` are released when `self` drops.\n\n# Panics\n\nThis function panics if permits from different [`Semaphore`] instances\nare merged.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::Semaphore;\n\nlet sem = Arc::new(Semaphore::new(10));\nlet mut permit = sem.try_acquire().unwrap();\n\nfor _ in 0..9 {\n    let _permit = sem.try_acquire().unwrap();\n    // Merge individual permits into a single one.\n    permit.merge(_permit)\n}\n\nassert_eq!(sem.available_permits(), 0);\n\n// Release all permits in a single batch.\ndrop(permit);\n\nassert_eq!(sem.available_permits(), 10);\n```","links":{"`Semaphore`":5895,"`SemaphorePermit`":6181},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["other",{"generic":"Self"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6542":{"id":6542,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[148,1],"end":[148,60]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4780":{"id":4780,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1256":{"id":1256,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3018":{"id":3018,"crate_id":0,"name":"clone","span":{"filename":"src/net/unix/pipe.rs","begin":[121,10],"end":[121,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5107":{"id":5107,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3345":{"id":3345,"crate_id":0,"name":"mode","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2640,5],"end":[2640,23]},"visibility":"public","docs":"Indicates the mode of a named pipe.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}}}},"1583":{"id":1583,"crate_id":0,"name":"write_f32","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an 32-bit floating point type in big-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_f32(&mut self, n: f32) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite 32-bit floating point type to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_f32(f32::MIN).await?;\n\nassert_eq!(writer, vec![0xff, 0x7f, 0xff, 0xff]);\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"f32"}]],"output":{"resolved_path":{"path":"WriteF32","id":1584,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6869":{"id":6869,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7196":{"id":7196,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5434":{"id":5434,"crate_id":0,"name":"close","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[342,5],"end":[344,6]},"visibility":"public","docs":"Closes the receiving half of a channel, without dropping it.\n\nThis prevents any further messages from being sent on the channel while\nstill enabling the receiver to drain messages that are buffered.\n\nTo guarantee that no messages are dropped, after calling `close()`,\n`recv()` must be called until `None` is returned.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3999":{"id":3999,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2237":{"id":2237,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"475":{"id":475,"crate_id":0,"name":"try_exists","span":{"filename":"src/fs/try_exists.rs","begin":[25,1],"end":[56,2]},"visibility":"public","docs":"Returns `Ok(true)` if the path points at an existing entity.\n\nThis function will traverse symbolic links to query information about the\ndestination file. In case of broken symbolic links this will return `Ok(false)`.\n\nThis is the async equivalent of [`std::path::Path::try_exists`][std].\n\n[std]: fn@std::path::Path::try_exists\n\n# Examples\n\n```no_run\nuse tokio::fs;\n\n# async fn dox() -> std::io::Result<()> {\nfs::try_exists(\"foo.txt\").await?;\n# Ok(())\n# }\n```","links":{"fn@std::path::Path::try_exists":474},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"bool"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2564":{"id":2564,"crate_id":0,"name":"leave_multicast_v6","span":{"filename":"src/net/udp.rs","begin":[2278,5],"end":[2280,6]},"visibility":"public","docs":"Executes an operation of the `IPV6_DROP_MEMBERSHIP` type.\n\nFor more information about this option, see [`join_multicast_v6`].\n\n[`join_multicast_v6`]: method@Self::join_multicast_v6","links":{"method@Self::join_multicast_v6":2562},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["multiaddr",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Ipv6Addr","id":2142,"args":null}}}}],["interface",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"802":{"id":802,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/util/mem.rs","begin":[418,5],"end":[420,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4326":{"id":4326,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4653":{"id":4653,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6415":{"id":6415,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6742":{"id":6742,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/watch.rs","begin":[350,9],"end":[352,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3218":{"id":3218,"crate_id":0,"name":"access_system_security","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2153,5],"end":[2156,6]},"visibility":"public","docs":"Requests permission to modify the pipe's system access control list.\n\nThis corresponds to setting [`ACCESS_SYSTEM_SECURITY`] in dwOpenMode.\n\n[`ACCESS_SYSTEM_SECURITY`]: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["requested",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1456":{"id":1456,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4980":{"id":4980,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5307":{"id":5307,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1655,1],"end":[1659,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5306],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3545":{"id":3545,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1657,5],"end":[1657,30]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"super::ChildStdout","id":655,"args":null}},"items":[3544],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1783":{"id":1783,"crate_id":0,"name":null,"span":{"filename":"src/io/util/empty.rs","begin":[150,1],"end":[154,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[1782],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7069":{"id":7069,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7396":{"id":7396,"crate_id":0,"name":"Burst","span":{"filename":"src/time/interval.rs","begin":[235,5],"end":[235,10]},"visibility":"default","docs":"Ticks as fast as possible until caught up.\n\nWhen this strategy is used, [`Interval`] schedules ticks \"normally\" (the\nsame as it would have if the ticks hadn't been delayed), which results\nin it firing ticks as fast as possible until it is caught up in time to\nwhere it should be. Unlike [`Delay`] and [`Skip`], the ticks yielded\nwhen `Burst` is used (the [`Instant`]s that [`tick`](Interval::tick)\nyields) aren't different than they would have been if a tick had not\nbeen missed. Like [`Skip`], and unlike [`Delay`], the ticks may be\nshortened.\n\nThis looks something like this:\n```text\nExpected ticks: |     1     |     2     |     3     |     4     |     5     |     6     |\nActual ticks:   | work -----|          delay          | work | work | work -| work -----|\n```\n\nIn code:\n\n```\nuse tokio::time::{interval, Duration};\n# async fn task_that_takes_200_millis() {}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut interval = interval(Duration::from_millis(50));\n\n// First tick resolves immediately after creation\ninterval.tick().await;\n\ntask_that_takes_200_millis().await;\n// The `Interval` has missed a tick\n\n// Since we have exceeded our timeout, this will resolve immediately\ninterval.tick().await;\n\n// Since we are more than 100ms after the start of `interval`, this will\n// also resolve immediately.\ninterval.tick().await;\n\n// Also resolves immediately, because it was supposed to resolve at\n// 150ms after the start of `interval`\ninterval.tick().await;\n\n// Resolves immediately\ninterval.tick().await;\n\n// Since we have gotten to 200ms after the start of `interval`, this\n// will resolve after 50ms\ninterval.tick().await;\n# }\n```\n\nThis is the default behavior when [`Interval`] is created with\n[`interval`] and [`interval_at`].\n\n[`Delay`]: MissedTickBehavior::Delay\n[`Skip`]: MissedTickBehavior::Skip","links":{"MissedTickBehavior::Delay":7401,"`Interval`":7394,"`Instant`":7328,"Interval::tick":7399,"`interval_at`":7398,"`interval`":7400,"MissedTickBehavior::Skip":7402},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"3872":{"id":3872,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2110":{"id":2110,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[286,145],"end":[286,157]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::AsyncSeekExt","name":"AsyncSeekExt","id":238,"is_glob":false}}},"348":{"id":348,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5634":{"id":5634,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[135,5],"end":[143,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:583:19: 583:35 (#2155) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5633],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5961":{"id":5961,"crate_id":0,"name":"enable","span":{"filename":"src/sync/notify.rs","begin":[1056,5],"end":[1058,6]},"visibility":"public","docs":"Adds this future to the list of futures that are ready to receive\nwakeups from calls to [`notify_one`].\n\nSee [`Notified::enable`] for more details.\n\n[`notify_one`]: Notify::notify_one()","links":{"Notify::notify_one()":5897,"`Notified::enable`":5901},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4199":{"id":4199,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"675":{"id":675,"crate_id":0,"name":"poll_complete","span":{"filename":"src/io/async_seek.rs","begin":[95,5],"end":[97,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u64"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2437":{"id":2437,"crate_id":0,"name":"local_addr","span":{"filename":"src/net/tcp/stream.rs","begin":[299,5],"end":[301,6]},"visibility":"public","docs":"Returns the local address that this stream is bound to.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\nprintln!(\"{:?}\", stream.local_addr()?);\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6288":{"id":6288,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2764":{"id":2764,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split.rs","begin":[327,1],"end":[331,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[2763],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1002":{"id":1002,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4526":{"id":4526,"crate_id":0,"name":"blocking_queue_depth","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[571,9],"end":[573,10]},"visibility":"public","docs":"Returns the number of tasks currently scheduled in the blocking\nthread pool, spawned using `spawn_blocking`.\n\nThis metric returns the **current** number of tasks pending in\nblocking thread pool. As such, the returned value may increase\nor decrease as new tasks are scheduled and processed.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.blocking_queue_depth();\nprintln!(\"{} tasks currently pending in the blocking thread pool\", n);\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1689) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6615":{"id":6615,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4853":{"id":4853,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1329":{"id":1329,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3091":{"id":3091,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6942":{"id":6942,"crate_id":0,"name":"has_budget_remaining","span":{"filename":"src/task/coop/mod.rs","begin":[223,1],"end":[227,2]},"visibility":"public","docs":" Returns `true` if there is still budget left on the task.\n\n # Examples\n\n This example defines a `Timeout` future that requires a given `future` to complete before the\n specified duration elapses. If it does, its result is returned; otherwise, an error is returned\n and the future is canceled.\n\n Note that the future could exhaust the budget before we evaluate the timeout. Using `has_budget_remaining`,\n we can detect this scenario and ensure the timeout is always checked.\n\n ```\n # use std::future::Future;\n # use std::pin::{pin, Pin};\n # use std::task::{ready, Context, Poll};\n # use tokio::task::coop;\n # use tokio::time::Sleep;\n pub struct Timeout<T> {\n     future: T,\n     delay: Pin<Box<Sleep>>,\n }\n\n impl<T> Future for Timeout<T>\n where\n     T: Future + Unpin,\n {\n     type Output = Result<T::Output, ()>;\n\n     fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {\n         let this = Pin::into_inner(self);\n         let future = Pin::new(&mut this.future);\n         let delay = Pin::new(&mut this.delay);\n\n         // check if the future is ready\n         let had_budget_before = coop::has_budget_remaining();\n         if let Poll::Ready(v) = future.poll(cx) {\n             return Poll::Ready(Ok(v));\n         }\n         let has_budget_now = coop::has_budget_remaining();\n\n         // evaluate the timeout\n         if let (true, false) = (had_budget_before, has_budget_now) {\n             // it is the underlying future that exhausted the budget\n             ready!(pin!(coop::unconstrained(delay)).poll(cx));\n         } else {\n             ready!(delay.poll(cx));\n         }\n         return Poll::Ready(Err(()));\n     }\n }\n```","links":{},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[attr = Inline(Always)]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3418":{"id":3418,"crate_id":0,"name":"output","span":{"filename":"src/process/mod.rs","begin":[1065,5],"end":[1072,6]},"visibility":"public","docs":"Executes the command as a child process, waiting for it to finish and\ncollecting all of its output.\n\n> **Note**: this method, unlike the standard library, will\n> unconditionally configure the stdout/stderr handles to be pipes, even\n> if they have been previously configured. If this is not desired then\n> the `spawn` method should be used in combination with the\n> `wait_with_output` method on child.\n\nThis method will return a future representing the collection of the\nchild process's stdout/stderr. It will resolve to\nthe `Output` type in the standard library, containing `stdout` and\n`stderr` as `Vec<u8>` along with an `ExitStatus` representing how the\nprocess exited.\n\nAll I/O this child does will be associated with the current default\nevent loop.\n\nThe destructor of the future returned by this function will kill\nthe child if [`kill_on_drop`] is set to true.\n\n[`kill_on_drop`]: fn@Self::kill_on_drop\n\n# Errors\n\nThis future will return an error if the child process cannot be spawned\nor if there is an error while awaiting its status.\n\nOn Unix platforms this method will fail with `std::io::ErrorKind::WouldBlock`\nif the system process limit is reached (which includes other applications\nrunning on the system).\n# Examples\n\nBasic usage:\n\n```no_run\nuse tokio::process::Command;\n\nasync fn run_ls() {\n    let output: std::process::Output = Command::new(\"ls\")\n        .output()\n        .await\n        .expect(\"ls command failed to run\");\n    println!(\"stderr of ls: {:?}\", output.stderr);\n}\n```","links":{"fn@Self::kill_on_drop":3424},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"impl_trait":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Output","args":null,"binding":{"equality":{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Output","id":3451,"args":null}}}],"constraints":[]}}}}}}}]}}},"generic_params":[],"modifier":"none"}}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1656":{"id":1656,"crate_id":0,"name":"get_pin_mut","span":{"filename":"src/io/util/buf_stream.rs","begin":[69,5],"end":[71,6]},"visibility":"public","docs":"Gets a pinned mutable reference to the underlying I/O object.\n\nIt is inadvisable to directly read from the underlying I/O object.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"RW"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5180":{"id":5180,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7269":{"id":7269,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5507":{"id":5507,"crate_id":0,"name":"sender_strong_count","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[519,5],"end":[521,6]},"visibility":"public","docs":"Returns the number of [`UnboundedSender`] handles.","links":{"`UnboundedSender`":5433},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1983":{"id":1983,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"221":{"id":221,"crate_id":0,"name":"try_into_std","span":{"filename":"src/fs/file.rs","begin":[518,5],"end":[526,6]},"visibility":"public","docs":"Tries to immediately destructure `File` into a [`std::fs::File`].\n\n# Errors\n\nThis function will return an error containing the file if some\noperation is in-flight.\n\n# Examples\n\n```no_run\nuse tokio::fs::File;\n\n# async fn dox() -> std::io::Result<()> {\nlet tokio_file = File::open(\"foo.txt\").await?;\nlet std_file = tokio_file.try_into_std().unwrap();\n# Ok(())\n# }\n```","links":{"`std::fs::File`":198},"attrs":[{"other":"#[allow(clippy::result_large_err)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"StdFile","id":198,"args":null}}},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3745":{"id":3745,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7596":{"id":7596,"crate_id":0,"name":"from_raw_handle","span":{"filename":"src/doc/os.rs","begin":[26,13],"end":[26,66]},"visibility":"default","docs":"See [`std::os::windows::io::FromRawHandle::from_raw_handle`](https://doc.rust-lang.org/std/os/windows/io/trait.FromRawHandle.html#tymethod.from_raw_handle)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["handle",{"resolved_path":{"path":"RawHandle","id":290,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"4072":{"id":4072,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2310":{"id":2310,"crate_id":0,"name":"writable","span":{"filename":"src/net/tcp/split.rs","begin":[317,5],"end":[319,6]},"visibility":"public","docs":"Waits for the socket to become writable.\n\nThis function is equivalent to `ready(Interest::WRITABLE)` and is usually\npaired with `try_write()`.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"548":{"id":548,"crate_id":0,"name":null,"span":{"filename":"src/io/async_buf_read.rs","begin":[85,1],"end":[97,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"DerefMut","id":549,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"qualified_path":{"name":"Target","args":null,"self_type":{"generic":"P"},"trait":{"path":"","id":550,"args":null}}},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"AsyncBufRead","id":538,"args":null},"for":{"resolved_path":{"path":"std::pin::Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"generic":"P"}}],"constraints":[]}}}},"items":[546,547],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6161":{"id":6161,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2637":{"id":2637,"crate_id":0,"name":"take_error","span":{"filename":"src/net/unix/listener.rs","begin":[197,5],"end":[199,6]},"visibility":"public","docs":"Returns the value of the `SO_ERROR` option.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4399":{"id":4399,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6488":{"id":6488,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2964":{"id":2964,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6815":{"id":6815,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[1013,1],"end":[1022,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6814],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5053":{"id":5053,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1529":{"id":1529,"crate_id":0,"name":"read_u64_le","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an unsigned 64-bit integer in little-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_u64_le(&mut self) -> io::Result<u64>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead unsigned 64-bit little-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![\n    0x00, 0x03, 0x43, 0x95, 0x4d, 0x60, 0x86, 0x83\n]);\n\nassert_eq!(9477368352180732672, reader.read_u64_le().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadU64Le","id":1530,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3291":{"id":3291,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5380":{"id":5380,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3618":{"id":3618,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1717,5],"end":[1717,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(windows))]"},{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsHandle","id":296,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[3617],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1856":{"id":1856,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7142":{"id":7142,"crate_id":0,"name":"poll_join_next_with_id","span":{"filename":"src/task/join_set.rs","begin":[556,5],"end":[588,6]},"visibility":"public","docs":"Polls for one of the tasks in the set to complete.\n\nIf this returns `Poll::Ready(Some(_))`, then the task that completed is removed from the set.\n\nWhen the method returns `Poll::Pending`, the `Waker` in the provided `Context` is scheduled\nto receive a wakeup when a task in the `JoinSet` completes. Note that on multiple calls to\n`poll_join_next`, only the `Waker` from the `Context` passed to the most recent call is\nscheduled to receive a wakeup.\n\n# Returns\n\nThis function returns:\n\n * `Poll::Pending` if the `JoinSet` is not empty but there is no task whose output is\n   available right now.\n * `Poll::Ready(Some(Ok((id, value))))` if one of the tasks in this `JoinSet` has completed.\n   The `value` is the return value of one of the tasks that completed, and\n   `id` is the [task ID] of that task.\n * `Poll::Ready(Some(Err(err)))` if one of the tasks in this `JoinSet` has panicked or been\n   aborted. The `err` is the `JoinError` from the panicked/aborted task.\n * `Poll::Ready(None)` if the `JoinSet` is empty.\n\nNote that this method may return `Poll::Pending` even if one of the tasks has completed.\nThis can happen if the [coop budget] is reached.\n\n[coop budget]: crate::task::coop#cooperative-scheduling\n[task ID]: crate::task::Id","links":{"crate::task::Id":3692,"crate::task::coop#cooperative-scheduling":4759},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"resolved_path":{"path":"Id","id":3692,"args":null}},{"generic":"T"}]}},{"type":{"resolved_path":{"path":"JoinError","id":3686,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7469":{"id":7469,"crate_id":0,"name":"is_elapsed","span":{"filename":"src/time/sleep.rs","begin":[311,5],"end":[313,6]},"visibility":"public","docs":"Returns `true` if `Sleep` has elapsed.\n\nA `Sleep` instance is elapsed when the requested duration has elapsed.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5707":{"id":5707,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2183":{"id":2183,"crate_id":0,"name":"try_from","span":{"filename":"src/net/tcp/listener.rs","begin":[396,5],"end":[398,6]},"visibility":"default","docs":"Consumes stream, returning the tokio I/O object.\n\nThis is equivalent to\n[`TcpListener::from_std(stream)`](TcpListener::from_std).","links":{"TcpListener::from_std":2159},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["stream",{"resolved_path":{"path":"net::TcpListener","id":2160,"args":null}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}},{"type":{"qualified_path":{"name":"Error","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":169,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"421":{"id":421,"crate_id":0,"name":"file_type","span":{"filename":"src/fs/read_dir.rs","begin":[334,5],"end":[350,6]},"visibility":"public","docs":"Returns the file type for the file that this entry points at.\n\nThis function will not traverse symlinks if this entry points at a\nsymlink.\n\n# Platform-specific behavior\n\nOn Windows and most Unix platforms this function is free (no extra\nsystem calls needed), but some Unix platforms may require the equivalent\ncall to `symlink_metadata` to learn about the target file type.\n\n# Examples\n\n```\nuse tokio::fs;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut entries = fs::read_dir(\".\").await?;\n\nwhile let Some(entry) = entries.next_entry().await? {\n    if let Ok(file_type) = entry.file_type().await {\n        // Now let's show our entry's file type!\n        println!(\"{:?}: {:?}\", entry.path(), file_type);\n    } else {\n        println!(\"Couldn't get file type for {:?}\", entry.path());\n    }\n}\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"FileType","id":422,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3945":{"id":3945,"crate_id":0,"name":"enable_eager_driver_handoff","span":{"filename":"src/runtime/builder.rs","begin":[463,5],"end":[466,6]},"visibility":"public","docs":"Enable eager hand-off of the I/O and time drivers for multi-threaded\nruntimes, which is disabled by default.\n\nWhen this option is enabled, a worker thread which has parked on the I/O\nor time driver will notify another worker thread once it is preparing to\nbegin polling a task from the run queue, so that the notified worker can\nbegin polling the I/O or time driver. This can reduce the latency with\nwhich I/O and timer notifications are processed, especially when some\ntasks have polls that take a long time to complete. In addition, it can\nreduce the risk of a deadlock which may occur when a task blocks the\nworker thread which is holding the I/O or time driver until some other\ntask, which is waiting for a notification from *that* driver, unblocks\nit.\n\nThis option is disabled by default, as enabling it may potentially\nincrease contention due to extra synchronization in cross-driver\nwakeups.\n\nThis option only applies to multi-threaded runtimes. Attempting to use\nthis option with any other runtime type will have no effect.\n\n**Note**: This is an [unstable API][unstable]. Eager driver hand-off is\nan experimental feature whose behavior may be removed or changed in 1.x\nreleases. See [the documentation on unstable features][unstable] for\ndetails.\n\n[unstable]: crate#unstable-features","links":{"crate#unstable-features":3944},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/builder.rs:461:15: 461:29 (#0) }, NameValue { name: \"feature\", value: Some(\"rt-multi-thread\"), span: src/runtime/builder.rs:461:31: 461:58 (#0) }], src/runtime/builder.rs:461:14: 461:59 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, feature = \"rt-multi-thread\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6034":{"id":6034,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4272":{"id":4272,"crate_id":0,"name":"spawn","span":{"filename":"src/runtime/handle.rs","begin":[197,5],"end":[208,6]},"visibility":"public","docs":"Spawns a future onto the Tokio runtime.\n\nThis spawns the given future onto the runtime's executor, usually a\nthread pool. The thread pool is then responsible for polling the future\nuntil it completes.\n\nThe provided future will start running in the background immediately\nwhen `spawn` is called, even if you don't await the returned\n`JoinHandle` (assuming that the runtime [is running][running-runtime]).\n\nSee [module level][mod] documentation for more details.\n\n[mod]: index.html\n[running-runtime]: index.html#driving-the-runtime\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Runtime;\n\n# fn dox() {\n// Create the runtime\nlet rt = Runtime::new().unwrap();\n// Get a handle from this runtime\nlet handle = rt.handle();\n\n// Spawn a future onto the runtime using the handle\nhandle.spawn(async {\n    println!(\"now running on a worker thread\");\n});\n# }\n# }\n```","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["future",{"generic":"F"}]],"output":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"748":{"id":748,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/stderr.rs","begin":[142,5],"end":[147,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2510":{"id":2510,"crate_id":0,"name":"UdpSocket","span":{"filename":"src/net/udp.rs","begin":[122,5],"end":[124,6]},"visibility":"public","docs":"A UDP socket.\n\nUDP is \"connectionless\", unlike TCP. Meaning, regardless of what address you've bound to, a `UdpSocket`\nis free to communicate with many different remotes. In tokio there are basically two main ways to use `UdpSocket`:\n\n* one to many: [`bind`](`UdpSocket::bind`) and use [`send_to`](`UdpSocket::send_to`)\n  and [`recv_from`](`UdpSocket::recv_from`) to communicate with many different addresses\n* one to one: [`connect`](`UdpSocket::connect`) and associate with a single address, using [`send`](`UdpSocket::send`)\n  and [`recv`](`UdpSocket::recv`) to communicate only with that remote address\n\nThis type does not provide a `split` method, because this functionality\ncan be achieved by instead wrapping the socket in an [`Arc`]. Note that\nyou do not need a `Mutex` to share the `UdpSocket` — an `Arc<UdpSocket>`\nis enough. This is because all of the methods take `&self` instead of\n`&mut self`. Once you have wrapped it in an `Arc`, you can call\n`.clone()` on the `Arc<UdpSocket>` to get multiple shared handles to the\nsame socket. An example of such usage can be found further down.\n\n[`Arc`]: std::sync::Arc\n\n# Streams\n\nIf you need to listen over UDP and produce a [`Stream`], you can look\nat [`UdpFramed`].\n\n[`UdpFramed`]: https://docs.rs/tokio-util/latest/tokio_util/udp/struct.UdpFramed.html\n[`Stream`]: https://docs.rs/futures/0.3/futures/stream/trait.Stream.html\n\n# Example: one to many (bind)\n\nUsing `bind` we can create a simple echo server that sends and recv's with many different clients:\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let sock = UdpSocket::bind(\"0.0.0.0:8080\").await?;\n    let mut buf = [0; 1024];\n    loop {\n        let (len, addr) = sock.recv_from(&mut buf).await?;\n        println!(\"{:?} bytes received from {:?}\", len, addr);\n\n        let len = sock.send_to(&buf[..len], addr).await?;\n        println!(\"{:?} bytes sent\", len);\n    }\n}\n```\n\n# Example: one to one (connect)\n\nOr using `connect` we can echo with a single remote address using `send` and `recv`:\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let sock = UdpSocket::bind(\"0.0.0.0:8080\").await?;\n\n    let remote_addr = \"127.0.0.1:59611\";\n    sock.connect(remote_addr).await?;\n    let mut buf = [0; 1024];\n    loop {\n        let len = sock.recv(&mut buf).await?;\n        println!(\"{:?} bytes received from {:?}\", len, remote_addr);\n\n        let len = sock.send(&buf[..len]).await?;\n        println!(\"{:?} bytes sent\", len);\n    }\n}\n```\n\n# Example: Splitting with `Arc`\n\nBecause `send_to` and `recv_from` take `&self`. It's perfectly alright\nto use an `Arc<UdpSocket>` and share the references to multiple tasks.\nHere is a similar \"echo\" example that supports concurrent\nsending/receiving:\n\n```no_run\nuse tokio::{net::UdpSocket, sync::mpsc};\nuse std::{io, net::SocketAddr, sync::Arc};\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let sock = UdpSocket::bind(\"0.0.0.0:8080\".parse::<SocketAddr>().unwrap()).await?;\n    let r = Arc::new(sock);\n    let s = r.clone();\n    let (tx, mut rx) = mpsc::channel::<(Vec<u8>, SocketAddr)>(1_000);\n\n    tokio::spawn(async move {\n        while let Some((bytes, addr)) = rx.recv().await {\n            let len = s.send_to(&bytes, &addr).await.unwrap();\n            println!(\"{:?} bytes sent\", len);\n        }\n    });\n\n    let mut buf = [0; 1024];\n    loop {\n        let (len, addr) = r.recv_from(&mut buf).await?;\n        println!(\"{:?} bytes received from {:?}\", len, addr);\n        tx.send((buf[..len].to_vec(), addr)).await.unwrap();\n    }\n}\n```\n","links":{"`UdpSocket::send`":2507,"`UdpSocket::bind`":2503,"`UdpSocket::send_to`":2504,"`UdpSocket::recv`":2508,"`UdpSocket::recv_from`":2505,"`UdpSocket::connect`":2506,"std::sync::Arc":2509},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:336:19: 336:34 (#498) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[2566,2567,2568,2569,2570,2571,2572,2573,2574,2575,2576,2577,2578,2579,2580,2581,2582,2585,2587,2589,2591,2593,2595]}}},"6361":{"id":6361,"crate_id":0,"name":"rwlock","span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[180,5],"end":[182,6]},"visibility":"public","docs":"Returns a reference to the original `Arc<RwLock>`.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::{\n    RwLock,\n    OwnedRwLockWriteGuard,\n    OwnedRwLockMappedWriteGuard,\n};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(1));\n\nlet guard = lock.clone().write_owned().await;\nlet guard = OwnedRwLockWriteGuard::map(guard, |x| x);\nassert!(Arc::ptr_eq(&lock, OwnedRwLockMappedWriteGuard::rwlock(&guard)));\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2837":{"id":2837,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4599":{"id":4599,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[26,23],"end":[26,28]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[4598],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6688":{"id":6688,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4926":{"id":4926,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3164":{"id":3164,"crate_id":0,"name":"try_read_buf","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1392,9],"end":[1410,10]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffer, advancing the\nbuffer's internal cursor, returning how many bytes were read.\n\nReceives any pending data from the pipe but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_buf()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: NamedPipeClient::readable()\n[`ready()`]: NamedPipeClient::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the stream's read half is closed\nand will no longer yield data. If the stream is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-client-readable\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let client = named_pipe::ClientOptions::new().open(PIPE_NAME)?;\n\n    loop {\n        // Wait for the pipe to be readable\n        client.readable().await?;\n\n        let mut buf = Vec::with_capacity(4096);\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match client.try_read_buf(&mut buf) {\n            Ok(0) => break,\n            Ok(n) => {\n                println!(\"read {} bytes\", n);\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"NamedPipeClient::readable()":3160,"NamedPipeClient::ready()":3159},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#549) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"B","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"BufMut","id":919,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1402":{"id":1402,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7015":{"id":7015,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3491":{"id":3491,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1729":{"id":1729,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5253":{"id":5253,"crate_id":0,"name":"capacity","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1567,5],"end":[1569,6]},"visibility":"public","docs":"Returns the current capacity of the channel.\n\nThe capacity goes down when sending a value by calling [`send`] or by reserving capacity\nwith [`reserve`]. The capacity goes up when values are received by the [`Receiver`].\nThis is distinct from [`max_capacity`], which always returns buffer capacity initially\nspecified when calling [`channel`]\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel::<()>(5);\n\nassert_eq!(tx.capacity(), 5);\n\n// Making a reservation drops the capacity by one.\nlet permit = tx.reserve().await.unwrap();\nassert_eq!(tx.capacity(), 4);\n\n// Sending and receiving a value increases the capacity by one.\npermit.send(());\nrx.recv().await.unwrap();\nassert_eq!(tx.capacity(), 5);\n# }\n```\n\n[`send`]: Sender::send\n[`reserve`]: Sender::reserve\n[`channel`]: channel\n[`max_capacity`]: Sender::max_capacity","links":{"`Receiver`":5226,"Sender::send":5229,"Sender::max_capacity":5252,"channel":5223,"Sender::reserve":5227},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7342":{"id":7342,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5580":{"id":5580,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3818":{"id":3818,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/join.rs","begin":[169,1],"end":[169,47]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2056":{"id":2056,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[38,28],"end":[38,33]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"empty::Empty","name":"Empty","id":579,"is_glob":false}}},"294":{"id":294,"crate_id":0,"name":"BorrowedHandle","span":{"filename":"src/doc/os.rs","begin":[51,9],"end":[51,71]},"visibility":"public","docs":"See [`std::os::windows::io::BorrowedHandle`](https://doc.rust-lang.org/std/os/windows/io/struct.BorrowedHandle.html)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"type_alias":{"type":{"resolved_path":{"path":"crate::doc::NotDefinedHere","id":288,"args":null}},"generics":{"params":[{"name":"'handle","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]}}}},"4145":{"id":4145,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2383":{"id":2383,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split_owned.rs","begin":[343,1],"end":[450,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[2375,2376,2379,2378,2377,2380,2381,2382],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"621":{"id":621,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/util/repeat.rs","begin":[54,5],"end":[63,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5907":{"id":5907,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[470,1],"end":[830,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[5902,5903,5896,5904,5897,5905,5906],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6234":{"id":6234,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4472":{"id":4472,"crate_id":0,"name":null,"span":{"filename":"src/runtime/local_runtime/mod.rs","begin":[6,1],"end":[6,31]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"runtime::LocalRuntime","name":"LocalRuntime","id":3941,"is_glob":false}}},"948":{"id":948,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2710":{"id":2710,"crate_id":0,"name":"try_read_buf","span":{"filename":"src/net/unix/split.rs","begin":[144,9],"end":[146,10]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffer, advancing the\nbuffer's internal cursor, returning how many bytes were read.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_buf()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: Self::readable()\n[`ready()`]: Self::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the stream's read half is closed\nand will no longer yield data. If the stream is not ready to read data","links":{"Self::ready()":2709,"Self::readable()":2707},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#511) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"B","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"BufMut","id":919,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4799":{"id":4799,"crate_id":0,"name":null,"span":{"filename":"src/signal/unix.rs","begin":[78,10],"end":[78,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[4798],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3037":{"id":3037,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/pipe.rs","begin":[369,1],"end":[801,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[3025,3026,3027,3028,3030,3029,3032,3031,3033,3034,3035,3036],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1275":{"id":1275,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[1423,1],"end":[1427,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1274],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6561":{"id":6561,"crate_id":0,"name":"initialized","span":{"filename":"src/sync/once_cell.rs","begin":[233,5],"end":[237,6]},"visibility":"public","docs":"Returns `true` if the `OnceCell` currently contains a value, and `false`\notherwise.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6888":{"id":6888,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[466,71],"end":[466,87]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"mutex::MappedMutexGuard","name":"MappedMutexGuard","id":5726,"is_glob":false}}},"5126":{"id":5126,"crate_id":0,"name":"downgrade","span":{"filename":"src/sync/broadcast.rs","begin":[732,5],"end":[737,6]},"visibility":"public","docs":"Converts the `Sender` to a [`WeakSender`] that does not count\ntowards RAII semantics, i.e. if all `Sender` instances of the\nchannel were dropped and only `WeakSender` instances remain,\nthe channel is closed.","links":{"`WeakSender`":5125},"attrs":[{"must_use":{"reason":"Downgrade creates a WeakSender without destroying the original non-weak sender."}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3364":{"id":3364,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5453":{"id":5453,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3691":{"id":3691,"crate_id":0,"name":"try_into_panic","span":{"filename":"src/runtime/task/error.rs","begin":[119,5],"end":[124,6]},"visibility":"public","docs":"Consumes the join error, returning the object with which the task\npanicked if the task terminated due to a panic. Otherwise, `self` is\nreturned.\n\n# Examples\n\n```should_panic,ignore-wasm\nuse std::panic;\n\n#[tokio::main]\nasync fn main() {\n    let err = tokio::spawn(async {\n        panic!(\"boom\");\n    }).await.unwrap_err();\n\n    if let Ok(reason) = err.try_into_panic() {\n        // Resume the panic on the main task\n        panic::resume_unwind(reason);\n    }\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Box","id":542,"args":{"angle_bracketed":{"args":[{"type":{"dyn_trait":{"traits":[{"trait":{"path":"Any","id":181,"args":null},"generic_params":[]},{"trait":{"path":"Send","id":142,"args":null},"generic_params":[]}],"lifetime":"'static"}}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"JoinError","id":3686,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1929":{"id":1929,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"167":{"id":167,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7215":{"id":7215,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5780":{"id":5780,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2256":{"id":2256,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/socket.rs","begin":[1011,5],"end":[1024,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:66:27: 66:30 (#475) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:66:32: 66:38 (#475) }], src/macros/cfg.rs:66:26: 66:39 (#475)), NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:66:41: 66:45 (#475) }, NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/macros/cfg.rs:66:47: 66:65 (#475) }], src/macros/cfg.rs:66:22: 66:66 (#475))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(unix, target_os = \"wasi\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"FromRawFd","id":284,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[2255],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"494":{"id":494,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[245,26],"end":[245,34]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::read_dir::read_dir","name":"read_dir","id":385,"is_glob":false}}},"4018":{"id":4018,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7542":{"id":7542,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[110,1],"end":[110,29]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[doc(no_inline)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"std::time::Duration","name":"Duration","id":2215,"is_glob":false}}},"4345":{"id":4345,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2583":{"id":2583,"crate_id":0,"name":"Error","span":{"filename":"src/net/udp.rs","begin":[2308,5],"end":[2308,28]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Error","id":262,"args":null}},"default_unstable":null}}},"821":{"id":821,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/net/tcp/split_owned.rs","begin":[488,5],"end":[494,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6107":{"id":6107,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2910":{"id":2910,"crate_id":0,"name":"local_addr","span":{"filename":"src/net/unix/stream.rs","begin":[942,5],"end":[944,6]},"visibility":"public","docs":"Returns the socket address of the local half of this connection.\n\n# Examples\n\n```no_run\nuse tokio::net::UnixStream;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet dir = tempfile::tempdir().unwrap();\nlet bind_path = dir.path().join(\"bind_path\");\nlet stream = UnixStream::connect(bind_path).await?;\n\nprintln!(\"{:?}\", stream.local_addr()?);\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1148":{"id":1148,"crate_id":0,"name":"try_io_mut","span":{"filename":"src/io/async_fd.rs","begin":[917,5],"end":[924,6]},"visibility":"public","docs":"Tries to read or write from the file descriptor using a user-provided IO operation.\n\nThe behavior is the same as [`try_io`], except that the closure can mutate the inner\nvalue of the [`AsyncFd`].\n\n[`try_io`]: AsyncFd::try_io","links":{"`AsyncFd`":512,"AsyncFd::try_io":1146},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnOnce(&mut T) -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4672":{"id":4672,"crate_id":0,"name":"Linear","span":{"filename":"src/runtime/metrics/histogram.rs","begin":[60,9],"end":[60,15]},"visibility":"default","docs":"Linear bucket scale","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"4999":{"id":4999,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3237":{"id":3237,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1475":{"id":1475,"crate_id":0,"name":"next_line","span":{"filename":"src/io/util/lines.rs","begin":[69,5],"end":[73,6]},"visibility":"public","docs":"Returns the next line in the stream.\n\n# Cancel safety\n\nThis method is cancel safe.\n\n# Examples\n\n```\n# use tokio::io::AsyncBufRead;\nuse tokio::io::AsyncBufReadExt;\n\n# async fn dox(my_buf_read: impl AsyncBufRead + Unpin) -> std::io::Result<()> {\nlet mut lines = my_buf_read.lines();\n\nwhile let Some(line) = lines.next_line().await? {\n    println!(\"length = {}\", line.len())\n}\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"String","id":448,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6761":{"id":6761,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3564":{"id":3564,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1802":{"id":1802,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5326":{"id":5326,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5653":{"id":5653,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7415":{"id":7415,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"367":{"id":367,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5980":{"id":5980,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[402,10],"end":[402,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[5979],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2456":{"id":2456,"crate_id":0,"name":"set_linger","span":{"filename":"src/net/tcp/stream.rs","begin":[1320,9],"end":[1322,10]},"visibility":"public","docs":"Sets the linger duration of this socket by setting the `SO_LINGER` option.\n\nThis option controls the action taken when a stream has unsent messages and the stream is\nclosed. If `SO_LINGER` is set, the system shall block the process until it can transmit the\ndata or until the time expires.\n\nIf `SO_LINGER` is not specified, and the stream is closed, the system handles the call in a\nway that allows the process to continue as quickly as possible.\n\nThis option is deprecated because setting `SO_LINGER` on a socket used with Tokio is\nalways incorrect as it leads to blocking the thread when the socket is closed. For more\ndetails, please see:\n\n> Volumes of communications have been devoted to the intricacies of `SO_LINGER` versus\n> non-blocking (`O_NONBLOCK`) sockets. From what I can tell, the final word is: don't\n> do it. Rely on the `shutdown()`-followed-by-`read()`-eof technique instead.\n>\n> From [The ultimate `SO_LINGER` page, or: why is my tcp not reliable](https://blog.netherlabs.nl/articles/2009/01/18/the-ultimate-so_linger-page-or-why-is-my-tcp-not-reliable)\n\nAlthough this method is deprecated, it will not be removed from Tokio.\n\nNote that the special case of setting `SO_LINGER` to zero does not lead to blocking.\nTokio provides [`set_zero_linger`](Self::set_zero_linger) for this purpose.\n\n# Examples\n\n```no_run\n# #![allow(deprecated)]\nuse tokio::net::TcpStream;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\nstream.set_linger(None)?;\n# Ok(())\n# }\n```","links":{"Self::set_zero_linger":2455},"attrs":[{"other":"#[attr = CfgTrace([Not(NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/macros/cfg.rs:700:23: 700:41 (#494) }, src/macros/cfg.rs:700:22: 700:42 (#494))])]"}],"deprecation":{"since":null,"note":"`SO_LINGER` causes the socket to block the thread on drop"},"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["dur",{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Duration","id":2215,"args":null}}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"694":{"id":694,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[152,5],"end":[162,6]},"visibility":"default","docs":"Like [`poll_write`], except that it writes from a slice of buffers.\n\nData is copied from each buffer in order, with the final buffer\nread from possibly being only partially consumed. This method must\nbehave as a call to [`write`] with the buffers concatenated would.\n\nThe default implementation calls [`poll_write`] with either the first nonempty\nbuffer provided, or an empty one if none exists.\n\nOn success, returns `Poll::Ready(Ok(num_bytes_written))`.\n\nIf the object is not ready for writing, the method returns\n`Poll::Pending` and arranges for the current task (via\n`cx.waker()`) to receive a notification when the object becomes\nwritable or is closed.\n\n# Note\n\nThis should be implemented as a single \"atomic\" write action. If any\ndata has been partially written, it is wrong to return an error or\npending.\n\n[`poll_write`]: AsyncWrite::poll_write","links":{"AsyncWrite::poll_write":690,"`write`":693},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4218":{"id":4218,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4545":{"id":4545,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/runtime.rs","begin":[24,1],"end":[1310,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[4510,4511,4512,4513,4514,4515,4516,4517,4518,4519,4521,4522,4523,4524,4526,4527,4528,4529,4530,4531,4532,4533,4534,4535,4536,4537,4538,4539,4540,4541,4542,4543,4544],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2783":{"id":2783,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6634":{"id":6634,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[485,1],"end":[492,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6633],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3110":{"id":3110,"crate_id":0,"name":"create","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2275,5],"end":[2279,6]},"visibility":"public","docs":"Creates the named pipe identified by `addr` for use as a server.\n\nThis uses the [`CreateNamedPipe`] function.\n\n[`CreateNamedPipe`]: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea\n\n# Errors\n\nThis errors if called outside of a [Tokio Runtime], or in a runtime that\nhas not [enabled I/O], or if any OS-specific I/O errors occur.\n\n[Tokio Runtime]: crate::runtime::Runtime\n[enabled I/O]: crate::runtime::Builder::enable_io\n\n# Examples\n\n```\nuse tokio::net::windows::named_pipe::ServerOptions;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-create\";\n\n# #[tokio::main] async fn main() -> std::io::Result<()> {\nlet server = ServerOptions::new().create(PIPE_NAME)?;\n# Ok(()) }\n```","links":{"crate::runtime::Runtime":3112,"crate::runtime::Builder::enable_io":3113},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["addr",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<OsStr>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1348":{"id":1348,"crate_id":0,"name":null,"span":{"filename":"src/io/stdin.rs","begin":[77,5],"end":[81,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#222) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#222) }], src/macros/cfg.rs:42:26: 42:39 (#222)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#222) }], src/macros/cfg.rs:42:22: 42:49 (#222))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawHandle","id":292,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[1347],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4872":{"id":4872,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6961":{"id":6961,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5199":{"id":5199,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[1401,1],"end":[1584,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5197,5049,5086,5198],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1675":{"id":1675,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7288":{"id":7288,"crate_id":0,"name":null,"span":{"filename":"src/time/error.rs","begin":[25,10],"end":[25,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[7287],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5526":{"id":5526,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[78,5],"end":[82,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2002":{"id":2002,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"240":{"id":240,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7615":{"id":7615,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5853":{"id":5853,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2329":{"id":2329,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"567":{"id":567,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_stream.rs","begin":[189,1],"end":[197,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncBufRead","id":538,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[565,566],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4418":{"id":4418,"crate_id":0,"name":"handle","span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[119,5],"end":[121,6]},"visibility":"public","docs":"Returns a handle to the runtime's spawner.\n\nThe returned handle can be used to spawn tasks that run on this runtime, and can\nbe cloned to allow moving the `Handle` to other threads.\n\nAs the handle can be sent to other threads, it can only be used to spawn tasks that are `Send`.\n\nCalling [`Handle::block_on`] on a handle to a `LocalRuntime` is error-prone.\nRefer to the documentation of [`Handle::block_on`] for more.\n\n# Examples\n\n```\nuse tokio::runtime::LocalRuntime;\n\nlet rt = LocalRuntime::new()\n    .unwrap();\n\nlet handle = rt.handle();\n\n// Use the handle...\n```","links":{"`Handle::block_on`":4278},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Handle","id":4265,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2656":{"id":2656,"crate_id":0,"name":"Error","span":{"filename":"src/net/unix/listener.rs","begin":[236,5],"end":[236,28]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Error","id":262,"args":null}},"default_unstable":null}}},"894":{"id":894,"crate_id":0,"name":"advance","span":{"filename":"src/io/read_buf.rs","begin":[202,5],"end":[205,6]},"visibility":"public","docs":"Advances the size of the filled region of the buffer.\n\nThe number of initialized bytes is not changed.\n\n# Panics\n\nPanics if the filled region of the buffer would become larger than the initialized region.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6180":{"id":6180,"crate_id":0,"name":"try_acquire_many","span":{"filename":"src/sync/semaphore.rs","begin":[744,5],"end":[752,6]},"visibility":"public","docs":"Tries to acquire `n` permits from the semaphore.\n\nIf the semaphore has been closed, this returns a [`TryAcquireError::Closed`]\nand a [`TryAcquireError::NoPermits`] if there are not enough permits left.\nOtherwise, this returns a [`SemaphorePermit`] representing the acquired permits.\n\n# Examples\n\n```\nuse tokio::sync::{Semaphore, TryAcquireError};\n\n# fn main() {\nlet semaphore = Semaphore::new(4);\n\nlet permit_1 = semaphore.try_acquire_many(3).unwrap();\nassert_eq!(semaphore.available_permits(), 1);\n\nlet permit_2 = semaphore.try_acquire_many(2);\nassert_eq!(permit_2.err(), Some(TryAcquireError::NoPermits));\n# }\n```\n\n[`TryAcquireError::Closed`]: crate::sync::TryAcquireError::Closed\n[`TryAcquireError::NoPermits`]: crate::sync::TryAcquireError::NoPermits\n[`SemaphorePermit`]: crate::sync::SemaphorePermit","links":{"crate::sync::TryAcquireError::NoPermits":6122,"crate::sync::TryAcquireError::Closed":6121,"crate::sync::SemaphorePermit":6181},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["n",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6507":{"id":6507,"crate_id":0,"name":"drop","span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[201,5],"end":[212,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4745":{"id":4745,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[614,42],"end":[614,57]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#1248) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"handle::TryCurrentError","name":"TryCurrentError","id":4271,"is_glob":false}}},"1221":{"id":1221,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5072":{"id":5072,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/broadcast.rs","begin":[289,14],"end":[289,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3310":{"id":3310,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2593,41],"end":[2593,43]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1548":{"id":1548,"crate_id":0,"name":"rewind","span":{"filename":"src/io/util/async_seek_ext.rs","begin":[76,9],"end":[81,10]},"visibility":"default","docs":"Creates a future which will rewind to the beginning of the stream.\n\nThis is convenience method, equivalent to `self.seek(SeekFrom::Start(0))`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Seek","id":1469,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6834":{"id":6834,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7161":{"id":7161,"crate_id":0,"name":null,"span":{"filename":"src/task/join_set.rs","begin":[591,1],"end":[595,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7160],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5399":{"id":5399,"crate_id":0,"name":"blocking_recv_many","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[434,5],"end":[436,6]},"visibility":"public","docs":"Variant of [`Self::recv_many`] for blocking contexts.\n\nThe same conditions as in [`Self::blocking_recv`] apply.","links":{"`Self::blocking_recv`":5236,"`Self::recv_many`":5393},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/sync/mpsc/bounded.rs:432:11: 432:27 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[attr = TrackCaller]"},{"other":"#[doc(alias = \"recv_many_blocking\")]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["buffer",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}],["limit",{"primitive":"usize"}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5726":{"id":5726,"crate_id":0,"name":"MappedMutexGuard","span":{"filename":"src/sync/mutex.rs","begin":[190,1],"end":[199,2]},"visibility":"public","docs":"A handle to a held `Mutex` that has had a function applied to it via [`MutexGuard::map`].\n\nThis can be used to hold a subfield of the protected data.\n\n[`MutexGuard::map`]: method@MutexGuard::map","links":{"method@MutexGuard::map":5727},"attrs":[{"other":"#[clippy::has_significant_drop]"},{"must_use":{"reason":"if unused the Mutex will immediately unlock"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5802,5803,5804,5805,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5822,5825,5827,5829,5831]}}},"3964":{"id":3964,"crate_id":0,"name":"runtime","span":{"filename":"src/runtime/mod.rs","begin":[1,1],"end":[652,2]},"visibility":"public","docs":"The Tokio runtime.\n\nUnlike other Rust programs, asynchronous applications require runtime\nsupport. In particular, the following runtime services are necessary:\n\n* An **I/O event loop**, called the driver, which drives I/O resources and\n  dispatches I/O events to tasks that depend on them.\n* A **scheduler** to execute [tasks] that use these I/O resources.\n* A **timer** for scheduling work to run after a set period of time.\n\nTokio's [`Runtime`] bundles all of these services as a single type, allowing\nthem to be started, shut down, and configured together. However, often it is\nnot required to configure a [`Runtime`] manually, and a user may just use the\n[`tokio::main`] attribute macro, which creates a [`Runtime`] under the hood.\n\n# Choose your runtime\n\nHere is the rules of thumb to choose the right runtime for your application.\n\n```plaintext\n   +------------------------------------------------------+\n   | Do you want work-stealing or multi-thread scheduler? |\n   +------------------------------------------------------+\n                   | Yes              | No\n                   |                  |\n                   |                  |\n                   v                  |\n     +------------------------+       |\n     | Multi-threaded Runtime |       |\n     +------------------------+       |\n                                      |\n                                      V\n                     +--------------------------------+\n                     | Do you execute `!Send` Future? |\n                     +--------------------------------+\n                           | Yes                 | No\n                           |                     |\n                           V                     |\n                   +---------------+             |\n                   | Local Runtime |             |\n                   +---------------+             |\n                                                 |\n                                                 v\n                                     +------------------------+\n                                     | Current-thread Runtime |\n                                     +------------------------+\n```\n\nThe above decision tree is not exhaustive. there are other factors that\nmay influence your decision.\n\n## Bridging with sync code\n\nSee <https://tokio.rs/tokio/topics/bridging> for details.\n\n## NUMA awareness\n\nThe tokio runtime is not NUMA (Non-Uniform Memory Access) aware.\nYou may want to start multiple runtimes instead of a single runtime\nfor better performance on NUMA systems.\n\n# Usage\n\nWhen no fine tuning is required, the [`tokio::main`] attribute macro can be\nused.\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::net::TcpListener;\nuse tokio::io::{AsyncReadExt, AsyncWriteExt};\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    let listener = TcpListener::bind(\"127.0.0.1:8080\").await?;\n\n    loop {\n        let (mut socket, _) = listener.accept().await?;\n\n        tokio::spawn(async move {\n            let mut buf = [0; 1024];\n\n            // In a loop, read data from the socket and write the data back.\n            loop {\n                let n = match socket.read(&mut buf).await {\n                    // socket closed\n                    Ok(0) => return,\n                    Ok(n) => n,\n                    Err(e) => {\n                        println!(\"failed to read from socket; err = {:?}\", e);\n                        return;\n                    }\n                };\n\n                // Write the data back\n                if let Err(e) = socket.write_all(&buf[0..n]).await {\n                    println!(\"failed to write to socket; err = {:?}\", e);\n                    return;\n                }\n            }\n        });\n    }\n}\n# }\n```\n\nFrom within the context of the runtime, additional tasks are spawned using\nthe [`tokio::spawn`] function. Futures spawned using this function will be\nexecuted on the same thread pool used by the [`Runtime`].\n\nA [`Runtime`] instance can also be used directly.\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::net::TcpListener;\nuse tokio::io::{AsyncReadExt, AsyncWriteExt};\nuse tokio::runtime::Runtime;\n\nfn main() -> Result<(), Box<dyn std::error::Error>> {\n    // Create the runtime\n    let rt  = Runtime::new()?;\n\n    // Spawn the root task\n    rt.block_on(async {\n        let listener = TcpListener::bind(\"127.0.0.1:8080\").await?;\n\n        loop {\n            let (mut socket, _) = listener.accept().await?;\n\n            tokio::spawn(async move {\n                let mut buf = [0; 1024];\n\n                // In a loop, read data from the socket and write the data back.\n                loop {\n                    let n = match socket.read(&mut buf).await {\n                        // socket closed\n                        Ok(0) => return,\n                        Ok(n) => n,\n                        Err(e) => {\n                            println!(\"failed to read from socket; err = {:?}\", e);\n                            return;\n                        }\n                    };\n\n                    // Write the data back\n                    if let Err(e) = socket.write_all(&buf[0..n]).await {\n                        println!(\"failed to write to socket; err = {:?}\", e);\n                        return;\n                    }\n                }\n            });\n        }\n    })\n}\n# }\n```\n\n## Runtime Configurations\n\nTokio provides multiple task scheduling strategies, suitable for different\napplications. The [runtime builder] or `#[tokio::main]` attribute may be\nused to select which scheduler to use.\n\n#### Multi-Thread Scheduler\n\nThe multi-thread scheduler executes futures on a _thread pool_, using a\nwork-stealing strategy. By default, it will start a worker thread for each\nCPU core available on the system. This tends to be the ideal configuration\nfor most applications. The multi-thread scheduler requires the `rt-multi-thread`\nfeature flag, and is selected by default:\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime;\n\n# fn main() -> Result<(), Box<dyn std::error::Error>> {\nlet threaded_rt = runtime::Runtime::new()?;\n# Ok(()) }\n# }\n```\n\nMost applications should use the multi-thread scheduler, except in some\nniche use-cases, such as when running only a single thread is required.\n\n#### Current-Thread Scheduler\n\nThe current-thread scheduler provides a _single-threaded_ future executor.\nAll tasks will be created and executed on the current thread. This requires\nthe `rt` feature flag.\n```\nuse tokio::runtime;\n\n# fn main() -> Result<(), Box<dyn std::error::Error>> {\nlet rt = runtime::Builder::new_current_thread()\n    .build()?;\n# Ok(()) }\n```\n\n#### Resource drivers\n\nWhen configuring a runtime by hand, no resource drivers are enabled by\ndefault. In this case, attempting to use networking types or time types will\nfail. In order to enable these types, the resource drivers must be enabled.\nThis is done with [`Builder::enable_io`] and [`Builder::enable_time`]. As a\nshorthand, [`Builder::enable_all`] enables both resource drivers.\n\n## Driving the runtime\n\nA Tokio runtime can only execute tasks if the runtime is running. Normally\nthis is not an issue as the default configuration of a runtime is always running,\nbut alternate configurations such as the current-thread runtime require that\n[`Runtime::block_on`] is called.\n\n- A multi-threaded runtime is always running because it spawns its own worker\n  threads.\n- A current-thread runtime does not spawn any worker threads, so it can only\n  execute tasks when you provide a thread by calling [`Runtime::block_on`].\n- A [`LocalSet`](crate::task::LocalSet) only executes local tasks spawned on\n  it when the `LocalSet` is `.awaited` or otherwise driven using one of its\n  methods for this purpose.\n\nPlease be aware that [`Handle::block_on`] does not drive the runtime.\nThere must be at least one call to [`Runtime::block_on`] when using the current\nthread runtime. [`Handle::block_on`] is not enough.\n\n## Lifetime of spawned threads\n\nThe runtime may spawn threads depending on its configuration and usage. The\nmulti-thread scheduler spawns threads to schedule tasks and for `spawn_blocking`\ncalls.\n\nWhile the `Runtime` is active, threads may shut down after periods of being\nidle. Once `Runtime` is dropped, all runtime threads have usually been\nterminated, but in the presence of unstoppable spawned work are not\nguaranteed to have been terminated. See the\n[struct level documentation](Runtime#shutdown) for more details.\n\n## Unix `fork`\n\nUser code that calls `fork(2)` without immediately calling `exec` must not\nreuse Tokio in the child process. Tokio supports this kind of fork only in\ntwo cases:\n\n- The fork happens before the parent process has used Tokio in any way.\n- The child process does not use Tokio after the fork.\n\nCreating or using a Tokio runtime in a child process after the parent has\nused Tokio is not supported, even if the runtime in the child is newly\ncreated. Some Tokio modules, including process and signal handling, use\nprocess-global state that cannot currently be reset after `fork`.\n\n[tasks]: crate::task\n[`Runtime`]: Runtime\n[`tokio::spawn`]: crate::spawn\n[`tokio::main`]: ../attr.main.html\n[runtime builder]: crate::runtime::Builder\n[`Runtime::new`]: crate::runtime::Runtime::new\n[`Builder::enable_io`]: crate::runtime::Builder::enable_io\n[`Builder::enable_time`]: crate::runtime::Builder::enable_time\n[`Builder::enable_all`]: crate::runtime::Builder::enable_all\n\n# Detailed runtime behavior\n\nThis section gives more details into how the Tokio runtime will schedule\ntasks for execution.\n\nAt its most basic level, a runtime has a collection of tasks that need to be\nscheduled. It will repeatedly remove a task from that collection and\nschedule it (by calling [`poll`]). When the collection is empty, the thread\nwill go to sleep until a task is added to the collection.\n\nHowever, the above is not sufficient to guarantee a well-behaved runtime.\nFor example, the runtime might have a single task that is always ready to be\nscheduled, and schedule that task every time. This is a problem because it\nstarves other tasks by not scheduling them. To solve this, Tokio provides\nthe following fairness guarantee:\n\n> If the total number of tasks does not grow without bound, and no task is\n> [blocking the thread], then it is guaranteed that tasks are scheduled\n> fairly.\n\nOr, more formally:\n\n> Under the following two assumptions:\n>\n> * There is some number `MAX_TASKS` such that the total number of tasks on\n>   the runtime at any specific point in time never exceeds `MAX_TASKS`.\n> * There is some number `MAX_SCHEDULE` such that calling [`poll`] on any\n>   task spawned on the runtime returns within `MAX_SCHEDULE` time units.\n>\n> Then, there is some number `MAX_DELAY` such that when a task is woken, it\n> will be scheduled by the runtime within `MAX_DELAY` time units.\n\n(Here, `MAX_TASKS` and `MAX_SCHEDULE` can be any number and the user of\nthe runtime may choose them. The `MAX_DELAY` number is controlled by the\nruntime, and depends on the value of `MAX_TASKS` and `MAX_SCHEDULE`.)\n\nOther than the above fairness guarantee, there is no guarantee about the\norder in which tasks are scheduled. There is also no guarantee that the\nruntime is equally fair to all tasks. For example, if the runtime has two\ntasks A and B that are both ready, then the runtime may schedule A five\ntimes before it schedules B. This is the case even if A yields using\n[`yield_now`]. All that is guaranteed is that it will schedule B eventually.\n\nNormally, tasks are scheduled only if they have been woken by calling\n[`wake`] on their waker. However, this is not guaranteed, and Tokio may\nschedule tasks that have not been woken under some circumstances. This is\ncalled a spurious wakeup.\n\n## IO and timers\n\nBeyond just scheduling tasks, the runtime must also manage IO resources and\ntimers. It does this by periodically checking whether there are any IO\nresources or timers that are ready, and waking the relevant task so that\nit will be scheduled.\n\nThese checks are performed periodically between scheduling tasks. Under the\nsame assumptions as the previous fairness guarantee, Tokio guarantees that\nit will wake tasks with an IO or timer event within some maximum number of\ntime units.\n\n## Current thread runtime (behavior at the time of writing)\n\nThis section describes how the [current thread runtime] behaves today. This\nbehavior may change in future versions of Tokio.\n\nThe current thread runtime maintains two FIFO queues of tasks that are ready\nto be scheduled: the global queue and the local queue. The runtime will prefer\nto choose the next task to schedule from the local queue, and will only pick a\ntask from the global queue if the local queue is empty, or if it has picked\na task from the local queue 31 times in a row. The number 31 can be\nchanged using the [`global_queue_interval`] setting.\n\nThe runtime will check for new IO or timer events whenever there are no\ntasks ready to be scheduled, or when it has scheduled 61 tasks in a row. The\nnumber 61 may be changed using the [`event_interval`] setting.\n\nWhen a task is woken from within a task running on the runtime, then the\nwoken task is added directly to the local queue. Otherwise, the task is\nadded to the global queue. The current thread runtime does not use [the lifo\nslot optimization].\n\n## Multi threaded runtime (behavior at the time of writing)\n\nThis section describes how the [multi thread runtime] behaves today. This\nbehavior may change in future versions of Tokio.\n\nA multi thread runtime has a fixed number of worker threads, which are all\ncreated on startup. The multi thread runtime maintains one global queue, and\na local queue for each worker thread. The local queue of a worker thread can\nfit at most 256 tasks. If more than 256 tasks are added to the local queue,\nthen half of them are moved to the global queue to make space.\n\nThe runtime will prefer to choose the next task to schedule from the local\nqueue, and will only pick a task from the global queue if the local queue is\nempty, or if it has picked a task from the local queue\n[`global_queue_interval`] times in a row. If the value of\n[`global_queue_interval`] is not explicitly set using the runtime builder,\nthen the runtime will dynamically compute it using a heuristic that targets\n10ms intervals between each check of the global queue (based on the\n[`worker_mean_poll_time`] metric).\n\nIf both the local queue and global queue is empty, then the worker thread\nwill attempt to steal tasks from the local queue of another worker thread.\nStealing is done by moving half of the tasks in one local queue to another\nlocal queue.\n\nThe runtime will check for new IO or timer events whenever there are no\ntasks ready to be scheduled, or when it has scheduled 61 tasks in a row. The\nnumber 61 may be changed using the [`event_interval`] setting.\n\nThe multi thread runtime uses [the lifo slot optimization]: Whenever a task\nwakes up another task, the other task is added to the worker thread's lifo\nslot instead of being added to a queue. If there was already a task in the\nlifo slot when this happened, then the lifo slot is replaced, and the task\nthat used to be in the lifo slot is placed in the thread's local queue.\nWhen the runtime finishes scheduling a task, it will schedule the task in\nthe lifo slot immediately, if any. When the lifo slot is used, the [coop\nbudget] is not reset. Furthermore, if a worker thread uses the lifo slot\nthree times in a row, it is temporarily disabled until the worker thread has\nscheduled a task that didn't come from the lifo slot. The lifo slot can be\ndisabled using the [`disable_lifo_slot`] setting. The lifo slot is separate\nfrom the local queue, so other worker threads cannot steal the task in the\nlifo slot.\n\nWhen a task is woken from a thread that is not a worker thread, then the\ntask is placed in the global queue.\n\n# Performance tuning\n\n## File descriptor table pre-warming\n\nOn Linux, file descriptor table growth can stall worker threads. See the\n[`prewarm-fd-table`] example.\n\n[`poll`]: std::future::Future::poll\n[`wake`]: std::task::Waker::wake\n[`yield_now`]: crate::task::yield_now\n[blocking the thread]: https://ryhl.io/blog/async-what-is-blocking/\n[current thread runtime]: crate::runtime::Builder::new_current_thread\n[multi thread runtime]: crate::runtime::Builder::new_multi_thread\n[`global_queue_interval`]: crate::runtime::Builder::global_queue_interval\n[`event_interval`]: crate::runtime::Builder::event_interval\n[`disable_lifo_slot`]: crate::runtime::Builder::disable_lifo_slot\n[the lifo slot optimization]: crate::runtime::Builder::disable_lifo_slot\n[coop budget]: crate::task::coop#cooperative-scheduling\n[`worker_mean_poll_time`]: crate::runtime::RuntimeMetrics::worker_mean_poll_time\n[`prewarm-fd-table`]: https://github.com/tokio-rs/tokio/blob/master/examples/prewarm-fd-table.rs","links":{"crate::task":3687,"crate::runtime::Builder::enable_time":3990,"crate::runtime::Builder::new_current_thread":3937,"crate::runtime::Builder::global_queue_interval":3965,"`Runtime::block_on`":3968,"crate::runtime::Builder::event_interval":3966,"crate::runtime::RuntimeMetrics::worker_mean_poll_time":4537,"crate::task::yield_now":4758,"std::task::Waker::wake":1129,"crate::runtime::Builder::enable_all":3942,"Runtime":3112,"Runtime#shutdown":3112,"crate::runtime::Builder::disable_lifo_slot":3972,"`Handle::block_on`":4278,"crate::runtime::Runtime::new":4360,"crate::task::LocalSet":3939,"std::future::Future::poll":4211,"crate::runtime::Builder::new_multi_thread":3936,"crate::task::coop#cooperative-scheduling":4759,"crate::runtime::Builder":3938,"crate::spawn":3799,"crate::runtime::Builder::enable_io":3113},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#682) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[4238,4737,4738,4739,4740,4741,4742,4743,4744,4745,4746,4747,4748,4749,4750,4751,4752,4753,4754,4755,4756,4757],"is_stripped":false}}},"440":{"id":440,"crate_id":0,"name":"fmt","span":{"filename":"src/fs/read_dir.rs","begin":[199,10],"end":[199,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2202":{"id":2202,"crate_id":0,"name":"new_v6","span":{"filename":"src/net/tcp/socket.rs","begin":[159,5],"end":[161,6]},"visibility":"public","docs":"Creates a new socket configured for IPv6.\n\nCalls `socket(2)` with `AF_INET6` and `SOCK_STREAM`.\n\n# Returns\n\nOn success, the newly created `TcpSocket` is returned. If an error is\nencountered, it is returned instead.\n\n# Examples\n\nCreate a new IPv6 socket and start listening.\n\n```no_run\nuse tokio::net::TcpSocket;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let addr = \"[::1]:8080\".parse().unwrap();\n    let socket = TcpSocket::new_v6()?;\n    socket.bind(addr)?;\n\n    let listener = socket.listen(128)?;\n# drop(listener);\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7488":{"id":7488,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6053":{"id":6053,"crate_id":0,"name":"error","span":{"filename":"src/sync/oneshot.rs","begin":[339,1],"end":[339,14]},"visibility":"public","docs":"`Oneshot` error types.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[5989,6022],"is_stripped":false}}},"2529":{"id":2529,"crate_id":0,"name":"recv_buf_from","span":{"filename":"src/net/udp.rs","begin":[1127,9],"end":[1146,10]},"visibility":"public","docs":"Receives a single datagram message on the socket, advancing the\nbuffer's internal cursor, returning how many bytes were read and the origin.\n\nThis method must be called with valid byte array `buf` of sufficient size\nto hold the message bytes. If a message is too long to fit in the\nsupplied buffer, excess bytes may be discarded.\n\nThis method can be used even if `buf` is uninitialized.\n\n# Notes\nNote that the socket address **cannot** be implicitly trusted, because it is relatively\ntrivial to send a UDP datagram with a spoofed origin in a [packet injection attack].\nBecause UDP is stateless and does not validate the origin of a packet,\nthe attacker does not need to be able to intercept traffic in order to interfere.\nIt is important to be aware of this when designing your application-level protocol.\n\n[packet injection attack]: https://en.wikipedia.org/wiki/Packet_injection\n\n# Examples\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Connect to a peer\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n    socket.connect(\"127.0.0.1:8081\").await?;\n\n    let mut buf = Vec::with_capacity(512);\n    let (len, addr) = socket.recv_buf_from(&mut buf).await?;\n\n    println!(\"received {:?} bytes from {:?}\", len, addr);\n\n    Ok(())\n}\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#499) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"primitive":"usize"},{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"B","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"BufMut","id":919,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"767":{"id":767,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/join.rs","begin":[114,5],"end":[116,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4291":{"id":4291,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6380":{"id":6380,"crate_id":0,"name":"deref","span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[188,5],"end":[190,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"U"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4618":{"id":4618,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[156,1],"end":[258,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[4613,4614,4611,4612,4615,4617],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2856":{"id":2856,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split_owned.rs","begin":[99,1],"end":[99,31]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1094":{"id":1094,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6707":{"id":6707,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[379,28],"end":[379,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::Eq","id":961,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3183":{"id":3183,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1421":{"id":1421,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4945":{"id":4945,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5272":{"id":5272,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3510":{"id":3510,"crate_id":0,"name":"from_std","span":{"filename":"src/process/mod.rs","begin":[1512,5],"end":[1516,6]},"visibility":"public","docs":"Creates an asynchronous `ChildStdin` from a synchronous one.\n\n# Errors\n\nThis method may fail if an error is encountered when setting the pipe to\nnon-blocking mode, or when registering the pipe with the runtime's IO\ndriver.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["inner",{"resolved_path":{"path":"std::process::ChildStdin","id":3511,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1748":{"id":1748,"crate_id":0,"name":"fmt","span":{"filename":"src/io/util/chain.rs","begin":[74,5],"end":[79,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7361":{"id":7361,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[33,23],"end":[33,25]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5599":{"id":5599,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"313":{"id":313,"crate_id":0,"name":"read","span":{"filename":"src/fs/open_options.rs","begin":[168,5],"end":[185,6]},"visibility":"public","docs":"Sets the option for read access.\n\nThis option, when true, will indicate that the file should be\n`read`-able if opened.\n\nThis is an async version of [`std::fs::OpenOptions::read`][std]\n\n[std]: std::fs::OpenOptions::read\n\n# Examples\n\n```no_run\nuse tokio::fs::OpenOptions;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let file = OpenOptions::new()\n        .read(true)\n        .open(\"foo.txt\")\n        .await?;\n\n    Ok(())\n}\n```","links":{"std::fs::OpenOptions::read":312},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["read",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5926":{"id":5926,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[838,1],"end":[838,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4164":{"id":4164,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2402":{"id":2402,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split_owned.rs","begin":[53,10],"end":[53,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[2401],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"640":{"id":640,"crate_id":0,"name":"OwnedReadHalf","span":{"filename":"src/net/unix/split_owned.rs","begin":[35,1],"end":[37,2]},"visibility":"public","docs":"Owned read half of a [`UnixStream`], created by [`into_split`].\n\nReading from an `OwnedReadHalf` is usually done using the convenience methods found\non the [`AsyncReadExt`] trait.\n\n[`UnixStream`]: crate::net::UnixStream\n[`into_split`]: crate::net::UnixStream::into_split()\n[`AsyncReadExt`]: trait@crate::io::AsyncReadExt","links":{"crate::net::UnixStream":643,"trait@crate::io::AsyncReadExt":202,"crate::net::UnixStream::into_split()":2767},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[2777,2778,2779,2780,2781,2782,2783,2784,2785,2786,2787,2788,2789,2790,2791,2792,2793,2794,2796,639,2798]}}},"4491":{"id":4491,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2729":{"id":2729,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"967":{"id":967,"crate_id":0,"name":"Output","span":{"filename":"src/io/interest.rs","begin":[271,5],"end":[271,24]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Interest","id":924,"args":null}},"default_unstable":null}}},"6253":{"id":6253,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6580":{"id":6580,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4818":{"id":4818,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1294":{"id":1294,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3056":{"id":3056,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/pipe.rs","begin":[364,10],"end":[364,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[3055],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5145":{"id":5145,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3383":{"id":3383,"crate_id":0,"name":null,"span":{"filename":"src/net/mod.rs","begin":[59,5],"end":[59,38]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:377:23: 377:27 (#501) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:377:29: 377:44 (#501) }], src/macros/cfg.rs:377:22: 377:45 (#501))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"unix::socket::UnixSocket","name":"UnixSocket","id":2669,"is_glob":false}}},"1621":{"id":1621,"crate_id":0,"name":"get_pin_mut","span":{"filename":"src/io/util/buf_reader.rs","begin":[73,5],"end":[75,6]},"visibility":"public","docs":"Gets a pinned mutable reference to the underlying reader.\n\nIt is inadvisable to directly read from the underlying reader.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"R"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6907":{"id":6907,"crate_id":0,"name":"sync","span":{"filename":"src/sync/mod.rs","begin":[1,1],"end":[524,11]},"visibility":"public","docs":"Synchronization primitives for use in asynchronous contexts.\n\nTokio programs tend to be organized as a set of [tasks] where each task\noperates independently and may be executed on separate physical threads. The\nsynchronization primitives provided in this module permit these independent\ntasks to communicate together.\n\n[tasks]: crate::task\n\n# Message passing\n\nThe most common form of synchronization in a Tokio program is message\npassing. Two tasks operate independently and send messages to each other to\nsynchronize. Doing so has the advantage of avoiding shared state.\n\nMessage passing is implemented using channels. A channel supports sending a\nmessage from one producer task to one or more consumer tasks. There are a\nfew flavors of channels provided by Tokio. Each channel flavor supports\ndifferent message passing patterns. When a channel supports multiple\nproducers, many separate tasks may **send** messages. When a channel\nsupports multiple consumers, many different separate tasks may **receive**\nmessages.\n\nTokio provides many different channel flavors as different message passing\npatterns are best handled with different implementations.\n\n## `oneshot` channel\n\nThe [`oneshot` channel][oneshot] supports sending a **single** value from a\nsingle producer to a single consumer. This channel is usually used to send\nthe result of a computation to a waiter.\n\n**Example:** using a [`oneshot` channel][oneshot] to receive the result of a\ncomputation.\n\n```\nuse tokio::sync::oneshot;\n\nasync fn some_computation() -> String {\n    \"represents the result of the computation\".to_string()\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = oneshot::channel();\n\ntokio::spawn(async move {\n    let res = some_computation().await;\n    tx.send(res).unwrap();\n});\n\n// Do other work while the computation is happening in the background\n\n// Wait for the computation result\nlet res = rx.await.unwrap();\n# }\n```\n\nNote, if the task produces a computation result as its final\naction before terminating, the [`JoinHandle`] can be used to\nreceive that value instead of allocating resources for the\n`oneshot` channel. Awaiting on [`JoinHandle`] returns `Result`. If\nthe task panics, the `Joinhandle` yields `Err` with the panic\ncause.\n\n**Example:**\n\n```\nasync fn some_computation() -> String {\n    \"the result of the computation\".to_string()\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet join_handle = tokio::spawn(async move {\n    some_computation().await\n});\n\n// Do other work while the computation is happening in the background\n\n// Wait for the computation result\nlet res = join_handle.await.unwrap();\n# }\n```\n\n[`JoinHandle`]: crate::task::JoinHandle\n\n## `mpsc` channel\n\nThe [`mpsc` channel][mpsc] supports sending **many** values from **many**\nproducers to a single consumer. This channel is often used to send work to a\ntask or to receive the result of many computations.\n\nThis is also the channel you should use if you want to send many messages\nfrom a single producer to a single consumer. There is no dedicated spsc\nchannel.\n\n**Example:** using an mpsc to incrementally stream the results of a series\nof computations.\n\n```\nuse tokio::sync::mpsc;\n\nasync fn some_computation(input: u32) -> String {\n    format!(\"the result of computation {}\", input)\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(100);\n\ntokio::spawn(async move {\n    for i in 0..10 {\n        let res = some_computation(i).await;\n        tx.send(res).await.unwrap();\n    }\n});\n\nwhile let Some(res) = rx.recv().await {\n    println!(\"got = {}\", res);\n}\n# }\n```\n\nThe argument to `mpsc::channel` is the channel capacity. This is the maximum\nnumber of values that can be stored in the channel pending receipt at any\ngiven time. Properly setting this value is key in implementing robust\nprograms as the channel capacity plays a critical part in handling back\npressure.\n\nA common concurrency pattern for resource management is to spawn a task\ndedicated to managing that resource and using message passing between other\ntasks to interact with the resource. The resource may be anything that may\nnot be concurrently used. Some examples include a socket and program state.\nFor example, if multiple tasks need to send data over a single socket, spawn\na task to manage the socket and use a channel to synchronize.\n\n**Example:** sending data from many tasks over a single socket using message\npassing.\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, AsyncWriteExt};\nuse tokio::net::TcpStream;\nuse tokio::sync::mpsc;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut socket = TcpStream::connect(\"www.example.com:1234\").await?;\n    let (tx, mut rx) = mpsc::channel(100);\n\n    for _ in 0..10 {\n        // Each task needs its own `tx` handle. This is done by cloning the\n        // original handle.\n        let tx = tx.clone();\n\n        tokio::spawn(async move {\n            tx.send(&b\"data to write\"[..]).await.unwrap();\n        });\n    }\n\n    // The `rx` half of the channel returns `None` once **all** `tx` clones\n    // drop. To ensure `None` is returned, drop the handle owned by the\n    // current task. If this `tx` handle is not dropped, there will always\n    // be a single outstanding `tx` handle.\n    drop(tx);\n\n    while let Some(res) = rx.recv().await {\n        socket.write_all(res).await?;\n    }\n\n    Ok(())\n}\n# }\n```\n\nThe [`mpsc`] and [`oneshot`] channels can be combined to provide a request /\nresponse type synchronization pattern with a shared resource. A task is\nspawned to synchronize a resource and waits on commands received on a\n[`mpsc`] channel. Each command includes a [`oneshot`] `Sender` on which the\nresult of the command is sent.\n\n**Example:** use a task to synchronize a `u64` counter. Each task sends an\n\"fetch and increment\" command. The counter value **before** the increment is\nsent over the provided `oneshot` channel.\n\n```\nuse tokio::sync::{oneshot, mpsc};\nuse Command::Increment;\n\nenum Command {\n    Increment,\n    // Other commands can be added here\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (cmd_tx, mut cmd_rx) = mpsc::channel::<(Command, oneshot::Sender<u64>)>(100);\n\n// Spawn a task to manage the counter\ntokio::spawn(async move {\n    let mut counter: u64 = 0;\n\n    while let Some((cmd, response)) = cmd_rx.recv().await {\n        match cmd {\n            Increment => {\n                let prev = counter;\n                counter += 1;\n                response.send(prev).unwrap();\n            }\n        }\n    }\n});\n\nlet mut join_handles = vec![];\n\n// Spawn tasks that will send the increment command.\nfor _ in 0..10 {\n    let cmd_tx = cmd_tx.clone();\n\n    join_handles.push(tokio::spawn(async move {\n        let (resp_tx, resp_rx) = oneshot::channel();\n\n        cmd_tx.send((Increment, resp_tx)).await.ok().unwrap();\n        let res = resp_rx.await.unwrap();\n\n        println!(\"previous value = {}\", res);\n    }));\n}\n\n// Wait for all tasks to complete\nfor join_handle in join_handles.drain(..) {\n    join_handle.await.unwrap();\n}\n# }\n```\n\n## `broadcast` channel\n\nThe [`broadcast` channel] supports sending **many** values from\n**many** producers to **many** consumers. Each consumer will receive\n**each** value. This channel can be used to implement \"fan out\" style\npatterns common with pub / sub or \"chat\" systems.\n\nThis channel tends to be used less often than `oneshot` and `mpsc` but still\nhas its use cases.\n\nThis is also the channel you should use if you want to broadcast values from\na single producer to many consumers. There is no dedicated spmc broadcast\nchannel.\n\nBasic usage\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx1) = broadcast::channel(16);\nlet mut rx2 = tx.subscribe();\n\ntokio::spawn(async move {\n    assert_eq!(rx1.recv().await.unwrap(), 10);\n    assert_eq!(rx1.recv().await.unwrap(), 20);\n});\n\ntokio::spawn(async move {\n    assert_eq!(rx2.recv().await.unwrap(), 10);\n    assert_eq!(rx2.recv().await.unwrap(), 20);\n});\n\ntx.send(10).unwrap();\ntx.send(20).unwrap();\n# }\n```\n\n[`broadcast` channel]: crate::sync::broadcast\n\n## `watch` channel\n\nThe [`watch` channel] supports sending **many** values from **many**\nproducers to **many** consumers. However, only the **most recent** value is\nstored in the channel. Consumers are notified when a new value is sent, but\nthere is no guarantee that consumers will see **all** values.\n\nThe [`watch` channel] is similar to a [`broadcast` channel] with capacity 1.\n\nUse cases for the [`watch` channel] include broadcasting configuration\nchanges or signalling program state changes, such as transitioning to\nshutdown.\n\n**Example:** use a [`watch` channel] to notify tasks of configuration\nchanges. In this example, a configuration file is checked periodically. When\nthe file changes, the configuration changes are signalled to consumers.\n\n```\nuse tokio::sync::watch;\nuse tokio::time::{self, Duration, Instant};\n\nuse std::io;\n\n#[derive(Debug, Clone, Eq, PartialEq)]\nstruct Config {\n    timeout: Duration,\n}\n\nimpl Config {\n    async fn load_from_file() -> io::Result<Config> {\n        // file loading and deserialization logic here\n# Ok(Config { timeout: Duration::from_secs(1) })\n    }\n}\n\nasync fn my_async_operation() {\n    // Do something here\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\n// Load initial configuration value\nlet mut config = Config::load_from_file().await.unwrap();\n\n// Create the watch channel, initialized with the loaded configuration\nlet (tx, rx) = watch::channel(config.clone());\n\n// Spawn a task to monitor the file.\ntokio::spawn(async move {\n    loop {\n        // Wait 10 seconds between checks\n        time::sleep(Duration::from_secs(10)).await;\n\n        // Load the configuration file\n        let new_config = Config::load_from_file().await.unwrap();\n\n        // If the configuration changed, send the new config value\n        // on the watch channel.\n        if new_config != config {\n            tx.send(new_config.clone()).unwrap();\n            config = new_config;\n        }\n    }\n});\n\nlet mut handles = vec![];\n\n// Spawn tasks that runs the async operation for at most `timeout`. If\n// the timeout elapses, restart the operation.\n//\n// The task simultaneously watches the `Config` for changes. When the\n// timeout duration changes, the timeout is updated without restarting\n// the in-flight operation.\nfor _ in 0..5 {\n    // Clone a config watch handle for use in this task\n    let mut rx = rx.clone();\n\n    let handle = tokio::spawn(async move {\n        // Start the initial operation and pin the future to the stack.\n        // Pinning to the stack is required to resume the operation\n        // across multiple calls to `select!`\n        let op = my_async_operation();\n        tokio::pin!(op);\n\n        // Get the initial config value\n        let mut conf = rx.borrow().clone();\n\n        let mut op_start = Instant::now();\n        let sleep = time::sleep_until(op_start + conf.timeout);\n        tokio::pin!(sleep);\n\n        loop {\n            tokio::select! {\n                _ = &mut sleep => {\n                    // The operation elapsed. Restart it\n                    op.set(my_async_operation());\n\n                    // Track the new start time\n                    op_start = Instant::now();\n\n                    // Restart the timeout\n                    sleep.set(time::sleep_until(op_start + conf.timeout));\n                }\n                _ = rx.changed() => {\n                    conf = rx.borrow_and_update().clone();\n\n                    // The configuration has been updated. Update the\n                    // `sleep` using the new `timeout` value.\n                    sleep.as_mut().reset(op_start + conf.timeout);\n                }\n                _ = &mut op => {\n                    // The operation completed!\n                    return\n                }\n            }\n        }\n    });\n\n    handles.push(handle);\n}\n\nfor handle in handles.drain(..) {\n    handle.await.unwrap();\n}\n# }\n```\n\n[`watch` channel]: mod@crate::sync::watch\n[`broadcast` channel]: mod@crate::sync::broadcast\n\n# State synchronization\n\nThe remaining synchronization primitives focus on synchronizing state.\nThese are asynchronous equivalents to versions provided by `std`. They\noperate in a similar way as their `std` counterparts but will wait\nasynchronously instead of blocking the thread.\n\n* [`Barrier`] Ensures multiple tasks will wait for each other to reach a\n  point in the program, before continuing execution all together.\n\n* [`Mutex`] Mutual Exclusion mechanism, which ensures that at most one\n  thread at a time is able to access some data.\n\n* [`Notify`] Basic task notification. `Notify` supports notifying a\n  receiving task without sending data. In this case, the task wakes up and\n  resumes processing.\n\n* [`RwLock`] Provides a mutual exclusion mechanism which allows multiple\n  readers at the same time, while allowing only one writer at a time. In\n  some cases, this can be more efficient than a mutex.\n\n* [`Semaphore`] Limits the amount of concurrency. A semaphore holds a\n  number of permits, which tasks may request in order to enter a critical\n  section. Semaphores are useful for implementing limiting or bounding of\n  any kind.\n\n# Runtime compatibility\n\nAll synchronization primitives provided in this module are runtime agnostic.\nYou can freely move them between different instances of the Tokio runtime\nor even use them from non-Tokio runtimes.\n\nWhen used in a Tokio runtime, the synchronization primitives participate in\n[cooperative scheduling](crate::task::coop#cooperative-scheduling) to avoid\nstarvation. This feature does not apply when used from non-Tokio runtimes.\n\nAs an exception, methods ending in `_timeout` are not runtime agnostic\nbecause they require access to the Tokio timer. See the documentation of\neach `*_timeout` method for more information on its use.","links":{"`oneshot`":5678,"mpsc":5680,"`Mutex`":5687,"crate::task":3687,"`RwLock`":6273,"crate::task::coop#cooperative-scheduling":4759,"mod@crate::sync::watch":6783,"oneshot":5678,"crate::task::JoinHandle":3722,"crate::sync::broadcast":5121,"`Barrier`":4972,"`Notify`":5900,"`Semaphore`":5895,"`mpsc`":5680},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1854) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[4967,5121,5680,5678,6783,6882,6883,6884,6885,6886,6887,6888,6889,6890,6891,6892,6893,6894,6895,6896,6897,6898,6899,6900,6901,6902,6903,6904,6905,6906],"is_stripped":false}}},"7234":{"id":7234,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[329,9],"end":[329,52]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"super::task_local::TaskLocalFuture","name":"TaskLocalFuture","id":7062,"is_glob":false}}},"5472":{"id":5472,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1948":{"id":1948,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"186":{"id":186,"crate_id":0,"name":"fmt","span":{"filename":"src/fs/dir_builder.rs","begin":[10,10],"end":[10,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3710":{"id":3710,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7561":{"id":7561,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4037":{"id":4037,"crate_id":0,"name":null,"span":{"filename":"src/runtime/builder.rs","begin":[164,14],"end":[164,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[4036],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2275":{"id":2275,"crate_id":0,"name":"peek","span":{"filename":"src/net/tcp/stream.rs","begin":[1112,5],"end":[1117,6]},"visibility":"public","docs":"Receives data on the socket from the remote address to which it is\nconnected, without removing that data from the queue. On success,\nreturns the number of bytes peeked.\n\nSuccessive calls return the same data. This is accomplished by passing\n`MSG_PEEK` as a flag to the underlying `recv` system call.\n\n# Cancel safety\n\nThis method is cancel safe. If the method is used as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, then it is guaranteed that no peek was performed, and\nthat `buf` has not been modified.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\nuse tokio::io::AsyncReadExt;\nuse std::error::Error;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let mut stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\n    let mut b1 = [0; 10];\n    let mut b2 = [0; 10];\n\n    // Peek at the data\n    let n = stream.peek(&mut b1).await?;\n\n    // Read the data\n    assert_eq!(n, stream.read(&mut b2[..n]).await?);\n    assert_eq!(&b1[..n], &b2[..n]);\n\n    Ok(())\n}\n```\n\nThe [`read`] method is defined on the [`AsyncReadExt`] trait.\n\n[`read`]: fn@crate::io::AsyncReadExt::read\n[`AsyncReadExt`]: trait@crate::io::AsyncReadExt","links":{"fn@crate::io::AsyncReadExt::read":1484,"trait@crate::io::AsyncReadExt":202,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"513":{"id":513,"crate_id":0,"name":"BufReader","span":{"filename":"src/io/util/buf_reader.rs","begin":[10,1],"end":[35,2]},"visibility":"public","docs":"The `BufReader` struct adds buffering to any reader.\n\nIt can be excessively inefficient to work directly with a [`AsyncRead`]\ninstance. A `BufReader` performs large, infrequent reads on the underlying\n[`AsyncRead`] and maintains an in-memory buffer of the results.\n\n`BufReader` can improve the speed of programs that make *small* and\n*repeated* read calls to the same file or network socket. It does not\nhelp when reading very large amounts at once, or reading just one or a few\ntimes. It also provides no advantage when reading from a source that is\nalready in memory, like a `Vec<u8>`.\n\nWhen the `BufReader` is dropped, the contents of its buffer will be\ndiscarded. Creating multiple instances of a `BufReader` on the same\nstream can cause data loss.","links":{"`AsyncRead`":224},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1624,1625,1626,1627,1628,1629,1630,1631,1632,1633,1634,1635,1636,1637,1638,1639,1640,1641,1642,1643,1644,606,564,679,774,1647,1649]}}},"6126":{"id":6126,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"840":{"id":840,"crate_id":0,"name":"poll_flush","span":{"filename":"src/net/unix/split_owned.rs","begin":[394,5],"end":[397,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4691":{"id":4691,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/metrics/histogram.rs","begin":[56,14],"end":[56,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2929":{"id":2929,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1167":{"id":1167,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[927,1],"end":[931,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1166],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6453":{"id":6453,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6780":{"id":6780,"crate_id":0,"name":"Receiver","span":{"filename":"src/sync/watch.rs","begin":[185,1],"end":[191,2]},"visibility":"public","docs":"Receives values from the associated [`Sender`](struct@Sender).\n\nInstances are created by the [`channel`](fn@channel) function.\n\nTo turn this receiver into a `Stream`, you can use the [`WatchStream`]\nwrapper.\n\n[`WatchStream`]: https://docs.rs/tokio-stream/0.1/tokio_stream/wrappers/struct.WatchStream.html","links":{"fn@channel":6779,"struct@Sender":6778},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6791,6792,6793,6794,6795,6796,6797,6798,6799,6800,6801,6802,6803,6804,6805,6806,6807,6808,6809,6811,6813,6815]}}},"3256":{"id":3256,"crate_id":0,"name":"write","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2421,5],"end":[2424,6]},"visibility":"public","docs":"If the created pipe supports writing data. This is enabled by default.\n\nThis corresponds to setting [`GENERIC_WRITE`] in the call to [`CreateFile`].\n\n[`GENERIC_WRITE`]: https://docs.microsoft.com/en-us/windows/win32/secauthz/generic-access-rights\n[`CreateFile`]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["allowed",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5018":{"id":5018,"crate_id":0,"name":"clone","span":{"filename":"src/sync/barrier.rs","begin":[202,17],"end":[202,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5345":{"id":5345,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3583":{"id":3583,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1658,5],"end":[1658,30]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"super::ChildStderr","id":658,"args":null}},"items":[3582],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1821":{"id":1821,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7107":{"id":7107,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5672":{"id":5672,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/mod.rs","begin":[121,61],"end":[121,67]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::bounded::Sender","name":"Sender","id":5224,"is_glob":false}}},"386":{"id":386,"crate_id":0,"name":"ReadDir","span":{"filename":"src/fs/read_dir.rs","begin":[64,1],"end":[64,27]},"visibility":"public","docs":"Reads the entries in a directory.\n\nThis struct is returned from the [`read_dir`] function of this module and\nwill yield instances of [`DirEntry`]. Through a [`DirEntry`] information\nlike the entry's path and possibly other metadata can be learned.\n\nA `ReadDir` can be turned into a `Stream` with [`ReadDirStream`].\n\n[`ReadDirStream`]: https://docs.rs/tokio-stream/0.1/tokio_stream/wrappers/struct.ReadDirStream.html\n\n# Errors\n\nThis stream will return an [`Err`] if there's some sort of intermittent\nIO error during iteration.\n\n[`read_dir`]: read_dir\n[`DirEntry`]: DirEntry\n[`Err`]: std::result::Result::Err","links":{"DirEntry":388,"read_dir":385,"std::result::Result::Err":389},"attrs":[{"must_use":{"reason":"streams do nothing unless polled"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,411]}}},"5999":{"id":5999,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4237":{"id":4237,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[337,1],"end":[341,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[4236],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"713":{"id":713,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/async_write.rs","begin":[244,5],"end":[246,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2475":{"id":2475,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6326":{"id":6326,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2802":{"id":2802,"crate_id":0,"name":"forget","span":{"filename":"src/net/unix/split_owned.rs","begin":[268,5],"end":[271,6]},"visibility":"public","docs":"Destroys the write half, but don't close the write half of the stream\nuntil the read half is dropped. If the read half has already been\ndropped, this closes the stream.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1040":{"id":1040,"crate_id":0,"name":"fmt","span":{"filename":"src/io/ready.rs","begin":[308,5],"end":[321,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4564":{"id":4564,"crate_id":0,"name":"clone","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[19,10],"end":[19,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6653":{"id":6653,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4891":{"id":4891,"crate_id":0,"name":"recv","span":{"filename":"src/signal/windows.rs","begin":[301,5],"end":[304,6]},"visibility":"public","docs":"Receives the next signal notification event.\n\nAlthough this returns `Option<()>`, it will never actually return `None`.\nThis was accidentally exposed and would be a breaking change to be removed.\n\n# Examples\n\n```rust,no_run\nuse tokio::signal::windows::ctrl_close;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    // A listener of CTRL-CLOSE events.\n    let mut signal = ctrl_close()?;\n\n    // Print whenever a CTRL-CLOSE event is received.\n    signal.recv().await;\n    println!(\"got CTRL-CLOSE. Cleaning up before exiting\");\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1367":{"id":1367,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3129":{"id":3129,"crate_id":0,"name":"async_io","span":{"filename":"src/net/windows/named_pipe.rs","begin":[882,5],"end":[888,6]},"visibility":"public","docs":"Reads or writes from the pipe using a user-provided IO operation.\n\nThe readiness of the pipe is awaited and when the pipe is ready,\nthe provided closure is called. The closure should attempt to perform\nIO operation on the pipe by manually calling the appropriate syscall.\nIf the operation fails because the pipe is not actually ready,\nthen the closure should return a `WouldBlock` error. In such case the\nreadiness flag is cleared and the pipe readiness is awaited again.\nThis loop is repeated until the closure returns an `Ok` or an error\nother than `WouldBlock`.\n\nThe closure should only return a `WouldBlock` error if it has performed\nan IO operation on the pipe that failed due to the pipe not being\nready. Returning a `WouldBlock` error in any other situation will\nincorrectly clear the readiness flag, which can cause the pipe to\nbehave incorrectly.\n\nThe closure should not perform the IO operation using any of the methods\ndefined on the Tokio `NamedPipeServer` type, as this will mess with the\nreadiness flag and can cause the pipe to behave incorrectly.\n\nThis method is not intended to be used with combined interests.\nThe closure should perform only one type of IO operation, so it should not\nrequire more than one ready state. This method may panic or sleep forever\nif it is called with a combined interest.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnMut() -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6980":{"id":6980,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3456":{"id":3456,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1694":{"id":1694,"crate_id":0,"name":"into_inner","span":{"filename":"src/io/util/buf_writer.rs","begin":[108,5],"end":[110,6]},"visibility":"public","docs":"Consumes this `BufWriter`, returning the underlying writer.\n\nNote that any leftover data in the internal buffer is lost.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"generic":"W"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5218":{"id":5218,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/broadcast.rs","begin":[1736,5],"end":[1738,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7307":{"id":7307,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5545":{"id":5545,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3783":{"id":3783,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"259":{"id":259,"crate_id":0,"name":"poll_write","span":{"filename":"src/fs/file.rs","begin":[728,5],"end":[797,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["src",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4110":{"id":4110,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2348":{"id":2348,"crate_id":0,"name":"try_read_buf","span":{"filename":"src/net/tcp/split_owned.rs","begin":[317,9],"end":[319,10]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffer, advancing the\nbuffer's internal cursor, returning how many bytes were read.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_buf()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: Self::readable()\n[`ready()`]: Self::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the stream's read half is closed\nand will no longer yield data. If the stream is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::ready()":2346,"Self::readable()":2345},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#487) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"B","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"BufMut","id":919,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5872":{"id":5872,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6199":{"id":6199,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4437":{"id":4437,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"913":{"id":913,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2675":{"id":2675,"crate_id":0,"name":"datagram","span":{"filename":"src/net/unix/socket.rs","begin":[230,5],"end":[245,6]},"visibility":"public","docs":"Converts the socket into a [`UnixDatagram`].\n\nCalling this function on a socket created by [`new_stream`] will return an error.\n\n[`new_stream`]: `UnixSocket::new_stream`","links":{"`UnixSocket::new_stream`":2671,"`UnixDatagram`":2619},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixDatagram","id":2619,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4764":{"id":4764,"crate_id":0,"name":"SignalKind","span":{"filename":"src/signal/unix.rs","begin":[79,1],"end":[79,36]},"visibility":"public","docs":"Represents the specific kind of signal to listen for.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[4779,4780,4781,4782,4783,4784,4785,4786,4787,4788,4789,4790,4791,4792,4793,4794,4795,4796,4797,4799,4801,4802,4804,4805,4807,4808,4810,4812]}}},"3002":{"id":3002,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1240":{"id":1240,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6526":{"id":6526,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[192,1],"end":[1101,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6516,6517,6518,6519,6397,6520,6272,5868,6521,6435,6522,6312,5869,6523,6524,6525],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6853":{"id":6853,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[211,1],"end":[215,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Default","id":193,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6852],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5091":{"id":5091,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1567":{"id":1567,"crate_id":0,"name":"write_u16","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an unsigned 16-bit integer in big-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_u16(&mut self, n: u16) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite unsigned 16-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_u16(517).await?;\nwriter.write_u16(768).await?;\n\nassert_eq!(writer, b\"\\x02\\x05\\x03\\x00\");\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"u16"}]],"output":{"resolved_path":{"path":"WriteU16","id":1568,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3329":{"id":3329,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5418":{"id":5418,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7180":{"id":7180,"crate_id":0,"name":"spawn_blocking_on","span":{"filename":"src/task/join_set.rs","begin":[785,5],"end":[794,6]},"visibility":"public","docs":"Spawn the blocking code on the blocking threadpool of the provided\nruntime handle with this builder's settings, and store it in the\n[`JoinSet`].\n\n# Returns\n\nAn [`AbortHandle`] that can be used to remotely cancel the task.\n\n[`JoinSet`]: crate::task::JoinSet\n[`AbortHandle`]: crate::task::AbortHandle","links":{"crate::task::AbortHandle":3723,"crate::task::JoinSet":3724},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["f",{"generic":"F"}],["handle",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Handle","id":4265,"args":null}}}}]],"output":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"T"}}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7507":{"id":7507,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5745":{"id":5745,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2221":{"id":2221,"crate_id":0,"name":"set_tos_v4","span":{"filename":"src/net/tcp/socket.rs","begin":[684,5],"end":[686,6]},"visibility":"public","docs":"Sets the value for the `IP_TOS` option on this socket.\n\nThis value sets the type-of-service field that is used in every packet\nsent from this socket.\n\n# Note\n\n- This may not have any effect on IPv6 sockets.\n- On Windows, `IP_TOS` is only supported on [Windows 8+ or\n  Windows Server 2012+.](https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-ip-socket-options)","links":{},"attrs":[{"other":"#[attr = CfgTrace([Not(Any([NameValue { name: \"target_os\", value: Some(\"fuchsia\"), span: src/net/tcp/socket.rs:666:9: 666:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"redox\"), span: src/net/tcp/socket.rs:667:9: 667:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"solaris\"), span: src/net/tcp/socket.rs:668:9: 668:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"illumos\"), span: src/net/tcp/socket.rs:669:9: 669:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"haiku\"), span: src/net/tcp/socket.rs:670:9: 670:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/net/tcp/socket.rs:671:9: 671:27 (#0) }], src/net/tcp/socket.rs:665:18: 672:6 (#0)), src/net/tcp/socket.rs:665:14: 672:7 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(not(any(target_os = \"fuchsia\", target_os = \"redox\", target_os = \"solaris\", target_os = \"illumos\", target_os = \"haiku\", target_os = \"wasi\"))))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["tos",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3983":{"id":3983,"crate_id":0,"name":"Log","span":{"filename":"src/runtime/metrics/histogram.rs","begin":[63,9],"end":[63,12]},"visibility":"default","docs":"Logarithmic bucket scale","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"6072":{"id":6072,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2548":{"id":2548,"crate_id":0,"name":"multicast_loop_v4","span":{"filename":"src/net/udp.rs","begin":[1918,5],"end":[1920,6]},"visibility":"public","docs":"Gets the value of the `IP_MULTICAST_LOOP` option for this socket.\n\nFor more information about this option, see [`set_multicast_loop_v4`].\n\n[`set_multicast_loop_v4`]: method@Self::set_multicast_loop_v4","links":{"method@Self::set_multicast_loop_v4":2547},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"bool"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"786":{"id":786,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_writer.rs","begin":[118,1],"end":[211,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[781,782,783,784,785],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6399":{"id":6399,"crate_id":0,"name":"map","span":{"filename":"src/sync/rwlock/read_guard.rs","begin":[80,5],"end":[94,6]},"visibility":"public","docs":"Makes a new `RwLockReadGuard` for a component of the locked data.\n\nThis operation cannot fail as the `RwLockReadGuard` passed in already\nlocked the data.\n\nThis is an associated function that needs to be\nused as `RwLockReadGuard::map(...)`. A method would interfere with\nmethods of the same name on the contents of the locked data.\n\nThis is an asynchronous version of [`RwLockReadGuard::map`] from the\n[`parking_lot` crate].\n\n[`RwLockReadGuard::map`]: https://docs.rs/lock_api/latest/lock_api/struct.RwLockReadGuard.html#method.map\n[`parking_lot` crate]: https://crates.io/crates/parking_lot\n\n# Examples\n\n```\nuse tokio::sync::{RwLock, RwLockReadGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = RwLock::new(Foo(1));\n\nlet guard = lock.read().await;\nlet guard = RwLockReadGuard::map(guard, |f| &f.0);\n\nassert_eq!(1, *guard);\n# }\n```","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"U"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"U"}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2875":{"id":2875,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4637":{"id":4637,"crate_id":0,"name":"default","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[143,10],"end":[143,17]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6726":{"id":6726,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4964":{"id":4964,"crate_id":0,"name":"Notified","span":{"filename":"src/sync/notify.rs","begin":[381,1],"end":[393,2]},"visibility":"public","docs":"Future returned from [`Notify::notified()`].\n\nThis future is fused, so once it has completed, any future calls to poll\nwill immediately return `Poll::Ready`.","links":{"`Notify::notified()`":5896},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"impls":[5932,5933,5934,5935,5936,5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5949,5950,5951,5954,5956]}}},"1440":{"id":1440,"crate_id":0,"name":"writer_pin_mut","span":{"filename":"src/io/join.rs","begin":[68,5],"end":[70,6]},"visibility":"public","docs":"Returns a pinned mutable reference to the inner writer.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"W"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7053":{"id":7053,"crate_id":0,"name":"fmt","span":{"filename":"src/task/local.rs","begin":[497,5],"end":[499,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3529":{"id":3529,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1767":{"id":1767,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5291":{"id":5291,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5618":{"id":5618,"crate_id":0,"name":"eq","span":{"filename":"src/sync/mpsc/error.rs","begin":[81,10],"end":[81,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3856":{"id":3856,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2094":{"id":2094,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[279,21],"end":[279,26]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"split::split","name":"split","id":1385,"is_glob":false}}},"7380":{"id":7380,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[173,1],"end":[177,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AddAssign","id":7381,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Duration","id":2215,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[7379],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5945":{"id":5945,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"IntoFuture","id":525,"args":null},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[3812,3813,3814],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"F"}}}},"2421":{"id":2421,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6272":{"id":6272,"crate_id":0,"name":"read_owned","span":{"filename":"src/sync/rwlock.rs","begin":[584,5],"end":[626,6]},"visibility":"public","docs":" Locks this `RwLock` with shared read access, causing the current task\n to yield until the lock has been acquired.\n\n The calling task will yield until there are no writers which hold the\n lock. There may be other readers inside the lock when the task resumes.\n\n This method is identical to [`RwLock::read`], except that the returned\n guard references the `RwLock` with an [`Arc`] rather than by borrowing\n it. Therefore, the `RwLock` must be wrapped in an `Arc` to call this\n method, and the guard will live for the `'static` lifetime, as it keeps\n the `RwLock` alive by holding an `Arc`.\n\n Note that under the priority policy of [`RwLock`], read locks are not\n granted until prior write locks, to prevent starvation. Therefore\n deadlock may occur if a read lock is held by the current task, a write\n lock attempt is made, and then a subsequent read lock attempt is made\n by the current task.\n\n Returns an RAII guard which will drop this read access of the `RwLock`\n when dropped.\n\n # Cancel safety\n\n This method uses a queue to fairly distribute locks in the order they\n were requested. Cancelling a call to `read_owned` makes you lose your\n place in the queue.\n\n # Examples\n\n ```\n use std::sync::Arc;\n use tokio::sync::RwLock;\n\n # #[tokio::main(flavor = \"current_thread\")]\n # async fn main() {\n let lock = Arc::new(RwLock::new(1));\n let c_lock = lock.clone();\n\n let n = lock.read_owned().await;\n assert_eq!(*n, 1);\n\n tokio::spawn(async move {\n     // While main has an active read lock, we acquire one too.\n     let r = c_lock.read_owned().await;\n     assert_eq!(*r, 1);\n }).await.expect(\"The spawned task has panicked\");\n\n // Drop the guard after the spawned task finishes.\n drop(n);\n}\n ```","links":{"`RwLock`":6273,"`Arc`":2509,"`RwLock::read`":6397},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4510":{"id":4510,"crate_id":0,"name":"num_workers","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[48,5],"end":[50,6]},"visibility":"public","docs":"Returns the number of worker threads used by the runtime.\n\nThe number of workers is set by configuring `worker_threads` on\n`runtime::Builder`. When using the `current_thread` runtime, the return\nvalue is always `1`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.num_workers();\nprintln!(\"Runtime is using {} workers\", n);\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"986":{"id":986,"crate_id":0,"name":"ALL","span":{"filename":"src/io/ready.rs","begin":[49,5],"end":[50,84]},"visibility":"public","docs":"Returns a `Ready` representing readiness for all operations.","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/io/ready.rs:48:15: 48:34 (#0) }, NameValue { name: \"target_os\", value: Some(\"android\"), span: src/io/ready.rs:48:36: 48:57 (#0) }], src/io/ready.rs:48:14: 48:58 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}},"value":"_","default_unstable":null}}},"2748":{"id":2748,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4837":{"id":4837,"crate_id":0,"name":"signal","span":{"filename":"src/signal/unix.rs","begin":[402,1],"end":[409,2]},"visibility":"public","docs":"Creates a new listener which will receive notifications when the current\nprocess receives the specified signal `kind`.\n\nThis function will create a new stream which binds to the default reactor.\nThe `Signal` stream is an infinite stream which will receive\nnotifications whenever a signal is received. More documentation can be\nfound on `Signal` itself, but to reiterate:\n\n* Signals may be coalesced beyond what the kernel already does.\n* Once a signal handler is registered with the process the underlying\n  libc signal handler is never unregistered.\n\nA `Signal` stream can be created for a particular signal number\nmultiple times. When a signal is received then all the associated\nchannels will receive the signal notification.\n\n# Errors\n\n* If the lower-level C functions fail for some reason.\n* If the previous initialization of this specific signal failed.\n* If the signal is one of\n  [`signal_hook::FORBIDDEN`](fn@signal_hook_registry::register#panics)\n\n# Panics\n\nThis function panics if there is no current reactor set, or if the `rt`\nfeature flag is not enabled.","links":{"fn@signal_hook_registry::register#panics":4836},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["kind",{"resolved_path":{"path":"SignalKind","id":4764,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Signal","id":4814,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3075":{"id":3075,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/pipe.rs","begin":[917,1],"end":[1456,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[3062,3063,3064,3065,3067,3066,3069,3068,3070,3071,3072,3073,3074],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1313":{"id":1313,"crate_id":0,"name":"as_fd","span":{"filename":"src/io/stderr.rs","begin":[107,9],"end":[109,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6599":{"id":6599,"crate_id":0,"name":"drop","span":{"filename":"src/sync/once_cell.rs","begin":[105,5],"end":[112,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6926":{"id":6926,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5164":{"id":5164,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[1105,1],"end":[1144,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5161,5162,5163],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1640":{"id":1640,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7253":{"id":7253,"crate_id":0,"name":"advance","span":{"filename":"src/time/clock.rs","begin":[270,5],"end":[281,6]},"visibility":"public","docs":"Advances time.\n\nIncrements the saved `Instant::now()` value by `duration`. Subsequent\ncalls to `Instant::now()` will return the result of the increment.\n\nThis function will make the current time jump forward by the given\nduration in one jump. This means that all `sleep` calls with a deadline\nbefore the new time will immediately complete \"at the same time\", and\nthe runtime is free to poll them in any order.  Additionally, this\nmethod will not wait for the `sleep` calls it advanced past to complete.\nIf you want to do that, you should instead call [`sleep`] and rely on\nthe runtime's auto-advance feature.\n\nNote that calls to `sleep` are not guaranteed to complete the first time\nthey are polled after a call to `advance`. For example, this can happen\nif the runtime has not yet touched the timer driver after the call to\n`advance`. However if they don't, the runtime will poll the task again\nshortly.\n\n# When to use `sleep` instead\n\n**Important:** `advance` is designed for testing scenarios where you want to\ninstantly jump forward in time. However, it has limitations that make it\nunsuitable for certain use cases:\n\n- **Forcing timeouts:** If you want to reliably trigger a timeout, prefer\n  using [`sleep`] with auto-advance rather than `advance`. The `advance`\n  function jumps time forward but doesn't guarantee that all timers will be\n  processed before your code continues.\n\n- **Simulating freezes:** If you're trying to simulate a scenario where the\n  program freezes and then resumes, the batch behavior of `advance` may not\n  produce the expected results. All timers that expire during the advance\n  complete simultaneously.\n\nFor most testing scenarios where you want to wait for a duration to pass\nand have all timers fire in order, use [`sleep`] instead:\n\n```ignore\nuse tokio::time::{self, Duration};\n\n#[tokio::test(start_paused = true)]\nasync fn test_timeout_reliable() {\n    // Use sleep with auto-advance for reliable timeout testing\n    time::sleep(Duration::from_secs(5)).await;\n    // All timers that were scheduled to fire within 5 seconds\n    // have now been processed in order\n}\n```\n\n# Panics\n\nPanics if any of the following conditions are met:\n\n- The clock is not frozen, which means that you must\n  call [`pause`] before calling this method.\n- If called outside of the Tokio runtime.\n- If the input `duration` is too large (such as [`Duration::MAX`])\n  to be safely added to the current time without causing an overflow.\n\n# Caveats\n\nUsing a very large `duration` is not recommended,\nas it may cause panicking due to overflow.\n\n# Auto-advance\n\nIf the time is paused and there is no work to do, the runtime advances\ntime to the next timer. See [`pause`](pause#auto-advance) for more\ndetails.\n\n[`sleep`]: fn@crate::time::sleep","links":{"pause#auto-advance":7254,"`Duration::MAX`":7257,"fn@crate::time::sleep":7256,"`pause`":7254},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"test-util\"), span: src/macros/cfg.rs:567:19: 567:40 (#4294) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"test-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["duration",{"resolved_path":{"path":"crate::time::Duration","id":2215,"args":null}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3729":{"id":3729,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1967":{"id":1967,"crate_id":0,"name":"next_segment","span":{"filename":"src/io/util/split.rs","begin":[61,5],"end":[65,6]},"visibility":"public","docs":"Returns the next segment in the stream.\n\n# Examples\n\n```\n# use tokio::io::AsyncBufRead;\nuse tokio::io::AsyncBufReadExt;\n\n# async fn dox(my_buf_read: impl AsyncBufRead + Unpin) -> std::io::Result<()> {\nlet mut segments = my_buf_read.split(b'f');\n\nwhile let Some(segment) = segments.next_segment().await? {\n    println!(\"length = {}\", segment.len())\n}\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u8"}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"205":{"id":205,"crate_id":0,"name":"OpenOptions","span":{"filename":"src/fs/open_options.rs","begin":[88,1],"end":[90,2]},"visibility":"public","docs":"Options and flags which can be used to configure how a file is opened.\n\nThis builder exposes the ability to configure how a [`File`] is opened and\nwhat operations are permitted on the open file. The [`File::open`] and\n[`File::create`] methods are aliases for commonly used options using this\nbuilder.\n\nGenerally speaking, when using `OpenOptions`, you'll first call [`new`],\nthen chain calls to methods to set each option, then call [`open`], passing\nthe path of the file you're trying to open. This will give you a\n[`io::Result`] with a [`File`] inside that you can further operate\non.\n\nThis is a specialized version of [`std::fs::OpenOptions`] for usage from\nthe Tokio runtime.\n\n`From<std::fs::OpenOptions>` is implemented for more advanced configuration\nthan the methods provided here.\n\n[`new`]: OpenOptions::new\n[`open`]: OpenOptions::open\n[`File`]: File\n[`File::open`]: File::open\n[`File::create`]: File::create\n\n# Examples\n\nOpening a file to read:\n\n```no_run\nuse tokio::fs::OpenOptions;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let file = OpenOptions::new()\n        .read(true)\n        .open(\"foo.txt\")\n        .await?;\n\n    Ok(())\n}\n```\n\nOpening a file for both reading and writing, as well as creating it if it\ndoesn't exist:\n\n```no_run\nuse tokio::fs::OpenOptions;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let file = OpenOptions::new()\n        .read(true)\n        .write(true)\n        .create(true)\n        .open(\"foo.txt\")\n        .await?;\n\n    Ok(())\n}\n```","links":{"`io::Result`":119,"File::create":210,"File::open":207,"File":204,"OpenOptions::new":212,"OpenOptions::open":309,"`std::fs::OpenOptions`":310},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[334,337,343,344,345,346,347,348,349,350,351,352,354,357,358,359,360,361,365,367,368,370,372,374,376]}}},"5491":{"id":5491,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[687,1],"end":[695,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5490],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5818":{"id":5818,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2294":{"id":2294,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"532":{"id":532,"crate_id":0,"name":"consume","span":{"filename":"src/io/async_buf_read.rs","begin":[62,5],"end":[62,50]},"visibility":"default","docs":"Tells this buffer that `amt` bytes have been consumed from the buffer,\nso they should no longer be returned in calls to [`poll_read`].\n\nThis function is a lower-level call. It needs to be paired with the\n[`poll_fill_buf`] method to function properly. This function does\nnot perform any I/O, it simply informs this object that some amount of\nits buffer, returned from [`poll_fill_buf`], has been consumed and should\nno longer be returned. As such, this function may do odd things if\n[`poll_fill_buf`] isn't called before calling it.\n\nThe `amt` must be `<=` the number of bytes in the buffer returned by\n[`poll_fill_buf`].\n\n[`poll_read`]: AsyncRead::poll_read\n[`poll_fill_buf`]: AsyncBufRead::poll_fill_buf","links":{"AsyncRead::poll_read":533,"AsyncBufRead::poll_fill_buf":534},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["amt",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"4056":{"id":4056,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4383":{"id":4383,"crate_id":0,"name":"drop","span":{"filename":"src/runtime/runtime.rs","begin":[501,5],"end":[516,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6145":{"id":6145,"crate_id":0,"name":"eq","span":{"filename":"src/sync/batch_semaphore.rs","begin":[51,17],"end":[51,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"859":{"id":859,"crate_id":0,"name":"poll_flush","span":{"filename":"src/net/windows/named_pipe.rs","begin":[918,5],"end":[920,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6472":{"id":6472,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[182,1],"end":[182,81]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"write_guard::RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4710":{"id":4710,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1186":{"id":1186,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5037":{"id":5037,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3275":{"id":3275,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1513":{"id":1513,"crate_id":0,"name":"read_u128","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an unsigned 128-bit integer in big-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_u128(&mut self) -> io::Result<u128>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead unsigned 128-bit big-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![\n        0x00, 0x03, 0x43, 0x95, 0x4d, 0x60, 0x86, 0x83,\n    0x00, 0x03, 0x43, 0x95, 0x4d, 0x60, 0x86, 0x83\n]);\n\nassert_eq!(16947640962301618749969007319746179, reader.read_u128().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadU128","id":1514,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6799":{"id":6799,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7126":{"id":7126,"crate_id":0,"name":"build_task","span":{"filename":"src/task/join_set.rs","begin":[122,5],"end":[127,6]},"visibility":"public","docs":"Returns a [`Builder`] that can be used to configure a task prior to\nspawning it on this `JoinSet`.\n\n# Examples\n\n```\nuse tokio::task::JoinSet;\n\n#[tokio::main]\nasync fn main() -> std::io::Result<()> {\n    let mut set = JoinSet::new();\n\n    // Use the builder to configure a task's name before spawning it.\n    set.build_task()\n        .name(\"my_task\")\n        .spawn(async { /* ... */ })?;\n\n    Ok(())\n}\n```","links":{"`Builder`":7125},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/task/join_set.rs:120:15: 120:29 (#0) }, NameValue { name: \"feature\", value: Some(\"tracing\"), span: src/task/join_set.rs:120:31: 120:50 (#0) }], src/task/join_set.rs:120:14: 120:51 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, feature = \"tracing\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5364":{"id":5364,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1800,5],"end":[1805,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1840":{"id":1840,"crate_id":0,"name":"drop","span":{"filename":"src/io/util/mem.rs","begin":[176,5],"end":[180,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3602":{"id":3602,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5691":{"id":5691,"crate_id":0,"name":"OwnedMutexGuard","span":{"filename":"src/sync/mutex.rs","begin":[175,1],"end":[181,2]},"visibility":"public","docs":"An owned handle to a held `Mutex`.\n\nThis guard is only available from a `Mutex` that is wrapped in an [`Arc`]. It\nis identical to `MutexGuard`, except that rather than borrowing the `Mutex`,\nit clones the `Arc`, incrementing the reference count. This means that\nunlike `MutexGuard`, it will have the `'static` lifetime.\n\nAs long as you have this guard, you have exclusive access to the underlying\n`T`. The guard internally keeps a reference-counted pointer to the original\n`Mutex`, so even if the lock goes away, the guard remains valid.\n\nThe lock is automatically released whenever the guard is dropped, at which\npoint `lock` will succeed yet again.\n\n[`Arc`]: std::sync::Arc","links":{"std::sync::Arc":2509},"attrs":[{"other":"#[clippy::has_significant_drop]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5766,5767,5768,5769,5770,5771,5772,5773,5774,5775,5776,5777,5778,5779,5780,5781,5782,5783,5784,5786,5789,5791,5793,5795]}}},"7453":{"id":7453,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"405":{"id":405,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2167":{"id":2167,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6018":{"id":6018,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[362,5],"end":[366,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[6017],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4256":{"id":4256,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"732":{"id":732,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/async_write.rs","begin":[354,5],"end":[356,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6345":{"id":6345,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[433,5],"end":[435,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4583":{"id":4583,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1059":{"id":1059,"crate_id":0,"name":null,"span":{"filename":"src/io/bsd/poll_aio.rs","begin":[118,1],"end":[192,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"E","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AioSource","id":1049,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[1055,1056,1053,1058,1052],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2821":{"id":2821,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6672":{"id":6672,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[103,1],"end":[109,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6671],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3148":{"id":3148,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1386":{"id":1386,"crate_id":0,"name":"is_pair_of","span":{"filename":"src/io/split.rs","begin":[72,5],"end":[74,6]},"visibility":"public","docs":"Checks if this `ReadHalf` and some `WriteHalf` were split from the same\nstream.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4910":{"id":4910,"crate_id":0,"name":"fmt","span":{"filename":"src/signal/windows.rs","begin":[273,10],"end":[273,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6999":{"id":6999,"crate_id":0,"name":"LocalEnterGuard","span":{"filename":"src/task/local.rs","begin":[473,1],"end":[480,2]},"visibility":"public","docs":"Context guard for `LocalSet`","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[7035,7036,7037,7038,7039,7040,7041,7042,7043,7044,7045,7046,7047,7048,7049,7050,7052,7054]}}},"5237":{"id":5237,"crate_id":0,"name":"blocking_send","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1046,5],"end":[1048,6]},"visibility":"public","docs":"Blocking send to call outside of asynchronous contexts.\n\nThis method is intended for use cases where you are sending from\nsynchronous code to asynchronous code, and will work even if the\nreceiver is not using [`blocking_recv`] to receive the message.\n\n[`blocking_recv`]: fn@crate::sync::mpsc::Receiver::blocking_recv\n\n# Panics\n\nThis function panics if called within an asynchronous execution\ncontext.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::thread;\nuse tokio::runtime::Runtime;\nuse tokio::sync::mpsc;\n\nfn main() {\n    let (tx, mut rx) = mpsc::channel::<u8>(1);\n\n    let sync_code = thread::spawn(move || {\n        tx.blocking_send(10).unwrap();\n    });\n\n    Runtime::new().unwrap().block_on(async move {\n        assert_eq!(Some(10), rx.recv().await);\n    });\n    sync_code.join().unwrap()\n}\n# }\n```","links":{"fn@crate::sync::mpsc::Receiver::blocking_recv":5236},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/sync/mpsc/bounded.rs:1044:11: 1044:27 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[attr = TrackCaller]"},{"other":"#[doc(alias = \"send_blocking\")]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["value",{"generic":"T"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3475":{"id":3475,"crate_id":0,"name":"stdin","span":{"filename":"src/process/mod.rs","begin":[1188,5],"end":[1188,34]},"visibility":"public","docs":"The handle for writing to the child's standard input (stdin), if it has\nbeen captured. To avoid partially moving the `child` and thus blocking\nyourself from calling functions on `child` while using `stdin`, you might\nfind it helpful to do:\n\n```no_run\n# let mut child = tokio::process::Command::new(\"echo\").spawn().unwrap();\nlet stdin = child.stdin.take().unwrap();\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}}}],"constraints":[]}}}}}},"1713":{"id":1713,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3802":{"id":3802,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/join.rs","begin":[175,1],"end":[320,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[3767,3800,3801,3727],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5564":{"id":5564,"crate_id":0,"name":"0","span":{"filename":"src/sync/mpsc/error.rs","begin":[35,12],"end":[35,13]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"generic":"T"}}},"278":{"id":278,"crate_id":0,"name":"as_fd","span":{"filename":"src/fs/file.rs","begin":[916,5],"end":[920,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"std::os::unix::io::BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5891":{"id":5891,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[301,1],"end":[301,31]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4129":{"id":4129,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"605":{"id":605,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/util/buf_reader.rs","begin":[101,5],"end":[119,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2367":{"id":2367,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4456":{"id":4456,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2694":{"id":2694,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/socket.rs","begin":[88,14],"end":[88,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[2693],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"932":{"id":932,"crate_id":0,"name":"is_writable","span":{"filename":"src/io/interest.rs","begin":[103,5],"end":[105,6]},"visibility":"public","docs":"Returns true if the value includes writable interest.\n\n# Examples\n\n```\nuse tokio::io::Interest;\n\nassert!(!Interest::READABLE.is_writable());\nassert!(Interest::WRITABLE.is_writable());\n\nlet both = Interest::READABLE | Interest::WRITABLE;\nassert!(both.is_writable());\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6218":{"id":6218,"crate_id":0,"name":null,"span":{"filename":"src/sync/semaphore.rs","begin":[1002,1],"end":[1107,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[6188,6215,6216,6217],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6545":{"id":6545,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[1103,1],"end":[1107,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6544],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4783":{"id":4783,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1259":{"id":1259,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3021":{"id":3021,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/pipe.rs","begin":[121,17],"end":[121,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[3020],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5110":{"id":5110,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[325,21],"end":[325,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3348":{"id":3348,"crate_id":0,"name":"out_buffer_size","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2646,5],"end":[2646,29]},"visibility":"public","docs":"The number of bytes to reserve for the output buffer.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"primitive":"u32"}}},"6872":{"id":6872,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7199":{"id":7199,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5437":{"id":5437,"crate_id":0,"name":"closed","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[623,5],"end":[625,6]},"visibility":"public","docs":"Completes when the receiver has dropped.\n\nThis allows the producers to get notified when interest in the produced\nvalues is canceled and immediately stop doing work.\n\n# Cancel safety\n\nThis method is cancel safe. Once the channel is closed, it stays closed\nforever and all future calls to `closed` will return immediately.\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx1, rx) = mpsc::unbounded_channel::<()>();\nlet tx2 = tx1.clone();\nlet tx3 = tx1.clone();\nlet tx4 = tx1.clone();\nlet tx5 = tx1.clone();\ntokio::spawn(async move {\n    drop(rx);\n});\n\nfutures::join!(\n    tx1.closed(),\n    tx2.closed(),\n    tx3.closed(),\n    tx4.closed(),\n    tx5.closed()\n);\nprintln!(\"Receiver dropped\");\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1913":{"id":1913,"crate_id":0,"name":"repeat","span":{"filename":"src/io/util/repeat.rs","begin":[47,5],"end":[49,6]},"visibility":"public","docs":"Creates an instance of an async reader that infinitely repeats one byte.\n\nAll reads from this reader will succeed by filling the specified buffer with\nthe given byte.\n\nThis is an asynchronous version of [`std::io::repeat`][std].\n\n[std]: std::io::repeat\n\n# Examples\n\n```\nuse tokio::io::{self, AsyncReadExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut buffer = [0; 3];\nio::repeat(0b101).read_exact(&mut buffer).await.unwrap();\nassert_eq!(buffer, [0b101, 0b101, 0b101]);\n# }\n```","links":{"std::io::repeat":1934},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#390) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["byte",{"primitive":"u8"}]],"output":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"151":{"id":151,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5764":{"id":5764,"crate_id":0,"name":"try_map","span":{"filename":"src/sync/mutex.rs","begin":[1100,5],"end":[1116,6]},"visibility":"public","docs":"Attempts to make a new [`OwnedMappedMutexGuard`] for a component of the locked data. The\noriginal guard is returned if the closure returns `None`.\n\nThis operation cannot fail as the [`OwnedMutexGuard`] passed in already locked the mutex.\n\nThis is an associated function that needs to be used as `OwnedMutexGuard::try_map(...)`. A\nmethod would interfere with methods of the same name on the contents of the locked data.\n\n# Examples\n\n```\nuse tokio::sync::{Mutex, OwnedMutexGuard};\nuse std::sync::Arc;\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet foo = Arc::new(Mutex::new(Foo(1)));\n\n{\n    let mut mapped = OwnedMutexGuard::try_map(foo.clone().lock_owned().await, |f| Some(&mut f.0))\n        .expect(\"should not fail\");\n    *mapped = 2;\n}\n\nassert_eq!(Foo(2), *foo.lock().await);\n# }\n```\n\n[`OwnedMutexGuard`]: struct@OwnedMutexGuard\n[`OwnedMappedMutexGuard`]: struct@OwnedMappedMutexGuard","links":{"struct@OwnedMappedMutexGuard":5762,"struct@OwnedMutexGuard":5691},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}}},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4002":{"id":4002,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2240":{"id":2240,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"478":{"id":478,"crate_id":0,"name":"symlink","span":{"filename":"src/fs/symlink.rs","begin":[11,1],"end":[16,2]},"visibility":"public","docs":"Creates a new symbolic link on the filesystem.\n\nThe `link` path will be a symbolic link pointing to the `original` path.\n\nThis is an async version of [`std::os::unix::fs::symlink`].","links":{"`std::os::unix::fs::symlink`":477},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["original",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}],["link",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}},{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7526":{"id":7526,"crate_id":0,"name":null,"span":{"filename":"src/time/timeout.rs","begin":[205,1],"end":[223,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Future","id":520,"args":null},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7524,7525],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2567":{"id":2567,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"805":{"id":805,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/util/sink.rs","begin":[55,5],"end":[63,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4329":{"id":4329,"crate_id":0,"name":null,"span":{"filename":"src/runtime/handle.rs","begin":[32,10],"end":[32,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[4328],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6418":{"id":6418,"crate_id":0,"name":"Target","span":{"filename":"src/sync/rwlock/read_guard.rs","begin":[153,5],"end":[153,21]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"T"},"default_unstable":null}}},"4656":{"id":4656,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2894":{"id":2894,"crate_id":0,"name":"readable","span":{"filename":"src/net/unix/stream.rs","begin":[261,5],"end":[264,6]},"visibility":"public","docs":"Waits for the socket to become readable.\n\nThis function is equivalent to `ready(Interest::READABLE)` and is usually\npaired with `try_read()`.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read that fails with `WouldBlock` or\n`Poll::Pending`.\n\n# Examples\n\n```no_run\nuse tokio::net::UnixStream;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let dir = tempfile::tempdir().unwrap();\n    let bind_path = dir.path().join(\"bind_path\");\n    let stream = UnixStream::connect(bind_path).await?;\n\n    let mut msg = vec![0; 1024];\n\n    loop {\n        // Wait for the socket to be readable\n        stream.readable().await?;\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match stream.try_read(&mut msg) {\n            Ok(n) => {\n                msg.truncate(n);\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    println!(\"GOT = {:?}\", msg);\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1132":{"id":1132,"crate_id":0,"name":"poll_write_ready_mut","span":{"filename":"src/io/async_fd.rs","begin":[488,5],"end":[498,6]},"visibility":"public","docs":"Polls for write readiness.\n\nIf the file descriptor is not currently ready for writing, this method\nwill store a clone of the [`Waker`] from the provided [`Context`]. When the\nfile descriptor becomes ready for writing, [`Waker::wake`] will be called.\n\nNote that on multiple calls to [`poll_write_ready`] or\n[`poll_write_ready_mut`], only the `Waker` from the `Context` passed to the\nmost recent call is scheduled to receive a wakeup. (However,\n[`poll_read_ready`] retains a second, independent waker).\n\nThis method is intended for cases where creating and pinning a future\nvia [`writable`] is not feasible. Where possible, using [`writable`] is\npreferred, as this supports polling from multiple tasks at once.\n\nThis method takes `&mut self`, so it is possible to access the inner IO\nresource mutably when handling the [`AsyncFdReadyMutGuard`].\n\n[`poll_read_ready`]: method@Self::poll_read_ready\n[`poll_write_ready`]: method@Self::poll_write_ready\n[`poll_write_ready_mut`]: method@Self::poll_write_ready_mut\n[`writable`]: method@Self::readable\n[`Context`]: struct@std::task::Context\n[`Waker`]: struct@std::task::Waker\n[`Waker::wake`]: method@std::task::Waker::wake","links":{"method@Self::poll_read_ready":1118,"struct@std::task::Waker":1128,"struct@std::task::Context":251,"method@Self::poll_write_ready_mut":1132,"method@Self::poll_write_ready":1119,"method@std::task::Waker::wake":1129,"`AsyncFdReadyMutGuard`":1131,"method@Self::readable":1114},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3221":{"id":3221,"crate_id":0,"name":"out_buffer_size","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2235,5],"end":[2238,6]},"visibility":"public","docs":"The number of bytes to reserve for the output buffer.\n\nThis corresponds to specifying [`nOutBufferSize`].\n\n[`nOutBufferSize`]: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["buffer",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1459":{"id":1459,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4983":{"id":4983,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"7072":{"id":7072,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3548":{"id":3548,"crate_id":0,"name":"from_std","span":{"filename":"src/process/mod.rs","begin":[1527,5],"end":[1531,6]},"visibility":"public","docs":"Creates an asynchronous `ChildStdout` from a synchronous one.\n\n# Errors\n\nThis method may fail if an error is encountered when setting the pipe to\nnon-blocking mode, or when registering the pipe with the runtime's IO\ndriver.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["inner",{"resolved_path":{"path":"std::process::ChildStdout","id":3549,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7399":{"id":7399,"crate_id":0,"name":"tick","span":{"filename":"src/time/interval.rs","begin":[428,5],"end":[443,6]},"visibility":"public","docs":"Completes when the next instant in the interval has been reached.\n\n# Cancel safety\n\nThis method is cancel safe. If `tick` is used as a branch in\n[`tokio::select!`](crate::select) and another branch completes first,\nthen no tick has been consumed.\n\n# Examples\n\n```\nuse tokio::time;\n\nuse std::time::Duration;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut interval = time::interval(Duration::from_millis(10));\n\ninterval.tick().await;\n// approximately 0ms have elapsed. The first tick completes immediately.\ninterval.tick().await;\ninterval.tick().await;\n\n// approximately 20ms have elapsed.\n# }\n```","links":{"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3875":{"id":3875,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2113":{"id":2113,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[287,20],"end":[287,29]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::BufStream","name":"BufStream","id":568,"is_glob":false}}},"351":{"id":351,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5637":{"id":5637,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5964":{"id":5964,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4202":{"id":4202,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"678":{"id":678,"crate_id":0,"name":"poll_complete","span":{"filename":"src/io/util/buf_reader.rs","begin":[187,5],"end":[258,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u64"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2440":{"id":2440,"crate_id":0,"name":"readable","span":{"filename":"src/net/tcp/stream.rs","begin":[522,5],"end":[525,6]},"visibility":"public","docs":"Waits for the socket to become readable.\n\nThis function is equivalent to `ready(Interest::READABLE)` and is usually\npaired with `try_read()`.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read that fails with `WouldBlock` or\n`Poll::Pending`.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\n    let mut msg = vec![0; 1024];\n\n    loop {\n        // Wait for the socket to be readable\n        stream.readable().await?;\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match stream.try_read(&mut msg) {\n            Ok(n) => {\n                msg.truncate(n);\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    println!(\"GOT = {:?}\", msg);\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4529":{"id":4529,"crate_id":0,"name":"budget_forced_yield_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[644,9],"end":[650,10]},"visibility":"public","docs":"Returns the number of times that tasks have been forced to yield back to the scheduler\nafter exhausting their task budgets.\n\nThis count starts at zero when the runtime is created and increases by one each time a task yields due to exhausting its budget.\n\nThe counter is monotonically increasing. It is never decremented or\nreset to zero.","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/metrics/runtime.rs:578:13: 578:27 (#0) }, NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/runtime/metrics/runtime.rs:579:13: 579:37 (#0) }], src/runtime/metrics/runtime.rs:577:15: 580:10 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, target_has_atomic = \"64\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2767":{"id":2767,"crate_id":0,"name":"into_split","span":{"filename":"src/net/unix/stream.rs","begin":[1010,5],"end":[1012,6]},"visibility":"public","docs":"Splits a `UnixStream` into a read half and a write half, which can be used\nto read and write the stream concurrently.\n\nUnlike [`split`], the owned halves can be moved to separate tasks, however\nthis comes at the cost of a heap allocation.\n\n**Note:** Dropping the write half will only shut down the write half of the\nstream. This is equivalent to calling [`shutdown()`] on the `UnixStream`.\n\n[`split`]: Self::split()\n[`shutdown()`]: fn@crate::io::AsyncWriteExt::shutdown","links":{"fn@crate::io::AsyncWriteExt::shutdown":1608,"Self::split()":2705},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"tuple":[{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1005":{"id":1005,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6291":{"id":6291,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6618":{"id":6618,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4856":{"id":4856,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1332":{"id":1332,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3094":{"id":3094,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/pipe.rs","begin":[912,10],"end":[912,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[3093],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6945":{"id":6945,"crate_id":0,"name":"poll_proceed","span":{"filename":"src/task/coop/mod.rs","begin":[343,5],"end":[364,6]},"visibility":"public","docs":"Decrements the task budget and returns [`Poll::Pending`] if the budget is depleted.\nThis indicates that the task should yield to the scheduler. Otherwise, returns\n[`RestoreOnPending`] which can be used to commit the budget consumption.\n\nThe returned [`RestoreOnPending`] will revert the budget to its former\nvalue when dropped unless [`RestoreOnPending::made_progress`]\nis called. It is the caller's responsibility to do so when it _was_ able to\nmake progress after the call to [`poll_proceed`].\nRestoring the budget automatically ensures the task can try to make progress in some other\nway.\n\nNote that [`RestoreOnPending`] restores the budget **as it was before [`poll_proceed`]**.\nTherefore, if the budget is _further_ adjusted between when [`poll_proceed`] returns and\n[`RestoreOnPending`] is dropped, those adjustments are erased unless the caller indicates\nthat progress was made.\n\n# Examples\n\nThis example wraps the `futures::channel::mpsc::UnboundedReceiver` to\ncooperate with the Tokio scheduler. Each time a value is received, task budget\nis consumed. If no budget is available, the task yields to the scheduler.\n\n```\nuse std::pin::Pin;\nuse std::task::{ready, Context, Poll};\nuse tokio::task::coop;\nuse futures::stream::{Stream, StreamExt};\nuse futures::channel::mpsc::UnboundedReceiver;\n\nstruct CoopUnboundedReceiver<T> {\n   receiver: UnboundedReceiver<T>,\n}\n\nimpl<T> Stream for CoopUnboundedReceiver<T> {\n    type Item = T;\n    fn poll_next(\n        mut self: Pin<&mut Self>,\n        cx: &mut Context<'_>\n    ) -> Poll<Option<T>> {\n        let coop = ready!(coop::poll_proceed(cx));\n        match self.receiver.poll_next_unpin(cx) {\n            Poll::Ready(v) => {\n                // We received a value, so consume budget.\n                coop.made_progress();\n                Poll::Ready(v)\n            }\n            Poll::Pending => Poll::Pending,\n       }\n    }\n}\n```","links":{"`RestoreOnPending`":6946,"`poll_proceed`":6945,"`Poll::Pending`":6969,"`RestoreOnPending::made_progress`":6947},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:629:21: 629:35 (#4221) }, NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:630:21: 630:39 (#4221) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:631:21: 631:36 (#4221) }, NameValue { name: \"feature\", value: Some(\"process\"), span: src/macros/cfg.rs:632:21: 632:40 (#4221) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:633:21: 633:35 (#4221) }, NameValue { name: \"feature\", value: Some(\"signal\"), span: src/macros/cfg.rs:634:21: 634:39 (#4221) }, NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:635:21: 635:37 (#4221) }, NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:636:21: 636:37 (#4221) }], src/macros/cfg.rs:628:22: 637:22 (#4221))])]"},{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"std::task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"std::task::Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3421":{"id":3421,"crate_id":0,"name":"new","span":{"filename":"src/process/mod.rs","begin":[317,5],"end":[319,6]},"visibility":"public","docs":"Constructs a new `Command` for launching the program at\npath `program`, with the following default configuration:\n\n* No arguments to the program\n* Inherit the current process's environment\n* Inherit the current process's working directory\n* Inherit stdin/stdout/stderr for `spawn` or `status`, but create pipes for `output`\n\nBuilder methods are provided to change these defaults and\notherwise configure the process.\n\nIf `program` is not an absolute path, the `PATH` will be searched in\nan OS-defined way.\n\nThe search path to be used may be controlled by setting the\n`PATH` environment variable on the Command,\nbut this has some implementation limitations on Windows\n(see issue [rust-lang/rust#37519]).\n\n# Examples\n\nBasic usage:\n\n```no_run\nuse tokio::process::Command;\nlet mut command = Command::new(\"sh\");\n# let _ = command.output(); // assert borrow checker\n```\n\n[rust-lang/rust#37519]: https://github.com/rust-lang/rust/issues/37519","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["program",{"generic":"S"}]],"output":{"resolved_path":{"path":"Command","id":3420,"args":null}},"is_c_variadic":false},"generics":{"params":[{"name":"S","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1659":{"id":1659,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"RW"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5183":{"id":5183,"crate_id":0,"name":"clone","span":{"filename":"src/sync/broadcast.rs","begin":[1147,5],"end":[1152,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7272":{"id":7272,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5510":{"id":5510,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1986":{"id":1986,"crate_id":0,"name":"fmt","span":{"filename":"src/io/util/split.rs","begin":[16,14],"end":[16,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"224":{"id":224,"crate_id":0,"name":"AsyncRead","span":{"filename":"src/io/async_read.rs","begin":[44,1],"end":[60,2]},"visibility":"public","docs":"Reads bytes from a source.\n\nThis trait is analogous to the [`std::io::Read`] trait, but integrates with\nthe asynchronous task system. In particular, the [`poll_read`] method,\nunlike [`Read::read`], will automatically queue the current task for wakeup\nand return if data is not yet available, rather than blocking the calling\nthread.\n\nSpecifically, this means that the `poll_read` function will return one of\nthe following:\n\n* `Poll::Ready(Ok(()))` means that data was immediately read and placed into\n  the output buffer. The amount of data read can be determined by the\n  increase in the length of the slice returned by `ReadBuf::filled`. If the\n  difference is 0, either EOF has been reached, or the output buffer had zero\n  capacity (i.e. `buf.remaining()` == 0).\n\n* `Poll::Pending` means that no data was read into the buffer\n  provided. The I/O object is not currently readable but may become readable\n  in the future. Most importantly, **the current future's task is scheduled\n  to get unparked when the object is readable**. This means that like\n  `Future::poll` you'll receive a notification when the I/O object is\n  readable again.\n\n* `Poll::Ready(Err(e))` for other errors are standard I/O errors coming from the\n  underlying object.\n\nThis trait importantly means that the `read` method only works in the\ncontext of a future's task. The object may panic if used outside of a task.\n\nUtilities for working with `AsyncRead` values are provided by\n[`AsyncReadExt`].\n\n[`poll_read`]: AsyncRead::poll_read\n[`std::io::Read`]: std::io::Read\n[`Read::read`]: std::io::Read::read\n[`AsyncReadExt`]: crate::io::AsyncReadExt","links":{"AsyncRead::poll_read":533,"std::io::Read::read":586,"std::io::Read":585,"crate::io::AsyncReadExt":202},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":true,"items":[533],"generics":{"params":[],"where_predicates":[]},"bounds":[],"implementations":[254,588,590,592,594,596,598,601,604,606,608,610,612,614,616,619,622,625,627,630,633,636,639,642,645,648,651,654,657]}}},"3748":{"id":3748,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/id.rs","begin":[31,10],"end":[31,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[3747],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7599":{"id":7599,"crate_id":0,"name":"into_raw_socket","span":{"filename":"src/doc/os.rs","begin":[47,13],"end":[47,51]},"visibility":"default","docs":"See [`std::os::windows::io::IntoRawSocket::into_raw_socket`](https://doc.rust-lang.org/std/os/windows/io/trait.IntoRawSocket.html#tymethod.into_raw_socket)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"RawSocket","id":2192,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"4075":{"id":4075,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2313":{"id":2313,"crate_id":0,"name":"peer_addr","span":{"filename":"src/net/tcp/split.rs","begin":[360,5],"end":[362,6]},"visibility":"public","docs":"Returns the remote address that this stream is connected to.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"551":{"id":551,"crate_id":0,"name":"poll_fill_buf","span":{"filename":"src/io/async_buf_read.rs","begin":[101,5],"end":[103,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5837":{"id":5837,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1292,1],"end":[1357,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[5835,5836],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6164":{"id":6164,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2640":{"id":2640,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"878":{"id":878,"crate_id":0,"name":"new","span":{"filename":"src/io/read_buf.rs","begin":[32,5],"end":[40,6]},"visibility":"public","docs":"Creates a new `ReadBuf` from a fully initialized buffer.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["buf",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4402":{"id":4402,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6491":{"id":6491,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2967":{"id":2967,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1205":{"id":1205,"crate_id":0,"name":"try_io","span":{"filename":"src/io/async_fd.rs","begin":[1336,5],"end":[1349,6]},"visibility":"public","docs":"Performs the provided IO operation.\n\nIf `f` returns a [`WouldBlock`] error, the readiness state associated\nwith this file descriptor is cleared, and the method returns\n`Err(TryIoError::WouldBlock)`. You will typically need to poll the\n`AsyncFd` again when this happens.\n\nThis method helps ensure that the readiness state of the underlying file\ndescriptor remains in sync with the tokio-side readiness state, by\nclearing the tokio-side state only when a [`WouldBlock`] condition\noccurs. It is the responsibility of the caller to ensure that `f`\nreturns [`WouldBlock`] only if the file descriptor that originated this\n`AsyncFdReadyGuard` no longer expresses the readiness state that was queried to\ncreate this `AsyncFdReadyGuard`.\n\n[`WouldBlock`]: std::io::ErrorKind::WouldBlock","links":{"std::io::ErrorKind::WouldBlock":1116},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Inner"}}],"constraints":[]}}}}}}],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnOnce(&mut AsyncFd<Inner>) -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Inner"}}],"constraints":[]}}}}}}],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6818":{"id":6818,"crate_id":0,"name":"subscribe","span":{"filename":"src/sync/watch.rs","begin":[1387,5],"end":[1394,6]},"visibility":"public","docs":"Creates a new [`Receiver`] connected to this `Sender`.\n\nAll messages sent before this call to `subscribe` are initially marked\nas seen by the new `Receiver`.\n\nThis method can be called even if there are no other receivers. In this\ncase, the channel is reopened.\n\n# Examples\n\nThe new channel will receive messages sent on this `Sender`.\n\n```\nuse tokio::sync::watch;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, _rx) = watch::channel(0u64);\n\ntx.send(5).unwrap();\n\nlet rx = tx.subscribe();\nassert_eq!(5, *rx.borrow());\n\ntx.send(10).unwrap();\nassert_eq!(10, *rx.borrow());\n# }\n```\n\nThe most recent message is considered seen by the channel, so this test\nis guaranteed to pass.\n\n```\nuse tokio::sync::watch;\nuse tokio::time::Duration;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, _rx) = watch::channel(0u64);\ntx.send(5).unwrap();\nlet mut rx = tx.subscribe();\n\ntokio::spawn(async move {\n    // by spawning and sleeping, the message is sent after `main`\n    // hits the call to `changed`.\n    # if false {\n    tokio::time::sleep(Duration::from_millis(10)).await;\n    # }\n    tx.send(100).unwrap();\n});\n\nrx.changed().await.unwrap();\nassert_eq!(100, *rx.borrow());\n# }\n```","links":{"`Receiver`":6780},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5056":{"id":5056,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3294":{"id":3294,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5383":{"id":5383,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7145":{"id":7145,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1859":{"id":1859,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7472":{"id":7472,"crate_id":0,"name":null,"span":{"filename":"src/time/sleep.rs","begin":[247,1],"end":[450,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[7468,7469,7471],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5710":{"id":5710,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"never"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5709],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2186":{"id":2186,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/listener.rs","begin":[401,1],"end":[405,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[2185],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"424":{"id":424,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3948":{"id":3948,"crate_id":0,"name":"max_blocking_threads","span":{"filename":"src/runtime/builder.rs","begin":[570,5],"end":[574,6]},"visibility":"public","docs":"Specifies the limit for additional threads spawned by the Runtime.\n\nThese threads are used for blocking operations like tasks spawned\nthrough [`spawn_blocking`], this includes but is not limited to:\n- [`fs`] operations\n- dns resolution through [`ToSocketAddrs`]\n- writing to [`Stdout`] or [`Stderr`]\n- reading from [`Stdin`]\n\nUnlike the [`worker_threads`], they are not always active and will exit\nif left idle for too long. You can change this timeout duration with [`thread_keep_alive`].\n\nIt's recommended to not set this limit too low in order to avoid hanging on operations\nrequiring [`spawn_blocking`].\n\nThe default value is 512.\n\n# Queue Behavior\n\nWhen a blocking task is submitted, it will be inserted into a queue. If available, one of\nthe idle threads will be notified to run the task. Otherwise, if the threshold set by this\nmethod has not been reached, a new thread will be spawned. If no idle thread is available\nand no more threads are allowed to be spawned, the task will remain in the queue until one\nof the busy threads pick it up. Note that since the queue does not apply any backpressure,\nit could potentially grow unbounded.\n\n# Panics\n\nThis will panic if `val` is not larger than `0`.\n\n# Upgrading from 0.x\n\nIn old versions `max_threads` limited both blocking and worker threads, but the\ncurrent `max_blocking_threads` does not include async worker threads in the count.\n\n[`spawn_blocking`]: fn@crate::task::spawn_blocking\n[`fs`]: mod@crate::fs\n[`ToSocketAddrs`]: trait@crate::net::ToSocketAddrs\n[`Stdout`]: struct@crate::io::Stdout\n[`Stdin`]: struct@crate::io::Stdin\n[`Stderr`]: struct@crate::io::Stderr\n[`worker_threads`]: Self::worker_threads\n[`thread_keep_alive`]: Self::thread_keep_alive","links":{"Self::worker_threads":3946,"trait@crate::net::ToSocketAddrs":2128,"struct@crate::io::Stdin":599,"Self::thread_keep_alive":3947,"fn@crate::task::spawn_blocking":379,"struct@crate::io::Stdout":755,"struct@crate::io::Stderr":750,"mod@crate::fs":516},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[attr = TrackCaller]"},{"other":"#[doc(alias = \"max_threads\")]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["val",{"primitive":"usize"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6037":{"id":6037,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4275":{"id":4275,"crate_id":0,"name":"shutdown_timeout","span":{"filename":"src/runtime/runtime.rs","begin":[452,5],"end":[456,6]},"visibility":"public","docs":"Shuts down the runtime, waiting for at most `duration` for all spawned\nwork to stop.\n\nSee the [struct level documentation](Runtime#shutdown) for more details.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Runtime;\nuse tokio::task;\n\nuse std::thread;\nuse std::time::Duration;\n\nfn main() {\n   let runtime = Runtime::new().unwrap();\n\n   runtime.block_on(async move {\n       task::spawn_blocking(move || {\n           thread::sleep(Duration::from_secs(10_000));\n       });\n   });\n\n   runtime.shutdown_timeout(Duration::from_millis(100));\n}\n# }\n```","links":{"Runtime#shutdown":3112},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["duration",{"resolved_path":{"path":"Duration","id":2215,"args":null}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"751":{"id":751,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/stdout.rs","begin":[218,5],"end":[224,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2513":{"id":2513,"crate_id":0,"name":"into_std","span":{"filename":"src/net/udp.rs","begin":[256,5],"end":[274,6]},"visibility":"public","docs":"Turns a [`tokio::net::UdpSocket`] into a [`std::net::UdpSocket`].\n\nThe returned [`std::net::UdpSocket`] will have nonblocking mode set as\n`true`.  Use [`set_nonblocking`] to change the blocking mode if needed.\n\n# Examples\n\n```rust,no_run\nuse std::error::Error;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let tokio_socket = tokio::net::UdpSocket::bind(\"127.0.0.1:0\").await?;\n    let std_socket = tokio_socket.into_std()?;\n    std_socket.set_nonblocking(false)?;\n    Ok(())\n}\n```\n\n[`tokio::net::UdpSocket`]: UdpSocket\n[`std::net::UdpSocket`]: std::net::UdpSocket\n[`set_nonblocking`]: fn@std::net::UdpSocket::set_nonblocking","links":{"fn@std::net::UdpSocket::set_nonblocking":2511,"std::net::UdpSocket":1141,"UdpSocket":2510},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::net::UdpSocket","id":1141,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6364":{"id":6364,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2840":{"id":2840,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1078":{"id":1078,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4602":{"id":4602,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[26,30],"end":[26,39]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[4601],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6691":{"id":6691,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4929":{"id":4929,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3167":{"id":3167,"crate_id":0,"name":"try_write","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1539,5],"end":[1543,6]},"visibility":"public","docs":"Tries to write a buffer to the pipe, returning how many bytes were\nwritten.\n\nThe function will attempt to write the entire contents of `buf`, but\nonly part of the buffer may be written.\n\nThis function is usually paired with `writable()`.\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the pipe is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-client-try-write\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let client = named_pipe::ClientOptions::new().open(PIPE_NAME)?;\n\n    loop {\n        // Wait for the pipe to be writable\n        client.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match client.try_write(b\"hello world\") {\n            Ok(n) => {\n                break;\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1405":{"id":1405,"crate_id":0,"name":null,"span":{"filename":"src/io/split.rs","begin":[153,1],"end":[153,45]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7018":{"id":7018,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3494":{"id":3494,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1732":{"id":1732,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5256":{"id":5256,"crate_id":0,"name":"strong_count","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1619,5],"end":[1621,6]},"visibility":"public","docs":"Returns the number of [`Sender`] handles.","links":{"`Sender`":5224},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7345":{"id":7345,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5583":{"id":5583,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3821":{"id":3821,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/join.rs","begin":[173,1],"end":[173,43]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"297":{"id":297,"crate_id":0,"name":"from_raw_handle","span":{"filename":"src/fs/file.rs","begin":[958,9],"end":[962,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["handle",{"resolved_path":{"path":"RawHandle","id":290,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2059":{"id":2059,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[46,27],"end":[46,34]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"mem::simplex","name":"simplex","id":1847,"is_glob":false}}},"4148":{"id":4148,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[49,10],"end":[49,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[4147],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2386":{"id":2386,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"624":{"id":624,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/util/take.rs","begin":[79,5],"end":[104,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5910":{"id":5910,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6237":{"id":6237,"crate_id":0,"name":"drop","span":{"filename":"src/sync/semaphore.rs","begin":[1226,5],"end":[1228,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4475":{"id":4475,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"951":{"id":951,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2713":{"id":2713,"crate_id":0,"name":"local_addr","span":{"filename":"src/net/unix/split.rs","begin":[184,5],"end":[186,6]},"visibility":"public","docs":"Returns the socket address of the local half of this connection.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4802":{"id":4802,"crate_id":0,"name":null,"span":{"filename":"src/signal/unix.rs","begin":[78,24],"end":[78,28]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3040":{"id":3040,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"1278":{"id":1278,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[1429,1],"end":[1433,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1276],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6564":{"id":6564,"crate_id":0,"name":"AlreadyInitializedError","span":{"filename":"src/sync/once_cell.rs","begin":[479,5],"end":[479,31]},"visibility":"default","docs":"The cell was already initialized when [`OnceCell::set`] was called.\n\n[`OnceCell::set`]: crate::sync::OnceCell::set","links":{"crate::sync::OnceCell::set":6566},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":{"tuple":[6605]},"discriminant":null}}},"6891":{"id":6891,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[474,31],"end":[474,43]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"batch_semaphore::AcquireError","name":"AcquireError","id":6153,"is_glob":false}}},"5129":{"id":5129,"crate_id":0,"name":"is_empty","span":{"filename":"src/sync/broadcast.rs","begin":[823,5],"end":[828,6]},"visibility":"public","docs":"Returns true if there are no queued values.\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx1) = broadcast::channel(16);\nlet mut rx2 = tx.subscribe();\n\nassert!(tx.is_empty());\n\ntx.send(10).unwrap();\n\nassert!(!tx.is_empty());\n\nrx1.recv().await.unwrap();\n\n// The queue is still not empty since rx2 hasn't seen the value.\nassert!(!tx.is_empty());\n\nrx2.recv().await.unwrap();\n\nassert!(tx.is_empty());\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1605":{"id":1605,"crate_id":0,"name":"write_f64_le","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an 64-bit floating point type in little-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_f64_le(&mut self, n: f64) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite 64-bit floating point type to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_f64_le(f64::MIN).await?;\n\nassert_eq!(writer, vec![\n    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xef, 0xff\n]);\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"f64"}]],"output":{"resolved_path":{"path":"WriteF64Le","id":1606,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3367":{"id":3367,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5456":{"id":5456,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3694":{"id":3694,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/error.rs","begin":[20,1],"end":[133,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[3688,3689,3690,3691,3693],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1932":{"id":1932,"crate_id":0,"name":"fmt","span":{"filename":"src/io/util/repeat.rs","begin":[21,14],"end":[21,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"170":{"id":170,"crate_id":2,"name":"try_into","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":{"feature":"const_convert","level":"unstable"},"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}},{"type":{"qualified_path":{"name":"Error","args":null,"self_type":{"generic":"U"},"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7218":{"id":7218,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5783":{"id":5783,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4021":{"id":4021,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"497":{"id":497,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[248,1],"end":[248,36]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::read_link::read_link","name":"read_link","id":444,"is_glob":false}}},"6110":{"id":6110,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"IntoFuture","id":525,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[3812,3813,3814],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"F"}}}},"4348":{"id":4348,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2586":{"id":2586,"crate_id":0,"name":"fmt","span":{"filename":"src/net/udp.rs","begin":[2320,5],"end":[2322,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"824":{"id":824,"crate_id":0,"name":"poll_write","span":{"filename":"src/net/tcp/stream.rs","begin":[1487,5],"end":[1493,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6437":{"id":6437,"crate_id":0,"name":"map","span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[88,5],"end":[103,6]},"visibility":"public","docs":"Makes a new [`RwLockMappedWriteGuard`] for a component of the locked data.\n\nThis operation cannot fail as the `RwLockWriteGuard` passed in already\nlocked the data.\n\nThis is an associated function that needs to be used as\n`RwLockWriteGuard::map(..)`. A method would interfere with methods of\nthe same name on the contents of the locked data.\n\nThis is an asynchronous version of [`RwLockWriteGuard::map`] from the\n[`parking_lot` crate].\n\n[`RwLockMappedWriteGuard`]: struct@crate::sync::RwLockMappedWriteGuard\n[`RwLockWriteGuard::map`]: https://docs.rs/lock_api/latest/lock_api/struct.RwLockWriteGuard.html#method.map\n[`parking_lot` crate]: https://crates.io/crates/parking_lot\n\n# Examples\n\n```\nuse tokio::sync::{RwLock, RwLockWriteGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = RwLock::new(Foo(1));\n\n{\n    let mut mapped = RwLockWriteGuard::map(lock.write().await, |f| &mut f.0);\n    *mapped = 2;\n}\n\nassert_eq!(Foo(2), *lock.read().await);\n# }\n```","links":{"struct@crate::sync::RwLockMappedWriteGuard":6317},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"U"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2913":{"id":2913,"crate_id":0,"name":"UCred","span":{"filename":"src/net/unix/ucred.rs","begin":[5,1],"end":[12,2]},"visibility":"public","docs":"Credentials of a process.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[2956,2957,2958,2959,2960,2961,2962,2963,2964,2965,2966,2967,2968,2969,2970,2971,2972,2973,2974,2975,2977,2978,2979,2981,2984,2987]}}},"1151":{"id":1151,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4675":{"id":4675,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5002":{"id":5002,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3240":{"id":3240,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6764":{"id":6764,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7091":{"id":7091,"crate_id":0,"name":"take_value","span":{"filename":"src/task/task_local.rs","begin":[383,5],"end":[386,6]},"visibility":"public","docs":"Returns the value stored in the task local by this `TaskLocalFuture`.\n\nThe function returns:\n\n* `Some(T)` if the task local value exists.\n* `None` if the task local value has already been taken.\n\nNote that this function attempts to take the task local value even if\nthe future has not yet completed. In that case, the value will no longer\nbe available via the task local after the call to `take_value`.\n\n# Examples\n\n```\n# async fn dox() {\ntokio::task_local! {\n    static KEY: u32;\n}\n\nlet fut = KEY.scope(42, async {\n    // Do some async work\n});\n\nlet mut pinned = Box::pin(fut);\n\n// Complete the TaskLocalFuture\nlet _ = pinned.as_mut().await;\n\n// And here, we can take task local value\nlet value = pinned.as_mut().take_value();\n\nassert_eq!(value, Some(42));\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3567":{"id":3567,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1805":{"id":1805,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5329":{"id":5329,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1731,1],"end":[1746,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5328],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5656":{"id":5656,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[123,14],"end":[123,23]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::PartialEq","id":966,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5655],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3894":{"id":3894,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/mod.rs","begin":[192,18],"end":[192,24]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"id::try_id","name":"try_id","id":3725,"is_glob":false}}},"370":{"id":370,"crate_id":0,"name":null,"span":{"filename":"src/fs/open_options.rs","begin":[87,10],"end":[87,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[369],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7418":{"id":7418,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4221":{"id":4221,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2459":{"id":2459,"crate_id":0,"name":"ttl","span":{"filename":"src/net/tcp/stream.rs","begin":[1376,5],"end":[1378,6]},"visibility":"public","docs":"Gets the value of the `IP_TTL` option for this socket.\n\nFor more information about this option, see [`set_ttl`].\n\n[`set_ttl`]: TcpStream::set_ttl\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\nprintln!(\"{:?}\", stream.ttl()?);\n# Ok(())\n# }\n```","links":{"TcpStream::set_ttl":2458},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u32"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5983":{"id":5983,"crate_id":0,"name":"poll","span":{"filename":"src/sync/notify.rs","begin":[1088,5],"end":[1090,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4548":{"id":4548,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1024":{"id":1024,"crate_id":0,"name":"cmp","span":{"filename":"src/io/ready.rs","begin":[20,50],"end":[20,53]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}}]],"output":{"resolved_path":{"path":"$crate::cmp::Ordering","id":1021,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2786":{"id":2786,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3113":{"id":3113,"crate_id":0,"name":"enable_io","span":{"filename":"src/runtime/builder.rs","begin":[1770,9],"end":[1773,10]},"visibility":"public","docs":"Enables the I/O driver.\n\nDoing this enables using net, process, signal, and some I/O types on\nthe runtime.\n\n# Examples\n\n```\nuse tokio::runtime;\n\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_io()\n    .build()\n    .unwrap();\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4875":{"id":4875,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6964":{"id":6964,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5202":{"id":5202,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1678":{"id":1678,"crate_id":0,"name":"fmt","span":{"filename":"src/io/util/buf_stream.rs","begin":[17,14],"end":[17,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3440":{"id":3440,"crate_id":0,"name":"creation_flags","span":{"filename":"src/process/mod.rs","begin":[675,9],"end":[678,10]},"visibility":"public","docs":"Sets the [process creation flags][1] to be passed to `CreateProcess`.\n\nThese will always be ORed with `CREATE_UNICODE_ENVIRONMENT`.\n\n[1]: https://msdn.microsoft.com/en-us/library/windows/desktop/ms684863(v=vs.85).aspx","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#611) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#611) }], src/macros/cfg.rs:42:26: 42:39 (#611)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#611) }], src/macros/cfg.rs:42:22: 42:49 (#611))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["flags",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7291":{"id":7291,"crate_id":0,"name":null,"span":{"filename":"src/time/error.rs","begin":[25,23],"end":[25,28]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[7290],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3767":{"id":3767,"crate_id":0,"name":"abort","span":{"filename":"src/runtime/task/join.rs","begin":[227,5],"end":[229,6]},"visibility":"public","docs":"Abort the task associated with the handle.\n\nAwaiting a cancelled task might complete as usual if the task was\nalready completed at the time it was cancelled, but most likely it\nwill fail with a [cancelled] `JoinError`.\n\nBe aware that tasks spawned using [`spawn_blocking`] cannot be aborted\nbecause they are not async. If you call `abort` on a `spawn_blocking`\ntask, then this *will not have any effect*, and the task will continue\nrunning normally. The exception is if the task has not started running\nyet; in that case, calling `abort` may prevent the task from starting.\n\nSee also [the module level docs] for more information on cancellation.\n\n```rust\nuse tokio::time;\n\n# #[tokio::main(flavor = \"current_thread\", start_paused = true)]\n# async fn main() {\nlet mut handles = Vec::new();\n\nhandles.push(tokio::spawn(async {\n   time::sleep(time::Duration::from_secs(10)).await;\n   true\n}));\n\nhandles.push(tokio::spawn(async {\n   time::sleep(time::Duration::from_secs(10)).await;\n   false\n}));\n\nfor handle in &handles {\n    handle.abort();\n}\n\nfor handle in handles {\n    assert!(handle.await.unwrap_err().is_cancelled());\n}\n# }\n```\n\n[cancelled]: method@super::error::JoinError::is_cancelled\n[the module level docs]: crate::task#cancellation\n[`spawn_blocking`]: crate::task::spawn_blocking","links":{"crate::task#cancellation":3687,"crate::task::spawn_blocking":379,"method@super::error::JoinError::is_cancelled":3688},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2005":{"id":2005,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"243":{"id":243,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5529":{"id":5529,"crate_id":0,"name":"0","span":{"filename":"src/sync/mpsc/error.rs","begin":[8,25],"end":[8,30]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"generic":"T"}}},"5856":{"id":5856,"crate_id":0,"name":"drop","span":{"filename":"src/sync/mutex.rs","begin":[1360,5],"end":[1370,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2332":{"id":2332,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"570":{"id":570,"crate_id":0,"name":"consume","span":{"filename":"src/io/util/buf_writer.rs","begin":[284,5],"end":[286,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["amt",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4094":{"id":4094,"crate_id":0,"name":"Trace","span":{"filename":"src/runtime/dump.rs","begin":[188,1],"end":[190,2]},"visibility":"public","docs":"An execution trace of a task's last poll.\n\n<div class=\"warning\">\n\nResolving a backtrace, either via the [`Display`][std::fmt::Display] impl or via\n[`resolve_backtraces`][Trace::resolve_backtraces], parses debuginfo, which is\npossibly a CPU-expensive operation that can take a platform-specific but\nlong time to run - often over 100 milliseconds, especially if the current\nprocess's binary is big. In some cases, the platform might internally cache some of the\ndebuginfo, so successive calls to `resolve_backtraces` might be faster than\nthe first call, but all guarantees are platform-dependent.\n\nTo avoid blocking the runtime, it is recommended\nthat you resolve backtraces inside of a [`spawn_blocking()`][crate::task::spawn_blocking]\nand to have some concurrency-limiting mechanism to avoid unexpected performance impact.\n</div>\n\nSee [`Handle::dump`][crate::runtime::Handle::dump].","links":{"std::fmt::Display":1268,"crate::runtime::Handle::dump":4045,"crate::task::spawn_blocking":379,"Trace::resolve_backtraces":4210},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4216,4217,4218,4219,4220,4221,4222,4223,4224,4225,4226,4227,4228,4229,4230,4231,4232,4233,4235,4237]}}},"7618":{"id":7618,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4421":{"id":4421,"crate_id":0,"name":"block_on","span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[219,5],"end":[228,6]},"visibility":"public","docs":"Runs a future to completion on the Tokio runtime. This is the\nruntime's entry point.\n\nSee the documentation for [the equivalent method on Runtime][Runtime]\nfor more information.\n\n[Runtime]: crate::runtime::Runtime::block_on\n\n# Examples\n\n```no_run\nuse tokio::runtime::LocalRuntime;\n\n// Create the runtime\nlet rt  = LocalRuntime::new().unwrap();\n\n// Execute the future, blocking the current thread until completion\nrt.block_on(async {\n    println!(\"hello\");\n});\n```","links":{"crate::runtime::Runtime::block_on":3968},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["future",{"generic":"F"}]],"output":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2659":{"id":2659,"crate_id":0,"name":"fmt","span":{"filename":"src/net/unix/listener.rs","begin":[248,5],"end":[250,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"897":{"id":897,"crate_id":0,"name":null,"span":{"filename":"src/io/read_buf.rs","begin":[29,1],"end":[275,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[878,879,881,882,883,884,885,886,888,889,890,891,892,893,894,895,887,896],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6183":{"id":6183,"crate_id":0,"name":"add_permits","span":{"filename":"src/sync/semaphore.rs","begin":[568,5],"end":[570,6]},"visibility":"public","docs":"Adds `n` new permits to the semaphore.\n\nThe maximum number of permits is [`Semaphore::MAX_PERMITS`], and this function will panic if the limit is exceeded.","links":{"`Semaphore::MAX_PERMITS`":5427},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["n",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6510":{"id":6510,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[184,1],"end":[184,87]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"write_guard_mapped::RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4748":{"id":4748,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[617,47],"end":[617,65]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#1248) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"runtime::is_rt_shutdown_err","name":"is_rt_shutdown_err","id":4411,"is_glob":false}}},"1224":{"id":1224,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2986":{"id":2986,"crate_id":0,"name":"fmt","span":{"filename":"src/net/unix/ucred.rs","begin":[4,44],"end":[4,49]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5075":{"id":5075,"crate_id":0,"name":"eq","span":{"filename":"src/sync/broadcast.rs","begin":[289,21],"end":[289,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"RecvError","id":5052,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3313":{"id":3313,"crate_id":0,"name":"Client","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2624,5],"end":[2624,11]},"visibility":"default","docs":"The named pipe refers to the client end of a named pipe instance.\n\nCorresponds to [`PIPE_CLIENT_END`].\n\n[`PIPE_CLIENT_END`]: https://docs.rs/windows-sys/latest/windows_sys/Win32/System/Pipes/constant.PIPE_CLIENT_END.html","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"6837":{"id":6837,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7164":{"id":7164,"crate_id":0,"name":"default","span":{"filename":"src/task/join_set.rs","begin":[604,5],"end":[606,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5402":{"id":5402,"crate_id":0,"name":"len","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[545,5],"end":[547,6]},"visibility":"public","docs":"Returns the number of messages in the channel.\n\n# Examples\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = mpsc::channel(10);\nassert_eq!(0, rx.len());\n\ntx.send(0).await.unwrap();\nassert_eq!(1, rx.len());\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"116":{"id":116,"crate_id":0,"name":"canonicalize","span":{"filename":"src/fs/canonicalize.rs","begin":[46,1],"end":[49,2]},"visibility":"public","docs":"Returns the canonical, absolute form of a path with all intermediate\ncomponents normalized and symbolic links resolved.\n\nThis is an async version of [`std::fs::canonicalize`].\n\n# Platform-specific behavior\n\nThis function currently corresponds to the `realpath` function on Unix\nand the `CreateFile` and `GetFinalPathNameByHandle` functions on Windows.\nNote that, this [may change in the future][changes].\n\nOn Windows, this converts the path to use [extended length path][path]\nsyntax, which allows your program to use longer path names, but means you\ncan only join backslash-delimited paths to it, and it may be incompatible\nwith other applications (if passed to the application on the command-line,\nor written to a file another application may read).\n\n[changes]: https://doc.rust-lang.org/std/io/index.html#platform-specific-behavior\n[path]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath\n\n# Errors\n\nThis function will return an error in the following situations, but is not\nlimited to just these cases:\n\n* `path` does not exist.\n* A non-final component in path is not a directory.\n\n# Examples\n\n```no_run\nuse tokio::fs;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let path = fs::canonicalize(\"../a/../foo.txt\").await?;\n    Ok(())\n}\n```","links":{"`std::fs::canonicalize`":115},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::PathBuf","id":120,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5729":{"id":5729,"crate_id":0,"name":"mutex","span":{"filename":"src/sync/mutex.rs","begin":[959,5],"end":[961,6]},"visibility":"public","docs":"Returns a reference to the original `Mutex`.\n\n```\nuse tokio::sync::{Mutex, MutexGuard};\n\nasync fn unlock_and_relock<'l>(guard: MutexGuard<'l, u32>) -> MutexGuard<'l, u32> {\n    println!(\"1. contains: {:?}\", *guard);\n    let mutex = MutexGuard::mutex(&guard);\n    drop(guard);\n    let guard = mutex.lock().await;\n    println!(\"2. contains: {:?}\", *guard);\n    guard\n}\n#\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\n#     let mutex = Mutex::new(0u32);\n#     let guard = mutex.lock().await;\n#     let _guard = unlock_and_relock(guard).await;\n# }\n```","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":"'a","is_mutable":false,"type":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7491":{"id":7491,"crate_id":0,"name":"Output","span":{"filename":"src/time/sleep.rs","begin":[453,5],"end":[453,22]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"tuple":[]},"default_unstable":null}}},"2205":{"id":2205,"crate_id":0,"name":"set_reuseaddr","span":{"filename":"src/net/tcp/socket.rs","begin":[229,5],"end":[231,6]},"visibility":"public","docs":"Allows the socket to bind to an in-use address.\n\nBehavior is platform specific. Refer to the target platform's\ndocumentation for more details.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpSocket;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let addr = \"127.0.0.1:8080\".parse().unwrap();\n\n    let socket = TcpSocket::new_v4()?;\n    socket.set_reuseaddr(true)?;\n    socket.bind(addr)?;\n\n    let listener = socket.listen(1024)?;\n# drop(listener);\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["reuseaddr",{"primitive":"bool"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6056":{"id":6056,"crate_id":0,"name":"Receiver","span":{"filename":"src/sync/oneshot.rs","begin":[329,1],"end":[337,2]},"visibility":"public","docs":"Receives a value from the associated [`Sender`].\n\nA pair of both a [`Sender`] and a [`Receiver`]  are created by the\n[`channel`](fn@channel) function.\n\nThis channel has no `recv` method because the receiver itself implements the\n[`Future`] trait. To receive a `Result<T, `[`error::RecvError`]`>`, `.await` the `Receiver` object directly.\n\nThe `poll` method on the `Future` trait is allowed to spuriously return\n`Poll::Pending` even if the message has been sent. If such a spurious\nfailure happens, then the caller will be woken when the spurious failure has\nbeen resolved so that the caller can attempt to receive the message again.\nNote that receiving such a wakeup does not guarantee that the next call will\nsucceed — it could fail with another spurious failure. (A spurious failure\ndoes not mean that the message is lost. It is just delayed.)\n\n[`Future`]: trait@std::future::Future\n\n# Cancel safety\n\nAwaiting a `&mut Receiver<T>` is cancel safe. If it is used as a branch in\n[`tokio::select!`](crate::select) and another branch completes first, it is\nguaranteed that no message was received on this\nchannel.\n\n# Examples\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = oneshot::channel();\n\ntokio::spawn(async move {\n    if let Err(_) = tx.send(3) {\n        println!(\"the receiver dropped\");\n    }\n});\n\nmatch rx.await {\n    Ok(v) => println!(\"got = {:?}\", v),\n    Err(_) => println!(\"the sender dropped\"),\n}\n# }\n```\n\nIf the sender is dropped without sending, the receiver will fail with\n[`error::RecvError`]:\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = oneshot::channel::<u32>();\n\ntokio::spawn(async move {\n    drop(tx);\n});\n\nmatch rx.await {\n    Ok(_) => panic!(\"This doesn't happen\"),\n    Err(_) => println!(\"the sender dropped\"),\n}\n# }\n```\n\nTo use a `Receiver` in a `tokio::select!` loop, add `&mut` in front of the\nchannel.\n\n```\nuse tokio::sync::oneshot;\nuse tokio::time::{interval, sleep, Duration};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn _doc() {}\n# #[tokio::main(flavor = \"current_thread\", start_paused = true)]\n# async fn main() {\nlet (send, mut recv) = oneshot::channel();\nlet mut interval = interval(Duration::from_millis(100));\n\n# let handle =\ntokio::spawn(async move {\n    sleep(Duration::from_secs(1)).await;\n    send.send(\"shut down\").unwrap();\n});\n\nloop {\n    tokio::select! {\n        _ = interval.tick() => println!(\"Another 100ms\"),\n        msg = &mut recv => {\n            println!(\"Got message: {}\", msg.unwrap());\n            break;\n        }\n    }\n}\n# handle.await.unwrap();\n# }\n```","links":{"`Receiver`":6056,"crate::select":1471,"`Sender`":6057,"fn@channel":6058,"trait@std::future::Future":520,"`error::RecvError`":5989},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6095,6096,6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112,6114,6116,6119]}}},"2532":{"id":2532,"crate_id":0,"name":"poll_recv_from","span":{"filename":"src/net/udp.rs","begin":[1361,5],"end":[1382,6]},"visibility":"public","docs":"Attempts to receive a single datagram on the socket.\n\nNote that on multiple calls to a `poll_*` method in the `recv` direction, only the\n`Waker` from the `Context` passed to the most recent call will be scheduled to\nreceive a wakeup.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the socket is not ready to read\n* `Poll::Ready(Ok(addr))` reads data from `addr` into `ReadBuf` if the socket is ready\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n# Notes\nNote that the socket address **cannot** be implicitly trusted, because it is relatively\ntrivial to send a UDP datagram with a spoofed origin in a [packet injection attack].\nBecause UDP is stateless and does not validate the origin of a packet,\nthe attacker does not need to be able to intercept traffic in order to interfere.\nIt is important to be aware of this when designing your application-level protocol.\n\n[packet injection attack]: https://en.wikipedia.org/wiki/Packet_injection","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"770":{"id":770,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/util/buf_reader.rs","begin":[270,5],"end":[276,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4294":{"id":4294,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6383":{"id":6383,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[193,1],"end":[197,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"DerefMut","id":549,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[6382],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4621":{"id":4621,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1097":{"id":1097,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6710":{"id":6710,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[388,1],"end":[388,49]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3186":{"id":3186,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1424":{"id":1424,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4948":{"id":4948,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"7037":{"id":7037,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5275":{"id":5275,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3513":{"id":3513,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7364":{"id":7364,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[33,27],"end":[33,36]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[7363],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3840":{"id":3840,"crate_id":0,"name":"Root","span":{"filename":"src/runtime/task/trace/mod.rs","begin":[63,1],"end":[71,2]},"visibility":"public","docs":"A future wrapper that roots traces (captured with [`Trace::capture`]).","links":{"`Trace::capture`":3839},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[3841,3842,3843,3844,3845,3846,3847,3848,3849,3850,3851,3852,3853,3854,3855,3856,3857,3858,3860,3862,3863,3867]}}},"2078":{"id":2078,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[210,1],"end":[210,37]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::async_read::AsyncRead","name":"AsyncRead","id":224,"is_glob":false}}},"316":{"id":316,"crate_id":0,"name":"write","span":{"filename":"src/io/util/async_write_ext.rs","begin":[130,9],"end":[135,10]},"visibility":"default","docs":"Writes a buffer into this writer, returning how many bytes were\nwritten.\n\nEquivalent to:\n\n```ignore\nasync fn write(&mut self, buf: &[u8]) -> io::Result<usize>;\n```\n\nThis function will attempt to write the entire contents of `buf`, but\nthe entire write may not succeed, or the write may also generate an\nerror. A call to `write` represents *at most one* attempt to write to\nany wrapped object.\n\n# Return\n\nIf the return value is `Ok(n)` then it must be guaranteed that `n <=\nbuf.len()`. A return value of `0` typically means that the\nunderlying object is no longer able to accept bytes and will likely\nnot be able to in the future as well, or that the buffer provided is\nempty.\n\n# Errors\n\nEach call to `write` may generate an I/O error indicating that the\noperation could not be completed. If an error is returned then no bytes\nin the buffer were written to this writer.\n\nIt is **not** considered an error if the entire buffer could not be\nwritten to this writer.\n\n# Cancel safety\n\nThis method is cancel safe. If it is used as a branch in\n[`tokio::select!`](crate::select) and another branch completes\nfirst, then it is guaranteed that no data was\nwritten to this `AsyncWrite`.\n\n# Examples\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, AsyncWriteExt};\nuse tokio::fs::File;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut file = File::create(\"foo.txt\").await?;\n\n    // Writes some prefix of the byte string, not necessarily all of it.\n    file.write(b\"some bytes\").await?;\n    file.flush().await?;\n    Ok(())\n}\n# }\n```","links":{"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}],["src",{"borrowed_ref":{"lifetime":"'a","is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Write","id":1552,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5602":{"id":5602,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4167":{"id":4167,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2405":{"id":2405,"crate_id":0,"name":"as_ref","span":{"filename":"src/net/tcp/split_owned.rs","begin":[504,5],"end":[506,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"TcpStream","id":634,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"643":{"id":643,"crate_id":0,"name":"UnixStream","span":{"filename":"src/net/unix/stream.rs","begin":[43,5],"end":[45,6]},"visibility":"public","docs":"A structure representing a connected Unix socket.\n\nThis socket can be connected directly with [`UnixStream::connect`] or accepted\nfrom a listener with [`UnixListener::accept`]. Additionally, a pair of\nanonymous Unix sockets can be created with `UnixStream::pair`.\n\nTo shut down the stream in the write direction, you can call the\n[`shutdown()`] method. This will cause the other peer to receive a read of\nlength 0, indicating that no more data will be sent. This only closes\nthe stream in one direction.\n\n[`shutdown()`]: fn@crate::io::AsyncWriteExt::shutdown\n[`UnixListener::accept`]: crate::net::UnixListener::accept","links":{"fn@crate::io::AsyncWriteExt::shutdown":1608,"`UnixStream::connect`":2667,"crate::net::UnixListener::accept":2627},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:377:23: 377:27 (#521) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:377:29: 377:44 (#521) }], src/macros/cfg.rs:377:22: 377:45 (#521))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(alias = \"uds\")]"},{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[2915,2916,2917,2918,2919,2920,2921,2922,2923,2924,2925,2926,2927,2928,2929,2930,2931,2932,2933,2735,2764,2798,2832,2936,642,849,2938,2940,2942,2944]}}},"4494":{"id":4494,"crate_id":0,"name":"clone","span":{"filename":"src/runtime/id.rs","begin":[29,10],"end":[29,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Id","id":4281,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2732":{"id":2732,"crate_id":0,"name":"fmt","span":{"filename":"src/net/unix/split.rs","begin":[32,10],"end":[32,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6256":{"id":6256,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6583":{"id":6583,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"never"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5709],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4821":{"id":4821,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1297":{"id":1297,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3059":{"id":3059,"crate_id":0,"name":"as_fd","span":{"filename":"src/net/unix/pipe.rs","begin":[840,5],"end":[842,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5148":{"id":5148,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1624":{"id":1624,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_reader.rs","begin":[37,1],"end":[98,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[1617,1618,1619,1620,1621,1622,1623],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7237":{"id":7237,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[278,47],"end":[278,57]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"crate::runtime::task::JoinHandle","name":"JoinHandle","id":3722,"is_glob":false}}},"5475":{"id":5475,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1951":{"id":1951,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"189":{"id":189,"crate_id":0,"name":null,"span":{"filename":"src/fs/dir_builder.rs","begin":[10,10],"end":[10,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[186],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3713":{"id":3713,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/error.rs","begin":[135,1],"end":[153,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[3712],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5802":{"id":5802,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1187,1],"end":[1249,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5800,5801],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7564":{"id":7564,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2278":{"id":2278,"crate_id":0,"name":"readable","span":{"filename":"src/net/tcp/split.rs","begin":[182,5],"end":[184,6]},"visibility":"public","docs":"Waits for the socket to become readable.\n\nThis function is equivalent to `ready(Interest::READABLE)` and is usually\npaired with `try_read()`.\n\nThis function is also equivalent to [`TcpStream::ready`].\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`TcpStream::ready`":2279},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"516":{"id":516,"crate_id":0,"name":"fs","span":{"filename":"src/fs/mod.rs","begin":[1,1],"end":[324,2]},"visibility":"public","docs":"Asynchronous file utilities.\n\nThis module contains utility methods for working with the file system\nasynchronously. This includes reading/writing to files, and working with\ndirectories.\n\nBe aware that most operating systems do not provide asynchronous file system\nAPIs. Because of that, Tokio will use ordinary blocking file operations\nbehind the scenes. This is done using the [`spawn_blocking`] threadpool to\nrun them in the background.\n\nThe `tokio::fs` module should only be used for ordinary files. Trying to use\nit with e.g., a named pipe on Linux can result in surprising behavior,\nsuch as hangs during runtime shutdown. For special files, you should use a\ndedicated type such as [`tokio::net::unix::pipe`] or [`AsyncFd`] instead.\n\nCurrently, Tokio will always use [`spawn_blocking`] on all platforms, but it\nmay be changed to use asynchronous file system APIs such as io_uring in the\nfuture.\n\n# Usage\n\nThe easiest way to use this module is to use the utility functions that\noperate on entire files:\n\n * [`tokio::fs::read`](fn@crate::fs::read)\n * [`tokio::fs::read_to_string`](fn@crate::fs::read_to_string)\n * [`tokio::fs::write`](fn@crate::fs::write)\n\nThe two `read` functions reads the entire file and returns its contents.\nThe `write` function takes the contents of the file and writes those\ncontents to the file. It overwrites the existing file, if any.\n\nFor example, to read the file:\n\n```\n# async fn dox() -> std::io::Result<()> {\nlet contents = tokio::fs::read_to_string(\"my_file.txt\").await?;\n\nprintln!(\"File has {} lines.\", contents.lines().count());\n# Ok(())\n# }\n```\n\nTo overwrite the file:\n\n```\n# async fn dox() -> std::io::Result<()> {\nlet contents = \"First line.\\nSecond line.\\nThird line.\\n\";\n\ntokio::fs::write(\"my_file.txt\", contents.as_bytes()).await?;\n# Ok(())\n# }\n```\n\n## Using `File`\n\nThe main type for interacting with files is [`File`]. It can be used to read\nfrom and write to a given file. This is done using the [`AsyncRead`] and\n[`AsyncWrite`] traits. This type is generally used when you want to do\nsomething more complex than just reading or writing the entire contents in\none go.\n\n**Note:** It is important to use [`flush`] when writing to a Tokio\n[`File`]. This is because calls to `write` will return before the write has\nfinished, and [`flush`] will wait for the write to finish. (The write will\nhappen even if you don't flush; it will just happen later.) This is\ndifferent from [`std::fs::File`], and is due to the fact that `File` uses\n`spawn_blocking` behind the scenes.\n\nFor example, to count the number of lines in a file without loading the\nentire file into memory:\n\n```no_run\nuse tokio::fs::File;\nuse tokio::io::AsyncReadExt;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut file = File::open(\"my_file.txt\").await?;\n\nlet mut chunk = vec![0; 4096];\nlet mut number_of_lines = 0;\nloop {\n    let len = file.read(&mut chunk).await?;\n    if len == 0 {\n        // Length of zero means end of file.\n        break;\n    }\n    for &b in &chunk[..len] {\n        if b == b'\\n' {\n            number_of_lines += 1;\n        }\n    }\n}\n\nprintln!(\"File has {} lines.\", number_of_lines);\n# Ok(())\n# }\n```\n\nFor example, to write a file line-by-line:\n\n```no_run\nuse tokio::fs::File;\nuse tokio::io::AsyncWriteExt;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut file = File::create(\"my_file.txt\").await?;\n\nfile.write_all(b\"First line.\\n\").await?;\nfile.write_all(b\"Second line.\\n\").await?;\nfile.write_all(b\"Third line.\\n\").await?;\n\n// Remember to call `flush` after writing!\nfile.flush().await?;\n# Ok(())\n# }\n```\n\n## Tuning your file IO\n\nTokio's file uses [`spawn_blocking`] behind the scenes, and this has serious\nperformance consequences. To get good performance with file IO on Tokio, it\nis recommended to batch your operations into as few `spawn_blocking` calls\nas possible.\n\nOne example of this difference can be seen by comparing the two reading\nexamples above. The first example uses [`tokio::fs::read`], which reads the\nentire file in a single `spawn_blocking` call, and then returns it. The\nsecond example will read the file in chunks using many `spawn_blocking`\ncalls. This means that the second example will most likely be more expensive\nfor large files. (Of course, using chunks may be necessary for very large\nfiles that don't fit in memory.)\n\nThe following examples will show some strategies for this:\n\nWhen creating a file, write the data to a `String` or `Vec<u8>` and then\nwrite the entire file in a single `spawn_blocking` call with\n`tokio::fs::write`.\n\n```no_run\n# async fn dox() -> std::io::Result<()> {\nlet mut contents = String::new();\n\ncontents.push_str(\"First line.\\n\");\ncontents.push_str(\"Second line.\\n\");\ncontents.push_str(\"Third line.\\n\");\n\ntokio::fs::write(\"my_file.txt\", contents.as_bytes()).await?;\n# Ok(())\n# }\n```\n\nUse [`BufReader`] and [`BufWriter`] to buffer many small reads or writes\ninto a few large ones. This example will most likely only perform one\n`spawn_blocking` call.\n\n```no_run\nuse tokio::fs::File;\nuse tokio::io::{AsyncWriteExt, BufWriter};\n\n# async fn dox() -> std::io::Result<()> {\nlet mut file = BufWriter::new(File::create(\"my_file.txt\").await?);\n\nfile.write_all(b\"First line.\\n\").await?;\nfile.write_all(b\"Second line.\\n\").await?;\nfile.write_all(b\"Third line.\\n\").await?;\n\n// Due to the BufWriter, the actual write and spawn_blocking\n// call happens when you flush.\nfile.flush().await?;\n# Ok(())\n# }\n```\n\nManually use [`std::fs`] inside [`spawn_blocking`].\n\n```no_run\nuse std::fs::File;\nuse std::io::{self, Write};\nuse tokio::task::spawn_blocking;\n\n# async fn dox() -> std::io::Result<()> {\nspawn_blocking(move || {\n    let mut file = File::create(\"my_file.txt\")?;\n\n    file.write_all(b\"First line.\\n\")?;\n    file.write_all(b\"Second line.\\n\")?;\n    file.write_all(b\"Third line.\\n\")?;\n\n    // Unlike Tokio's file, the std::fs file does\n    // not need flush.\n\n    io::Result::Ok(())\n}).await.unwrap()?;\n# Ok(())\n# }\n```\n\nIt's also good to be aware of [`File::set_max_buf_size`], which controls the\nmaximum amount of bytes that Tokio's [`File`] will read or write in a single\n[`spawn_blocking`] call. The default is two megabytes, but this is subject\nto change.\n\n[`spawn_blocking`]: fn@crate::task::spawn_blocking\n[`AsyncRead`]: trait@crate::io::AsyncRead\n[`AsyncWrite`]: trait@crate::io::AsyncWrite\n[`BufReader`]: struct@crate::io::BufReader\n[`BufWriter`]: struct@crate::io::BufWriter\n[`tokio::net::unix::pipe`]: crate::net::unix::pipe\n[`AsyncFd`]: crate::io::unix::AsyncFd\n[`flush`]: crate::io::AsyncWriteExt::flush\n[`tokio::fs::read`]: fn@crate::fs::read","links":{"trait@crate::io::AsyncWrite":225,"trait@crate::io::AsyncRead":224,"crate::io::AsyncWriteExt::flush":200,"fn@crate::task::spawn_blocking":379,"`std::fs`":515,"`File::set_max_buf_size`":226,"fn@crate::fs::read_to_string":447,"crate::io::unix::AsyncFd":512,"fn@crate::fs::write":469,"`File`":204,"struct@crate::io::BufReader":513,"struct@crate::io::BufWriter":514,"`std::fs::File`":198,"crate::net::unix::pipe":511,"fn@crate::fs::read":381},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:132:19: 132:33 (#32) },\nNot(NameValue { name: \"loom\", value: None, span: src/fs/mod.rs:1:12: 1:16 (#0) }, src/fs/mod.rs:1:11: 1:17 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"fs\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510],"is_stripped":false}}},"6129":{"id":6129,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4367":{"id":4367,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"843":{"id":843,"crate_id":0,"name":"OwnedWriteHalf","span":{"filename":"src/net/unix/split_owned.rs","begin":[54,1],"end":[57,2]},"visibility":"public","docs":"Owned write half of a [`UnixStream`], created by [`into_split`].\n\nNote that in the [`AsyncWrite`] implementation of this type,\n[`poll_shutdown`] will shut down the stream in the write direction.\nDropping the write half will also shut down the write half of the stream.\n\nWriting to an `OwnedWriteHalf` is usually done using the convenience methods\nfound on the [`AsyncWriteExt`] trait.\n\n[`UnixStream`]: crate::net::UnixStream\n[`into_split`]: crate::net::UnixStream::into_split()\n[`AsyncWrite`]: trait@crate::io::AsyncWrite\n[`poll_shutdown`]: fn@crate::io::AsyncWrite::poll_shutdown\n[`AsyncWriteExt`]: trait@crate::io::AsyncWriteExt","links":{"trait@crate::io::AsyncWrite":225,"trait@crate::io::AsyncWriteExt":203,"crate::net::UnixStream":643,"fn@crate::io::AsyncWrite::poll_shutdown":692,"crate::net::UnixStream::into_split()":2767},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[2809,2810,2811,2812,2813,2814,2815,2816,2817,2818,2819,2820,2821,2822,2823,2824,2825,2826,2828,2830,842,2832]}}},"4694":{"id":4694,"crate_id":0,"name":"clone","span":{"filename":"src/runtime/metrics/histogram.rs","begin":[56,27],"end":[56,32]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2932":{"id":2932,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1170":{"id":1170,"crate_id":0,"name":"fmt","span":{"filename":"src/io/async_fd.rs","begin":[940,5],"end":[944,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"std::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"std::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6456":{"id":6456,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6783":{"id":6783,"crate_id":0,"name":"watch","span":{"filename":"src/sync/watch.rs","begin":[1,1],"end":[1556,2]},"visibility":"public","docs":"A multi-producer, multi-consumer channel that only retains the *last* sent\nvalue.\n\nThis channel is useful for watching for changes to a value from multiple\npoints in the code base, for example, changes to configuration values.\n\n# Usage\n\n[`channel`] returns a [`Sender`] / [`Receiver`] pair. These are the producer\nand consumer halves of the channel. The channel is created with an initial\nvalue.\n\nEach [`Receiver`] independently tracks the last value *seen* by its caller.\n\nTo access the **current** value stored in the channel and mark it as *seen*\nby a given [`Receiver`], use [`Receiver::borrow_and_update()`].\n\nTo access the current value **without** marking it as *seen*, use\n[`Receiver::borrow()`]. (If the value has already been marked *seen*,\n[`Receiver::borrow()`] is equivalent to [`Receiver::borrow_and_update()`].)\n\nFor more information on when to use these methods, see\n[here](#borrow_and_update-versus-borrow).\n\n## Change notifications\n\nThe [`Receiver`] half provides an asynchronous [`changed`] method. This\nmethod is ready when a new, *unseen* value is sent via the [`Sender`] half.\n\n* [`Receiver::changed()`] returns:\n    * `Ok(())` on receiving a new value.\n    * `Err(`[`RecvError`](error::RecvError)`)` if the\n      channel has been closed __AND__ the current value is *seen*.\n* If the current value is *unseen* when calling [`changed`], then\n  [`changed`] will return immediately. If the current value is *seen*, then\n  it will sleep until either a new message is sent via the [`Sender`] half,\n  or the [`Sender`] is dropped.\n* On completion, the [`changed`] method marks the new value as *seen*.\n* At creation, the initial value is considered *seen*. In other words,\n  [`Receiver::changed()`] will not return until a subsequent value is sent.\n* New [`Receiver`] instances can be created with [`Sender::subscribe()`].\n  The current value at the time the [`Receiver`] is created is considered\n  *seen*.\n\n## [`changed`] versus [`has_changed`]\n\nThe [`Receiver`] half provides two methods for checking for changes\nin the channel, [`has_changed`] and [`changed`].\n\n* [`has_changed`] is a *synchronous* method that checks whether the current\n  value is seen or not and returns a boolean. This method does __not__ mark the\n  value as seen.\n\n* [`changed`] is an *asynchronous* method that will return once an unseen\n  value is in the channel. This method does mark the value as seen.\n\nNote there are two behavioral differences on when these two methods return\nan error.\n\n- [`has_changed`] errors if and only if the channel is closed.\n- [`changed`] errors if the channel has been closed __AND__\n  the current value is seen.\n\nSee the example below that shows how these methods have different fallibility.\n\n## [`borrow_and_update`] versus [`borrow`]\n\nIf the receiver intends to await notifications from [`changed`] in a loop,\n[`Receiver::borrow_and_update()`] should be preferred over\n[`Receiver::borrow()`].  This avoids a potential race where a new value is\nsent between [`changed`] being ready and the value being read. (If\n[`Receiver::borrow()`] is used, the loop may run twice with the same value.)\n\nIf the receiver is only interested in the current value, and does not intend\nto wait for changes, then [`Receiver::borrow()`] can be used. It may be more\nconvenient to use [`borrow`](Receiver::borrow) since it's an `&self`\nmethod---[`borrow_and_update`](Receiver::borrow_and_update) requires `&mut\nself`.\n\n# Examples\n\nThe following example prints `hello! world! `.\n\n```\nuse tokio::sync::watch;\nuse tokio::time::{Duration, sleep};\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet (tx, mut rx) = watch::channel(\"hello\");\n\ntokio::spawn(async move {\n    // Use the equivalent of a \"do-while\" loop so the initial value is\n    // processed before awaiting the `changed()` future.\n    loop {\n        println!(\"{}! \", *rx.borrow_and_update());\n        if rx.changed().await.is_err() {\n            break;\n        }\n    }\n});\n\nsleep(Duration::from_millis(100)).await;\ntx.send(\"world\")?;\n# Ok(())\n# }\n```\n\nDifference on fallibility of [`changed`] versus [`has_changed`].\n```\nuse tokio::sync::watch;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = watch::channel(\"hello\");\ntx.send(\"goodbye\").unwrap();\ndrop(tx);\n\n// `has_changed` does not mark the value as seen and errors\n// since the channel is closed.\nassert!(rx.has_changed().is_err());\n\n// `changed` returns Ok since the value is not already marked as seen\n// even if the channel is closed.\nassert!(rx.changed().await.is_ok());\n\n// The `changed` call above marks the value as seen.\n// The next `changed` call now returns an error as the channel is closed\n// AND the current value is seen.\nassert!(rx.changed().await.is_err());\n# }\n```\n\n# Closing\n\n[`Sender::is_closed`] and [`Sender::closed`] allow the producer to detect\nwhen all [`Receiver`] handles have been dropped. This indicates that there\nis no further interest in the values being produced and work can be stopped.\n\nThe value in the channel will not be dropped until all senders and all\nreceivers have been dropped.\n\n# Thread safety\n\nBoth [`Sender`] and [`Receiver`] are thread safe. They can be moved to other\nthreads and can be used in a concurrent environment. Clones of [`Receiver`]\nhandles may be moved to separate threads and also used concurrently.\n\n[`Sender`]: crate::sync::watch::Sender\n[`Receiver`]: crate::sync::watch::Receiver\n[`changed`]: crate::sync::watch::Receiver::changed\n[`has_changed`]: crate::sync::watch::Receiver::has_changed\n[`borrow`]: crate::sync::watch::Receiver::borrow\n[`borrow_and_update`]: crate::sync::watch::Receiver::borrow_and_update\n[`Receiver::changed()`]: crate::sync::watch::Receiver::changed\n[`Receiver::borrow()`]: crate::sync::watch::Receiver::borrow\n[`Receiver::borrow_and_update()`]:\n    crate::sync::watch::Receiver::borrow_and_update\n[`channel`]: crate::sync::watch::channel\n[`Sender::is_closed`]: crate::sync::watch::Sender::is_closed\n[`Sender::closed`]: crate::sync::watch::Sender::closed\n[`Sender::subscribe()`]: crate::sync::watch::Sender::subscribe","links":{"crate::sync::watch::Sender::is_closed":6824,"Receiver::borrow_and_update":6782,"crate::sync::watch::Receiver::changed":6781,"Receiver::borrow":6784,"crate::sync::watch::Receiver":6780,"crate::sync::watch::Receiver::has_changed":6786,"crate::sync::watch::channel":6779,"crate::sync::watch::Receiver::borrow_and_update":6782,"crate::sync::watch::Receiver::borrow":6784,"crate::sync::watch::Sender::subscribe":6818,"crate::sync::watch::Sender::closed":6825,"crate::sync::watch::Sender":6778,"error::RecvError":6746},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[6773,6780,6778,6785,6779],"is_stripped":false}}},"3259":{"id":3259,"crate_id":0,"name":"open_with_security_attributes_raw","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2533,5],"end":[2583,6]},"visibility":"public","docs":"Opens the named pipe identified by `addr`.\n\nThis is the same as [`open`] except that it supports providing the raw\npointer to a structure of [`SECURITY_ATTRIBUTES`] which will be passed\nas the `lpSecurityAttributes` argument to [`CreateFile`].\n\n# Safety\n\nThe `attrs` argument must either be null or point at a valid instance of\nthe [`SECURITY_ATTRIBUTES`] structure. If the argument is null, the\nbehavior is identical to calling the [`open`] method.\n\n[`open`]: ClientOptions::open\n[`CreateFile`]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew\n[`SECURITY_ATTRIBUTES`]: https://docs.rs/windows-sys/latest/windows_sys/Win32/Security/struct.SECURITY_ATTRIBUTES.html","links":{"ClientOptions::open":3156},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["addr",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}],["attrs",{"raw_pointer":{"is_mutable":true,"type":{"resolved_path":{"path":"c_void","id":3225,"args":null}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<OsStr>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1497":{"id":1497,"crate_id":0,"name":"read_u8","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an unsigned 8 bit integer from the underlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_u8(&mut self) -> io::Result<u8>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is cancel safe. If this method is used as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, it is guaranteed that no data were read.\n\n# Examples\n\nRead unsigned 8 bit integers from an `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![2, 5]);\n\nassert_eq!(2, reader.read_u8().await?);\nassert_eq!(5, reader.read_u8().await?);\n\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadU8","id":1498,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5021":{"id":5021,"crate_id":0,"name":"0","span":{"filename":"src/sync/broadcast.rs","begin":[275,29],"end":[275,34]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"generic":"T"}}},"5348":{"id":5348,"crate_id":2,"name":"Item","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":{"feature":"const_iter","level":"unstable"},"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"qualified_path":{"name":"Item","args":null,"self_type":{"generic":"I"},"trait":{"path":"Iterator","id":2149,"args":null}}},"default_unstable":null}}},"3586":{"id":3586,"crate_id":0,"name":"from_std","span":{"filename":"src/process/mod.rs","begin":[1542,5],"end":[1546,6]},"visibility":"public","docs":"Creates an asynchronous `ChildStderr` from a synchronous one.\n\n# Errors\n\nThis method may fail if an error is encountered when setting the pipe to\nnon-blocking mode, or when registering the pipe with the runtime's IO\ndriver.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["inner",{"resolved_path":{"path":"std::process::ChildStderr","id":3587,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1824":{"id":1824,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7437":{"id":7437,"crate_id":0,"name":"reset","span":{"filename":"src/time/interval.rs","begin":[519,5],"end":[521,6]},"visibility":"public","docs":"Resets the interval to complete one period after the current time.\n\nThis method ignores [`MissedTickBehavior`] strategy.\n\nThis is equivalent to calling `reset_at(Instant::now() + period)`.\n\n# Examples\n\n```\nuse tokio::time;\n\nuse std::time::Duration;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut interval = time::interval(Duration::from_millis(100));\n\ninterval.tick().await;\n\ntime::sleep(Duration::from_millis(50)).await;\ninterval.reset();\n\ninterval.tick().await;\ninterval.tick().await;\n\n// approximately 250ms have elapsed.\n# }\n```","links":{"`MissedTickBehavior`":7395},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5675":{"id":5675,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/mod.rs","begin":[130,24],"end":[130,41]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::unbounded::UnboundedReceiver","name":"UnboundedReceiver","id":5435,"is_glob":false}}},"6002":{"id":6002,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"716":{"id":716,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/async_write.rs","begin":[255,5],"end":[262,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2478":{"id":2478,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6329":{"id":6329,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2805":{"id":2805,"crate_id":0,"name":"ready","span":{"filename":"src/net/unix/split_owned.rs","begin":[296,5],"end":[298,6]},"visibility":"public","docs":"Waits for any of the requested ready states.\n\nThis function is usually paired with [`try_write()`]. It can be used instead\nof [`writable()`] to check the returned ready set for [`Ready::WRITABLE`]\nand [`Ready::WRITE_CLOSED`] events.\n\nThe function may complete without the socket being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\nThis function is equivalent to [`UnixStream::ready`].\n\n[`try_write()`]: Self::try_write\n[`writable()`]: Self::writable\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`Ready`":978,"Self::try_write":2803,"`UnixStream::ready`":2708,"Self::writable":2804,"`Ready::WRITABLE`":981,"`Ready::WRITE_CLOSED`":983},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4567":{"id":4567,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/runtime.rs","begin":[19,17],"end":[19,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[4566],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6656":{"id":6656,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4894":{"id":4894,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1370":{"id":1370,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3132":{"id":3132,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6983":{"id":6983,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3459":{"id":3459,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"1697":{"id":1697,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7310":{"id":7310,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5548":{"id":5548,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3786":{"id":3786,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/abort.rs","begin":[79,1],"end":[79,36]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7637":{"id":7637,"crate_id":0,"name":"try_join","span":{"filename":"src/macros/try_join.rs","begin":[160,7],"end":[162,2]},"visibility":"public","docs":"Waits on multiple concurrent branches, returning when **all** branches\ncomplete with `Ok(_)` or on the first `Err(_)`.\n\nThe `try_join!` macro must be used inside of async functions, closures, and\nblocks.\n\nSimilar to [`join!`], the `try_join!` macro takes a list of async\nexpressions and evaluates them concurrently on the same task. Each async\nexpression evaluates to a future and the futures from each expression are\nmultiplexed on the current task. The `try_join!` macro returns when **all**\nbranches return with `Ok` or when the **first** branch returns with `Err`.\n\n[`join!`]: macro@join\n\n# Notes\n\nThe supplied futures are stored inline and do not require allocating a\n`Vec`.\n\n## Runtime characteristics\n\nBy running all async expressions on the current task, the expressions are\nable to run **concurrently** but not in **parallel**. This means all\nexpressions are run on the same thread and if one branch blocks the thread,\nall other expressions will be unable to continue. If parallelism is\nrequired, spawn each async expression using [`tokio::spawn`] and pass the\njoin handle to `try_join!`.\n\n[`tokio::spawn`]: crate::spawn\n\n## Fairness\n\nBy default, `try_join!`'s generated future rotates which\ncontained future is polled first whenever it is woken.\n\nThis behavior can be overridden by adding `biased;` to the beginning of the\nmacro usage. See the examples for details. This will cause `try_join` to poll\nthe futures in the order they appear from top to bottom.\n\nYou may want this if your futures may interact in a way where known polling order is significant.\n\nBut there is an important caveat to this mode. It becomes your responsibility\nto ensure that the polling order of your futures is fair. If for example you\nare joining a stream and a shutdown future, and the stream has a\nhuge volume of messages that takes a long time to finish processing per poll, you should\nplace the shutdown future earlier in the `try_join!` list to ensure that it is\nalways polled, and will not be delayed due to the stream future taking a long time to return\n`Poll::Pending`.\n\n# Examples\n\nBasic `try_join` with two branches.\n\n```\nasync fn do_stuff_async() -> Result<(), &'static str> {\n    // async work\n# Ok(())\n}\n\nasync fn more_async_work() -> Result<(), &'static str> {\n    // more here\n# Ok(())\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet res = tokio::try_join!(\n    do_stuff_async(),\n    more_async_work());\n\nmatch res {\n    Ok((first, second)) => {\n        // do something with the values\n    }\n    Err(err) => {\n        println!(\"processing failed; error = {}\", err);\n    }\n}\n# }\n```\n\nUsing `try_join!` with spawned tasks.\n\n```\nuse tokio::task::JoinHandle;\n\nasync fn do_stuff_async() -> Result<(), &'static str> {\n    // async work\n# Err(\"failed\")\n}\n\nasync fn more_async_work() -> Result<(), &'static str> {\n    // more here\n# Ok(())\n}\n\nasync fn flatten<T>(handle: JoinHandle<Result<T, &'static str>>) -> Result<T, &'static str> {\n    match handle.await {\n        Ok(Ok(result)) => Ok(result),\n        Ok(Err(err)) => Err(err),\n        Err(err) => Err(\"handling failed\"),\n    }\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet handle1 = tokio::spawn(do_stuff_async());\nlet handle2 = tokio::spawn(more_async_work());\nmatch tokio::try_join!(flatten(handle1), flatten(handle2)) {\n    Ok(val) => {\n        // do something with the values\n    }\n    Err(err) => {\n        println!(\"Failed with {}.\", err);\n        # assert_eq!(err, \"failed\");\n    }\n}\n# }\n```\nUsing the `biased;` mode to control polling order.\n\n```\nasync fn do_stuff_async() -> Result<(), &'static str> {\n    // async work\n# Ok(())\n}\n\nasync fn more_async_work() -> Result<(), &'static str> {\n    // more here\n# Ok(())\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet res = tokio::try_join!(\n    biased;\n    do_stuff_async(),\n    more_async_work()\n);\n\nmatch res {\n    Ok((first, second)) => {\n        // do something with the values\n    }\n    Err(err) => {\n        println!(\"processing failed; error = {}\", err);\n    }\n}\n# }\n```","links":{"macro@join":4212,"crate::spawn":3799},"attrs":[{"other":"#[attr = CfgAttrTrace]"},"macro_export",{"other":"#[doc(cfg(feature = \"macros\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"macro":"macro_rules! try_join {\n    ($(biased;)? $($future:expr),*) => { ... };\n}"}},"4113":{"id":4113,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[29,10],"end":[29,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[4112],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2351":{"id":2351,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split_owned.rs","begin":[101,1],"end":[331,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[2340,2342,2343,2346,2345,2344,2347,2348,2349,2350],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"589":{"id":589,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/async_read.rs","begin":[79,5],"end":[79,24]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5875":{"id":5875,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6202":{"id":6202,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4440":{"id":4440,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"916":{"id":916,"crate_id":0,"name":"chunk_mut","span":{"filename":"src/io/read_buf.rs","begin":[292,5],"end":[303,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"bytes::buf::UninitSlice","id":917,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2678":{"id":2678,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4767":{"id":4767,"crate_id":0,"name":"as_raw_value","span":{"filename":"src/signal/unix.rs","begin":[109,5],"end":[111,6]},"visibility":"public","docs":"Get the signal's numeric value.\n\n```rust\n# use tokio::signal::unix::SignalKind;\nlet kind = SignalKind::interrupt();\nassert_eq!(kind.as_raw_value(), libc::SIGINT);\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"std::os::raw::c_int","id":4766,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3005":{"id":3005,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1243":{"id":1243,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6529":{"id":6529,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5094":{"id":5094,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3332":{"id":3332,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5421":{"id":5421,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7183":{"id":7183,"crate_id":0,"name":null,"span":{"filename":"src/task/join_set.rs","begin":[701,1],"end":[838,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/task/join_set.rs:699:11: 699:25 (#0) }, NameValue { name: \"feature\", value: Some(\"tracing\"), span: src/task/join_set.rs:699:27: 699:46 (#0) }], src/task/join_set.rs:699:10: 699:47 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, feature = \"tracing\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"outlives":"'static"}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7176,7177,7178,7179,7180,7181,7182],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"135":{"id":135,"crate_id":0,"name":"recursive","span":{"filename":"src/fs/dir_builder.rs","begin":[52,5],"end":[55,6]},"visibility":"public","docs":"Indicates whether to create directories recursively (including all parent directories).\nParents that do not exist are created with the same security and permissions settings.\n\nThis option defaults to `false`.\n\nThis is an async version of [`std::fs::DirBuilder::recursive`].\n\n# Examples\n\n```no_run\nuse tokio::fs::DirBuilder;\n\nlet mut builder = DirBuilder::new();\nbuilder.recursive(true);\n```","links":{"`std::fs::DirBuilder::recursive`":134},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["recursive",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7510":{"id":7510,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5748":{"id":5748,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[260,1],"end":[260,75]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2224":{"id":2224,"crate_id":0,"name":"bind_device","span":{"filename":"src/net/tcp/socket.rs","begin":[742,5],"end":[744,6]},"visibility":"public","docs":"Sets the value for the `SO_BINDTODEVICE` option on this socket\n\nIf a socket is bound to an interface, only packets received from that\nparticular interface are processed by the socket. Note that this only\nworks for some socket types, particularly `AF_INET` sockets.\n\nIf `interface` is `None` or an empty string it removes the binding.","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"android\"), span: src/net/tcp/socket.rs:737:15: 737:36 (#0) }, NameValue { name: \"target_os\", value: Some(\"fuchsia\"), span: src/net/tcp/socket.rs:737:38: 737:59 (#0) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/net/tcp/socket.rs:737:61: 737:80 (#0) }], src/net/tcp/socket.rs:737:14: 737:81 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\"))))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interface",{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3986":{"id":3986,"crate_id":0,"name":"metrics_poll_count_histogram_buckets","span":{"filename":"src/runtime/builder.rs","begin":[1640,9],"end":[1643,10]},"visibility":"public","docs":"Sets the number of buckets for the histogram tracking the\ndistribution of task poll times.\n\nThe last bucket tracks all greater values that fall out of other\nranges. So, configuring the histogram using a linear scale,\nresolution of 50ms, and 10 buckets, the 10th bucket will track task\npolls that take more than 450ms to complete.\n\n**Default:** 10\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime;\n\n# #[allow(deprecated)]\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_metrics_poll_time_histogram()\n    .metrics_poll_count_histogram_buckets(15)\n    .build()\n    .unwrap();\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1598) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":{"since":null,"note":"use `metrics_poll_time_histogram_configuration`"},"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["buckets",{"primitive":"usize"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6075":{"id":6075,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4313":{"id":4313,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2551":{"id":2551,"crate_id":0,"name":"set_multicast_loop_v6","span":{"filename":"src/net/udp.rs","begin":[1971,5],"end":[1973,6]},"visibility":"public","docs":"Sets the value of the `IPV6_MULTICAST_LOOP` option for this socket.\n\nControls whether this socket sees the multicast packets it sends itself.\n\n# Note\n\nThis may not have any effect on IPv4 sockets.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["on",{"primitive":"bool"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"789":{"id":789,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/util/empty.rs","begin":[112,5],"end":[116,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6402":{"id":6402,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2878":{"id":2878,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4640":{"id":4640,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[143,19],"end":[143,24]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[4639],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6729":{"id":6729,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4967":{"id":4967,"crate_id":0,"name":"futures","span":{"filename":"src/sync/mod.rs","begin":[454,5],"end":[454,20]},"visibility":"public","docs":"Named future types.","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[4963,4965],"is_stripped":false}}},"1443":{"id":1443,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3532":{"id":3532,"crate_id":0,"name":"Error","span":{"filename":"src/process/mod.rs","begin":[1600,5],"end":[1600,28]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Error","id":262,"args":null}},"default_unstable":null}}},"1770":{"id":1770,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"5294":{"id":5294,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7383":{"id":7383,"crate_id":0,"name":"sub","span":{"filename":"src/time/instant.rs","begin":[182,5],"end":[184,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["rhs",{"resolved_path":{"path":"Instant","id":7328,"args":null}}]],"output":{"resolved_path":{"path":"Duration","id":2215,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5621":{"id":5621,"crate_id":0,"name":"clone","span":{"filename":"src/sync/mpsc/error.rs","begin":[81,25],"end":[81,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3859":{"id":3859,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/task/trace/mod.rs","begin":[64,14],"end":[64,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"335":{"id":335,"crate_id":0,"name":"mode","span":{"filename":"src/fs/open_options.rs","begin":[593,9],"end":[610,10]},"visibility":"public","docs":"Sets the mode bits that a new file will be created with.\n\nIf a new file is created as part of an `OpenOptions::open` call then this\nspecified `mode` will be used as the permission bits for the new file.\nIf no `mode` is set, the default of `0o666` will be used.\nThe operating system masks out bits with the system's `umask`, to produce\nthe final permissions.\n\n# Examples\n\n```no_run\nuse tokio::fs::OpenOptions;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut options = OpenOptions::new();\n    options.mode(0o644); // Give read/write for owner and read for others.\n    let file = options.open(\"foo.txt\").await?;\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["mode",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2097":{"id":2097,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[281,20],"end":[281,24]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"join::join","name":"join","id":1431,"is_glob":false}}},"4186":{"id":4186,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[161,1],"end":[167,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[4185],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2424":{"id":2424,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"662":{"id":662,"crate_id":0,"name":"poll_complete","span":{"filename":"src/io/async_seek.rs","begin":[52,5],"end":[52,91]},"visibility":"default","docs":"Waits for a seek operation to complete.\n\nIf the seek operation completed successfully, this method returns the\nnew position from the start of the stream. That position can be used\nlater with [`SeekFrom::Start`].\n\nThe position returned by calling this method can only be relied on right\nafter `start_seek`. If you have changed the position by e.g. reading or\nwriting since calling `start_seek`, then it is unspecified whether the\nreturned position takes that position change into account. Similarly, if\n`start_seek` has never been called, then it is unspecified whether\n`poll_complete` returns the actual position or some other placeholder\nvalue (such as 0).\n\n# Errors\n\nSeeking to a negative offset is considered an error.","links":{"`SeekFrom::Start`":661},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u64"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"5948":{"id":5948,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/notify.rs","begin":[379,10],"end":[379,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6275":{"id":6275,"crate_id":0,"name":"map","span":{"filename":"src/sync/rwlock/owned_read_guard.rs","begin":[76,5],"end":[90,6]},"visibility":"public","docs":"Makes a new `OwnedRwLockReadGuard` for a component of the locked data.\nThis operation cannot fail as the `OwnedRwLockReadGuard` passed in\nalready locked the data.\n\nThis is an associated function that needs to be\nused as `OwnedRwLockReadGuard::map(...)`. A method would interfere with\nmethods of the same name on the contents of the locked data.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::{RwLock, OwnedRwLockReadGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(Foo(1)));\n\nlet guard = lock.read_owned().await;\nlet guard = OwnedRwLockReadGuard::map(guard, |f| &f.0);\n\nassert_eq!(1, *guard);\n# }\n```","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"V"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"V","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"U"}}}],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"V"}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4513":{"id":4513,"crate_id":0,"name":"worker_total_busy_duration","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[141,9],"end":[149,10]},"visibility":"public","docs":"Returns the amount of time the given worker thread has been busy.\n\nThe worker busy duration starts at zero when the runtime is created and\nincreases whenever the worker is spending time processing work. Using\nthis value can indicate the load of the given worker. If a lot of time\nis spent busy, then the worker is under load and will check for inbound\nevents less often.\n\nThe timer is monotonically increasing. It is never decremented or reset\nto zero.\n\n# Arguments\n\n`worker` is the index of the worker being queried. The given value must\nbe between 0 and `num_workers()`. The index uniquely identifies a single\nworker and will continue to identify the worker throughout the lifetime\nof the runtime instance.\n\n# Panics\n\nThe method panics when `worker` represents an invalid worker, i.e. is\ngreater than or equal to `num_workers()`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.worker_total_busy_duration(0);\nprintln!(\"worker 0 was busy for a total of {:?}\", n);\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/macros/cfg.rs:292:19: 292:43 (#1688) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(target_has_atomic = \"64\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["worker",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"Duration","id":2215,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"989":{"id":989,"crate_id":0,"name":"is_writable","span":{"filename":"src/io/ready.rs","begin":[143,5],"end":[145,6]},"visibility":"public","docs":"Returns `true` if the value includes writable `readiness`.\n\n# Examples\n\n```\nuse tokio::io::Ready;\n\nassert!(!Ready::EMPTY.is_writable());\nassert!(!Ready::READABLE.is_writable());\nassert!(Ready::WRITABLE.is_writable());\nassert!(Ready::WRITE_CLOSED.is_writable());\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2751":{"id":2751,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"4840":{"id":4840,"crate_id":0,"name":"ctrl_c","span":{"filename":"src/signal/windows.rs","begin":[46,1],"end":[50,2]},"visibility":"public","docs":"Creates a new listener which receives \"ctrl-c\" notifications sent to the\nprocess.\n\n# Examples\n\n```rust,no_run\nuse tokio::signal::windows::ctrl_c;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    // A listener of CTRL-C events.\n    let mut signal = ctrl_c()?;\n\n    // Print whenever a CTRL-C event is received.\n    for countdown in (0..3).rev() {\n        signal.recv().await;\n        println!(\"got CTRL-C. {} more to exit\", countdown);\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3078":{"id":3078,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"1316":{"id":1316,"crate_id":0,"name":null,"span":{"filename":"src/io/stderr.rs","begin":[116,5],"end":[120,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#219) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#219) }], src/macros/cfg.rs:42:26: 42:39 (#219)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#219) }], src/macros/cfg.rs:42:22: 42:49 (#219))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawHandle","id":292,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[1315],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6602":{"id":6602,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[115,1],"end":[123,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6601],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6929":{"id":6929,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5167":{"id":5167,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1643":{"id":1643,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5494":{"id":5494,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[723,5],"end":[725,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3732":{"id":3732,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1970":{"id":1970,"crate_id":0,"name":null,"span":{"filename":"src/io/util/split.rs","begin":[68,1],"end":[111,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[1969],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7256":{"id":7256,"crate_id":0,"name":"sleep","span":{"filename":"src/time/sleep.rs","begin":[123,1],"end":[130,2]},"visibility":"public","docs":"Waits until `duration` has elapsed.\n\nEquivalent to `sleep_until(Instant::now() + duration)`. An asynchronous\nanalog to `std::thread::sleep`.\n\nNo work is performed while awaiting on the sleep future to complete. `Sleep`\noperates at millisecond granularity and should not be used for tasks that\nrequire high-resolution timers. The implementation is platform specific,\nand some platforms (specifically Windows) will provide timers with a\nlarger resolution than 1 ms.\n\nTo run something regularly on a schedule, see [`interval`].\n\n# Cancellation\n\nCanceling a sleep instance is done by dropping the returned future. No additional\ncleanup work is required.\n\n# Examples\n\nWait 100ms and print \"100 ms have elapsed\".\n\n```\nuse tokio::time::{sleep, Duration};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nsleep(Duration::from_millis(100)).await;\nprintln!(\"100 ms have elapsed\");\n# }\n```\n\nSee the documentation for the [`Sleep`] type for more examples.\n\n# Panics\n\nThis function panics if there is no current timer set.\n\nIt can be triggered when [`Builder::enable_time`] or\n[`Builder::enable_all`] are not included in the builder.\n\nIt can also panic whenever a timer is created outside of a\nTokio runtime. That is why `rt.block_on(sleep(...))` will panic,\nsince the function is executed outside of the runtime.\nWhereas `rt.block_on(async {sleep(...).await})` doesn't panic.\nAnd this is because wrapping the function on an async makes it lazy,\nand so gets executed inside the runtime successfully without\npanicking.\n\n[`Sleep`]: struct@crate::time::Sleep\n[`interval`]: crate::time::interval()\n[`Builder::enable_time`]: crate::runtime::Builder::enable_time\n[`Builder::enable_all`]: crate::runtime::Builder::enable_all","links":{"crate::runtime::Builder::enable_all":3942,"crate::runtime::Builder::enable_time":3990,"crate::time::interval()":7400,"struct@crate::time::Sleep":4266},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(alias = \"delay_for\")]"},{"other":"#[doc(alias = \"wait\")]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["duration",{"resolved_path":{"path":"crate::time::Duration","id":2215,"args":null}}]],"output":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5821":{"id":5821,"crate_id":0,"name":"drop","span":{"filename":"src/sync/mutex.rs","begin":[1252,5],"end":[1262,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2297":{"id":2297,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4059":{"id":4059,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4386":{"id":4386,"crate_id":0,"name":null,"span":{"filename":"src/runtime/runtime.rs","begin":[521,1],"end":[521,46]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6148":{"id":6148,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/batch_semaphore.rs","begin":[752,5],"end":[757,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"862":{"id":862,"crate_id":0,"name":"poll_write","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1691,5],"end":[1697,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2951":{"id":2951,"crate_id":0,"name":"uid_t","span":{"filename":"src/net/unix/mod.rs","begin":[31,1],"end":[31,22]},"visibility":"public","docs":"A type representing user ID.","links":{},"attrs":[{"other":"#[allow(non_camel_case_types)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"type_alias":{"type":{"primitive":"u32"},"generics":{"params":[],"where_predicates":[]}}}},"1189":{"id":1189,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4713":{"id":4713,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5040":{"id":5040,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3278":{"id":3278,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6802":{"id":6802,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7129":{"id":7129,"crate_id":0,"name":"spawn_local","span":{"filename":"src/task/join_set.rs","begin":[186,5],"end":[192,6]},"visibility":"public","docs":"Spawn the provided task on the current [`LocalSet`] or [`LocalRuntime`]\nand store it in this `JoinSet`, returning an [`AbortHandle`] that can\nbe used to remotely cancel the task.\n\nThe provided future will start running in the background immediately\nwhen this method is called, even if you don't await anything on this\n`JoinSet`.\n\n# Panics\n\nThis method panics if it is called outside of a `LocalSet` or `LocalRuntime`.\n\n[`LocalSet`]: crate::task::LocalSet\n[`LocalRuntime`]: crate::runtime::LocalRuntime\n[`AbortHandle`]: crate::task::AbortHandle","links":{"crate::task::AbortHandle":3723,"crate::task::LocalSet":3939,"crate::runtime::LocalRuntime":3941},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["task",{"generic":"F"}]],"output":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Output","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3605":{"id":3605,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5367":{"id":5367,"crate_id":0,"name":"release","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1884,5],"end":[1892,6]},"visibility":"public","docs":"Releases the reserved capacity *without* sending a message, returning the\n[`Sender`].\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = mpsc::channel(1);\n\n// Clone the sender and reserve capacity\nlet permit = tx.clone().reserve_owned().await.unwrap();\n\n// Trying to send on the original `tx` will fail, since the `permit`\n// has reserved all the available capacity.\nassert!(tx.try_send(123).is_err());\n\n// Release the permit without sending a message, returning the clone\n// of the sender.\nlet tx2 = permit.release();\n\n// We may now reuse `tx` to send another message.\ntx.send(789).await.unwrap();\n# drop(rx); drop(tx2);\n# }\n```\n\n[`Sender`]: Sender","links":{"Sender":5224},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5694":{"id":5694,"crate_id":0,"name":"TryLockError","span":{"filename":"src/sync/mutex.rs","begin":[293,1],"end":[293,40]},"visibility":"public","docs":"Error returned from the [`Mutex::try_lock`], [`RwLock::try_read`] and\n[`RwLock::try_write`] functions.\n\n`Mutex::try_lock` operation will only fail if the mutex is already locked.\n\n`RwLock::try_read` operation will only fail if the lock is currently held\nby an exclusive writer.\n\n`RwLock::try_write` operation will only fail if the lock is currently held\nby any reader or by an exclusive writer.\n\n[`Mutex::try_lock`]: Mutex::try_lock\n[`RwLock::try_read`]: fn@super::RwLock::try_read\n[`RwLock::try_write`]: fn@super::RwLock::try_write","links":{"Mutex::try_lock":5695,"fn@super::RwLock::try_read":5868,"fn@super::RwLock::try_write":5869},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[5870,5871,5872,5873,5874,5875,5876,5877,5878,5879,5880,5881,5882,5883,5884,5885,5886,5888,5890,5891]}}},"7456":{"id":7456,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"408":{"id":408,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2170":{"id":2170,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6021":{"id":6021,"crate_id":0,"name":"Closed","span":{"filename":"src/sync/oneshot.rs","begin":[357,9],"end":[357,15]},"visibility":"default","docs":"The send half of the channel was dropped without sending a value.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"2497":{"id":2497,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/mod.rs","begin":[13,23],"end":[13,36]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"split_owned::OwnedReadHalf","name":"OwnedReadHalf","id":631,"is_glob":false}}},"735":{"id":735,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[370,5],"end":[376,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4259":{"id":4259,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6348":{"id":6348,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[438,1],"end":[445,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6347],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4586":{"id":4586,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1062":{"id":1062,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"E","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"E"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2824":{"id":2824,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6675":{"id":6675,"crate_id":0,"name":"eq","span":{"filename":"src/sync/set_once.rs","begin":[118,5],"end":[120,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3151":{"id":3151,"crate_id":0,"name":"as_raw_handle","span":{"filename":"src/net/windows/named_pipe.rs","begin":[928,5],"end":[930,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawHandle","id":290,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1389":{"id":1389,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4913":{"id":4913,"crate_id":0,"name":"CtrlShutdown","span":{"filename":"src/signal/windows.rs","begin":[374,1],"end":[376,2]},"visibility":"public","docs":"Represents a listener which receives \"ctrl-shutdown\" notifications sent to the process\nvia `SetConsoleCtrlHandler`.\n\nA notification to this process notifies *all* listeners listening for\nthis event. Moreover, the notifications **are coalesced** if they aren't processed\nquickly enough. This means that if two notifications are received back-to-back,\nthen the listener may only receive one item about the two notifications.","links":{},"attrs":[{"must_use":{"reason":"listeners do nothing unless polled"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4917,4918,4919,4920,4921,4922,4923,4924,4925,4926,4927,4928,4929,4930,4931,4932,4933,4935]}}},"7002":{"id":7002,"crate_id":0,"name":"run_until","span":{"filename":"src/task/local.rs","begin":[712,5],"end":[721,6]},"visibility":"public","docs":"Runs a future to completion on the local set, returning its output.\n\nThis returns a future that runs the given future with a local set,\nallowing it to call [`spawn_local`] to spawn additional `!Send` futures.\nAny local futures spawned on the local set will be driven in the\nbackground until the future passed to `run_until` completes. When the future\npassed to `run_until` finishes, any local futures which have not completed\nwill remain on the local set, and will be driven on subsequent calls to\n`run_until` or when [awaiting the local set] itself.\n\n# Cancel safety\n\nThis method is cancel safe when `future` is cancel safe.\n\n# Examples\n\n```rust\nuse tokio::task;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\ntask::LocalSet::new().run_until(async {\n    task::spawn_local(async move {\n        // ...\n    }).await.unwrap();\n    // ...\n}).await;\n# }\n```\n\n[`spawn_local`]: fn@spawn_local\n[awaiting the local set]: #awaiting-a-localset","links":{"fn@spawn_local":4422},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["future",{"generic":"F"}]],"output":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5240":{"id":5240,"crate_id":0,"name":"PermitIterator","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[78,1],"end":[81,2]},"visibility":"public","docs":"An [`Iterator`] of [`Permit`] that can be used to hold `n` slots in the channel.\n\n`PermitIterator` values are returned by [`Sender::reserve_many()`] and [`Sender::try_reserve_many()`]\nand are used to guarantee channel capacity before generating `n` messages to send.\n\n[`Sender::reserve_many()`]: Sender::reserve_many\n[`Sender::try_reserve_many()`]: Sender::try_reserve_many","links":{"`Permit`":5228,"Sender::reserve_many":5242,"Sender::try_reserve_many":5241,"`Iterator`":2149},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,5344,5345,5346,5347,5351,5352,5353,5357,5358,5360,5363,5365]}}},"1716":{"id":1716,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_writer.rs","begin":[10,1],"end":[39,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'__pin","kind":{"lifetime":{"outlives":[]}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"resolved_path":{"path":"$crate::__private::PinnedFieldsOf","id":1463,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"__Origin","id":1717,"args":{"angle_bracketed":{"args":[{"lifetime":"'__pin"},{"type":{"generic":"W"}}],"constraints":[]}}}}}],"constraints":[]}}}},"bounds":[{"trait_bound":{"trait":{"path":"$crate::__private::Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3478":{"id":3478,"crate_id":0,"name":"id","span":{"filename":"src/process/mod.rs","begin":[1222,5],"end":[1227,6]},"visibility":"public","docs":"Returns the OS-assigned process identifier associated with this child\nwhile it is still running.\n\nOnce the child has been polled to completion this will return `None`.\nThis is done to avoid confusion on platforms like Unix where the OS\nidentifier could be reused once the process has completed.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u32"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7329":{"id":7329,"crate_id":0,"name":"now","span":{"filename":"src/time/instant.rs","begin":[48,5],"end":[50,6]},"visibility":"public","docs":"Returns an instant corresponding to \"now\".\n\n# Examples\n\n```\nuse tokio::time::Instant;\n\nlet now = Instant::now();\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3805":{"id":3805,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2043":{"id":2043,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[5,5],"end":[5,49]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"async_buf_read_ext::AsyncBufReadExt","name":"AsyncBufReadExt","id":537,"is_glob":false}}},"5567":{"id":5567,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4132":{"id":4132,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"608":{"id":608,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_stream.rs","begin":[151,1],"end":[159,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[607],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2370":{"id":2370,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split_owned.rs","begin":[34,10],"end":[34,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[2369],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4459":{"id":4459,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2697":{"id":2697,"crate_id":0,"name":"as_fd","span":{"filename":"src/net/unix/socket.rs","begin":[255,5],"end":[257,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"935":{"id":935,"crate_id":0,"name":"add","span":{"filename":"src/io/interest.rs","begin":[167,5],"end":[169,6]},"visibility":"public","docs":"Add together two `Interest` values.\n\nThis function works from a `const` context.\n\n# Examples\n\n```\nuse tokio::io::Interest;\n\nconst BOTH: Interest = Interest::READABLE.add(Interest::WRITABLE);\n\nassert!(BOTH.is_readable());\nassert!(BOTH.is_writable());","links":{},"attrs":[{"must_use":{"reason":"this returns the result of the operation, without modifying the original"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["other",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"Interest","id":924,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6221":{"id":6221,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6548":{"id":6548,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/rwlock.rs","begin":[1122,5],"end":[1129,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"std::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"std::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4786":{"id":4786,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1262":{"id":1262,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5113":{"id":5113,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[325,32],"end":[325,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3351":{"id":3351,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1589":{"id":1589,"crate_id":0,"name":"write_i16_le","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes a signed 16-bit integer in little-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_i16_le(&mut self, n: i16) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite signed 16-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_i16_le(193).await?;\nwriter.write_i16_le(-132).await?;\n\nassert_eq!(writer, b\"\\xc1\\x00\\x7c\\xff\");\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"i16"}]],"output":{"resolved_path":{"path":"WriteI16Le","id":1590,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6875":{"id":6875,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7202":{"id":7202,"crate_id":0,"name":"join_set","span":{"filename":"src/task/join_set.rs","begin":[1,1],"end":[851,2]},"visibility":"public","docs":"A collection of tasks spawned on a Tokio runtime.\n\nThis module provides the [`JoinSet`] type, a collection which stores a set\nof spawned tasks and allows asynchronously awaiting the output of those\ntasks as they complete. See the documentation for the [`JoinSet`] type for\ndetails.","links":{"`JoinSet`":3724},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) },\nNameValue { name: \"tokio_unstable\", value: None, span: src/task/mod.rs:317:11: 317:25 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[3724,7125],"is_stripped":false}}},"5440":{"id":5440,"crate_id":0,"name":"WeakUnboundedSender","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[45,1],"end":[47,2]},"visibility":"public","docs":"An unbounded sender that does not prevent the channel from being closed.\n\nIf all [`UnboundedSender`] instances of a channel were dropped and only\n`WeakUnboundedSender` instances remain, the channel is closed.\n\nIn order to send messages, the `WeakUnboundedSender` needs to be upgraded using\n[`WeakUnboundedSender::upgrade`], which returns `Option<UnboundedSender>`. It returns `None`\nif all `UnboundedSender`s have been dropped, and otherwise it returns an `UnboundedSender`.\n\n[`UnboundedSender`]: UnboundedSender\n[`WeakUnboundedSender::upgrade`]: WeakUnboundedSender::upgrade\n\n# Examples\n\n```\nuse tokio::sync::mpsc::unbounded_channel;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, _rx) = unbounded_channel::<i32>();\nlet tx_weak = tx.downgrade();\n\n// Upgrading will succeed because `tx` still exists.\nassert!(tx_weak.upgrade().is_some());\n\n// If we drop `tx`, then it will fail.\ndrop(tx);\nassert!(tx_weak.clone().upgrade().is_none());\n# }\n```","links":{"WeakUnboundedSender::upgrade":5468,"UnboundedSender":5433},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5471,5472,5473,5474,5475,5476,5477,5478,5479,5480,5481,5482,5483,5484,5485,5486,5487,5488,5489,5491,5493,5495]}}},"1916":{"id":1916,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5767":{"id":5767,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4005":{"id":4005,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2243":{"id":2243,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7529":{"id":7529,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[90,30],"end":[90,35]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"test-util\"), span: src/macros/cfg.rs:567:19: 567:40 (#4308) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"test-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"clock::pause","name":"pause","id":7254,"is_glob":false}}},"6094":{"id":6094,"crate_id":0,"name":"blocking_recv","span":{"filename":"src/sync/oneshot.rs","begin":[1240,5],"end":[1242,6]},"visibility":"public","docs":"Blocking receive to call outside of asynchronous contexts.\n\n# Panics\n\nThis function panics if called within an asynchronous execution\ncontext.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::thread;\nuse tokio::sync::oneshot;\n\n#[tokio::main]\nasync fn main() {\n    let (tx, rx) = oneshot::channel::<u8>();\n\n    let sync_code = thread::spawn(move || {\n        assert_eq!(Ok(10), rx.blocking_recv());\n    });\n\n    let _ = tx.send(10);\n    sync_code.join().unwrap();\n}\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/sync/oneshot.rs:1238:11: 1238:27 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[attr = TrackCaller]"},{"other":"#[doc(alias = \"recv_blocking\")]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"resolved_path":{"path":"RecvError","id":5989,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2570":{"id":2570,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"808":{"id":808,"crate_id":0,"name":null,"span":{"filename":"src/io/util/sink.rs","begin":[53,1],"end":[78,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[805,806,807],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4332":{"id":4332,"crate_id":0,"name":"is_thread_local_destroyed","span":{"filename":"src/runtime/handle.rs","begin":[718,5],"end":[720,6]},"visibility":"public","docs":"Returns true if the call failed because the Tokio context thread-local\nhad been destroyed. This can usually only happen if in the destructor of\nother thread-locals.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6421":{"id":6421,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/rwlock/read_guard.rs","begin":[164,5],"end":[166,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4659":{"id":4659,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2897":{"id":2897,"crate_id":0,"name":"try_read_vectored","span":{"filename":"src/net/unix/stream.rs","begin":[442,5],"end":[446,6]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffers, returning\nhow many bytes were read.\n\nData is copied to fill each buffer in order, with the final buffer\nwritten to possibly being only partially filled. This method behaves\nequivalently to a single call to [`try_read()`] with concatenated\nbuffers.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_vectored()` is non-blocking, the buffer does not have to be\nstored by the async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`try_read()`]: UnixStream::try_read()\n[`readable()`]: UnixStream::readable()\n[`ready()`]: UnixStream::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the stream's read half is closed\nand will no longer yield data. If the stream is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::UnixStream;\nuse std::error::Error;\nuse std::io::{self, IoSliceMut};\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let dir = tempfile::tempdir().unwrap();\n    let bind_path = dir.path().join(\"bind_path\");\n    let stream = UnixStream::connect(bind_path).await?;\n\n    loop {\n        // Wait for the socket to be readable\n        stream.readable().await?;\n\n        // Creating the buffer **after** the `await` prevents it from\n        // being stored in the async task.\n        let mut buf_a = [0; 512];\n        let mut buf_b = [0; 1024];\n        let mut bufs = [\n            IoSliceMut::new(&mut buf_a),\n            IoSliceMut::new(&mut buf_b),\n        ];\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match stream.try_read_vectored(&mut bufs) {\n            Ok(0) => break,\n            Ok(n) => {\n                println!(\"read {} bytes\", n);\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"UnixStream::readable()":2894,"UnixStream::try_read()":2896,"UnixStream::ready()":2708},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"resolved_path":{"path":"io::IoSliceMut","id":2282,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1135":{"id":1135,"crate_id":0,"name":"ready","span":{"filename":"src/io/async_fd.rs","begin":[589,5],"end":[596,6]},"visibility":"public","docs":"Waits for any of the requested ready states, returning a\n[`AsyncFdReadyGuard`] that must be dropped to resume\npolling for the requested ready states.\n\nThe function may complete without the file descriptor being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\nWhen an IO operation does return `io::ErrorKind::WouldBlock`, the readiness must be cleared.\nWhen a combined interest is used, it is important to clear only the readiness\nthat is actually observed to block. For instance when the combined\ninterest `Interest::READABLE | Interest::WRITABLE` is used, and a read blocks, only\nread readiness should be cleared using the [`AsyncFdReadyGuard::clear_ready_matching`] method:\n`guard.clear_ready_matching(Ready::READABLE)`.\nAlso clearing the write readiness in this case would be incorrect. The [`AsyncFdReadyGuard::clear_ready`]\nmethod clears all readiness flags.\n\nThis method takes `&self`, so it is possible to call this method\nconcurrently with other methods on this struct. This method only\nprovides shared access to the inner IO resource when handling the\n[`AsyncFdReadyGuard`].\n\n# Examples\n\nConcurrently read and write to a [`std::net::TcpStream`] on the same task without\nsplitting.\n\n```no_run\nuse std::error::Error;\nuse std::io;\nuse std::io::{Read, Write};\nuse std::net::TcpStream;\nuse tokio::io::unix::AsyncFd;\nuse tokio::io::{Interest, Ready};\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let stream = TcpStream::connect(\"127.0.0.1:8080\")?;\n    stream.set_nonblocking(true)?;\n    let stream = AsyncFd::new(stream)?;\n\n    loop {\n        let mut guard = stream\n            .ready(Interest::READABLE | Interest::WRITABLE)\n            .await?;\n\n        if guard.ready().is_readable() {\n            let mut data = vec![0; 1024];\n            // Try to read data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match stream.get_ref().read(&mut data) {\n                Ok(n) => {\n                    println!(\"read {} bytes\", n);\n                }\n                Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    // a read has blocked, but a write might still succeed.\n                    // clear only the read readiness.\n                    guard.clear_ready_matching(Ready::READABLE);\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n        }\n\n        if guard.ready().is_writable() {\n            // Try to write data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match stream.get_ref().write(b\"hello world\") {\n                Ok(n) => {\n                    println!(\"write {} bytes\", n);\n                }\n                Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    // a write has blocked, but a read might still succeed.\n                    // clear only the write readiness.\n                    guard.clear_ready_matching(Ready::WRITABLE);\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n        }\n    }\n}\n```","links":{"`AsyncFdReadyGuard`":1117,"`AsyncFdReadyGuard::clear_ready_matching`":1133,"`AsyncFdReadyGuard::clear_ready`":1134,"`std::net::TcpStream`":1120,"`Ready`":978},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6748":{"id":6748,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3224":{"id":3224,"crate_id":0,"name":"create_with_security_attributes_raw","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2304,5],"end":[2365,6]},"visibility":"public","docs":"Creates the named pipe identified by `addr` for use as a server.\n\nThis is the same as [`create`] except that it supports providing the raw\npointer to a structure of [`SECURITY_ATTRIBUTES`] which will be passed\nas the `lpSecurityAttributes` argument to [`CreateFile`].\n\n# Errors\n\nThis errors if called outside of a [Tokio Runtime], or in a runtime that\nhas not [enabled I/O], or if any OS-specific I/O errors occur.\n\n[Tokio Runtime]: crate::runtime::Runtime\n[enabled I/O]: crate::runtime::Builder::enable_io\n\n# Safety\n\nThe `attrs` argument must either be null or point at a valid instance of\nthe [`SECURITY_ATTRIBUTES`] structure. If the argument is null, the\nbehavior is identical to calling the [`create`] method.\n\n[`create`]: ServerOptions::create\n[`CreateFile`]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew\n[`SECURITY_ATTRIBUTES`]: https://docs.rs/windows-sys/latest/windows_sys/Win32/Security/struct.SECURITY_ATTRIBUTES.html","links":{"crate::runtime::Runtime":3112,"ServerOptions::create":3110,"crate::runtime::Builder::enable_io":3113},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["addr",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}],["attrs",{"raw_pointer":{"is_mutable":true,"type":{"resolved_path":{"path":"c_void","id":3225,"args":null}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<OsStr>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1462":{"id":1462,"crate_id":0,"name":null,"span":{"filename":"src/io/join.rs","begin":[19,1],"end":[29,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'__pin","kind":{"lifetime":{"outlives":[]}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"resolved_path":{"path":"$crate::__private::PinnedFieldsOf","id":1463,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"__Origin","id":1464,"args":{"angle_bracketed":{"args":[{"lifetime":"'__pin"},{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}}}],"constraints":[]}}}},"bounds":[{"trait_bound":{"trait":{"path":"$crate::__private::Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4986":{"id":4986,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7075":{"id":7075,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5313":{"id":5313,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3551":{"id":3551,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7402":{"id":7402,"crate_id":0,"name":"Skip","span":{"filename":"src/time/interval.rs","begin":[330,5],"end":[330,9]},"visibility":"default","docs":"Skips missed ticks and tick on the next multiple of `period` from\n`start`.\n\nWhen this strategy is used, [`Interval`] schedules the next tick to fire\nat the next-closest tick that is a multiple of `period` away from\n`start` (the point where [`Interval`] first ticked). Like [`Burst`], all\nticks remain multiples of `period` away from `start`, but unlike\n[`Burst`], the ticks may not be *one* multiple of `period` away from the\nlast tick. Like [`Delay`], the ticks are no longer the same as they\nwould have been if ticks had not been missed, but unlike [`Delay`], and\nlike [`Burst`], the ticks may be shortened to be less than one `period`\naway from each other.\n\nThis looks something like this:\n```text\nExpected ticks: |     1     |     2     |     3     |     4     |     5     |     6     |\nActual ticks:   | work -----|          delay          | work ---| work -----| work -----|\n```\n\nIn code:\n\n```\nuse tokio::time::{interval, Duration, MissedTickBehavior};\n# async fn task_that_takes_75_millis() {}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut interval = interval(Duration::from_millis(50));\ninterval.set_missed_tick_behavior(MissedTickBehavior::Skip);\n\ntask_that_takes_75_millis().await;\n// The `Interval` has missed a tick\n\n// Since we have exceeded our timeout, this will resolve immediately\ninterval.tick().await;\n\n// This one will resolve after 25ms, 100ms after the start of\n// `interval`, which is the closest multiple of `period` from the start\n// of `interval` after the call to `tick` up above.\ninterval.tick().await;\n# }\n```\n\n[`Burst`]: MissedTickBehavior::Burst\n[`Delay`]: MissedTickBehavior::Delay","links":{"MissedTickBehavior::Delay":7401,"`Interval`":7394,"MissedTickBehavior::Burst":7396},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"3878":{"id":3878,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2116":{"id":2116,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[287,49],"end":[287,61]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::DuplexStream","name":"DuplexStream","id":617,"is_glob":false}}},"354":{"id":354,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5640":{"id":5640,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5967":{"id":5967,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4205":{"id":4205,"crate_id":0,"name":"clone","span":{"filename":"src/runtime/dump.rs","begin":[156,10],"end":[156,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"681":{"id":681,"crate_id":0,"name":"poll_complete","span":{"filename":"src/io/util/buf_stream.rs","begin":[184,5],"end":[186,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u64"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2443":{"id":2443,"crate_id":0,"name":"try_read_vectored","span":{"filename":"src/net/tcp/stream.rs","begin":[701,5],"end":[707,6]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffers, returning\nhow many bytes were read.\n\nData is copied to fill each buffer in order, with the final buffer\nwritten to possibly being only partially filled. This method behaves\nequivalently to a single call to [`try_read()`] with concatenated\nbuffers.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_vectored()` is non-blocking, the buffer does not have to be\nstored by the async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`try_read()`]: TcpStream::try_read()\n[`readable()`]: TcpStream::readable()\n[`ready()`]: TcpStream::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the stream's read half is closed\nand will no longer yield data. If the stream is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\nuse std::error::Error;\nuse std::io::{self, IoSliceMut};\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\n    loop {\n        // Wait for the socket to be readable\n        stream.readable().await?;\n\n        // Creating the buffer **after** the `await` prevents it from\n        // being stored in the async task.\n        let mut buf_a = [0; 512];\n        let mut buf_b = [0; 1024];\n        let mut bufs = [\n            IoSliceMut::new(&mut buf_a),\n            IoSliceMut::new(&mut buf_b),\n        ];\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match stream.try_read_vectored(&mut bufs) {\n            Ok(0) => break,\n            Ok(n) => {\n                println!(\"read {} bytes\", n);\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"TcpStream::try_read()":2442,"TcpStream::readable()":2440,"TcpStream::ready()":2279},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"resolved_path":{"path":"io::IoSliceMut","id":2282,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4532":{"id":4532,"crate_id":0,"name":"worker_steal_operations","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[779,9],"end":[785,10]},"visibility":"public","docs":"Returns the number of times the given worker thread stole tasks from\nanother worker thread.\n\nThis metric only applies to the **multi-threaded** runtime and will\nalways return `0` when using the current thread runtime.\n\nThe worker steal count starts at zero when the runtime is created and\nincreases by one each time the worker has processed its scheduled queue\nand successfully steals more pending tasks from another worker.\n\nThe counter is monotonically increasing. It is never decremented or\nreset to zero.\n\n# Arguments\n\n`worker` is the index of the worker being queried. The given value must\nbe between 0 and `num_workers()`. The index uniquely identifies a single\nworker and will continue to identify the worker throughout the lifetime\nof the runtime instance.\n\n# Panics\n\nThe method panics when `worker` represents an invalid worker, i.e. is\ngreater than or equal to `num_workers()`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.worker_steal_operations(0);\nprintln!(\"worker 0 has stolen tasks {} times\", n);\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/metrics/runtime.rs:578:13: 578:27 (#0) }, NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/runtime/metrics/runtime.rs:579:13: 579:37 (#0) }], src/runtime/metrics/runtime.rs:577:15: 580:10 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, target_has_atomic = \"64\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["worker",{"primitive":"usize"}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2770":{"id":2770,"crate_id":0,"name":"try_read","span":{"filename":"src/net/unix/split_owned.rs","begin":[176,5],"end":[178,6]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffer, returning how\nmany bytes were read.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: Self::readable()\n[`ready()`]: Self::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. If `n` is `0`, then it can indicate one of two scenarios:\n\n1. The stream's read half is closed and will no longer yield data.\n2. The specified buffer was 0 bytes in length.\n\nIf the stream is not ready to read data,\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::ready()":2772,"Self::readable()":2771},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1008":{"id":1008,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6294":{"id":6294,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6621":{"id":6621,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4859":{"id":4859,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1335":{"id":1335,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3097":{"id":3097,"crate_id":0,"name":"as_fd","span":{"filename":"src/net/unix/pipe.rs","begin":[1477,5],"end":[1479,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5186":{"id":5186,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[1155,1],"end":[1159,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5185],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3424":{"id":3424,"crate_id":0,"name":"kill_on_drop","span":{"filename":"src/process/mod.rs","begin":[664,5],"end":[667,6]},"visibility":"public","docs":"Controls whether a `kill` operation should be invoked on a spawned child\nprocess when its corresponding `Child` handle is dropped.\n\nBy default, this value is assumed to be `false`, meaning the next spawned\nprocess will not be killed on drop, similar to the behavior of the standard\nlibrary.\n\n# Caveats\n\nOn Unix platforms processes must be \"reaped\" by their parent process after\nthey have exited in order to release all OS resources. A child process which\nhas exited, but has not yet been reaped by its parent is considered a \"zombie\"\nprocess. Such processes continue to count against limits imposed by the system,\nand having too many zombie processes present can prevent additional processes\nfrom being spawned.\n\nAlthough issuing a `kill` signal to the child process is a synchronous\noperation, the resulting zombie process cannot be `.await`ed inside of the\ndestructor to avoid blocking other tasks. The tokio runtime will, on a\nbest-effort basis, attempt to reap and clean up such processes in the\nbackground, but no additional guarantees are made with regard to\nhow quickly or how often this procedure will take place.\n\nIf stronger guarantees are required, it is recommended to avoid dropping\na [`Child`] handle where possible, and instead utilize `child.wait().await`\nor `child.kill().await` where possible.","links":{"`Child`":3419},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["kill_on_drop",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1662":{"id":1662,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"RW"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6948":{"id":6948,"crate_id":0,"name":null,"span":{"filename":"src/task/coop/mod.rs","begin":[262,5],"end":[276,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:629:21: 629:35 (#4221) }, NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:630:21: 630:39 (#4221) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:631:21: 631:36 (#4221) }, NameValue { name: \"feature\", value: Some(\"process\"), span: src/macros/cfg.rs:632:21: 632:40 (#4221) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:633:21: 633:35 (#4221) }, NameValue { name: \"feature\", value: Some(\"signal\"), span: src/macros/cfg.rs:634:21: 634:39 (#4221) }, NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:635:21: 635:37 (#4221) }, NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:636:21: 636:37 (#4221) }], src/macros/cfg.rs:628:22: 637:22 (#4221))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[6947],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7275":{"id":7275,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5513":{"id":5513,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3751":{"id":3751,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/id.rs","begin":[31,23],"end":[31,28]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[3750],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"227":{"id":227,"crate_id":0,"name":"max_buf_size","span":{"filename":"src/fs/file.rs","begin":[591,5],"end":[593,6]},"visibility":"public","docs":"Get the maximum buffer size for the underlying [`AsyncRead`] / [`AsyncWrite`] operation.","links":{"`AsyncWrite`":225,"`AsyncRead`":224},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7602":{"id":7602,"crate_id":0,"name":"io","span":{"filename":"src/doc/os.rs","begin":[10,5],"end":[10,15]},"visibility":"public","docs":"Windows-specific extensions to general I/O primitives.\n\nSee [`std::os::windows::io`](https://doc.rust-lang.org/std/os/windows/io/index.html).","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[290,286,292,299,2192,2194,2269,2262,294,296,2196,2198],"is_stripped":false}}},"4078":{"id":4078,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2316":{"id":2316,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"554":{"id":554,"crate_id":0,"name":"poll_fill_buf","span":{"filename":"src/io/async_buf_read.rs","begin":[113,5],"end":[115,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5840":{"id":5840,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6167":{"id":6167,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4405":{"id":4405,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/runtime.rs","begin":[111,10],"end":[111,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"881":{"id":881,"crate_id":0,"name":"capacity","span":{"filename":"src/io/read_buf.rs","begin":[58,5],"end":[60,6]},"visibility":"public","docs":"Returns the total capacity of the buffer.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2643":{"id":2643,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4732":{"id":4732,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/mod.rs","begin":[26,41],"end":[26,63]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[allow(unreachable_pub)]"},{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1731) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"histogram::HistogramConfiguration","name":"HistogramConfiguration","id":3984,"is_glob":false}}},"2970":{"id":2970,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1208":{"id":1208,"crate_id":0,"name":"get_inner","span":{"filename":"src/io/async_fd.rs","begin":[1362,5],"end":[1364,6]},"visibility":"public","docs":"Returns a shared reference to the backing object of the inner [`AsyncFd`].","links":{"`AsyncFd`":512},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Inner"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6494":{"id":6494,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6821":{"id":6821,"crate_id":0,"name":"send_replace","span":{"filename":"src/sync/watch.rs","begin":[1229,5],"end":[1234,6]},"visibility":"public","docs":"Sends a new value via the channel, notifying all receivers and returning\nthe previous value in the channel.\n\nThis can be useful for reusing the buffers inside a watched value.\nAdditionally, this method permits sending values even when there are no\nreceivers.\n\n# Examples\n\n```\nuse tokio::sync::watch;\n\nlet (tx, _rx) = watch::channel(1);\nassert_eq!(tx.send_replace(2), 1);\nassert_eq!(tx.send_replace(3), 2);\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["value",{"generic":"T"}]],"output":{"generic":"T"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3297":{"id":3297,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1535":{"id":1535,"crate_id":0,"name":"read_i128_le","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an signed 128-bit integer in little-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_i128_le(&mut self) -> io::Result<i128>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead signed 128-bit little-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![\n    0x80, 0, 0, 0, 0, 0, 0, 0,\n    0, 0, 0, 0, 0, 0, 0, 0\n]);\n\nassert_eq!(128, reader.read_i128_le().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadI128Le","id":1536,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5059":{"id":5059,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5386":{"id":5386,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7148":{"id":7148,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1862":{"id":1862,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7475":{"id":7475,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5713":{"id":5713,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2189":{"id":2189,"crate_id":0,"name":"as_fd","span":{"filename":"src/net/tcp/listener.rs","begin":[419,9],"end":[421,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"427":{"id":427,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3951":{"id":3951,"crate_id":0,"name":"thread_name_fn","span":{"filename":"src/runtime/builder.rs","begin":[650,5],"end":[656,6]},"visibility":"public","docs":"Sets a function used to generate the name of threads spawned by the `Runtime`'s thread pool.\n\nThe default name fn is `|| \"tokio-rt-worker\".into()`.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n# use tokio::runtime;\n# use std::sync::atomic::{AtomicUsize, Ordering};\n# pub fn main() {\nlet rt = runtime::Builder::new_multi_thread()\n    .thread_name_fn(|| {\n       static ATOMIC_ID: AtomicUsize = AtomicUsize::new(0);\n       let id = ATOMIC_ID.fetch_add(1, Ordering::SeqCst);\n       format!(\"my-pool-{}\", id)\n    })\n    .build();\n# }\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Fn","id":3952,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"String","id":448,"args":null}}}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6040":{"id":6040,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4278":{"id":4278,"crate_id":0,"name":"block_on","span":{"filename":"src/runtime/handle.rs","begin":[342,5],"end":[349,6]},"visibility":"public","docs":"Runs a future to completion on this `Handle`'s associated `Runtime`.\n\nThis runs the given future on the current thread, blocking until it is\ncomplete, and yielding its resolved result. Any tasks or timers which\nthe future spawns internally will be executed on the runtime.\n\nWhen this is used on a `current_thread` runtime, only the\n[`Runtime::block_on`] method can drive the IO and timer drivers, but the\n`Handle::block_on` method cannot drive them. This means that, when using\nthis method on a `current_thread` runtime, anything that relies on IO or\ntimers will not work unless there is another thread currently calling\n[`Runtime::block_on`] on the same runtime.\n\n# If the runtime has been shut down\n\nIf the `Handle`'s associated `Runtime` has been shut down (through\n[`Runtime::shutdown_background`], [`Runtime::shutdown_timeout`], or by\ndropping it) and `Handle::block_on` is used it might return an error or\npanic. Specifically IO resources will return an error and timers will\npanic. Runtime independent futures will run as normal.\n\n# Panics\n\nThis function will panic if any of the following conditions are met:\n- The provided future panics.\n- It is called from within an asynchronous context, such as inside\n  [`Runtime::block_on`], `Handle::block_on`, or from a function annotated\n  with [`tokio::main`].\n- A timer future is executed on a runtime that has been shut down.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Runtime;\n\n// Create the runtime\nlet rt  = Runtime::new().unwrap();\n\n// Get a handle from this runtime\nlet handle = rt.handle();\n\n// Execute the future, blocking the current thread until completion\nhandle.block_on(async {\n    println!(\"hello\");\n});\n# }\n```\n\nOr using `Handle::current`:\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Handle;\n\n#[tokio::main]\nasync fn main () {\n    let handle = Handle::current();\n    std::thread::spawn(move || {\n        // Using Handle::block_on to run async code in the new thread.\n        handle.block_on(async {\n            println!(\"hello\");\n        });\n    });\n}\n# }\n```\n\n`Handle::block_on` may be combined with [`task::block_in_place`] to\nre-enter the async context of a multi-thread scheduler runtime:\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::task;\nuse tokio::runtime::Handle;\n\n# async fn docs() {\ntask::block_in_place(move || {\n    Handle::current().block_on(async move {\n        // do something async\n    });\n});\n# }\n# }\n```\n\n[`JoinError`]: struct@crate::task::JoinError\n[`JoinHandle`]: struct@crate::task::JoinHandle\n[`Runtime::block_on`]: fn@crate::runtime::Runtime::block_on\n[`Runtime::shutdown_background`]: fn@crate::runtime::Runtime::shutdown_background\n[`Runtime::shutdown_timeout`]: fn@crate::runtime::Runtime::shutdown_timeout\n[`spawn_blocking`]: crate::task::spawn_blocking\n[`tokio::fs`]: crate::fs\n[`tokio::net`]: crate::net\n[`tokio::time`]: crate::time\n[`tokio::main`]: ../attr.main.html\n[`task::block_in_place`]: crate::task::block_in_place","links":{"crate::net":3384,"fn@crate::runtime::Runtime::block_on":3968,"fn@crate::runtime::Runtime::shutdown_timeout":4275,"crate::time":4277,"struct@crate::task::JoinHandle":3722,"struct@crate::task::JoinError":3686,"crate::task::spawn_blocking":379,"crate::fs":516,"crate::task::block_in_place":4276,"fn@crate::runtime::Runtime::shutdown_background":4274},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["future",{"generic":"F"}]],"output":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"754":{"id":754,"crate_id":0,"name":null,"span":{"filename":"src/io/stdout.rs","begin":[217,1],"end":[236,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[751,752,753],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2516":{"id":2516,"crate_id":0,"name":"ready","span":{"filename":"src/net/udp.rs","begin":[435,5],"end":[438,6]},"visibility":"public","docs":"Waits for any of the requested ready states.\n\nThis function is usually paired with `try_recv()` or `try_send()`. It\ncan be used to concurrently `recv` / `send` to the same socket on a single\ntask without splitting the socket.\n\nThe function may complete without the socket being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.\n\n# Examples\n\nConcurrently receive from and send to the socket on the same task\nwithout splitting.\n\n```no_run\nuse tokio::io::{self, Interest};\nuse tokio::net::UdpSocket;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n    socket.connect(\"127.0.0.1:8081\").await?;\n\n    loop {\n        let ready = socket.ready(Interest::READABLE | Interest::WRITABLE).await?;\n\n        if ready.is_readable() {\n            // The buffer is **not** included in the async task and will only exist\n            // on the stack.\n            let mut data = [0; 1024];\n            match socket.try_recv(&mut data[..]) {\n                Ok(n) => {\n                    println!(\"received {:?}\", &data[..n]);\n                }\n                // False-positive, continue\n                Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {}\n                Err(e) => {\n                    return Err(e);\n                }\n            }\n        }\n\n        if ready.is_writable() {\n            // Write some data\n            match socket.try_send(b\"hello world\") {\n                Ok(n) => {\n                    println!(\"sent {} bytes\", n);\n                }\n                // False-positive, continue\n                Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {}\n                Err(e) => {\n                    return Err(e);\n                }\n            }\n        }\n    }\n}\n```","links":{"`Ready`":978},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6367":{"id":6367,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":{"generic":"T"},"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2843":{"id":2843,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1081":{"id":1081,"crate_id":0,"name":null,"span":{"filename":"src/io/bsd/poll_aio.rs","begin":[194,1],"end":[200,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(target_os = \"freebsd\", feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"E","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AioSource","id":1049,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Deref","id":550,"args":null},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[1079,1080],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4605":{"id":4605,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[40,1],"end":[44,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[4604],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6694":{"id":6694,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4932":{"id":4932,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3170":{"id":3170,"crate_id":0,"name":"async_io","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1671,5],"end":[1677,6]},"visibility":"public","docs":"Reads or writes from the pipe using a user-provided IO operation.\n\nThe readiness of the pipe is awaited and when the pipe is ready,\nthe provided closure is called. The closure should attempt to perform\nIO operation on the pipe by manually calling the appropriate syscall.\nIf the operation fails because the pipe is not actually ready,\nthen the closure should return a `WouldBlock` error. In such case the\nreadiness flag is cleared and the pipe readiness is awaited again.\nThis loop is repeated until the closure returns an `Ok` or an error\nother than `WouldBlock`.\n\nThe closure should only return a `WouldBlock` error if it has performed\nan IO operation on the pipe that failed due to the pipe not being\nready. Returning a `WouldBlock` error in any other situation will\nincorrectly clear the readiness flag, which can cause the pipe to\nbehave incorrectly.\n\nThe closure should not perform the IO operation using any of the methods\ndefined on the Tokio `NamedPipeClient` type, as this will mess with the\nreadiness flag and can cause the pipe to behave incorrectly.\n\nThis method is not intended to be used with combined interests.\nThe closure should perform only one type of IO operation, so it should not\nrequire more than one ready state. This method may panic or sleep forever\nif it is called with a combined interest.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnMut() -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7021":{"id":7021,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"IntoFuture","id":525,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[3812,3813,3814],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"F"}}}},"3497":{"id":3497,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1735":{"id":1735,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[357,1],"end":[357,56]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["read_until","read_line","split","fill_buf","consume","lines"],"trait":{"path":"AsyncBufReadExt","id":537,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"5259":{"id":5259,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7348":{"id":7348,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5586":{"id":5586,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[27,10],"end":[27,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::PartialEq","id":966,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3824":{"id":3824,"crate_id":0,"name":"poll","span":{"filename":"src/runtime/task/join.rs","begin":[327,5],"end":[354,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2062":{"id":2062,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[65,22],"end":[65,28]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"repeat::repeat","name":"repeat","id":1913,"is_glob":false}}},"5913":{"id":5913,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2389":{"id":2389,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"627":{"id":627,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split.rs","begin":[370,1],"end":[378,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[626],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4478":{"id":4478,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"954":{"id":954,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2716":{"id":2716,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4805":{"id":4805,"crate_id":0,"name":null,"span":{"filename":"src/signal/unix.rs","begin":[78,36],"end":[78,45]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3043":{"id":3043,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6567":{"id":6567,"crate_id":0,"name":"SetError","span":{"filename":"src/sync/once_cell.rs","begin":[475,1],"end":[483,2]},"visibility":"public","docs":"Errors that can be returned from [`OnceCell::set`].\n\n[`OnceCell::set`]: crate::sync::OnceCell::set","links":{"crate::sync::OnceCell::set":6566},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"has_stripped_variants":false,"variants":[6564,6565],"impls":[6609,6610,6611,6612,6613,6614,6615,6616,6617,6618,6619,6620,6621,6622,6623,6624,6625,6626,6628,6629,6631,6632,6634,6635]}}},"6894":{"id":6894,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[477,36],"end":[477,51]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"semaphore::SemaphorePermit","name":"SemaphorePermit","id":6181,"is_glob":false}}},"5132":{"id":5132,"crate_id":0,"name":"closed","span":{"filename":"src/sync/broadcast.rs","begin":[919,5],"end":[933,6]},"visibility":"public","docs":"A future which completes when the number of [Receiver]s subscribed to this `Sender` reaches\nzero.\n\n# Examples\n\n```\nuse futures::FutureExt;\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx1) = broadcast::channel::<u32>(16);\nlet mut rx2 = tx.subscribe();\n\nlet _ = tx.send(10);\n\nassert_eq!(rx1.recv().await.unwrap(), 10);\ndrop(rx1);\nassert!(tx.closed().now_or_never().is_none());\n\nassert_eq!(rx2.recv().await.unwrap(), 10);\ndrop(rx2);\nassert!(tx.closed().now_or_never().is_some());\n# }\n```","links":{"Receiver":5051},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1608":{"id":1608,"crate_id":0,"name":"shutdown","span":{"filename":"src/io/util/async_write_ext.rs","begin":[1323,9],"end":[1328,10]},"visibility":"default","docs":"Shuts down the output stream, ensuring that the value can be dropped\ncleanly.\n\nEquivalent to:\n\n```ignore\nasync fn shutdown(&mut self) -> io::Result<()>;\n```\n\nSimilar to [`flush`], all intermediately buffered content is written to\nthe underlying stream. Once the operation completes, the caller should\nno longer attempt to write to the stream. For example, the\n`TcpStream` implementation will issue a `shutdown(Write)` sys call.\n\n[`flush`]: fn@crate::io::AsyncWriteExt::flush\n\n# Examples\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, BufWriter, AsyncWriteExt};\nuse tokio::fs::File;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let f = File::create(\"foo.txt\").await?;\n    let mut buffer = BufWriter::new(f);\n\n    buffer.write_all(b\"some bytes\").await?;\n    buffer.shutdown().await?;\n    Ok(())\n}\n# }\n```","links":{"fn@crate::io::AsyncWriteExt::flush":200},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Shutdown","id":1609,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3370":{"id":3370,"crate_id":0,"name":"clone","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2636,17],"end":[2636,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5459":{"id":5459,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3697":{"id":3697,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7221":{"id":7221,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5786":{"id":5786,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1146,1],"end":[1158,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5785],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4024":{"id":4024,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"500":{"id":500,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[257,1],"end":[257,46]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::remove_dir_all::remove_dir_all","name":"remove_dir_all","id":454,"is_glob":false}}},"2262":{"id":2262,"crate_id":0,"name":"IntoRawSocket","span":{"filename":"src/doc/os.rs","begin":[45,9],"end":[48,10]},"visibility":"public","docs":"See [`std::os::windows::io::IntoRawSocket`](https://doc.rust-lang.org/std/os/windows/io/trait.IntoRawSocket.html)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":true,"items":[7599],"generics":{"params":[],"where_predicates":[]},"bounds":[],"implementations":[2261]}}},"6113":{"id":6113,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/oneshot.rs","begin":[328,10],"end":[328,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4351":{"id":4351,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/handle.rs","begin":[691,10],"end":[691,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2589":{"id":2589,"crate_id":0,"name":null,"span":{"filename":"src/net/udp.rs","begin":[2330,5],"end":[2334,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"super::UdpSocket","id":2510,"args":null}},"items":[2588],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"827":{"id":827,"crate_id":0,"name":"poll_flush","span":{"filename":"src/net/tcp/stream.rs","begin":[1508,5],"end":[1511,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6440":{"id":6440,"crate_id":0,"name":"try_downgrade_map","span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[287,5],"end":[327,6]},"visibility":"public","docs":"Attempts to make a new [`RwLockReadGuard`] for a component of\nthe locked data. The original guard is returned if the closure returns\n`None`.\n\nThis operation cannot fail as the `RwLockWriteGuard` passed in already\nlocked the data.\n\nThis is an associated function that needs to be\nused as `RwLockWriteGuard::try_downgrade_map(...)`. A method would interfere with\nmethods of the same name on the contents of the locked data.\n\nThis is equivalent to a combination of asynchronous [`RwLockWriteGuard::try_map`] and [`RwLockWriteGuard::downgrade`]\nfrom the [`parking_lot` crate].\n\nInside of `f`, you retain exclusive access to the data, despite only being given a `&T`. Handing out a\n`&mut T` would result in unsoundness, as you could use interior mutability.\n\nIf this function returns `Err(...)`, the lock is never unlocked nor downgraded.\n\n[`RwLockMappedWriteGuard`]: struct@crate::sync::RwLockMappedWriteGuard\n[`RwLockWriteGuard::map`]: https://docs.rs/lock_api/latest/lock_api/struct.RwLockWriteGuard.html#method.map\n[`RwLockWriteGuard::downgrade`]: https://docs.rs/lock_api/latest/lock_api/struct.RwLockWriteGuard.html#method.downgrade\n[`parking_lot` crate]: https://crates.io/crates/parking_lot\n\n# Examples\n\n```\nuse tokio::sync::{RwLock, RwLockWriteGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = RwLock::new(Foo(1));\n\nlet guard = RwLockWriteGuard::try_downgrade_map(lock.write().await, |f| Some(&f.0)).expect(\"should not fail\");\nlet foo = lock.read().await;\nassert_eq!(foo.0, *guard);\n# }\n```","links":{"`RwLockWriteGuard::try_map`":6439,"struct@crate::sync::RwLockMappedWriteGuard":6317,"`RwLockReadGuard`":6398},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"U"}}],"constraints":[]}}}}},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"U"}}}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2916":{"id":2916,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1154":{"id":1154,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4678":{"id":4678,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5005":{"id":5005,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3243":{"id":3243,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1481":{"id":1481,"crate_id":0,"name":"consume","span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[299,9],"end":[304,10]},"visibility":"default","docs":"Tells this buffer that `amt` bytes have been consumed from the\nbuffer, so they should no longer be returned in calls to [`read`].\n\nThis function is a lower-level call. It needs to be paired with the\n[`fill_buf`] method to function properly. This function does not\nperform any I/O, it simply informs this object that some amount of\nits buffer, returned from [`fill_buf`], has been consumed and should\nno longer be returned. As such, this function may do odd things if\n[`fill_buf`] isn't called before calling it.\n\nThe `amt` must be less than the number of bytes in the buffer\nreturned by [`fill_buf`].\n\n[`read`]: crate::io::AsyncReadExt::read\n[`fill_buf`]: crate::io::AsyncBufReadExt::fill_buf","links":{"crate::io::AsyncBufReadExt::fill_buf":1482,"crate::io::AsyncReadExt::read":1484},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["amt",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6767":{"id":6767,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[358,14],"end":[358,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[6766],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7094":{"id":7094,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3570":{"id":3570,"crate_id":0,"name":"Error","span":{"filename":"src/process/mod.rs","begin":[1608,5],"end":[1608,28]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Error","id":262,"args":null}},"default_unstable":null}}},"1808":{"id":1808,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5659":{"id":5659,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[123,29],"end":[123,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::clone::Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5658],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3897":{"id":3897,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/mod.rs","begin":[201,1],"end":[201,32]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::join::JoinHandle","name":"JoinHandle","id":3722,"is_glob":false}}},"373":{"id":373,"crate_id":0,"name":"from","span":{"filename":"src/fs/open_options.rs","begin":[844,5],"end":[852,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["options",{"resolved_path":{"path":"StdOpenOptions","id":310,"args":null}}]],"output":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2135":{"id":2135,"crate_id":0,"name":null,"span":{"filename":"src/net/addr.rs","begin":[77,1],"end":[77,39]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"for":{"resolved_path":{"path":"std::net::SocketAddrV6","id":2136,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7421":{"id":7421,"crate_id":0,"name":"fmt","span":{"filename":"src/time/interval.rs","begin":[175,10],"end":[175,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4224":{"id":4224,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2462":{"id":2462,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"700":{"id":700,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[212,5],"end":[212,25]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5986":{"id":5986,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[1093,1],"end":[1100,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[5985],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6313":{"id":6313,"crate_id":0,"name":"OwnedRwLockWriteGuard","span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[17,1],"end":[26,2]},"visibility":"public","docs":"Owned RAII structure used to release the exclusive write access of a lock when\ndropped.\n\nThis structure is created by the [`write_owned`] method\non [`RwLock`].\n\n[`write_owned`]: method@crate::sync::RwLock::write_owned\n[`RwLock`]: struct@crate::sync::RwLock","links":{"struct@crate::sync::RwLock":6273,"method@crate::sync::RwLock::write_owned":6312},"attrs":[{"other":"#[clippy::has_significant_drop]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6323,6324,6325,6326,6327,6328,6329,6330,6331,6332,6333,6334,6335,6336,6337,6338,6339,6342,6344,6346,6348,6350,6351,6352]}}},"4551":{"id":4551,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1027":{"id":1027,"crate_id":0,"name":"Output","span":{"filename":"src/io/ready.rs","begin":[274,5],"end":[274,25]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Ready","id":978,"args":null}},"default_unstable":null}}},"2789":{"id":2789,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4878":{"id":4878,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3116":{"id":3116,"crate_id":0,"name":"PipeInfo","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2638,1],"end":[2649,2]},"visibility":"public","docs":"Information about a named pipe.\n\nConstructed through [`NamedPipeServer::info`] or [`NamedPipeClient::info`].","links":{"`NamedPipeServer::info`":3115,"`NamedPipeClient::info`":3158},"attrs":["non_exhaustive"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[3345,3346,3347,3348,3349],"has_stripped_fields":false}},"generics":{"params":[],"where_predicates":[]},"impls":[3350,3351,3352,3353,3354,3355,3356,3357,3358,3359,3360,3361,3362,3363,3364,3365,3366,3367,3369,3371]}}},"1354":{"id":1354,"crate_id":0,"name":"stdout","span":{"filename":"src/io/stdout.rs","begin":[170,5],"end":[179,6]},"visibility":"public","docs":"Constructs a new handle to the standard output of the current process.\n\nThe returned handle allows writing to standard out from the within the\nTokio runtime.\n\nConcurrent writes to stdout must be executed with care: Only individual\nwrites to this [`AsyncWrite`] are guaranteed to be intact. In particular\nyou should be aware that writes using [`write_all`] are not guaranteed\nto occur as a single write, so multiple threads writing data with\n[`write_all`] may result in interleaved output.\n\nNote that unlike [`std::io::stdout`], each call to this `stdout()`\nproduces a new writer, so for example, this program does **not** flush stdout:\n\n```no_run\n# use tokio::io::AsyncWriteExt;\n# #[tokio::main]\n# async fn main() -> std::io::Result<()> {\ntokio::io::stdout().write_all(b\"aa\").await?;\ntokio::io::stdout().flush().await?;\n# Ok(())\n# }\n```\n\n[`std::io::stdout`]: std::io::stdout\n[`AsyncWrite`]: AsyncWrite\n[`write_all`]: crate::io::AsyncWriteExt::write_all()\n\n# Examples\n\n```\nuse tokio::io::{self, AsyncWriteExt};\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut stdout = io::stdout();\n    stdout.write_all(b\"Hello world!\").await?;\n    Ok(())\n}\n```\n\nThe following is an example of using `stdio` with loop.\n\n```\nuse tokio::io::{self, AsyncWriteExt};\n\n#[tokio::main]\nasync fn main() {\n    let messages = vec![\"hello\", \" world\\n\"];\n\n    // When you use `stdio` in a loop, it is recommended to create\n    // a single `stdio` instance outside the loop and call a write\n    // operation against that instance on each loop.\n    //\n    // Repeatedly creating `stdout` instances inside the loop and\n    // writing to that handle could result in mangled output since\n    // each write operation is handled by a different blocking thread.\n    let mut stdout = io::stdout();\n\n    for message in &messages {\n        stdout.write_all(message.as_bytes()).await.unwrap();\n        stdout.flush().await.unwrap();\n    }\n}\n```","links":{"AsyncWrite":225,"crate::io::AsyncWriteExt::write_all()":209,"std::io::stdout":1382},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:233:19: 233:37 (#223) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6640":{"id":6640,"crate_id":0,"name":"SetOnce","span":{"filename":"src/sync/set_once.rs","begin":[91,1],"end":[95,2]},"visibility":"public","docs":"A thread-safe cell that can be written to only once.\n\nA `SetOnce` is inspired from python's [`asyncio.Event`] type. It can be\nused to wait until the value of the `SetOnce` is set like a \"Event\" mechanism.\n\n# Example\n\n```\nuse tokio::sync::{SetOnce, SetOnceError};\n\nstatic ONCE: SetOnce<u32> = SetOnce::const_new();\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> Result<(), SetOnceError<u32>> {\n\n// set the value inside a task somewhere...\ntokio::spawn(async move { ONCE.set(20) });\n\n// checking with .get doesn't block main thread\nprintln!(\"{:?}\", ONCE.get());\n\n// wait until the value is set, blocks the thread\nprintln!(\"{:?}\", ONCE.wait().await);\n\nOk(())\n# }\n```\n\nA `SetOnce` is typically used for global variables that need to be\ninitialized once on first use, but need no further changes. The `SetOnce`\nin Tokio allows the initialization procedure to be asynchronous.\n\n# Example\n\n```\nuse tokio::sync::{SetOnce, SetOnceError};\nuse std::sync::Arc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> Result<(), SetOnceError<u32>> {\nlet once = SetOnce::new();\n\nlet arc = Arc::new(once);\nlet first_cl = Arc::clone(&arc);\nlet second_cl = Arc::clone(&arc);\n\n// set the value inside a task\ntokio::spawn(async move { first_cl.set(20) }).await.unwrap()?;\n\n// wait inside task to not block the main thread\ntokio::spawn(async move {\n    // wait inside async context for the value to be set\n    assert_eq!(*second_cl.wait().await, 20);\n}).await.unwrap();\n\n// subsequent set calls will fail\nassert!(arc.set(30).is_err());\n\nprintln!(\"{:?}\", arc.get());\n\nOk(())\n# }\n```\n\n[`asyncio.Event`]: https://docs.python.org/3/library/asyncio-sync.html#asyncio.Event","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6651,6652,6653,6654,6655,6656,6657,6658,6659,6660,6661,6662,6663,6664,6665,6666,6667,6668,6670,6672,6674,6676,6677,6679,6681,6682,6683]}}},"6967":{"id":6967,"crate_id":0,"name":"drop","span":{"filename":"src/task/coop/mod.rs","begin":[279,9],"end":[288,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5205":{"id":5205,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3443":{"id":3443,"crate_id":0,"name":"arg0","span":{"filename":"src/process/mod.rs","begin":[710,5],"end":[716,6]},"visibility":"public","docs":"Sets executable argument.\n\nSet the first process argument, `argv[0]`, to something other than the\ndefault executable path.","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"unix\", value: None, span: src/process/mod.rs:708:11: 708:15 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(unix))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["arg",{"generic":"S"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[{"name":"S","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"S"},"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7294":{"id":7294,"crate_id":0,"name":null,"span":{"filename":"src/time/error.rs","begin":[90,1],"end":[101,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[7293],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3770":{"id":3770,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/abort.rs","begin":[27,1],"end":[76,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[3766,3768,3769],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2008":{"id":2008,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"246":{"id":246,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5532":{"id":5532,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5859":{"id":5859,"crate_id":0,"name":"deref","span":{"filename":"src/sync/mutex.rs","begin":[1375,5],"end":[1377,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"qualified_path":{"name":"Target","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":550,"args":null}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2335":{"id":2335,"crate_id":0,"name":"as_ref","span":{"filename":"src/net/tcp/split.rs","begin":[420,5],"end":[422,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"TcpStream","id":634,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"573":{"id":573,"crate_id":0,"name":"consume","span":{"filename":"src/io/util/chain.rs","begin":[128,5],"end":[135,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["amt",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4097":{"id":4097,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7621":{"id":7621,"crate_id":0,"name":"fmt","span":{"filename":"src/doc/mod.rs","begin":[20,10],"end":[20,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4424":{"id":4424,"crate_id":0,"name":"shutdown_timeout","span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[341,5],"end":[345,6]},"visibility":"public","docs":"Shuts down the runtime, waiting for at most `duration` for all spawned\nwork to stop.\n\nNote that `spawn_blocking` tasks, and only `spawn_blocking` tasks, can get left behind if\nthe timeout expires.\n\nSee the [struct level documentation](LocalRuntime#shutdown) for more details.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::LocalRuntime;\nuse tokio::task;\n\nuse std::thread;\nuse std::time::Duration;\n\nfn main() {\n   let runtime = LocalRuntime::new().unwrap();\n\n   runtime.block_on(async move {\n       task::spawn_blocking(move || {\n           thread::sleep(Duration::from_secs(10_000));\n       });\n   });\n\n   runtime.shutdown_timeout(Duration::from_millis(100));\n}\n# }\n```","links":{"LocalRuntime#shutdown":3941},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["duration",{"resolved_path":{"path":"Duration","id":2215,"args":null}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2662":{"id":2662,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/listener.rs","begin":[253,1],"end":[257,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[2661],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"900":{"id":900,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6186":{"id":6186,"crate_id":0,"name":"is_closed","span":{"filename":"src/sync/semaphore.rs","begin":[997,5],"end":[999,6]},"visibility":"public","docs":"Returns true if the semaphore is closed","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4751":{"id":4751,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[623,5],"end":[623,20]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#1248) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"id::Id","name":"Id","id":4281,"is_glob":false}}},"1227":{"id":1227,"crate_id":0,"name":"fmt","span":{"filename":"src/io/async_fd.rs","begin":[1381,5],"end":[1385,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"std::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"std::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5078":{"id":5078,"crate_id":0,"name":"clone","span":{"filename":"src/sync/broadcast.rs","begin":[289,36],"end":[289,41]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3316":{"id":3316,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1554":{"id":1554,"crate_id":0,"name":"WriteVectored","span":{"filename":"src/io/util/write_vectored.rs","begin":[10,1],"end":[21,2]},"visibility":"public","docs":"A future to write a slice of buffers to an `AsyncWrite`.","links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"'b","kind":{"lifetime":{"outlives":[]}}},{"name":"W","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"6840":{"id":6840,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5405":{"id":5405,"crate_id":0,"name":"poll_recv_many","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[722,5],"end":[729,6]},"visibility":"public","docs":"Polls to receive multiple messages on this channel, extending the provided buffer.\n\nThis method returns:\n* `Poll::Pending` if no messages are available but the channel is not closed, or if a\n  spurious failure happens.\n* `Poll::Ready(count)` where `count` is the number of messages successfully received and\n  stored in `buffer`. This can be less than, or equal to, `limit`.\n* `Poll::Ready(0)` if `limit` is set to zero or when the channel is closed.\n\nWhen the method returns `Poll::Pending`, the `Waker` in the provided\n`Context` is scheduled to receive a wakeup when a message is sent on any\nreceiver, or when the channel is closed.  Note that on multiple calls to\n`poll_recv` or `poll_recv_many`, only the `Waker` from the `Context`\npassed to the most recent call is scheduled to receive a wakeup.\n\nNote that this method does not guarantee that exactly `limit` messages\nare received. Rather, if at least one message is available, it returns\nas many messages as it can up to the given limit. This method returns\nzero only if the channel is closed (or if `limit` is zero).\n\n# Examples\n\n```\nuse std::task::{Context, Poll};\nuse std::pin::Pin;\nuse tokio::sync::mpsc;\nuse futures::Future;\n\nstruct MyReceiverFuture<'a> {\n    receiver: mpsc::Receiver<i32>,\n    buffer: &'a mut Vec<i32>,\n    limit: usize,\n}\n\nimpl<'a> Future for MyReceiverFuture<'a> {\n    type Output = usize; // Number of messages received\n\n    fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {\n        let MyReceiverFuture { receiver, buffer, limit } = &mut *self;\n\n        // Now `receiver` and `buffer` are mutable references, and `limit` is copied\n        match receiver.poll_recv_many(cx, *buffer, *limit) {\n            Poll::Pending => Poll::Pending,\n            Poll::Ready(count) => Poll::Ready(count),\n        }\n    }\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = mpsc::channel(32);\nlet mut buffer = Vec::new();\n\nlet my_receiver_future = MyReceiverFuture {\n    receiver: rx,\n    buffer: &mut buffer,\n    limit: 3,\n};\n\nfor i in 0..10 {\n    tx.send(i).await.unwrap();\n}\n\nlet count = my_receiver_future.await;\nassert_eq!(count, 3);\nassert_eq!(buffer, vec![0,1,2])\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buffer",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}],["limit",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5732":{"id":5732,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3970":{"id":3970,"crate_id":0,"name":"unhandled_panic","span":{"filename":"src/runtime/builder.rs","begin":[1295,9],"end":[1302,10]},"visibility":"public","docs":"Configure how the runtime responds to an unhandled panic on a\nspawned task.\n\nBy default, an unhandled panic (i.e. a panic not caught by\n[`std::panic::catch_unwind`]) has no impact on the runtime's\nexecution. The panic's error value is forwarded to the task's\n[`JoinHandle`] and all other spawned tasks continue running.\n\nThe `unhandled_panic` option enables configuring this behavior.\n\n* `UnhandledPanic::Ignore` is the default behavior. Panics on\n  spawned tasks have no impact on the runtime's execution.\n* `UnhandledPanic::ShutdownRuntime` will force the runtime to\n  shutdown immediately when a spawned task panics even if that\n  task's `JoinHandle` has not been dropped. All other spawned tasks\n  will immediately terminate and further calls to\n  [`Runtime::block_on`] will panic.\n\n# Panics\nThis method panics if called with [`UnhandledPanic::ShutdownRuntime`]\non a runtime other than the current thread runtime.\n\n# Unstable\n\nThis option is currently unstable and its implementation is\nincomplete. The API may change or be removed in the future. See\nissue [tokio-rs/tokio#4516] for more details.\n\n# Examples\n\nThe following demonstrates a runtime configured to shutdown on\npanic. The first spawned task panics and results in the runtime\nshutting down. The second spawned task never has a chance to\nexecute. The call to `block_on` will panic due to the runtime being\nforcibly shutdown.\n\n```should_panic\nuse tokio::runtime::{self, UnhandledPanic};\n\n# pub fn main() {\nlet rt = runtime::Builder::new_current_thread()\n    .unhandled_panic(UnhandledPanic::ShutdownRuntime)\n    .build()\n    .unwrap();\n\nrt.spawn(async { panic!(\"boom\"); });\nrt.spawn(async {\n    // This task never completes.\n});\n\nrt.block_on(async {\n    // Do some work\n# loop { tokio::task::yield_now().await; }\n})\n# }\n```\n\n[`JoinHandle`]: struct@crate::task::JoinHandle\n[tokio-rs/tokio#4516]: https://github.com/tokio-rs/tokio/issues/4516","links":{"struct@crate::task::JoinHandle":3722,"`std::panic::catch_unwind`":3967,"`UnhandledPanic::ShutdownRuntime`":3969,"`Runtime::block_on`":3968},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:609:19: 609:33 (#1591) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["behavior",{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2208":{"id":2208,"crate_id":0,"name":"reuseport","span":{"filename":"src/net/tcp/socket.rs","begin":[348,5],"end":[350,6]},"visibility":"public","docs":"Allows the socket to bind to an in-use port. Only available for unix systems\n(excluding Solaris, Illumos, and Cygwin).\n\nBehavior is platform specific. Refer to the target platform's\ndocumentation for more details.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpSocket;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let addr = \"127.0.0.1:8080\".parse().unwrap();\n\n    let socket = TcpSocket::new_v4()?;\n    socket.set_reuseport(true)?;\n    assert!(socket.reuseport().unwrap());\n    socket.bind(addr)?;\n\n    let listener = socket.listen(1024)?;\n    Ok(())\n}\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"unix\", value: None, span: src/net/tcp/socket.rs:332:9: 332:13 (#0) }, Not(NameValue { name: \"target_os\", value: Some(\"solaris\"), span: src/net/tcp/socket.rs:333:13: 333:34 (#0) }, src/net/tcp/socket.rs:333:12: 333:35 (#0)), Not(NameValue { name: \"target_os\", value: Some(\"illumos\"), span: src/net/tcp/socket.rs:334:13: 334:34 (#0) }, src/net/tcp/socket.rs:334:12: 334:35 (#0)), Not(NameValue { name: \"target_os\", value: Some(\"cygwin\"), span: src/net/tcp/socket.rs:335:13: 335:33 (#0) }, src/net/tcp/socket.rs:335:12: 335:34 (#0)), Not(NameValue { name: \"target_os\", value: Some(\"nuttx\"), span: src/net/tcp/socket.rs:336:13: 336:32 (#0) }, src/net/tcp/socket.rs:336:12: 336:33 (#0))], src/net/tcp/socket.rs:331:14: 337:6 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(unix, not(target_os = \"solaris\"), not(target_os = \"illumos\"), not(target_os = \"cygwin\"), not(target_os = \"nuttx\"))))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"bool"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2535":{"id":2535,"crate_id":0,"name":"async_io","span":{"filename":"src/net/udp.rs","begin":[1515,5],"end":[1524,6]},"visibility":"public","docs":"Reads or writes from the socket using a user-provided IO operation.\n\nThe readiness of the socket is awaited and when the socket is ready,\nthe provided closure is called. The closure should attempt to perform\nIO operation on the socket by manually calling the appropriate syscall.\nIf the operation fails because the socket is not actually ready,\nthen the closure should return a `WouldBlock` error. In such case the\nreadiness flag is cleared and the socket readiness is awaited again.\nThis loop is repeated until the closure returns an `Ok` or an error\nother than `WouldBlock`.\n\nThe closure should only return a `WouldBlock` error if it has performed\nan IO operation on the socket that failed due to the socket not being\nready. Returning a `WouldBlock` error in any other situation will\nincorrectly clear the readiness flag, which can cause the socket to\nbehave incorrectly.\n\nThe closure should not perform the IO operation using any of the methods\ndefined on the Tokio `UdpSocket` type, as this will mess with the\nreadiness flag and can cause the socket to behave incorrectly.\n\nThis method is not intended to be used with combined interests.\nThe closure should perform only one type of IO operation, so it should not\nrequire more than one ready state. This method may panic or sleep forever\nif it is called with a combined interest.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnMut() -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"773":{"id":773,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/util/buf_reader.rs","begin":[286,5],"end":[288,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4297":{"id":4297,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6386":{"id":6386,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[212,5],"end":[214,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4624":{"id":4624,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1100":{"id":1100,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6713":{"id":6713,"crate_id":0,"name":"SendError","span":{"filename":"src/sync/watch.rs","begin":[339,5],"end":[339,36]},"visibility":"public","docs":"Error produced when sending a value fails.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[6712]},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6714,6715,6716,6717,6718,6719,6720,6721,6722,6723,6724,6725,6726,6727,6728,6729,6730,6731,6732,6733,6735,6736,6738,6739,6741,6743,6744]}}},"3189":{"id":3189,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1427":{"id":1427,"crate_id":0,"name":null,"span":{"filename":"src/io/split.rs","begin":[154,1],"end":[154,46]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4951":{"id":4951,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7040":{"id":7040,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5278":{"id":5278,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1629,1],"end":[1635,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5277],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3516":{"id":3516,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7367":{"id":7367,"crate_id":0,"name":"cmp","span":{"filename":"src/time/instant.rs","begin":[33,50],"end":[33,53]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Instant","id":7328,"args":null}}}}]],"output":{"resolved_path":{"path":"$crate::cmp::Ordering","id":1021,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3843":{"id":3843,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2081":{"id":2081,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[219,1],"end":[219,33]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::read_buf::ReadBuf","name":"ReadBuf","id":252,"is_glob":false}}},"5605":{"id":5605,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5932":{"id":5932,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[898,1],"end":[1028,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[5901],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4170":{"id":4170,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2408":{"id":2408,"crate_id":0,"name":"1","span":{"filename":"src/net/tcp/split_owned.rs","begin":[88,44],"end":[88,62]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}}}},"646":{"id":646,"crate_id":0,"name":"Receiver","span":{"filename":"src/net/unix/pipe.rs","begin":[913,1],"end":[915,2]},"visibility":"public","docs":"Reading end of a Unix pipe.\n\nIt can be constructed from a FIFO file with [`OpenOptions::open_receiver`].\n\n# Examples\n\nReceiving messages from a named pipe in a loop:\n\n```no_run\nuse tokio::net::unix::pipe;\nuse tokio::io::{self, AsyncReadExt};\n\nconst FIFO_NAME: &str = \"path/to/a/fifo\";\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet mut rx = pipe::OpenOptions::new().open_receiver(FIFO_NAME)?;\nloop {\n    let mut msg = vec![0; 256];\n    match rx.read_exact(&mut msg).await {\n        Ok(_) => {\n            /* handle the message */\n        }\n        Err(e) if e.kind() == io::ErrorKind::UnexpectedEof => {\n            // Writing end has been closed, we should reopen the pipe.\n            rx = pipe::OpenOptions::new().open_receiver(FIFO_NAME)?;\n        }\n        Err(e) => return Err(e.into()),\n    }\n}\n# }\n```\n\nOn Linux, you can use a `Receiver` in read-write access mode to implement\nresilient reading from a named pipe. Unlike `Receiver` opened in read-only\nmode, read from a pipe in read-write mode will not fail with `UnexpectedEof`\nwhen the writing end is closed. This way, a `Receiver` can asynchronously\nwait for the next writer to open the pipe.\n\nYou should not use functions waiting for EOF such as [`read_to_end`] with\na `Receiver` in read-write access mode, since it **may wait forever**.\n`Receiver` in this mode also holds an open writing end, which prevents\nreceiving EOF.\n\nTo set the read-write access mode you can use `OpenOptions::read_write`.\nNote that using read-write access mode with FIFO files is not defined by\nthe POSIX standard and it is only guaranteed to work on Linux.\n\n```ignore\nuse tokio::net::unix::pipe;\nuse tokio::io::AsyncReadExt;\n# use std::error::Error;\n\nconst FIFO_NAME: &str = \"path/to/a/fifo\";\n\n# async fn dox() -> Result<(), Box<dyn Error>> {\nlet mut rx = pipe::OpenOptions::new()\n    .read_write(true)\n    .open_receiver(FIFO_NAME)?;\nloop {\n    let mut msg = vec![0; 256];\n    rx.read_exact(&mut msg).await?;\n    /* handle the message */\n}\n# }\n```\n\n[`read_to_end`]: crate::io::AsyncReadExt::read_to_end","links":{"`OpenOptions::open_receiver`":2994,"crate::io::AsyncReadExt::read_to_end":206},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[3075,3076,3077,3078,3079,3080,3081,3082,3083,3084,3085,3086,3087,3088,3089,3090,3091,3092,3094,645,3096,3098]}}},"4497":{"id":4497,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/id.rs","begin":[29,23],"end":[29,28]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2735":{"id":2735,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split.rs","begin":[321,1],"end":[325,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[2734],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6259":{"id":6259,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6586":{"id":6586,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4824":{"id":4824,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"1300":{"id":1300,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3062":{"id":3062,"crate_id":0,"name":"from_file","span":{"filename":"src/net/unix/pipe.rs","begin":[942,5],"end":[944,6]},"visibility":"public","docs":"Creates a new `Receiver` from a [`File`].\n\nThis function is intended to construct a pipe from a [`File`] representing\na special FIFO file. It will check if the file is a pipe and has read access,\nset it in non-blocking mode and perform the conversion.\n\n# Errors\n\nFails with `io::ErrorKind::InvalidInput` if the file is not a pipe or it\ndoes not have read access. Also fails with any standard OS error if it occurs.\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"crate::runtime::Runtime::enter":1054,"`File`":198},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["file",{"resolved_path":{"path":"File","id":198,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Receiver","id":646,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5151":{"id":5151,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1627":{"id":1627,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7240":{"id":7240,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[287,9],"end":[287,42]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt-multi-thread\"), span: src/macros/cfg.rs:496:19: 496:46 (#4211) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt-multi-thread\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"blocking::block_in_place","name":"block_in_place","id":4276,"is_glob":false}}},"5478":{"id":5478,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1954":{"id":1954,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"192":{"id":192,"crate_id":0,"name":null,"span":{"filename":"src/fs/dir_builder.rs","begin":[10,17],"end":[10,24]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[191],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3716":{"id":3716,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/error.rs","begin":[169,1],"end":[169,40]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5805":{"id":5805,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4043":{"id":4043,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[8,57],"end":[8,66]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"crate::runtime::task::trace::TraceMeta","name":"TraceMeta","id":3871,"is_glob":false}}},"2281":{"id":2281,"crate_id":0,"name":"try_read_vectored","span":{"filename":"src/net/tcp/split.rs","begin":[238,5],"end":[240,6]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffers, returning\nhow many bytes were read.\n\nData is copied to fill each buffer in order, with the final buffer\nwritten to possibly being only partially filled. This method behaves\nequivalently to a single call to [`try_read()`] with concatenated\nbuffers.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_vectored()` is non-blocking, the buffer does not have to be\nstored by the async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`try_read()`]: Self::try_read()\n[`readable()`]: Self::readable()\n[`ready()`]: Self::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the stream's read half is closed\nand will no longer yield data. If the stream is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::ready()":2280,"Self::try_read()":2277,"Self::readable()":2278},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"resolved_path":{"path":"io::IoSliceMut","id":2282,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"519":{"id":519,"crate_id":0,"name":"output","span":{"filename":"src/future/maybe_done.rs","begin":[8,1],"end":[23,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Fut"},"trait":{"path":"","id":520,"args":null}}}}},"7567":{"id":7567,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6132":{"id":6132,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4370":{"id":4370,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"846":{"id":846,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/net/unix/stream.rs","begin":[1054,5],"end":[1056,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4697":{"id":4697,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram.rs","begin":[56,38],"end":[56,47]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2935":{"id":2935,"crate_id":0,"name":"try_from","span":{"filename":"src/net/unix/stream.rs","begin":[1022,5],"end":[1024,6]},"visibility":"default","docs":"Consumes stream, returning the tokio I/O object.\n\nThis is equivalent to\n[`UnixStream::from_std(stream)`](UnixStream::from_std).","links":{"UnixStream::from_std":2907},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["stream",{"resolved_path":{"path":"net::UnixStream","id":2905,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1173":{"id":1173,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[947,1],"end":[951,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1172],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6459":{"id":6459,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6786":{"id":6786,"crate_id":0,"name":"has_changed","span":{"filename":"src/sync/watch.rs","begin":[738,5],"end":[748,6]},"visibility":"public","docs":"Checks if this channel contains a message that this receiver has not yet\nseen. The current value will not be marked as seen.\n\nAlthough this method is called `has_changed`, it does not check\nmessages for equality, so this call will return true even if the current\nmessage is equal to the previous message.\n\n# Errors\n\nReturns a [`RecvError`](error::RecvError) if and only if the channel has been closed.\n\n# Examples\n\n## Basic usage\n\n```\nuse tokio::sync::watch;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = watch::channel(\"hello\");\n\ntx.send(\"goodbye\").unwrap();\n\nassert!(rx.has_changed().unwrap());\nassert_eq!(*rx.borrow_and_update(), \"goodbye\");\n\n// The value has been marked as seen\nassert!(!rx.has_changed().unwrap());\n# }\n```\n\n## Closed channel example\n\n```\nuse tokio::sync::watch;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = watch::channel(\"hello\");\ntx.send(\"goodbye\").unwrap();\n\ndrop(tx);\n\n// The channel is closed\nassert!(rx.has_changed().is_err());\n# }\n```","links":{"error::RecvError":6746},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"bool"}},{"type":{"resolved_path":{"path":"error::RecvError","id":6746,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3262":{"id":3262,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5024":{"id":5024,"crate_id":0,"name":"SendError","span":{"filename":"src/sync/broadcast.rs","begin":[275,5],"end":[275,36]},"visibility":"public","docs":"Error returned by the [`send`] function on a [`Sender`].\n\nA **send** operation can only fail if there are no active receivers,\nimplying that the message could never be received. The error contains the\nmessage being sent as a payload so it can be recovered.\n\n[`send`]: crate::sync::broadcast::Sender::send\n[`Sender`]: crate::sync::broadcast::Sender","links":{"crate::sync::broadcast::Sender::send":5022,"crate::sync::broadcast::Sender":5023},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[5021]},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5025,5026,5027,5028,5029,5030,5031,5032,5033,5034,5035,5036,5037,5038,5039,5040,5041,5043,5045,5046]}}},"5351":{"id":5351,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"I","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"I"},"bounds":[{"trait_bound":{"trait":{"path":"Iterator","id":2149,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"IntoIterator","id":3428,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5348,5349,5350],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"I"}}}},"3589":{"id":3589,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1827":{"id":1827,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"7113":{"id":7113,"crate_id":0,"name":"Output","span":{"filename":"src/task/task_local.rs","begin":[390,5],"end":[390,29]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"Future","id":520,"args":null}}},"default_unstable":null}}},"7440":{"id":7440,"crate_id":0,"name":"reset_at","span":{"filename":"src/time/interval.rs","begin":[620,5],"end":[622,6]},"visibility":"public","docs":"Resets the interval to a [`crate::time::Instant`] deadline.\n\nSets the next tick to expire at the given instant. If the instant is in\nthe past, then the [`MissedTickBehavior`] strategy will be used to\ncatch up. If the instant is in the future, then the next tick will\ncomplete at the given instant, even if that means that it will sleep for\nlonger than the duration of this [`Interval`]. If the [`Interval`] had\nany missed ticks before calling this method, then those are discarded.\n\n# Examples\n\n```\nuse tokio::time::{self, Instant};\n\nuse std::time::Duration;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut interval = time::interval(Duration::from_millis(100));\ninterval.tick().await;\n\ntime::sleep(Duration::from_millis(50)).await;\n\nlet deadline = Instant::now() + Duration::from_millis(30);\ninterval.reset_at(deadline);\n\ninterval.tick().await;\ninterval.tick().await;\n\n// approximately 180ms have elapsed.\n# }\n```","links":{"`Interval`":7394,"`MissedTickBehavior`":7395,"`crate::time::Instant`":7328},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["deadline",{"resolved_path":{"path":"Instant","id":7328,"args":null}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5678":{"id":5678,"crate_id":0,"name":"oneshot","span":{"filename":"src/sync/oneshot.rs","begin":[1,1],"end":[1609,2]},"visibility":"public","docs":"A one-shot channel is used for sending a single message between\nasynchronous tasks. The [`channel`] function is used to create a\n[`Sender`] and [`Receiver`] handle pair that form the channel.\n\nThe `Sender` handle is used by the producer to send the value.\nThe `Receiver` handle is used by the consumer to receive the value.\n\nEach handle can be used on separate tasks.\n\nSince the `send` method is not async, it can be used anywhere. This includes\nsending between two runtimes, and using it from non-async code.\n\nIf the [`Receiver`] is closed before receiving a message which has already\nbeen sent, the message will remain in the channel until the receiver is\ndropped, at which point the message will be dropped immediately.\n\n# Examples\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = oneshot::channel();\n\ntokio::spawn(async move {\n    if let Err(_) = tx.send(3) {\n        println!(\"the receiver dropped\");\n    }\n});\n\nmatch rx.await {\n    Ok(v) => println!(\"got = {:?}\", v),\n    Err(_) => println!(\"the sender dropped\"),\n}\n# }\n```\n\nIf the sender is dropped without sending, the receiver will fail with\n[`error::RecvError`]:\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = oneshot::channel::<u32>();\n\ntokio::spawn(async move {\n    drop(tx);\n});\n\nmatch rx.await {\n    Ok(_) => panic!(\"This doesn't happen\"),\n    Err(_) => println!(\"the sender dropped\"),\n}\n# }\n```\n\nTo use a `oneshot` channel in a `tokio::select!` loop, add `&mut` in front of\nthe channel.\n\n```\nuse tokio::sync::oneshot;\nuse tokio::time::{interval, sleep, Duration};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn _doc() {}\n# #[tokio::main(flavor = \"current_thread\", start_paused = true)]\n# async fn main() {\nlet (send, mut recv) = oneshot::channel();\nlet mut interval = interval(Duration::from_millis(100));\n\n# let handle =\ntokio::spawn(async move {\n    sleep(Duration::from_secs(1)).await;\n    send.send(\"shut down\").unwrap();\n});\n\nloop {\n    tokio::select! {\n        _ = interval.tick() => println!(\"Another 100ms\"),\n        msg = &mut recv => {\n            println!(\"Got message: {}\", msg.unwrap());\n            break;\n        }\n    }\n}\n# handle.await.unwrap();\n# }\n```\n\nTo use a `Sender` from a destructor, put it in an [`Option`] and call\n[`Option::take`].\n\n```\nuse tokio::sync::oneshot;\n\nstruct SendOnDrop {\n    sender: Option<oneshot::Sender<&'static str>>,\n}\nimpl Drop for SendOnDrop {\n    fn drop(&mut self) {\n        if let Some(sender) = self.sender.take() {\n            // Using `let _ =` to ignore send errors.\n            let _ = sender.send(\"I got dropped!\");\n        }\n    }\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn _doc() {}\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (send, recv) = oneshot::channel();\n\nlet send_on_drop = SendOnDrop { sender: Some(send) };\ndrop(send_on_drop);\n\nassert_eq!(recv.await, Ok(\"I got dropped!\"));\n# }\n```","links":{"`Option::take`":6059,"`Receiver`":6056,"`channel`":6058,"`Sender`":6057,"`error::RecvError`":5989,"`Option`":391},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[6053,6057,6056,6058],"is_stripped":false}}},"2154":{"id":2154,"crate_id":0,"name":"TcpListener","span":{"filename":"src/net/tcp/listener.rs","begin":[57,5],"end":[59,6]},"visibility":"public","docs":"A TCP socket server, listening for connections.\n\nYou can accept a new connection by using the [`accept`](`TcpListener::accept`)\nmethod.\n\nA `TcpListener` can be turned into a `Stream` with [`TcpListenerStream`].\n\nThe socket will be closed when the value is dropped.\n\n[`TcpListenerStream`]: https://docs.rs/tokio-stream/0.1/tokio_stream/wrappers/struct.TcpListenerStream.html\n\n# Errors\n\nNote that accepting a connection can lead to various errors and not all\nof them are necessarily fatal ‒ for example having too many open file\ndescriptors or the other side closing the connection while it waits in\nan accept queue. These would terminate the stream if not handled in any\nway.\n\n# Examples\n\nUsing `accept`:\n```no_run\nuse tokio::net::TcpListener;\n\nuse std::io;\n\nasync fn process_socket<T>(socket: T) {\n    # drop(socket);\n    // do work with socket here\n}\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let listener = TcpListener::bind(\"127.0.0.1:8080\").await?;\n\n    loop {\n        let (socket, _) = listener.accept().await?;\n        process_socket(socket).await;\n    }\n}\n```","links":{"`TcpListener::accept`":2153},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:336:19: 336:34 (#467) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[2165,2166,2167,2168,2169,2170,2171,2172,2173,2174,2175,2176,2177,2178,2179,2180,2181,2184,2186,2188,2190,2193,2197]}}},"392":{"id":392,"crate_id":0,"name":"poll_next_entry","span":{"filename":"src/fs/read_dir.rs","begin":[101,5],"end":[125,6]},"visibility":"public","docs":"Polls for the next directory entry in the stream.\n\nThis method returns:\n\n * `Poll::Pending` if the next directory entry is not yet available.\n * `Poll::Ready(Ok(Some(entry)))` if the next directory entry is available.\n * `Poll::Ready(Ok(None))` if there are no more directory entries in this\n   stream.\n * `Poll::Ready(Err(err))` if an IO error occurred while reading the next\n   directory entry.\n\nWhen the method returns `Poll::Pending`, the `Waker` in the provided\n`Context` is scheduled to receive a wakeup when the next directory entry\nbecomes available on the underlying IO resource.\n\nNote that on multiple calls to `poll_next_entry`, only the `Waker` from\nthe `Context` passed to the most recent call is scheduled to receive a\nwakeup.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"DirEntry","id":388,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6005":{"id":6005,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4243":{"id":4243,"crate_id":0,"name":"spawned_at","span":{"filename":"src/runtime/task_hooks.rs","begin":[77,5],"end":[79,6]},"visibility":"public","docs":"Return the source code location where the task was spawned.","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/task_hooks.rs:76:11: 76:25 (#0) }])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":"'static","is_mutable":false,"type":{"resolved_path":{"path":"std::panic::Location","id":4244,"args":{"angle_bracketed":{"args":[{"lifetime":"'static"}],"constraints":[]}}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"719":{"id":719,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/async_write.rs","begin":[279,5],"end":[281,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2481":{"id":2481,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/stream.rs","begin":[1462,1],"end":[1472,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpStream","id":1120,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[2479,2480],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6332":{"id":6332,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2808":{"id":2808,"crate_id":0,"name":"local_addr","span":{"filename":"src/net/unix/split_owned.rs","begin":[359,5],"end":[361,6]},"visibility":"public","docs":"Returns the socket address of the local half of this connection.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1046":{"id":1046,"crate_id":0,"name":"deregister","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[44,5],"end":[44,30]},"visibility":"default","docs":"Deregisters this AIO event source with Tokio's reactor.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"6659":{"id":6659,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4897":{"id":4897,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1373":{"id":1373,"crate_id":0,"name":null,"span":{"filename":"src/io/stdout.rs","begin":[100,14],"end":[100,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[1372],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3135":{"id":3135,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6986":{"id":6986,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"IntoFuture","id":525,"args":null},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[3812,3813,3814],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"F"}}}},"3462":{"id":3462,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1700":{"id":1700,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5224":{"id":5224,"crate_id":0,"name":"Sender","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[22,1],"end":[24,2]},"visibility":"public","docs":"Sends values to the associated `Receiver`.\n\nInstances are created by the [`channel`] function.\n\nTo convert the `Sender` into a `Sink` or use it in a poll function, you can\nuse the [`PollSender`] utility.\n\n[`PollSender`]: https://docs.rs/tokio-util/latest/tokio_util/sync/struct.PollSender.html","links":{"`channel`":5223},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5258,5259,5260,5261,5262,5263,5264,5265,5266,5267,5268,5269,5270,5271,5272,5273,5274,5275,5276,5278,5280]}}},"7313":{"id":7313,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5551":{"id":5551,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[7,10],"end":[7,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::PartialEq","id":966,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5550],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3789":{"id":3789,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/task/abort.rs","begin":[85,5],"end":[90,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"265":{"id":265,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/fs/file.rs","begin":[880,5],"end":[883,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5878":{"id":5878,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2354":{"id":2354,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"592":{"id":592,"crate_id":0,"name":null,"span":{"filename":"src/io/async_read.rs","begin":[82,1],"end":[94,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"DerefMut","id":549,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"qualified_path":{"name":"Target","args":null,"self_type":{"generic":"P"},"trait":{"path":"","id":550,"args":null}}},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"std::pin::Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"generic":"P"}}],"constraints":[]}}}},"items":[591],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6205":{"id":6205,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2681":{"id":2681,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4443":{"id":4443,"crate_id":0,"name":null,"span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[31,10],"end":[31,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[4442],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4770":{"id":4770,"crate_id":0,"name":"hangup","span":{"filename":"src/signal/unix.rs","begin":[133,5],"end":[135,6]},"visibility":"public","docs":"Represents the `SIGHUP` signal.\n\nOn Unix systems this signal is sent when the terminal is disconnected.\nBy default, the process is terminated by this signal.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3008":{"id":3008,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1246":{"id":1246,"crate_id":0,"name":"fmt","span":{"filename":"src/io/async_fd.rs","begin":[1394,10],"end":[1394,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6532":{"id":6532,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6859":{"id":6859,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[248,1],"end":[294,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6858],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5097":{"id":5097,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1573":{"id":1573,"crate_id":0,"name":"write_i32","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes a signed 32-bit integer in big-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_i32(&mut self, n: i32) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite signed 32-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_i32(267).await?;\nwriter.write_i32(1205419366).await?;\n\nassert_eq!(writer, b\"\\x00\\x00\\x01\\x0b\\x47\\xd9\\x3d\\x66\");\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"i32"}]],"output":{"resolved_path":{"path":"WriteI32","id":1574,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3335":{"id":3335,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2616,10],"end":[2616,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[3334],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5424":{"id":5424,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[743,5],"end":[747,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7186":{"id":7186,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"138":{"id":138,"crate_id":0,"name":null,"span":{"filename":"src/fs/dir_builder.rs","begin":[20,1],"end":[105,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[133,135,137],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7513":{"id":7513,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5751":{"id":5751,"crate_id":0,"name":"Target","span":{"filename":"src/sync/mutex.rs","begin":[979,5],"end":[979,21]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"T"},"default_unstable":null}}},"2227":{"id":2227,"crate_id":0,"name":"bind","span":{"filename":"src/net/tcp/socket.rs","begin":[805,5],"end":[807,6]},"visibility":"public","docs":"Binds the socket to the given address.\n\nThis calls the `bind(2)` operating-system function. Behavior is\nplatform specific. Refer to the target platform's documentation for more\ndetails.\n\n# Examples\n\nBind a socket before listening.\n\n```no_run\nuse tokio::net::TcpSocket;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let addr = \"127.0.0.1:8080\".parse().unwrap();\n\n    let socket = TcpSocket::new_v4()?;\n    socket.bind(addr)?;\n\n    let listener = socket.listen(1024)?;\n# drop(listener);\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["addr",{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3989":{"id":3989,"crate_id":0,"name":null,"span":{"filename":"src/runtime/builder.rs","begin":[1754,5],"end":[1793,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:153:17: 153:32 (#1603) }, All([NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:154:21: 154:25 (#1603) }, NameValue { name: \"feature\", value: Some(\"process\"), span: src/macros/cfg.rs:154:27: 154:46 (#1603) }], src/macros/cfg.rs:154:20: 154:47 (#1603)), All([NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:155:21: 155:25 (#1603) }, NameValue { name: \"feature\", value: Some(\"signal\"), span: src/macros/cfg.rs:155:27: 155:45 (#1603) }], src/macros/cfg.rs:155:20: 155:46 (#1603)), All([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:157:21: 157:35 (#1603) }, NameValue { name: \"feature\", value: Some(\"io-uring\"), span: src/macros/cfg.rs:158:21: 158:41 (#1603) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:159:21: 159:35 (#1603) }, NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:160:21: 160:35 (#1603) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/macros/cfg.rs:161:21: 161:40 (#1603) }], src/macros/cfg.rs:156:20: 162:18 (#1603))], src/macros/cfg.rs:152:22: 163:14 (#1603))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(feature = \"net\", all(unix, feature = \"process\"), all(unix, feature = \"signal\"), all(tokio_unstable, feature = \"io-uring\", feature = \"rt\", feature = \"fs\", target_os = \"linux\"))))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[3113,3988],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6078":{"id":6078,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4316":{"id":4316,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"792":{"id":792,"crate_id":0,"name":null,"span":{"filename":"src/io/util/empty.rs","begin":[92,1],"end":[134,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[787,788,789,790,791],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2554":{"id":2554,"crate_id":0,"name":"tclass_v6","span":{"filename":"src/net/udp.rs","begin":[2006,5],"end":[2008,6]},"visibility":"public","docs":"Gets the value of the `IPV6_TCLASS` option for this socket.\n\nFor more information about this option, see [`set_tclass_v6`].\n\n[`set_tclass_v6`]: Self::set_tclass_v6","links":{"Self::set_tclass_v6":2553},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"android\"), span: src/net/udp.rs:1982:9: 1982:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"dragonfly\"), span: src/net/udp.rs:1983:9: 1983:32 (#0) }, NameValue { name: \"target_os\", value: Some(\"freebsd\"), span: src/net/udp.rs:1984:9: 1984:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"fuchsia\"), span: src/net/udp.rs:1985:9: 1985:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/net/udp.rs:1986:9: 1986:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"macos\"), span: src/net/udp.rs:1987:9: 1987:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"netbsd\"), span: src/net/udp.rs:1988:9: 1988:29 (#0) }, NameValue { name: \"target_os\", value: Some(\"openbsd\"), span: src/net/udp.rs:1989:9: 1989:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"cygwin\"), span: src/net/udp.rs:1990:9: 1990:29 (#0) }], src/net/udp.rs:1981:14: 1991:6 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(target_os = \"android\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"fuchsia\", target_os = \"linux\", target_os = \"macos\", target_os = \"netbsd\", target_os = \"openbsd\", target_os = \"cygwin\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u32"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6405":{"id":6405,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2881":{"id":2881,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1119":{"id":1119,"crate_id":0,"name":"poll_write_ready","span":{"filename":"src/io/async_fd.rs","begin":[451,5],"end":[461,6]},"visibility":"public","docs":"Polls for write readiness.\n\nIf the file descriptor is not currently ready for writing, this method\nwill store a clone of the [`Waker`] from the provided [`Context`]. When the\nfile descriptor becomes ready for writing, [`Waker::wake`] will be called.\n\nNote that on multiple calls to [`poll_write_ready`] or\n[`poll_write_ready_mut`], only the `Waker` from the `Context` passed to the\nmost recent call is scheduled to receive a wakeup. (However,\n[`poll_read_ready`] retains a second, independent waker).\n\nThis method is intended for cases where creating and pinning a future\nvia [`writable`] is not feasible. Where possible, using [`writable`] is\npreferred, as this supports polling from multiple tasks at once.\n\nThis method takes `&self`, so it is possible to call this method\nconcurrently with other methods on this struct. This method only\nprovides shared access to the inner IO resource when handling the\n[`AsyncFdReadyGuard`].\n\n[`poll_read_ready`]: method@Self::poll_read_ready\n[`poll_write_ready`]: method@Self::poll_write_ready\n[`poll_write_ready_mut`]: method@Self::poll_write_ready_mut\n[`writable`]: method@Self::readable\n[`Context`]: struct@std::task::Context\n[`Waker`]: struct@std::task::Waker\n[`Waker::wake`]: method@std::task::Waker::wake","links":{"method@Self::poll_read_ready":1118,"struct@std::task::Waker":1128,"struct@std::task::Context":251,"method@Self::poll_write_ready_mut":1132,"method@Self::poll_write_ready":1119,"method@std::task::Waker::wake":1129,"`AsyncFdReadyGuard`":1117,"method@Self::readable":1114},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4643":{"id":4643,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[143,32],"end":[143,37]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[4642],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6732":{"id":6732,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3208":{"id":3208,"crate_id":0,"name":"ServerOptions","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1734,1],"end":[1750,2]},"visibility":"public","docs":"A builder structure for construct a named pipe with named pipe-specific\noptions. This is required to use for named pipe servers who wants to modify\npipe-related options.\n\nSee [`ServerOptions::create`].","links":{"`ServerOptions::create`":3110},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[3226,3227,3228,3229,3230,3231,3232,3233,3234,3235,3236,3237,3238,3239,3240,3241,3242,3243,3244,3246,3248]}}},"1446":{"id":1446,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7059":{"id":7059,"crate_id":0,"name":"with","span":{"filename":"src/task/task_local.rs","begin":[230,5],"end":[238,6]},"visibility":"public","docs":"Accesses the current task-local and runs the provided closure.\n\n# Panics\n\nThis function will panic if the task local doesn't have a value set.","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'static","is_mutable":false,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"generic":"R"},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}],"output":{"generic":"R"}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3535":{"id":3535,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/process/mod.rs","begin":[1656,5],"end":[1656,29]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1773":{"id":1773,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5297":{"id":5297,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7386":{"id":7386,"crate_id":0,"name":"sub","span":{"filename":"src/time/instant.rs","begin":[190,5],"end":[192,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["rhs",{"resolved_path":{"path":"Duration","id":2215,"args":null}}]],"output":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5624":{"id":5624,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/error.rs","begin":[81,38],"end":[81,43]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3862":{"id":3862,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/trace/mod.rs","begin":[64,21],"end":[64,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::clone::Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[3861],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"338":{"id":338,"crate_id":0,"name":"access_mode","span":{"filename":"src/fs/open_options.rs","begin":[684,9],"end":[687,10]},"visibility":"public","docs":"Overrides the `dwDesiredAccess` argument to the call to [`CreateFile`]\nwith the specified value.\n\nThis will override the `read`, `write`, and `append` flags on the\n`OpenOptions` structure. This method provides fine-grained control over\nthe permissions to read, write and append data, attributes (like hidden\nand system), and extended attributes.\n\n# Examples\n\n```no_run\nuse tokio::fs::OpenOptions;\n\n# #[tokio::main]\n# async fn main() -> std::io::Result<()> {\n// Open without read and write permission, for example if you only need\n// to call `stat` on the file\nlet file = OpenOptions::new().access_mode(0).open(\"foo.txt\").await?;\n# Ok(())\n# }\n```\n\n[`CreateFile`]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["access",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2100":{"id":2100,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[286,15],"end":[286,33]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::copy_bidirectional","name":"copy_bidirectional","id":1756,"is_glob":false}}},"4189":{"id":4189,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2427":{"id":2427,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split_owned.rs","begin":[87,10],"end":[87,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[2426],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"665":{"id":665,"crate_id":0,"name":"start_seek","span":{"filename":"src/io/async_seek.rs","begin":[68,5],"end":[68,24]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["pos",{"resolved_path":{"path":"SeekFrom","id":256,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5951":{"id":5951,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[396,1],"end":[396,41]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6278":{"id":6278,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_read_guard.rs","begin":[33,1],"end":[167,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[6275,6276,6277],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4516":{"id":4516,"crate_id":0,"name":"num_blocking_threads","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[276,9],"end":[278,10]},"visibility":"public","docs":"Returns the number of additional threads spawned by the runtime.\n\nThe number of workers is set by configuring `max_blocking_threads` on\n`runtime::Builder`.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet _ = tokio::task::spawn_blocking(move || {\n    // Stand-in for compute-heavy work or using synchronous APIs\n    1 + 1\n}).await;\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.num_blocking_threads();\nprintln!(\"Runtime has created {} threads\", n);\n# }\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1689) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"992":{"id":992,"crate_id":0,"name":"is_priority","span":{"filename":"src/io/ready.rs","begin":[190,5],"end":[192,6]},"visibility":"public","docs":"Returns `true` if the value includes priority `readiness`.\n\n# Examples\n\n```\nuse tokio::io::Ready;\n\nassert!(!Ready::EMPTY.is_priority());\nassert!(!Ready::WRITABLE.is_priority());\nassert!(Ready::PRIORITY.is_priority());\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/io/ready.rs:188:15: 188:34 (#0) }, NameValue { name: \"target_os\", value: Some(\"android\"), span: src/io/ready.rs:188:36: 188:57 (#0) }], src/io/ready.rs:188:14: 188:58 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(target_os = \"linux\", target_os = \"android\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2754":{"id":2754,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4843":{"id":4843,"crate_id":0,"name":"recv","span":{"filename":"src/signal/windows.rs","begin":[93,5],"end":[96,6]},"visibility":"public","docs":"Receives the next signal notification event.\n\nAlthough this returns `Option<()>`, it will never actually return `None`.\nThis was accidentally exposed and would be a breaking change to be removed.\n\n# Examples\n\n```rust,no_run\nuse tokio::signal::windows::ctrl_c;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    let mut signal = ctrl_c()?;\n\n    // Print whenever a CTRL-C event is received.\n    for countdown in (0..3).rev() {\n        signal.recv().await;\n        println!(\"got CTRL-C. {} more to exit\", countdown);\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3081":{"id":3081,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6605":{"id":6605,"crate_id":0,"name":"0","span":{"filename":"src/sync/once_cell.rs","begin":[479,29],"end":[479,30]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"generic":"T"}}},"6932":{"id":6932,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5170":{"id":5170,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"1646":{"id":1646,"crate_id":0,"name":"fmt","span":{"filename":"src/io/util/buf_reader.rs","begin":[292,5],"end":[300,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5497":{"id":5497,"crate_id":0,"name":"recv","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[167,5],"end":[171,6]},"visibility":"public","docs":"Receives the next value for this receiver.\n\nThis method returns `None` if the channel has been closed and there are\nno remaining messages in the channel's buffer. This indicates that no\nfurther values can ever be received from this `Receiver`. The channel is\nclosed when all senders have been dropped, or when [`close`] is called.\n\nIf there are no messages in the channel's buffer, but the channel has\nnot yet been closed, this method will sleep until a message is sent or\nthe channel is closed.\n\n# Cancel safety\n\nThis method is cancel safe. If `recv` is used as a branch in\n[`tokio::select!`](crate::select) and another branch completes first,\nit is guaranteed that no messages were received on this\nchannel.\n\n[`close`]: Self::close\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::unbounded_channel();\n\ntokio::spawn(async move {\n    tx.send(\"hello\").unwrap();\n});\n\nassert_eq!(Some(\"hello\"), rx.recv().await);\nassert_eq!(None, rx.recv().await);\n# }\n```\n\nValues are buffered:\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::unbounded_channel();\n\ntx.send(\"hello\").unwrap();\ntx.send(\"world\").unwrap();\n\nassert_eq!(Some(\"hello\"), rx.recv().await);\nassert_eq!(Some(\"world\"), rx.recv().await);\n# }\n```","links":{"Self::close":5434,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3735":{"id":3735,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1973":{"id":1973,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"211":{"id":211,"crate_id":0,"name":"create_new","span":{"filename":"src/fs/file.rs","begin":[232,5],"end":[239,6]},"visibility":"public","docs":"Opens a file in read-write mode.\n\nThis function will create a file if it does not exist, or return an error\nif it does. This way, if the call succeeds, the file returned is guaranteed\nto be new.\n\nThis option is useful because it is atomic. Otherwise between checking\nwhether a file exists and creating a new one, the file may have been\ncreated by another process (a TOCTOU race condition / attack).\n\nThis can also be written using `File::options().read(true).write(true).create_new(true).open(...)`.\n\nSee [`OpenOptions`] for more details.\n\n# Examples\n\n```no_run\nuse tokio::fs::File;\nuse tokio::io::AsyncWriteExt;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut file = File::create_new(\"foo.txt\").await?;\nfile.write_all(b\"hello, world!\").await?;\n# Ok(())\n# }\n```\n\nThe [`write_all`] method is defined on the [`AsyncWriteExt`] trait.\n\n[`write_all`]: fn@crate::io::AsyncWriteExt::write_all\n[`AsyncWriteExt`]: trait@crate::io::AsyncWriteExt","links":{"fn@crate::io::AsyncWriteExt::write_all":209,"trait@crate::io::AsyncWriteExt":203,"`OpenOptions`":205},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"generic":"P"}]],"output":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"File","id":204,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5824":{"id":5824,"crate_id":0,"name":"deref","span":{"filename":"src/sync/mutex.rs","begin":[1267,5],"end":[1269,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"qualified_path":{"name":"Target","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":550,"args":null}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2300":{"id":2300,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"538":{"id":538,"crate_id":0,"name":"AsyncBufRead","span":{"filename":"src/io/async_buf_read.rs","begin":[23,1],"end":[63,2]},"visibility":"public","docs":"Reads bytes asynchronously.\n\nThis trait is analogous to [`std::io::BufRead`], but integrates with\nthe asynchronous task system. In particular, the [`poll_fill_buf`] method,\nunlike [`BufRead::fill_buf`], will automatically queue the current task for wakeup\nand return if data is not yet available, rather than blocking the calling\nthread.\n\nUtilities for working with `AsyncBufRead` values are provided by\n[`AsyncBufReadExt`].\n\n[`std::io::BufRead`]: std::io::BufRead\n[`poll_fill_buf`]: AsyncBufRead::poll_fill_buf\n[`BufRead::fill_buf`]: std::io::BufRead::fill_buf\n[`AsyncBufReadExt`]: crate::io::AsyncBufReadExt","links":{"std::io::BufRead":535,"crate::io::AsyncBufReadExt":537,"AsyncBufRead::poll_fill_buf":534,"std::io::BufRead::fill_buf":536},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":true,"items":[534,532],"generics":{"params":[],"where_predicates":[]},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"implementations":[541,545,548,553,556,560,564,567,571,574,578,582]}}},"4062":{"id":4062,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4389":{"id":4389,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2627":{"id":2627,"crate_id":0,"name":"accept","span":{"filename":"src/net/unix/listener.rs","begin":[209,5],"end":[219,6]},"visibility":"public","docs":"Accepts a new incoming connection to this listener.\n\n# Cancel safety\n\nThis method is cancel safe. If the method is used as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, then it is guaranteed that no new connections were\naccepted by this method.","links":{"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"resolved_path":{"path":"UnixStream","id":643,"args":null}},{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"865":{"id":865,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1711,5],"end":[1713,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2954":{"id":2954,"crate_id":0,"name":"pid","span":{"filename":"src/net/unix/ucred.rs","begin":[31,5],"end":[33,6]},"visibility":"public","docs":"Gets PID (process ID) of the process.\n\nThis is implemented under Linux, Android, OpenBSD, FreeBSD (since\nFreeBSD 13), NetBSD, NTO, iOS, macOS, tvOS, watchOS, visionOS,\nSolaris, Illumos, Cygwin, Haiku, and Redox. On other platforms this\nwill always return `None`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"unix::pid_t","id":2955,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1192":{"id":1192,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4716":{"id":4716,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5043":{"id":5043,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[274,14],"end":[274,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5042],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3281":{"id":3281,"crate_id":0,"name":"clone","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2372,17],"end":[2372,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1519":{"id":1519,"crate_id":0,"name":"read_f64","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an 64-bit floating point type in big-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_f64(&mut self) -> io::Result<f64>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead 64-bit floating point type from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![\n    0xff, 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff\n]);\n\nassert_eq!(f64::MIN, reader.read_f64().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadF64","id":1520,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6805":{"id":6805,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7132":{"id":7132,"crate_id":0,"name":"spawn_blocking_on","span":{"filename":"src/task/join_set.rs","begin":[269,5],"end":[276,6]},"visibility":"public","docs":"Spawn the blocking code on the blocking threadpool of the\nprovided runtime and store it in this `JoinSet`, returning an\n[`AbortHandle`] that can be used to remotely cancel the task.\n\n[`AbortHandle`]: crate::task::AbortHandle","links":{"crate::task::AbortHandle":3723},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"generic":"F"}],["handle",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Handle","id":4265,"args":null}}}}]],"output":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"T"}}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3608":{"id":3608,"crate_id":0,"name":"Error","span":{"filename":"src/process/mod.rs","begin":[1616,5],"end":[1616,28]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Error","id":262,"args":null}},"default_unstable":null}}},"5370":{"id":5370,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1810,1],"end":[1945,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5245,5367,5368,5369],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5697":{"id":5697,"crate_id":0,"name":"try_lock_owned","span":{"filename":"src/sync/mutex.rs","begin":[750,5],"end":[771,6]},"visibility":"public","docs":"Attempts to acquire the lock, and returns [`TryLockError`] if the lock\nis currently held somewhere else.\n\nThis method is identical to [`Mutex::try_lock`], except that the\nreturned  guard references the `Mutex` with an [`Arc`] rather than by\nborrowing it. Therefore, the `Mutex` must be wrapped in an `Arc` to call\nthis method, and the guard will live for the `'static` lifetime, as it\nkeeps the `Mutex` alive by holding an `Arc`.\n\n[`TryLockError`]: TryLockError\n[`Arc`]: std::sync::Arc\n# Examples\n\n```\nuse tokio::sync::Mutex;\nuse std::sync::Arc;\n# async fn dox() -> Result<(), tokio::sync::TryLockError> {\n\nlet mutex = Arc::new(Mutex::new(1));\n\nlet n = mutex.clone().try_lock_owned()?;\nassert_eq!(*n, 1);\n# Ok(())\n# }","links":{"TryLockError":5694,"std::sync::Arc":2509,"`Mutex::try_lock`":5695},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3935":{"id":3935,"crate_id":0,"name":"build","span":{"filename":"src/runtime/builder.rs","begin":[1072,5],"end":[1078,6]},"visibility":"public","docs":"Creates the configured `Runtime`.\n\nThe returned `Runtime` instance is ready to spawn tasks.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Builder;\n\nlet rt  = Builder::new_multi_thread().build().unwrap();\n\nrt.block_on(async {\n    println!(\"Hello from the Tokio runtime\");\n});\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Runtime","id":3112,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"411":{"id":411,"crate_id":0,"name":null,"span":{"filename":"src/fs/read_dir.rs","begin":[62,10],"end":[62,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[410],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2173":{"id":2173,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7459":{"id":7459,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6024":{"id":6024,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2500":{"id":2500,"crate_id":0,"name":"tcp","span":{"filename":"src/net/tcp/mod.rs","begin":[1,1],"end":[16,34]},"visibility":"public","docs":"TCP utility types.","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:336:19: 336:34 (#464) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[2495,2496,2497,2498,2499],"is_stripped":false}}},"738":{"id":738,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/async_write.rs","begin":[389,5],"end":[391,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6351":{"id":6351,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[170,1],"end":[170,82]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"owned_write_guard::OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4589":{"id":4589,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1065":{"id":1065,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"E","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2827":{"id":2827,"crate_id":0,"name":"fmt","span":{"filename":"src/net/unix/split_owned.rs","begin":[53,10],"end":[53,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6678":{"id":6678,"crate_id":0,"name":"drop","span":{"filename":"src/sync/set_once.rs","begin":[126,5],"end":[133,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3154":{"id":3154,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[933,1],"end":[937,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsHandle","id":296,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[3153],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1392":{"id":1392,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4916":{"id":4916,"crate_id":0,"name":"poll_recv","span":{"filename":"src/signal/windows.rs","begin":[435,5],"end":[437,6]},"visibility":"public","docs":"Polls to receive the next signal notification event, outside of an\n`async` context.\n\nAlthough this returns `Option<()>`, it will never actually return `None`.\nThis was accidentally exposed and would be a breaking change to be removed.\n\n# Examples\n\nPolling from a manually implemented future\n\n```rust,no_run\nuse std::pin::Pin;\nuse std::future::Future;\nuse std::task::{Context, Poll};\nuse tokio::signal::windows::CtrlShutdown;\n\nstruct MyFuture {\n    ctrl_shutdown: CtrlShutdown,\n}\n\nimpl Future for MyFuture {\n    type Output = Option<()>;\n\n    fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {\n        println!(\"polling MyFuture\");\n        self.ctrl_shutdown.poll_recv(cx)\n    }\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7005":{"id":7005,"crate_id":0,"name":"unhandled_panic","span":{"filename":"src/task/local.rs","begin":[924,9],"end":[931,10]},"visibility":"public","docs":"Configure how the `LocalSet` responds to an unhandled panic on a\nspawned task.\n\nBy default, an unhandled panic (i.e. a panic not caught by\n[`std::panic::catch_unwind`]) has no impact on the `LocalSet`'s\nexecution. The panic is error value is forwarded to the task's\n[`JoinHandle`] and all other spawned tasks continue running.\n\nThe `unhandled_panic` option enables configuring this behavior.\n\n* `UnhandledPanic::Ignore` is the default behavior. Panics on\n  spawned tasks have no impact on the `LocalSet`'s execution.\n* `UnhandledPanic::ShutdownRuntime` will force the `LocalSet` to\n  shutdown immediately when a spawned task panics even if that\n  task's `JoinHandle` has not been dropped. All other spawned tasks\n  will immediately terminate and further calls to\n  [`LocalSet::block_on`] and [`LocalSet::run_until`] will panic.\n\n# Panics\n\nThis method panics if called after the `LocalSet` has started\nrunning.\n\n# Unstable\n\nThis option is currently unstable and its implementation is\nincomplete. The API may change or be removed in the future. See\ntokio-rs/tokio#4516 for more details.\n\n# Examples\n\nThe following demonstrates a `LocalSet` configured to shutdown on\npanic. The first spawned task panics and results in the `LocalSet`\nshutting down. The second spawned task never has a chance to\nexecute. The call to `run_until` will panic due to the runtime being\nforcibly shutdown.\n\n```should_panic\nuse tokio::runtime::UnhandledPanic;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\ntokio::task::LocalSet::new()\n    .unhandled_panic(UnhandledPanic::ShutdownRuntime)\n    .run_until(async {\n        tokio::task::spawn_local(async { panic!(\"boom\"); });\n        tokio::task::spawn_local(async {\n            // This task never completes\n        });\n\n        // Do some work, but `run_until` will panic before it completes\n# loop { tokio::task::yield_now().await; }\n    })\n    .await;\n# }\n```\n\n[`JoinHandle`]: struct@crate::task::JoinHandle","links":{"struct@crate::task::JoinHandle":3722,"`std::panic::catch_unwind`":3967,"`LocalSet::block_on`":7001,"`LocalSet::run_until`":7002},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["behavior",{"resolved_path":{"path":"crate::runtime::UnhandledPanic","id":3971,"args":null}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1719":{"id":1719,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_writer.rs","begin":[289,1],"end":[300,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[1718],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3481":{"id":3481,"crate_id":0,"name":"wait","span":{"filename":"src/process/mod.rs","begin":[1379,5],"end":[1396,6]},"visibility":"public","docs":"Waits for the child to exit completely, returning the status that it\nexited with. This function will continue to have the same return value\nafter it has been called at least once.\n\nThe stdin handle to the child process, if any, will be closed\nbefore waiting. This helps avoid deadlock: it ensures that the\nchild does not block waiting for input from the parent, while\nthe parent waits for the child to exit.\n\nIf the caller wishes to explicitly control when the child's stdin\nhandle is closed, they may `.take()` it before calling `.wait()`:\n\n# Cancel safety\n\nThis function is cancel safe.\n\n```\n# #[cfg(not(unix))]fn main(){}\n# #[cfg(unix)]\nuse tokio::io::AsyncWriteExt;\n# #[cfg(unix)]\nuse tokio::process::Command;\n# #[cfg(unix)]\nuse std::process::Stdio;\n\n# #[cfg(unix)]\n#[tokio::main]\nasync fn main() {\n#   if cfg!(miri) { return; } // No `pidfd_spawnp` in miri.\n    let mut child = Command::new(\"cat\")\n        .stdin(Stdio::piped())\n        .spawn()\n        .unwrap();\n\n    let mut stdin = child.stdin.take().unwrap();\n    tokio::spawn(async move {\n        // do something with stdin here...\n        stdin.write_all(b\"hello world\\n\").await.unwrap();\n\n        // then drop when finished\n        drop(stdin);\n    });\n\n    // wait for the process to complete\n    let _ = child.wait().await;\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"ExitStatus","id":3450,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7332":{"id":7332,"crate_id":0,"name":"into_std","span":{"filename":"src/time/instant.rs","begin":[66,5],"end":[68,6]},"visibility":"public","docs":"Convert the value into a `std::time::Instant`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"std::time::Instant","id":7331,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3808":{"id":3808,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2046":{"id":2046,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[14,5],"end":[14,44]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"async_write_ext::AsyncWriteExt","name":"AsyncWriteExt","id":203,"is_glob":false}}},"5570":{"id":5570,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5897":{"id":5897,"crate_id":0,"name":"notify_one","span":{"filename":"src/sync/notify.rs","begin":[657,5],"end":[659,6]},"visibility":"public","docs":"Notifies the first waiting task.\n\nIf a task is currently waiting, that task is notified. Otherwise, a\npermit is stored in this `Notify` value and the **next** call to\n[`notified().await`] will complete immediately consuming the permit made\navailable by this call to `notify_one()`.\n\nAt most one permit may be stored by `Notify`. Many sequential calls to\n`notify_one` will result in a single permit being stored. The next call to\n`notified().await` will complete immediately, but the one after that\nwill wait.\n\n[`notified().await`]: Notify::notified()\n\n# Examples\n\n```\nuse tokio::sync::Notify;\nuse std::sync::Arc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet notify = Arc::new(Notify::new());\nlet notify2 = notify.clone();\n\ntokio::spawn(async move {\n    notify2.notified().await;\n    println!(\"received notification\");\n});\n\nprintln!(\"sending notification\");\nnotify.notify_one();\n# }\n```","links":{"Notify::notified()":5896},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(alias = \"notify\")]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4135":{"id":4135,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"611":{"id":611,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/util/chain.rs","begin":[87,5],"end":[106,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4462":{"id":4462,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2700":{"id":2700,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/socket.rs","begin":[260,1],"end":[267,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"FromRawFd","id":284,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[2699],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"938":{"id":938,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6224":{"id":6224,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4789":{"id":4789,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1265":{"id":1265,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3027":{"id":3027,"crate_id":0,"name":"from_file_unchecked","span":{"filename":"src/net/unix/pipe.rs","begin":[474,5],"end":[476,6]},"visibility":"public","docs":"Creates a new `Sender` from a [`File`] without checking pipe properties.\n\nThis function is intended to construct a pipe from a File representing\na special FIFO file. The conversion assumes nothing about the underlying\nfile; it is left up to the user to make sure it is opened with write access,\nrepresents a pipe and is set in non-blocking mode.\n\n# Examples\n\n```no_run\nuse tokio::net::unix::pipe;\nuse std::fs::OpenOptions;\nuse std::os::unix::fs::{FileTypeExt, OpenOptionsExt};\n# use std::error::Error;\n\nconst FIFO_NAME: &str = \"path/to/a/fifo\";\n\n# async fn dox() -> Result<(), Box<dyn Error>> {\nlet file = OpenOptions::new()\n    .write(true)\n    .custom_flags(libc::O_NONBLOCK)\n    .open(FIFO_NAME)?;\nif file.metadata()?.file_type().is_fifo() {\n    let tx = pipe::Sender::from_file_unchecked(file)?;\n    /* use the Sender */\n}\n# Ok(())\n# }\n```\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"crate::runtime::Runtime::enter":1054,"`File`":198},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["file",{"resolved_path":{"path":"File","id":198,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Sender","id":856,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5116":{"id":5116,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/broadcast.rs","begin":[353,9],"end":[359,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3354":{"id":3354,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6878":{"id":6878,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[242,10],"end":[242,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6877],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7205":{"id":7205,"crate_id":0,"name":"spawn_local","span":{"filename":"src/task/builder.rs","begin":[139,5],"end":[150,6]},"visibility":"public","docs":"Spawns a `!Send` task on the current [`LocalSet`] or [`LocalRuntime`] with\nthis builder's settings.\n\nThe spawned future will be run on the same thread that called `spawn_local`.\nThis may only be called from the context of a [local task set][`LocalSet`]\nor a [`LocalRuntime`].\n\n# Panics\n\nThis function panics if called outside of a [local task set][`LocalSet`]\nor a [`LocalRuntime`].\n\nSee [`task::spawn_local`] for more details.\n\n[`task::spawn_local`]: crate::task::spawn_local\n[`LocalSet`]: crate::task::LocalSet\n[`LocalRuntime`]: crate::runtime::LocalRuntime","links":{"crate::task::spawn_local":4422,"crate::task::LocalSet":3939,"crate::runtime::LocalRuntime":3941},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["future",{"generic":"Fut"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Fut"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"Fut","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Fut"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Fut"},"trait":{"path":"","id":520,"args":null}}},"bounds":[{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5443":{"id":5443,"crate_id":0,"name":"weak_count","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[682,5],"end":[684,6]},"visibility":"public","docs":"Returns the number of [`WeakUnboundedSender`] handles.","links":{"`WeakUnboundedSender`":5440},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1919":{"id":1919,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5770":{"id":5770,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4008":{"id":4008,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2246":{"id":2246,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7532":{"id":7532,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[99,20],"end":[99,28]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"interval::interval","name":"interval","id":7400,"is_glob":false}}},"6097":{"id":6097,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2573":{"id":2573,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"811":{"id":811,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/net/tcp/split.rs","begin":[389,5],"end":[395,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4335":{"id":4335,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6424":{"id":6424,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/read_guard.rs","begin":[169,1],"end":[176,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6423],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4662":{"id":4662,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2900":{"id":2900,"crate_id":0,"name":"poll_write_ready","span":{"filename":"src/net/unix/stream.rs","begin":[611,5],"end":[613,6]},"visibility":"public","docs":"Polls for write readiness.\n\nIf the unix stream is not currently ready for writing, this method will\nstore a clone of the `Waker` from the provided `Context`. When the unix\nstream becomes ready for writing, `Waker::wake` will be called on the\nwaker.\n\nNote that on multiple calls to `poll_write_ready` or `poll_write`, only\nthe `Waker` from the `Context` passed to the most recent call is\nscheduled to receive a wakeup. (However, `poll_read_ready` retains a\nsecond, independent waker.)\n\nThis function is intended for cases where creating and pinning a future\nvia [`writable`] is not feasible. Where possible, using [`writable`] is\npreferred, as this supports polling from multiple tasks at once.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the unix stream is not ready for writing.\n* `Poll::Ready(Ok(()))` if the unix stream is ready for writing.\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n[`writable`]: method@Self::writable","links":{"method@Self::writable":2899},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1138":{"id":1138,"crate_id":0,"name":"ready_mut","span":{"filename":"src/io/async_fd.rs","begin":[685,5],"end":[695,6]},"visibility":"public","docs":"Waits for any of the requested ready states, returning a\n[`AsyncFdReadyMutGuard`] that must be dropped to resume\npolling for the requested ready states.\n\nThe function may complete without the file descriptor being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\nWhen an IO operation does return `io::ErrorKind::WouldBlock`, the readiness must be cleared.\nWhen a combined interest is used, it is important to clear only the readiness\nthat is actually observed to block. For instance when the combined\ninterest `Interest::READABLE | Interest::WRITABLE` is used, and a read blocks, only\nread readiness should be cleared using the [`AsyncFdReadyMutGuard::clear_ready_matching`] method:\n`guard.clear_ready_matching(Ready::READABLE)`.\nAlso clearing the write readiness in this case would be incorrect.\nThe [`AsyncFdReadyMutGuard::clear_ready`] method clears all readiness flags.\n\nThis method takes `&mut self`, so it is possible to access the inner IO\nresource mutably when handling the [`AsyncFdReadyMutGuard`].\n\n# Examples\n\nConcurrently read and write to a [`std::net::TcpStream`] on the same task without\nsplitting.\n\n```no_run\nuse std::error::Error;\nuse std::io;\nuse std::io::{Read, Write};\nuse std::net::TcpStream;\nuse tokio::io::unix::AsyncFd;\nuse tokio::io::{Interest, Ready};\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let stream = TcpStream::connect(\"127.0.0.1:8080\")?;\n    stream.set_nonblocking(true)?;\n    let mut stream = AsyncFd::new(stream)?;\n\n    loop {\n        let mut guard = stream\n            .ready_mut(Interest::READABLE | Interest::WRITABLE)\n            .await?;\n\n        if guard.ready().is_readable() {\n            let mut data = vec![0; 1024];\n            // Try to read data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match guard.get_inner_mut().read(&mut data) {\n                Ok(n) => {\n                    println!(\"read {} bytes\", n);\n                }\n                Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    // a read has blocked, but a write might still succeed.\n                    // clear only the read readiness.\n                    guard.clear_ready_matching(Ready::READABLE);\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n        }\n\n        if guard.ready().is_writable() {\n            // Try to write data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match guard.get_inner_mut().write(b\"hello world\") {\n                Ok(n) => {\n                    println!(\"write {} bytes\", n);\n                }\n                Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    // a write has blocked, but a read might still succeed.\n                    // clear only the write readiness.\n                    guard.clear_ready_matching(Ready::WRITABLE);\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n        }\n    }\n}\n```","links":{"`AsyncFdReadyMutGuard`":1131,"`AsyncFdReadyMutGuard::clear_ready_matching`":1136,"`std::net::TcpStream`":1120,"`AsyncFdReadyMutGuard::clear_ready`":1137,"`Ready`":978},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6751":{"id":6751,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3227":{"id":3227,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4989":{"id":4989,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7078":{"id":7078,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5316":{"id":5316,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3554":{"id":3554,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1792":{"id":1792,"crate_id":0,"name":"get_mut","span":{"filename":"src/io/util/lines.rs","begin":[76,5],"end":[78,6]},"visibility":"public","docs":"Obtains a mutable reference to the underlying reader.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"R"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7405":{"id":7405,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3881":{"id":3881,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2119":{"id":2119,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[287,77],"end":[287,83]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::Repeat","name":"Repeat","id":623,"is_glob":false}}},"357":{"id":357,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5643":{"id":5643,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5970":{"id":5970,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4208":{"id":4208,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[156,17],"end":[156,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[4207],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"684":{"id":684,"crate_id":0,"name":"poll_complete","span":{"filename":"src/io/util/buf_writer.rs","begin":[235,5],"end":[266,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u64"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2446":{"id":2446,"crate_id":0,"name":"poll_write_ready","span":{"filename":"src/net/tcp/stream.rs","begin":[868,5],"end":[870,6]},"visibility":"public","docs":"Polls for write readiness.\n\nIf the tcp stream is not currently ready for writing, this method will\nstore a clone of the `Waker` from the provided `Context`. When the tcp\nstream becomes ready for writing, `Waker::wake` will be called on the\nwaker.\n\nNote that on multiple calls to `poll_write_ready` or `poll_write`, only\nthe `Waker` from the `Context` passed to the most recent call is\nscheduled to receive a wakeup. (However, `poll_read_ready` retains a\nsecond, independent waker.)\n\nThis function is intended for cases where creating and pinning a future\nvia [`writable`] is not feasible. Where possible, using [`writable`] is\npreferred, as this supports polling from multiple tasks at once.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the tcp stream is not ready for writing.\n* `Poll::Ready(Ok(()))` if the tcp stream is ready for writing.\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n[`writable`]: method@Self::writable","links":{"method@Self::writable":2445},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4535":{"id":4535,"crate_id":0,"name":"worker_overflow_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[911,9],"end":[917,10]},"visibility":"public","docs":"Returns the number of times the given worker thread saturated its local\nqueue.\n\nThis metric only applies to the **multi-threaded** scheduler.\n\nThe worker overflow count starts at zero when the runtime is created and\nincreases by one each time the worker attempts to schedule a task\nlocally, but its local queue is full. When this happens, half of the\nlocal queue is moved to the injection queue.\n\nThe counter is monotonically increasing. It is never decremented or\nreset to zero.\n\n# Arguments\n\n`worker` is the index of the worker being queried. The given value must\nbe between 0 and `num_workers()`. The index uniquely identifies a single\nworker and will continue to identify the worker throughout the lifetime\nof the runtime instance.\n\n# Panics\n\nThe method panics when `worker` represents an invalid worker, i.e. is\ngreater than or equal to `num_workers()`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.worker_overflow_count(0);\nprintln!(\"worker 0 has overflowed its queue {} times\", n);\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/metrics/runtime.rs:578:13: 578:27 (#0) }, NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/runtime/metrics/runtime.rs:579:13: 579:37 (#0) }], src/runtime/metrics/runtime.rs:577:15: 580:10 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, target_has_atomic = \"64\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["worker",{"primitive":"usize"}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2773":{"id":2773,"crate_id":0,"name":"try_read_buf","span":{"filename":"src/net/unix/split_owned.rs","begin":[200,9],"end":[202,10]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffer, advancing the\nbuffer's internal cursor, returning how many bytes were read.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_buf()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: Self::readable()\n[`ready()`]: Self::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the stream's read half is closed\nand will no longer yield data. If the stream is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::ready()":2772,"Self::readable()":2771},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#518) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"B","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"BufMut","id":919,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1011":{"id":1011,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6297":{"id":6297,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_read_guard.rs","begin":[169,1],"end":[175,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Deref","id":550,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[6295,6296],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6624":{"id":6624,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4862":{"id":4862,"crate_id":0,"name":"fmt","span":{"filename":"src/signal/windows.rs","begin":[64,10],"end":[64,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1338":{"id":1338,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3100":{"id":3100,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/mod.rs","begin":[13,27],"end":[13,36]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"split::WriteHalf","name":"WriteHalf","id":836,"is_glob":false}}},"6951":{"id":6951,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3427":{"id":3427,"crate_id":0,"name":"arg","span":{"filename":"src/process/mod.rs","begin":[382,5],"end":[385,6]},"visibility":"public","docs":"Adds an argument to pass to the program.\n\nOnly one argument can be passed per use. So instead of:\n\n```no_run\nlet mut command = tokio::process::Command::new(\"sh\");\ncommand.arg(\"-C /path/to/repo\");\n\n# let _ = command.output(); // assert borrow checker\n```\n\nusage would be:\n\n```no_run\nlet mut command = tokio::process::Command::new(\"sh\");\ncommand.arg(\"-C\");\ncommand.arg(\"/path/to/repo\");\n\n# let _ = command.output(); // assert borrow checker\n```\n\nTo pass multiple arguments see [`args`].\n\n[`args`]: method@Self::args\n\n# Examples\n\nBasic usage:\n\n```no_run\n# async fn test() { // allow using await\nuse tokio::process::Command;\n\nlet output = Command::new(\"ls\")\n        .arg(\"-l\")\n        .arg(\"-a\")\n        .output().await.unwrap();\n# }\n\n```","links":{"method@Self::args":3426},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["arg",{"generic":"S"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[{"name":"S","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1665":{"id":1665,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[357,1],"end":[357,56]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["read_until","read_line","split","fill_buf","consume","lines"],"trait":{"path":"AsyncBufReadExt","id":537,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"7278":{"id":7278,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5516":{"id":5516,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3754":{"id":3754,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/id.rs","begin":[31,36],"end":[31,38]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"230":{"id":230,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7605":{"id":7605,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4081":{"id":4081,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2319":{"id":2319,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5843":{"id":5843,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6170":{"id":6170,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2646":{"id":2646,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"884":{"id":884,"crate_id":0,"name":"take","span":{"filename":"src/io/read_buf.rs","begin":[82,5],"end":[86,6]},"visibility":"public","docs":"Returns a new `ReadBuf` comprised of the unfilled section up to `n`.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4408":{"id":4408,"crate_id":0,"name":"eq","span":{"filename":"src/runtime/runtime.rs","begin":[111,17],"end":[111,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4735":{"id":4735,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/mod.rs","begin":[26,100],"end":[26,129]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[allow(unreachable_pub)]"},{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1731) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"histogram::InvalidHistogramConfiguration","name":"InvalidHistogramConfiguration","id":4616,"is_glob":false}}},"2973":{"id":2973,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1211":{"id":1211,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6497":{"id":6497,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6824":{"id":6824,"crate_id":0,"name":"is_closed","span":{"filename":"src/sync/watch.rs","begin":[1274,5],"end":[1276,6]},"visibility":"public","docs":"Checks if the channel has been closed. This happens when all receivers\nhave dropped.\n\n# Examples\n\n```\nlet (tx, rx) = tokio::sync::watch::channel(());\nassert!(!tx.is_closed());\n\ndrop(rx);\nassert!(tx.is_closed());\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3300":{"id":3300,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5062":{"id":5062,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5389":{"id":5389,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1960,5],"end":[1964,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7151":{"id":7151,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1865":{"id":1865,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7478":{"id":7478,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5716":{"id":5716,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[258,1],"end":[258,59]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3954":{"id":3954,"crate_id":0,"name":"on_thread_start","span":{"filename":"src/runtime/builder.rs","begin":[706,5],"end":[712,6]},"visibility":"public","docs":"Executes function `f` after each thread is started but before it starts\ndoing work.\n\nThis is intended for bookkeeping and monitoring use cases.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n# use tokio::runtime;\n# pub fn main() {\nlet runtime = runtime::Builder::new_multi_thread()\n    .on_thread_start(|| {\n        println!(\"thread started\");\n    })\n    .build();\n# }\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([Not(NameValue { name: \"loom\", value: None, span: src/runtime/builder.rs:705:15: 705:19 (#0) }, src/runtime/builder.rs:705:14: 705:20 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Fn","id":3952,"args":{"parenthesized":{"inputs":[],"output":null}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"430":{"id":430,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2192":{"id":2192,"crate_id":0,"name":"RawSocket","span":{"filename":"src/doc/os.rs","begin":[30,9],"end":[30,57]},"visibility":"public","docs":"See [`std::os::windows::io::RawSocket`](https://doc.rust-lang.org/std/os/windows/io/type.RawSocket.html)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"type_alias":{"type":{"resolved_path":{"path":"crate::doc::NotDefinedHere","id":288,"args":null}},"generics":{"params":[],"where_predicates":[]}}}},"6043":{"id":6043,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[351,14],"end":[351,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[6042],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4281":{"id":4281,"crate_id":0,"name":"Id","span":{"filename":"src/runtime/id.rs","begin":[30,1],"end":[30,27]},"visibility":"public","docs":"An opaque ID that uniquely identifies a runtime relative to all other currently\nrunning runtimes.\n\n# Notes\n\n- Runtime IDs are unique relative to other *currently running* runtimes.\n  When a runtime completes, the same ID may be used for another runtime.\n- Runtime IDs are *not* sequential, and do not indicate the order in which\n  runtimes are started or any other data.\n- The runtime ID of the currently running task can be obtained from the\n  Handle.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Handle;\n\n#[tokio::main(flavor = \"multi_thread\", worker_threads = 4)]\nasync fn main() {\n  println!(\"Current runtime id: {}\", Handle::current().id());\n}\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[4475,4476,4477,4478,4479,4480,4481,4482,4483,4484,4485,4486,4487,4488,4489,4490,4491,4492,4493,4495,4496,4498,4500,4501,4502,4504,4506]}}},"757":{"id":757,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/split.rs","begin":[129,5],"end":[131,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6370":{"id":6370,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2846":{"id":2846,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1084":{"id":1084,"crate_id":0,"name":"fmt","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[209,5],"end":[211,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6697":{"id":6697,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4935":{"id":4935,"crate_id":0,"name":null,"span":{"filename":"src/signal/windows.rs","begin":[373,10],"end":[373,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[4934],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1411":{"id":1411,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3173":{"id":3173,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7024":{"id":7024,"crate_id":0,"name":"fmt","span":{"filename":"src/task/local.rs","begin":[936,5],"end":[938,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3500":{"id":3500,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1738":{"id":1738,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5262":{"id":5262,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7351":{"id":7351,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5589":{"id":5589,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[27,21],"end":[27,23]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::Eq","id":961,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3827":{"id":3827,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/join.rs","begin":[357,1],"end":[365,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[3826],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2065":{"id":2065,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[70,26],"end":[70,30]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"sink::Sink","name":"Sink","id":809,"is_glob":false}}},"5916":{"id":5916,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2392":{"id":2392,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"630":{"id":630,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split_owned.rs","begin":[333,1],"end":[341,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[629],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6243":{"id":6243,"crate_id":0,"name":"split","span":{"filename":"src/sync/semaphore.rs","begin":[1199,5],"end":[1212,6]},"visibility":"public","docs":"Splits `n` permits from `self` and returns a new [`OwnedSemaphorePermit`] instance that holds `n` permits.\n\nIf there are insufficient permits and it's not possible to reduce by `n`, returns `None`.\n\n# Note\n\nIt will clone the owned `Arc<Semaphore>` to construct the new instance.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::Semaphore;\n\nlet sem = Arc::new(Semaphore::new(3));\n\nlet mut p1 = sem.try_acquire_many_owned(3).unwrap();\nlet p2 = p1.split(1).unwrap();\n\nassert_eq!(p1.num_permits(), 2);\nassert_eq!(p2.num_permits(), 1);\n```","links":{"`OwnedSemaphorePermit`":6182},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4481":{"id":4481,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"957":{"id":957,"crate_id":0,"name":null,"span":{"filename":"src/io/interest.rs","begin":[28,10],"end":[28,15]},"visibility":"default","docs":null,"links":{},"attrs":["automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[956],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2719":{"id":2719,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4808":{"id":4808,"crate_id":0,"name":null,"span":{"filename":"src/signal/unix.rs","begin":[78,47],"end":[78,49]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3046":{"id":3046,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1284":{"id":1284,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[260,64],"end":[260,81]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"super::async_fd::AsyncFdReadyGuard","name":"AsyncFdReadyGuard","id":1117,"is_glob":false}}},"6570":{"id":6570,"crate_id":0,"name":"into_inner","span":{"filename":"src/sync/once_cell.rs","begin":[442,5],"end":[450,6]},"visibility":"public","docs":"Takes the value from the cell, destroying the cell in the process.\nReturns `None` if the cell is empty.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6897":{"id":6897,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[481,5],"end":[481,60]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"rwlock::owned_read_guard::OwnedRwLockReadGuard","name":"OwnedRwLockReadGuard","id":6274,"is_glob":false}}},"5135":{"id":5135,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[550,1],"end":[951,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5123,5022,5124,5126,5128,5129,5130,5131,5132,5133,5134],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3373":{"id":3373,"crate_id":0,"name":"windows","span":{"filename":"src/net/windows/mod.rs","begin":[1,1],"end":[3,20]},"visibility":"public","docs":"Windows specific network types.","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:387:31: 387:34 (#544) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:387:36: 387:42 (#544) }], src/macros/cfg.rs:387:30: 387:43 (#544)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:387:45: 387:52 (#544) }], src/macros/cfg.rs:387:26: 387:53 (#544)), NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:387:55: 387:70 (#544) }], src/macros/cfg.rs:387:22: 387:71 (#544))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[3372],"is_stripped":false}}},"5462":{"id":5462,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3700":{"id":3700,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"176":{"id":176,"crate_id":2,"name":"try_from","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":{"feature":"const_convert","level":"unstable"},"inner":{"function":{"sig":{"inputs":[["value",{"generic":"U"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"qualified_path":{"name":"Error","args":null,"self_type":{"generic":"T"},"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7224":{"id":7224,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5789":{"id":5789,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1160,1],"end":[1165,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Deref","id":550,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5787,5788],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2265":{"id":2265,"crate_id":0,"name":"as_socket","span":{"filename":"src/net/tcp/socket.rs","begin":[1047,9],"end":[1049,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedSocket","id":2196,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"503":{"id":503,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[266,1],"end":[266,48]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::set_permissions::set_permissions","name":"set_permissions","id":463,"is_glob":false}}},"4027":{"id":4027,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6116":{"id":6116,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[1245,1],"end":[1266,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6115],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4354":{"id":4354,"crate_id":0,"name":null,"span":{"filename":"src/runtime/handle.rs","begin":[737,1],"end":[745,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[4353],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2592":{"id":2592,"crate_id":0,"name":"as_raw_socket","span":{"filename":"src/net/udp.rs","begin":[2348,9],"end":[2350,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawSocket","id":2192,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"830":{"id":830,"crate_id":0,"name":"poll_write","span":{"filename":"src/net/unix/split.rs","begin":[292,5],"end":[298,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6443":{"id":6443,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[37,1],"end":[410,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6437,6438,6439,6440,6441,6442],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2919":{"id":2919,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1157":{"id":1157,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4681":{"id":4681,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6770":{"id":6770,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/watch.rs","begin":[364,9],"end":[366,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5008":{"id":5008,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3246":{"id":3246,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[1733,10],"end":[1733,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[3245],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1484":{"id":1484,"crate_id":0,"name":"read","span":{"filename":"src/io/util/async_read_ext.rs","begin":[177,9],"end":[182,10]},"visibility":"default","docs":"Pulls some bytes from this source into the specified buffer,\nreturning how many bytes were read.\n\nEquivalent to:\n\n```ignore\nasync fn read(&mut self, buf: &mut [u8]) -> io::Result<usize>;\n```\n\nThis method does not provide any guarantees about whether it\ncompletes immediately or asynchronously.\n\n# Return\n\nIf the return value of this method is `Ok(n)`, then it must be\nguaranteed that `0 <= n <= buf.len()`. A nonzero `n` value indicates\nthat the buffer `buf` has been filled in with `n` bytes of data from\nthis source. If `n` is `0`, then it can indicate one of two\nscenarios:\n\n1. This reader has reached its \"end of file\" and will likely no longer\n   be able to produce bytes. Note that this does not mean that the\n   reader will *always* no longer be able to produce bytes.\n2. The buffer specified was 0 bytes in length.\n\nNo guarantees are provided about the contents of `buf` when this\nfunction is called, implementations cannot rely on any property of the\ncontents of `buf` being true. It is recommended that *implementations*\nonly write data to `buf` instead of reading its contents.\n\nCorrespondingly, however, *callers* of this method may not assume\nany guarantees about how the implementation uses `buf`. It is\npossible that the code that's supposed to write to the buffer might\nalso read from it. It is your responsibility to make sure that `buf`\nis initialized before calling `read`.\n\n# Errors\n\nIf this function encounters any form of I/O or other error, an error\nvariant will be returned. If an error is returned then it must be\nguaranteed that no bytes were read.\n\n# Cancel safety\n\nThis method is cancel safe. If you use it as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, then it is guaranteed that no data was read.\n\n# Examples\n\n[`File`][crate::fs::File]s implement `Read`:\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::fs::File;\nuse tokio::io::{self, AsyncReadExt};\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut f = File::open(\"foo.txt\").await?;\n    let mut buffer = [0; 10];\n\n    // read up to 10 bytes\n    let n = f.read(&mut buffer[..]).await?;\n\n    println!(\"The bytes: {:?}\", &buffer[..n]);\n    Ok(())\n}\n# }\n```","links":{"crate::fs::File":204,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Read","id":1490,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7097":{"id":7097,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3573":{"id":3573,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/process/mod.rs","begin":[1657,5],"end":[1657,30]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1811":{"id":1811,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5335":{"id":5335,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5662":{"id":5662,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[145,5],"end":[152,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:583:19: 583:35 (#2155) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5661],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7424":{"id":7424,"crate_id":0,"name":null,"span":{"filename":"src/time/interval.rs","begin":[175,17],"end":[175,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[7423],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"376":{"id":376,"crate_id":0,"name":null,"span":{"filename":"src/fs/open_options.rs","begin":[855,1],"end":[859,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[375],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4227":{"id":4227,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2465":{"id":2465,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"703":{"id":703,"crate_id":0,"name":null,"span":{"filename":"src/io/async_write.rs","begin":[211,1],"end":[213,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"Box","id":542,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[698,699,700,701,702],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5989":{"id":5989,"crate_id":0,"name":"RecvError","span":{"filename":"src/sync/oneshot.rs","begin":[348,5],"end":[348,41]},"visibility":"public","docs":"Error returned by the `Future` implementation for `Receiver`.\n\nThis error is returned by the receiver when the sender is dropped without sending.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6000,6001,6002,6003,6004,6005,6006,6007,6008,6010,6011,6012,6014,6016,6018,6019]}}},"6316":{"id":6316,"crate_id":0,"name":"downgrade_map","span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[135,5],"end":[172,6]},"visibility":"public","docs":"Makes a new [`OwnedRwLockReadGuard`] for a component of the locked data.\n\nThis operation cannot fail as the `OwnedRwLockWriteGuard` passed in already\nlocked the data.\n\nThis is an associated function that needs to be used as\n`OwnedRwLockWriteGuard::downgrade_map(..)`. A method would interfere with methods of\nthe same name on the contents of the locked data.\n\nInside of `f`, you retain exclusive access to the data, despite only being given a `&T`. Handing out a\n`&mut T` would result in unsoundness, as you could use interior mutability.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::{RwLock, OwnedRwLockWriteGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(Foo(1)));\n\nlet guard = Arc::clone(&lock).write_owned().await;\nlet mapped = OwnedRwLockWriteGuard::downgrade_map(guard, |f| &f.0);\nlet foo = lock.read_owned().await;\nassert_eq!(foo.0, *mapped);\n# }\n```","links":{"`OwnedRwLockReadGuard`":6274},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"U"}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4554":{"id":4554,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1030":{"id":1030,"crate_id":0,"name":"bitor_assign","span":{"filename":"src/io/ready.rs","begin":[284,5],"end":[286,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["other",{"resolved_path":{"path":"Ready","id":978,"args":null}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2792":{"id":2792,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4881":{"id":4881,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3119":{"id":3119,"crate_id":0,"name":"readable","span":{"filename":"src/net/windows/named_pipe.rs","begin":[355,5],"end":[358,6]},"visibility":"public","docs":"Waits for the pipe to become readable.\n\nThis function is equivalent to `ready(Interest::READABLE)` and is usually\npaired with `try_read()`.\n\n# Examples\n\n```no_run\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-server-readable\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let server = named_pipe::ServerOptions::new()\n        .create(PIPE_NAME)?;\n\n    let mut msg = vec![0; 1024];\n\n    loop {\n        // Wait for the pipe to be readable\n        server.readable().await?;\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match server.try_read(&mut msg) {\n            Ok(n) => {\n                msg.truncate(n);\n                break;\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    println!(\"GOT = {:?}\", msg);\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1357":{"id":1357,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6643":{"id":6643,"crate_id":0,"name":"new_with","span":{"filename":"src/sync/set_once.rs","begin":[203,5],"end":[209,6]},"visibility":"public","docs":"Creates a new `SetOnce` that contains the provided value, if any.\n\nIf the `Option` is `None`, this is equivalent to `SetOnce::new`.\n\n[`SetOnce::new`]: crate::sync::SetOnce::new","links":{"crate::sync::SetOnce::new":6641},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["value",{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5208":{"id":5208,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3446":{"id":3446,"crate_id":0,"name":"process_group","span":{"filename":"src/process/mod.rs","begin":[790,5],"end":[793,6]},"visibility":"public","docs":"Sets the process group ID (PGID) of the child process. Equivalent to a\n`setpgid` call in the child process, but may be more efficient.\n\nProcess groups determine which processes receive signals.\n\n# Examples\n\nPressing Ctrl-C in a terminal will send `SIGINT` to all processes\nin the current foreground process group. By spawning the `sleep`\nsubprocess in a new process group, it will not receive `SIGINT`\nfrom the terminal.\n\nThe parent process could install a [signal handler] and manage the\nprocess on its own terms.\n\nA process group ID of 0 will use the process ID as the PGID.\n\n```no_run\n# async fn test() { // allow using await\nuse tokio::process::Command;\n\nlet output = Command::new(\"sleep\")\n    .arg(\"10\")\n    .process_group(0)\n    .output()\n    .await\n    .unwrap();\n# }\n```\n\n[signal handler]: crate::signal","links":{"crate::signal":3445},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"unix\", value: None, span: src/process/mod.rs:788:11: 788:15 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(unix))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["pgroup",{"primitive":"i32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7297":{"id":7297,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3773":{"id":3773,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2011":{"id":2011,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"249":{"id":249,"crate_id":0,"name":"poll_read","span":{"filename":"src/fs/file.rs","begin":[597,5],"end":[660,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["dst",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5535":{"id":5535,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5862":{"id":5862,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1380,1],"end":[1384,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"DerefMut","id":549,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[5861],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4100":{"id":4100,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"576":{"id":576,"crate_id":0,"name":"poll_fill_buf","span":{"filename":"src/io/util/empty.rs","begin":[82,5],"end":[86,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4427":{"id":4427,"crate_id":0,"name":null,"span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[53,1],"end":[384,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[4417,4418,4419,4420,4421,4423,4424,4425,4426],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6189":{"id":6189,"crate_id":0,"name":"new","span":{"filename":"src/sync/semaphore.rs","begin":[485,5],"end":[513,6]},"visibility":"public","docs":"Creates a new semaphore with the initial number of permits.\n\nPanics if `permits` exceeds [`Semaphore::MAX_PERMITS`].","links":{"`Semaphore::MAX_PERMITS`":5427},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["permits",{"primitive":"usize"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"903":{"id":903,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6516":{"id":6516,"crate_id":0,"name":"new","span":{"filename":"src/sync/rwlock.rs","begin":[203,5],"end":[253,6]},"visibility":"public","docs":"Creates a new instance of an `RwLock<T>` which is unlocked.\n\n# Examples\n\n```\nuse tokio::sync::RwLock;\n\nlet lock = RwLock::new(5);\n```","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["value",{"generic":"T"}]],"output":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4754":{"id":4754,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[641,43],"end":[641,65]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1811) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"metrics::HistogramConfiguration","name":"HistogramConfiguration","id":3984,"is_glob":false}}},"1230":{"id":1230,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5081":{"id":5081,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[310,5],"end":[317,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[5080],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3319":{"id":3319,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1557":{"id":1557,"crate_id":0,"name":"WriteBuf","span":{"filename":"src/io/util/write_buf.rs","begin":[11,1],"end":[21,2]},"visibility":"public","docs":"A future to write some of the buffer to an `AsyncWrite`.","links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"B","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"6843":{"id":6843,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7170":{"id":7170,"crate_id":0,"name":"extend","span":{"filename":"src/task/join_set.rs","begin":[687,5],"end":[694,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["iter",{"generic":"I"}]],"output":null,"is_c_variadic":false},"generics":{"params":[{"name":"I","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"I"},"bounds":[{"trait_bound":{"trait":{"path":"IntoIterator","id":3428,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Item","args":null,"binding":{"equality":{"type":{"generic":"F"}}}}]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5408":{"id":5408,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[181,1],"end":[740,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5392,5393,5397,5236,5399,5225,5400,5401,5402,5404,5403,5396,5405,5406,5407],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5735":{"id":5735,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3973":{"id":3973,"crate_id":0,"name":"rng_seed","span":{"filename":"src/runtime/builder.rs","begin":[1379,9],"end":[1382,10]},"visibility":"public","docs":"Specifies the random number generation seed to use within all\nthreads associated with the runtime being built.\n\nThis option is intended to make certain parts of the runtime\ndeterministic (e.g. the [`tokio::select!`] macro). In the case of\n[`tokio::select!`] it will ensure that the order that branches are\npolled is deterministic.\n\nIn addition to the code specifying `rng_seed` and interacting with\nthe runtime, the internals of Tokio and the Rust compiler may affect\nthe sequences of random numbers. In order to ensure repeatable\nresults, the version of Tokio, the versions of all other\ndependencies that interact with Tokio, and the Rust compiler version\nshould also all remain constant.\n\n# Examples\n\n```\n# use tokio::runtime::{self, RngSeed};\n# pub fn main() {\nlet seed = RngSeed::from_bytes(b\"place your seed here\");\nlet rt = runtime::Builder::new_current_thread()\n    .rng_seed(seed)\n    .build();\n# }\n```\n\n[`tokio::select!`]: crate::select","links":{"crate::select":1471},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:609:19: 609:33 (#1591) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["seed",{"resolved_path":{"path":"RngSeed","id":3974,"args":null}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2211":{"id":2211,"crate_id":0,"name":"set_recv_buffer_size","span":{"filename":"src/net/tcp/socket.rs","begin":[389,5],"end":[391,6]},"visibility":"public","docs":"Sets the size of the TCP receive buffer on this socket.\n\nOn most operating systems, this sets the `SO_RCVBUF` socket option.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["size",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7497":{"id":7497,"crate_id":0,"name":"Timeout","span":{"filename":"src/time/timeout.rs","begin":[172,1],"end":[182,2]},"visibility":"public","docs":"Future returned by [`timeout`](timeout) and [`timeout_at`](timeout_at).","links":{"timeout":4286,"timeout_at":7498},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[7503,7504,7505,7506,7507,7508,7509,7510,7511,7512,7513,7514,7515,7516,7517,7518,7519,7521,7522,7526]}}},"6062":{"id":6062,"crate_id":0,"name":"closed","span":{"filename":"src/sync/oneshot.rs","begin":[727,5],"end":[744,6]},"visibility":"public","docs":"Waits for the associated [`Receiver`] handle to close.\n\nA [`Receiver`] is closed by either calling [`close`] explicitly or the\n[`Receiver`] value is dropped.\n\nThis function is useful when paired with `select!` to abort a\ncomputation when the receiver is no longer interested in the result.\n\n# Return\n\nReturns a `Future` which must be awaited on.\n\n[`Receiver`]: Receiver\n[`close`]: Receiver::close\n\n# Examples\n\nBasic usage\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (mut tx, rx) = oneshot::channel::<()>();\n\ntokio::spawn(async move {\n    drop(rx);\n});\n\ntx.closed().await;\nprintln!(\"the receiver dropped\");\n# }\n```\n\nPaired with select\n\n```\nuse tokio::sync::oneshot;\nuse tokio::time::{self, Duration};\n\nasync fn compute() -> String {\n    // Complex computation returning a `String`\n# \"hello\".to_string()\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (mut tx, rx) = oneshot::channel();\n\ntokio::spawn(async move {\n    tokio::select! {\n        _ = tx.closed() => {\n            // The receiver dropped, no need to do any further work\n        }\n        value = compute() => {\n            // The send can fail if the channel was closed at the exact same\n            // time as when compute() finished, so just ignore the failure.\n            let _ = tx.send(value);\n        }\n    }\n});\n\n// Wait for up to 10 seconds\nlet _ = time::timeout(Duration::from_secs(10), rx).await;\n# }\n```","links":{"Receiver::close":6061,"Receiver":6056},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2538":{"id":2538,"crate_id":0,"name":"poll_peek_sender","span":{"filename":"src/net/udp.rs","begin":[1859,5],"end":[1863,6]},"visibility":"public","docs":"Retrieve the sender of the data at the head of the input queue,\nscheduling a wakeup if empty.\n\nThis is equivalent to calling [`poll_peek_from`] with a zero-sized buffer,\nbut suppresses the `WSAEMSGSIZE` error on Windows and the \"invalid argument\" error on macOS.\n\n# Notes\n\nNote that on multiple calls to a `poll_*` method in the `recv` direction, only the\n`Waker` from the `Context` passed to the most recent call will be scheduled to\nreceive a wakeup.\n\nNote that the socket address **cannot** be implicitly trusted, because it is relatively\ntrivial to send a UDP datagram with a spoofed origin in a [packet injection attack].\nBecause UDP is stateless and does not validate the origin of a packet,\nthe attacker does not need to be able to intercept traffic in order to interfere.\nIt is important to be aware of this when designing your application-level protocol.\n\n[`poll_peek_from`]: method@Self::poll_peek_from\n[packet injection attack]: https://en.wikipedia.org/wiki/Packet_injection","links":{"method@Self::poll_peek_from":2543},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"776":{"id":776,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/util/buf_stream.rs","begin":[130,5],"end":[136,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4300":{"id":4300,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6389":{"id":6389,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[217,1],"end":[230,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[6388],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4627":{"id":4627,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1103":{"id":1103,"crate_id":0,"name":"fmt","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[217,10],"end":[217,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2865":{"id":2865,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6716":{"id":6716,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3192":{"id":3192,"crate_id":0,"name":"as_raw_handle","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1717,5],"end":[1719,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawHandle","id":290,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4954":{"id":4954,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7043":{"id":7043,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3519":{"id":3519,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7370":{"id":7370,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[33,55],"end":[33,59]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["hash_slice"],"trait":{"path":"Hash","id":2985,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[7369],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3846":{"id":3846,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2084":{"id":2084,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[224,37],"end":[224,43]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[doc(no_inline)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"std::io::Result","name":"Result","id":119,"is_glob":false}}},"5608":{"id":5608,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5935":{"id":5935,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4173":{"id":4173,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2411":{"id":2411,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"649":{"id":649,"crate_id":0,"name":"NamedPipeServer","span":{"filename":"src/net/windows/named_pipe.rs","begin":[105,1],"end":[107,2]},"visibility":"public","docs":"A [Windows named pipe] server.\n\nAccepting client connections involves creating a server with\n[`ServerOptions::create`] and waiting for clients to connect using\n[`NamedPipeServer::connect`].\n\nTo avoid having clients sporadically fail with\n[`std::io::ErrorKind::NotFound`] when they connect to a server, we must\nensure that at least one server instance is available at all times. This\nmeans that the typical listen loop for a server is a bit involved, because\nwe have to ensure that we never drop a server accidentally while a client\nmight connect.\n\nSo a correctly implemented server looks like this:\n\n```no_run\nuse std::io;\nuse tokio::net::windows::named_pipe::ServerOptions;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\named-pipe-idiomatic-server\";\n\n# #[tokio::main] async fn main() -> std::io::Result<()> {\n// The first server needs to be constructed early so that clients can\n// be correctly connected. Otherwise calling .wait will cause the client to\n// error.\n//\n// Here we also make use of `first_pipe_instance`, which will ensure that\n// there are no other servers up and running already.\nlet mut server = ServerOptions::new()\n    .first_pipe_instance(true)\n    .create(PIPE_NAME)?;\n\n// Spawn the server loop.\nlet server = tokio::spawn(async move {\n    loop {\n        // Wait for a client to connect.\n        server.connect().await?;\n        let connected_client = server;\n\n        // Construct the next server to be connected before sending the one\n        // we already have of onto a task. This ensures that the server\n        // isn't closed (after it's done in the task) before a new one is\n        // available. Otherwise the client might error with\n        // `io::ErrorKind::NotFound`.\n        server = ServerOptions::new().create(PIPE_NAME)?;\n\n        let client = tokio::spawn(async move {\n            /* use the connected client */\n#           Ok::<_, std::io::Error>(())\n        });\n#       if true { break } // needed for type inference to work\n    }\n\n    Ok::<_, io::Error>(())\n});\n\n/* do something else not server related here */\n# Ok(()) }\n```\n\n[Windows named pipe]: https://docs.microsoft.com/en-us/windows/win32/ipc/named-pipes","links":{"`NamedPipeServer::connect`":3111,"`ServerOptions::create`":3110,"`std::io::ErrorKind::NotFound`":329},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[3130,3131,3132,3133,3134,3135,3136,3137,3138,3139,3140,3141,3142,3143,3144,3145,3146,3147,3148,3150,648,861,3152,3154]}}},"4500":{"id":4500,"crate_id":0,"name":null,"span":{"filename":"src/runtime/id.rs","begin":[29,30],"end":[29,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["hash_slice"],"trait":{"path":"Hash","id":2985,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[4499],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2738":{"id":2738,"crate_id":0,"name":"writable","span":{"filename":"src/net/unix/split.rs","begin":[228,5],"end":[230,6]},"visibility":"public","docs":"Waits for the socket to become writable.\n\nThis function is equivalent to `ready(Interest::WRITABLE)` and is usually\npaired with `try_write()`.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6262":{"id":6262,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6589":{"id":6589,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4827":{"id":4827,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1303":{"id":1303,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3065":{"id":3065,"crate_id":0,"name":"from_owned_fd_unchecked","span":{"filename":"src/net/unix/pipe.rs","begin":[1042,5],"end":[1046,6]},"visibility":"public","docs":"Creates a new `Receiver` from an [`OwnedFd`] without checking pipe properties.\n\nThis function is intended to construct a pipe from an [`OwnedFd`] representing\nan anonymous pipe or a special FIFO file. The conversion assumes nothing about\nthe underlying pipe; it is left up to the user to make sure that the file\ndescriptor represents the reading end of a pipe and the pipe is set in\nnon-blocking mode.\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"crate::runtime::Runtime::enter":1054,"`OwnedFd`":272},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["owned_fd",{"resolved_path":{"path":"OwnedFd","id":272,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Receiver","id":646,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5154":{"id":5154,"crate_id":0,"name":"clone","span":{"filename":"src/sync/broadcast.rs","begin":[1089,5],"end":[1094,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6916":{"id":6916,"crate_id":0,"name":"Unconstrained","span":{"filename":"src/task/coop/unconstrained.rs","begin":[6,1],"end":[14,2]},"visibility":"public","docs":"Future for the [`unconstrained`](unconstrained) method.","links":{"unconstrained":6915},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"must_use":{"reason":"Unconstrained does nothing unless polled"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6917,6918,6919,6920,6921,6922,6923,6924,6925,6926,6927,6928,6929,6930,6931,6932,6933,6937]}}},"1630":{"id":1630,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7243":{"id":7243,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[305,34],"end":[305,42]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"local::LocalSet","name":"LocalSet","id":3939,"is_glob":false}}},"5481":{"id":5481,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1957":{"id":1957,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5808":{"id":5808,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4046":{"id":4046,"crate_id":0,"name":"Dump","span":{"filename":"src/runtime/dump.rs","begin":[14,1],"end":[16,2]},"visibility":"public","docs":"A snapshot of a runtime's state.\n\nSee [`Handle::dump`][crate::runtime::Handle::dump].","links":{"crate::runtime::Handle::dump":4045},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4049,4050,4051,4052,4053,4054,4055,4056,4057,4058,4059,4060,4061,4062,4063,4064,4065,4067]}}},"2284":{"id":2284,"crate_id":0,"name":"peer_addr","span":{"filename":"src/net/tcp/split.rs","begin":[268,5],"end":[270,6]},"visibility":"public","docs":"Returns the remote address that this stream is connected to.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"522":{"id":522,"crate_id":0,"name":"Gone","span":{"filename":"src/future/maybe_done.rs","begin":[8,1],"end":[23,2]},"visibility":"default","docs":"The empty variant after the result of a [`MaybeDone`] has been\ntaken using the [`take_output`](MaybeDone::take_output) method.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"7570":{"id":7570,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6135":{"id":6135,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4373":{"id":4373,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"849":{"id":849,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/stream.rs","begin":[1037,1],"end":[1066,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[844,845,846,847,848],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6462":{"id":6462,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[412,1],"end":[418,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Deref","id":550,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6460,6461],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2938":{"id":2938,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/stream.rs","begin":[1101,1],"end":[1105,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[2937],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6789":{"id":6789,"crate_id":0,"name":"wait_for","span":{"filename":"src/sync/watch.rs","begin":[889,5],"end":[894,6]},"visibility":"public","docs":"Waits for a value that satisfies the provided condition.\n\nThis method will call the provided closure whenever something is sent on\nthe channel. Once the closure returns `true`, this method will return a\nreference to the value that was passed to the closure.\n\nBefore `wait_for` starts waiting for changes, it will call the closure\non the current value. If the closure returns `true` when given the\ncurrent value, then `wait_for` will immediately return a reference to\nthe current value. This is the case even if the current value is already\nconsidered seen.\n\nThe watch channel only keeps track of the most recent value, so if\nseveral messages are sent faster than `wait_for` is able to call the\nclosure, then it may skip some updates. Whenever the closure is called,\nit will be called with the most recent value.\n\nWhen this function returns, the value that was passed to the closure\nwhen it returned `true` will be considered seen.\n\nIf the channel is closed, then `wait_for` will return a [`RecvError`].\nOnce this happens, no more messages can ever be sent on the channel.\nWhen an error is returned, it is guaranteed that the closure has been\ncalled on the last value, and that it returned `false` for that value.\n(If the closure returned `true`, then the last value would have been\nreturned instead of the error.)\n\nLike the [`borrow`] method, the returned borrow holds a read lock on the\ninner value. This means that long-lived borrows could cause the producer\nhalf to block. It is recommended to keep the borrow as short-lived as\npossible. See the documentation of `borrow` for more information on\nthis.\n\n[`borrow`]: Receiver::borrow\n[`RecvError`]: error::RecvError\n\n# Cancel safety\n\nThis method is cancel safe. If you use it as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, then it is guaranteed that the last seen value `val`\n(if any) satisfies `f(val) == false`.\n\n# Panics\n\nIf and only if the closure `f` panics. In that case, no resource owned\nor shared by this [`Receiver`] will be poisoned.\n\n# Examples\n\n```\nuse tokio::sync::watch;\nuse tokio::time::{sleep, Duration};\n\n#[tokio::main(flavor = \"current_thread\", start_paused = true)]\nasync fn main() {\n    let (tx, mut rx) = watch::channel(\"hello\");\n\n    tokio::spawn(async move {\n        sleep(Duration::from_secs(1)).await;\n        tx.send(\"goodbye\").unwrap();\n    });\n\n    assert!(rx.wait_for(|val| *val == \"goodbye\").await.is_ok());\n    assert_eq!(*rx.borrow(), \"goodbye\");\n}\n```","links":{"`Receiver`":6780,"crate::select":1471,"Receiver::borrow":6784,"error::RecvError":6746},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}],"output":{"primitive":"bool"}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"error::RecvError","id":6746,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl FnMut(&T) -> bool","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}],"output":{"primitive":"bool"}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3265":{"id":3265,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1503":{"id":1503,"crate_id":0,"name":"read_i16","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads a signed 16-bit integer in big-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_i16(&mut self) -> io::Result<i16>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead signed 16 bit big-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![0x00, 0xc1, 0xff, 0x7c]);\n\nassert_eq!(193, reader.read_i16().await?);\nassert_eq!(-132, reader.read_i16().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadI16","id":1504,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5027":{"id":5027,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5354":{"id":5354,"crate_id":0,"name":"Item","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1759,5],"end":[1759,31]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"default_unstable":null}}},"3592":{"id":3592,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1830":{"id":1830,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7116":{"id":7116,"crate_id":0,"name":"fmt","span":{"filename":"src/task/task_local.rs","begin":[422,5],"end":[440,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7443":{"id":7443,"crate_id":0,"name":null,"span":{"filename":"src/time/interval.rs","begin":[400,1],"end":[638,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[7399,7436,7437,7438,7439,7440,7441,7397,7442],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2157":{"id":2157,"crate_id":0,"name":"poll_accept","span":{"filename":"src/net/tcp/listener.rs","begin":[179,5],"end":[194,6]},"visibility":"public","docs":"Polls to accept a new incoming connection to this listener.\n\nIf there is no connection to accept, `Poll::Pending` is returned and the\ncurrent task will be notified by a waker.  Note that on multiple calls\nto `poll_accept`, only the `Waker` from the `Context` passed to the most\nrecent call is scheduled to receive a wakeup.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"resolved_path":{"path":"TcpStream","id":634,"args":null}},{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"395":{"id":395,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6008":{"id":6008,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4246":{"id":4246,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"722":{"id":722,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/async_write.rs","begin":[291,5],"end":[297,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2484":{"id":2484,"crate_id":0,"name":"as_ref","span":{"filename":"src/net/tcp/stream.rs","begin":[1527,5],"end":[1529,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6335":{"id":6335,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"Deref","id":550,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Target","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Receiver","id":1075,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1073],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"P"}}}},"2811":{"id":2811,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1049":{"id":1049,"crate_id":0,"name":"AioSource","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[21,1],"end":[45,2]},"visibility":"public","docs":"Like [`mio::event::Source`], but for POSIX AIO only.\n\nTokio's consumer must pass an implementer of this trait to create a\n[`Aio`] object.  Implementers must implement at least one of [`AioSource::register`] and\n[`AioSource::register_borrowed`].","links":{"`AioSource::register_borrowed`":1045,"`AioSource::register`":1044,"`Aio`":1048,"`mio::event::Source`":1047},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":true,"items":[1044,1045,1046],"generics":{"params":[],"where_predicates":[]},"bounds":[],"implementations":[]}}},"6662":{"id":6662,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"never"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5709],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4900":{"id":4900,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"1376":{"id":1376,"crate_id":0,"name":"as_fd","span":{"filename":"src/io/stdout.rs","begin":[195,9],"end":[197,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3138":{"id":3138,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"6989":{"id":6989,"crate_id":0,"name":null,"span":{"filename":"src/task/coop/mod.rs","begin":[434,5],"end":[441,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'__pin","kind":{"lifetime":{"outlives":[]}}},{"name":"F","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"resolved_path":{"path":"$crate::__private::PinnedFieldsOf","id":1463,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"__Origin","id":6990,"args":{"angle_bracketed":{"args":[{"lifetime":"'__pin"},{"type":{"generic":"F"}}],"constraints":[]}}}}}],"constraints":[]}}}},"bounds":[{"trait_bound":{"trait":{"path":"$crate::__private::Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3465":{"id":3465,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1703":{"id":1703,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[357,1],"end":[357,56]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["read_until","read_line","split","fill_buf","consume","lines"],"trait":{"path":"AsyncBufReadExt","id":537,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"5227":{"id":5227,"crate_id":0,"name":"reserve","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1116,5],"end":[1119,6]},"visibility":"public","docs":"Waits for channel capacity. Once capacity to send one message is\navailable, it is reserved for the caller.\n\nIf the channel is full, the function waits for the number of unreceived\nmessages to become less than the channel capacity. Capacity to send one\nmessage is reserved for the caller. A [`Permit`] is returned to track\nthe reserved capacity. The [`send`] function on [`Permit`] consumes the\nreserved capacity.\n\nDropping [`Permit`] without sending a message releases the capacity back\nto the channel.\n\n[`Permit`]: Permit\n[`send`]: Permit::send\n\n# Cancel safety\n\nThis channel uses a queue to ensure that calls to `send` and `reserve`\ncomplete in the order they were requested.  Cancelling a call to\n`reserve` makes you lose your place in the queue.\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(1);\n\n// Reserve capacity\nlet permit = tx.reserve().await.unwrap();\n\n// Trying to send directly on the `tx` will fail due to no\n// available capacity.\nassert!(tx.try_send(123).is_err());\n\n// Sending on the permit succeeds\npermit.send(456);\n\n// The value sent on the permit is received\nassert_eq!(rx.recv().await.unwrap(), 456);\n# }\n```","links":{"Permit::send":5239,"Permit":5228},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7316":{"id":7316,"crate_id":0,"name":null,"span":{"filename":"src/time/error.rs","begin":[46,17],"end":[46,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5554":{"id":5554,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[7,25],"end":[7,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::clone::Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5553],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3792":{"id":3792,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/abort.rs","begin":[93,1],"end":[97,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[3791],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"268":{"id":268,"crate_id":0,"name":null,"span":{"filename":"src/fs/file.rs","begin":[886,1],"end":[890,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"File","id":198,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[267],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5881":{"id":5881,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2357":{"id":2357,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"595":{"id":595,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/async_read.rs","begin":[113,5],"end":[134,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6208":{"id":6208,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2684":{"id":2684,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4446":{"id":4446,"crate_id":0,"name":null,"span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[399,1],"end":[399,48]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4773":{"id":4773,"crate_id":0,"name":"pipe","span":{"filename":"src/signal/unix.rs","begin":[183,5],"end":[185,6]},"visibility":"public","docs":"Represents the `SIGPIPE` signal.\n\nOn Unix systems this signal is sent when the process attempts to write\nto a pipe which has no reader. By default, the process is terminated by\nthis signal.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3011":{"id":3011,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6535":{"id":6535,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6862":{"id":6862,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5100":{"id":5100,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3338":{"id":3338,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2616,24],"end":[2616,28]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5427":{"id":5427,"crate_id":0,"name":"MAX_PERMITS","span":{"filename":"src/sync/semaphore.rs","begin":[479,5],"end":[479,83]},"visibility":"public","docs":"The maximum number of permits which a semaphore can hold. It is `usize::MAX >> 3`.\n\nExceeding this limit typically results in a panic.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"primitive":"usize"},"value":"super::batch_semaphore::Semaphore::MAX_PERMITS","default_unstable":null}}},"7189":{"id":7189,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"141":{"id":141,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7516":{"id":7516,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5754":{"id":5754,"crate_id":0,"name":"deref_mut","span":{"filename":"src/sync/mutex.rs","begin":[986,5],"end":[988,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"qualified_path":{"name":"Target","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":550,"args":null}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3992":{"id":3992,"crate_id":0,"name":"enable_io_uring","span":{"filename":"src/runtime/builder.rs","begin":[1839,9],"end":[1843,10]},"visibility":"public","docs":"Enables the tokio's io_uring driver.\n\nDoing this enables using io_uring operations on the runtime.\n\n# Examples\n\n```\nuse tokio::runtime;\n\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_io_uring()\n    .build()\n    .unwrap();\n```","links":{},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-uring\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6081":{"id":6081,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4319":{"id":4319,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"795":{"id":795,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/util/mem.rs","begin":[154,5],"end":[156,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2557":{"id":2557,"crate_id":0,"name":"set_tos_v4","span":{"filename":"src/net/udp.rs","begin":[2182,5],"end":[2184,6]},"visibility":"public","docs":"Sets the value for the `IP_TOS` option on this socket.\n\nThis value sets the type-of-service field that is used in every packet\nsent from this socket.\n\n# Note\n\n- This may not have any effect on IPv6 sockets.\n- On Windows, `IP_TOS` is only supported on [Windows 8+ or\n  Windows Server 2012+.](https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-ip-socket-options)","links":{},"attrs":[{"other":"#[attr = CfgTrace([Not(Any([NameValue { name: \"target_os\", value: Some(\"fuchsia\"), span: src/net/udp.rs:2164:9: 2164:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"redox\"), span: src/net/udp.rs:2165:9: 2165:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"solaris\"), span: src/net/udp.rs:2166:9: 2166:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"illumos\"), span: src/net/udp.rs:2167:9: 2167:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"haiku\"), span: src/net/udp.rs:2168:9: 2168:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/net/udp.rs:2169:9: 2169:27 (#0) }], src/net/udp.rs:2163:18: 2170:6 (#0)), src/net/udp.rs:2163:14: 2170:7 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(not(any(target_os = \"fuchsia\", target_os = \"redox\", target_os = \"solaris\", target_os = \"illumos\", target_os = \"haiku\", target_os = \"wasi\"))))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["tos",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6408":{"id":6408,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2884":{"id":2884,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/socketaddr.rs","begin":[9,10],"end":[9,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[2883],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1122":{"id":1122,"crate_id":0,"name":"new","span":{"filename":"src/io/async_fd.rs","begin":[226,5],"end":[231,6]},"visibility":"public","docs":"Creates an [`AsyncFd`] backed by (and taking ownership of) an object\nimplementing [`AsRawFd`]. The backing file descriptor is cached at the\ntime of creation.\n\nOnly configures the [`Interest::READABLE`] and [`Interest::WRITABLE`] interests. For more\ncontrol, use [`AsyncFd::with_interest`].\n\nThis method must be called in the context of a tokio runtime.\n\n# Panics\n\nThis function panics if there is no current reactor set, or if the `rt`\nfeature flag is not enabled.","links":{"`AsyncFd`":512,"`Interest::READABLE`":927,"`AsRawFd`":277,"`Interest::WRITABLE`":928,"`AsyncFd::with_interest`":1121},"attrs":[{"other":"#[attr = Inline(Hint)]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["inner",{"generic":"T"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4646":{"id":4646,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6735":{"id":6735,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[338,14],"end":[338,23]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::PartialEq","id":966,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6734],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4973":{"id":4973,"crate_id":0,"name":"wait","span":{"filename":"src/sync/barrier.rs","begin":[125,5],"end":[138,6]},"visibility":"public","docs":"Does not resolve until all tasks have rendezvoused here.\n\nBarriers are re-usable after all tasks have rendezvoused once, and can\nbe used continuously.\n\nA single (arbitrary) future will receive a [`BarrierWaitResult`] that returns `true` from\n[`BarrierWaitResult::is_leader`] when returning from this function, and all other tasks\nwill receive a result that will return `false` from `is_leader`.\n\n# Cancel safety\n\nThis method is not cancel safe.","links":{"`BarrierWaitResult::is_leader`":4976,"`BarrierWaitResult`":4975},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3211":{"id":3211,"crate_id":0,"name":"PipeMode","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2595,1],"end":[2613,2]},"visibility":"public","docs":"The pipe mode of a named pipe.\n\nSet through [`ServerOptions::pipe_mode`].","links":{"`ServerOptions::pipe_mode`":3212},"attrs":["non_exhaustive"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[],"where_predicates":[]},"has_stripped_variants":false,"variants":[3210,3283],"impls":[3284,3285,3286,3287,3288,3289,3290,3291,3292,3293,3294,3295,3296,3297,3298,3299,3300,3301,3303,3305,3306,3307,3309,3310,3312]}}},"1449":{"id":1449,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"7062":{"id":7062,"crate_id":0,"name":"TaskLocalFuture","span":{"filename":"src/task/task_local.rs","begin":[296,1],"end":[343,2]},"visibility":"public","docs":"A future that sets a value `T` of a task local for the future `F` during\nits execution.\n\nThe value of the task-local must be `'static` and will be dropped on the\ncompletion of the future.\n\nCreated by the function [`LocalKey::scope`](self::LocalKey::scope).\n\n### Examples\n\n```\n# async fn dox() {\ntokio::task_local! {\n    static NUMBER: u32;\n}\n\nNUMBER.scope(1, async move {\n    println!(\"task local value: {}\", NUMBER.get());\n}).await;\n# }\n```","links":{"self::LocalKey::scope":7061},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"}],"generic_params":[]}}]},"impls":[7092,7093,7094,7095,7096,7097,7098,7099,7100,7101,7102,7103,7104,7105,7106,7107,7108,7109,7112,7115,7117]}}},"3538":{"id":3538,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1656,5],"end":[1656,29]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(unix))]"},{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"super::ChildStdin","id":873,"args":null}},"items":[3537],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1776":{"id":1776,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5300":{"id":5300,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7389":{"id":7389,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[195,1],"end":[199,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"SubAssign","id":7390,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Duration","id":2215,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[7388],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5627":{"id":5627,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[91,1],"end":[98,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[5626],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3865":{"id":3865,"crate_id":0,"name":"Output","span":{"filename":"src/runtime/task/trace/mod.rs","begin":[335,5],"end":[335,29]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"T"},"trait":{"path":"Future","id":520,"args":null}}},"default_unstable":null}}},"341":{"id":341,"crate_id":0,"name":"attributes","span":{"filename":"src/fs/open_options.rs","begin":[788,9],"end":[791,10]},"visibility":"public","docs":"Sets the `dwFileAttributes` argument to the call to [`CreateFile2`] to\nthe specified value (or combines it with `custom_flags` and\n`security_qos_flags` to set the `dwFlagsAndAttributes` for\n[`CreateFile`]).\n\nIf a _new_ file is created because it does not yet exist and\n`.create(true)` or `.create_new(true)` are specified, the new file is\ngiven the attributes declared with `.attributes()`.\n\nIf an _existing_ file is opened with `.create(true).truncate(true)`, its\nexisting attributes are preserved and combined with the ones declared\nwith `.attributes()`.\n\nIn all other cases the attributes get ignored.\n\n# Examples\n\n```no_run\nuse windows_sys::Win32::Storage::FileSystem::FILE_ATTRIBUTE_HIDDEN;\nuse tokio::fs::OpenOptions;\n\n# #[tokio::main]\n# async fn main() -> std::io::Result<()> {\nlet file = OpenOptions::new()\n    .write(true)\n    .create(true)\n    .attributes(FILE_ATTRIBUTE_HIDDEN)\n    .open(\"foo.txt\").await?;\n# Ok(())\n# }\n```\n\n[`CreateFile`]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea\n[`CreateFile2`]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfile2","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["attributes",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2103":{"id":2103,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[286,76],"end":[286,82]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::duplex","name":"duplex","id":1870,"is_glob":false}}},"4192":{"id":4192,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2430":{"id":2430,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split_owned.rs","begin":[99,1],"end":[99,31]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"668":{"id":668,"crate_id":0,"name":"start_seek","span":{"filename":"src/io/async_seek.rs","begin":[72,5],"end":[72,24]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["pos",{"resolved_path":{"path":"SeekFrom","id":256,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5954":{"id":5954,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[1030,1],"end":[1036,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Future","id":520,"args":null},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[5952,5953],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6281":{"id":6281,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4519":{"id":4519,"crate_id":0,"name":"worker_thread_id","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[349,9],"end":[354,10]},"visibility":"public","docs":"Returns the thread id of the given worker thread.\n\nThe returned value is `None` if the worker thread has not yet finished\nstarting up.\n\nIf additional information about the thread, such as its native id, are\nrequired, those can be collected in [`on_thread_start`] and correlated\nusing the thread id.\n\n[`on_thread_start`]: crate::runtime::Builder::on_thread_start\n\n# Arguments\n\n`worker` is the index of the worker being queried. The given value must\nbe between 0 and `num_workers()`. The index uniquely identifies a single\nworker and will continue to identify the worker throughout the lifetime\nof the runtime instance.\n\n# Panics\n\nThe method panics when `worker` represents an invalid worker, i.e. is\ngreater than or equal to `num_workers()`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet id = metrics.worker_thread_id(0);\nprintln!(\"worker 0 has id {:?}\", id);\n# }\n```","links":{"crate::runtime::Builder::on_thread_start":3954},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1689) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["worker",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"ThreadId","id":4520,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"995":{"id":995,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2757":{"id":2757,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4846":{"id":4846,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3084":{"id":3084,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6608":{"id":6608,"crate_id":0,"name":"is_initializing_err","span":{"filename":"src/sync/once_cell.rs","begin":[506,5],"end":[511,6]},"visibility":"public","docs":"Whether `SetError` is `SetError::InitializingError`","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6935":{"id":6935,"crate_id":0,"name":"Output","span":{"filename":"src/task/coop/unconstrained.rs","begin":[20,5],"end":[20,41]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"Future","id":520,"args":null}}},"default_unstable":null}}},"5173":{"id":5173,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1649":{"id":1649,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_stream.rs","begin":[81,1],"end":[85,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[1648],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5500":{"id":5500,"crate_id":0,"name":"try_recv","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[286,5],"end":[288,6]},"visibility":"public","docs":"Tries to receive the next value for this receiver.\n\nThis method returns the [`Empty`] error if the channel is currently\nempty, but there are still outstanding [senders] or [permits].\n\nThis method returns the [`Disconnected`] error if the channel is\ncurrently empty, and there are no outstanding [senders] or [permits].\n\nUnlike the [`poll_recv`] method, this method will never return an\n[`Empty`] error spuriously.\n\n[`Empty`]: crate::sync::mpsc::error::TryRecvError::Empty\n[`Disconnected`]: crate::sync::mpsc::error::TryRecvError::Disconnected\n[`poll_recv`]: Self::poll_recv\n[senders]: crate::sync::mpsc::Sender\n[permits]: crate::sync::mpsc::Permit\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\nuse tokio::sync::mpsc::error::TryRecvError;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::unbounded_channel();\n\ntx.send(\"hello\").unwrap();\n\nassert_eq!(Ok(\"hello\"), rx.try_recv());\nassert_eq!(Err(TryRecvError::Empty), rx.try_recv());\n\ntx.send(\"hello\").unwrap();\n// Drop the last sender, closing the channel.\ndrop(tx);\n\nassert_eq!(Ok(\"hello\"), rx.try_recv());\nassert_eq!(Err(TryRecvError::Disconnected), rx.try_recv());\n# }\n```","links":{"crate::sync::mpsc::Permit":5228,"crate::sync::mpsc::Sender":5224,"crate::sync::mpsc::error::TryRecvError::Disconnected":5395,"Self::poll_recv":5499,"crate::sync::mpsc::error::TryRecvError::Empty":5394},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3738":{"id":3738,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1976":{"id":1976,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"214":{"id":214,"crate_id":0,"name":"from_std","span":{"filename":"src/fs/file.rs","begin":[282,5],"end":[292,6]},"visibility":"public","docs":"Converts a [`std::fs::File`] to a [`tokio::fs::File`](File).\n\n# Examples\n\n```no_run\n// This line could block. It is not recommended to do this on the Tokio\n// runtime.\nlet std_file = std::fs::File::open(\"foo.txt\").unwrap();\nlet file = tokio::fs::File::from_std(std_file);\n```","links":{"File":204,"`std::fs::File`":198},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["std",{"resolved_path":{"path":"StdFile","id":198,"args":null}}]],"output":{"resolved_path":{"path":"File","id":204,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7262":{"id":7262,"crate_id":0,"name":"is_shutdown","span":{"filename":"src/time/error.rs","begin":[63,5],"end":[65,6]},"visibility":"public","docs":"Returns `true` if the error was caused by the timer being shutdown.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5827":{"id":5827,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1272,1],"end":[1276,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"DerefMut","id":549,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5826],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2303":{"id":2303,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"541":{"id":541,"crate_id":0,"name":null,"span":{"filename":"src/io/async_buf_read.rs","begin":[77,1],"end":[79,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncBufRead","id":538,"args":null},"for":{"resolved_path":{"path":"Box","id":542,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[539,540],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4065":{"id":4065,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6154":{"id":6154,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4392":{"id":4392,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2630":{"id":2630,"crate_id":0,"name":"bind_addr","span":{"filename":"src/net/unix/listener.rs","begin":[108,5],"end":[112,6]},"visibility":"public","docs":"Creates a new `UnixListener` bound to the specified address.\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"crate::runtime::Runtime::enter":1054},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["socket_addr",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"868":{"id":868,"crate_id":0,"name":"poll_flush","span":{"filename":"src/process/mod.rs","begin":[1558,5],"end":[1560,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6481":{"id":6481,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[35,1],"end":[166,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6479,6480],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2957":{"id":2957,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1195":{"id":1195,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4719":{"id":4719,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5046":{"id":5046,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[283,5],"end":[283,62]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3284":{"id":3284,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6808":{"id":6808,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7135":{"id":7135,"crate_id":0,"name":"try_join_next","span":{"filename":"src/task/join_set.rs","begin":[323,5],"end":[340,6]},"visibility":"public","docs":"Tries to join one of the tasks in the set that has completed and return its output.\n\nReturns `None` if there are no completed tasks, or if the set is empty.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"resolved_path":{"path":"JoinError","id":3686,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3611":{"id":3611,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/process/mod.rs","begin":[1658,5],"end":[1658,30]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1849":{"id":1849,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mem.rs","begin":[215,1],"end":[325,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[1848],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5373":{"id":5373,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5700":{"id":5700,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3938":{"id":3938,"crate_id":0,"name":"Builder","span":{"filename":"src/runtime/builder.rs","begin":[55,1],"end":[155,2]},"visibility":"public","docs":"Builds Tokio Runtime with custom configuration values.\n\nMethods can be chained in order to set the configuration values. The\nRuntime is constructed by calling [`build`].\n\nNew instances of `Builder` are obtained via [`Builder::new_multi_thread`]\nor [`Builder::new_current_thread`].\n\nSee function level documentation for details on the various configuration\nsettings.\n\n[`build`]: method@Self::build\n[`Builder::new_multi_thread`]: method@Self::new_multi_thread\n[`Builder::new_current_thread`]: method@Self::new_current_thread\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Builder;\n\nfn main() {\n    // build runtime\n    let runtime = Builder::new_multi_thread()\n        .worker_threads(4)\n        .thread_name(\"my-custom-name\")\n        .thread_stack_size(3 * 1024 * 1024)\n        .build()\n        .unwrap();\n\n    // use runtime ...\n}\n# }\n```","links":{"method@Self::new_multi_thread":3936,"method@Self::new_current_thread":3937,"method@Self::build":3935},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[3987,3989,3991,3993,3995,3998,3999,4000,4001,4002,4003,4004,4005,4006,4007,4008,4009,4010,4011,4012,4013,4014,4016]}}},"2176":{"id":2176,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4265":{"id":4265,"crate_id":0,"name":"Handle","span":{"filename":"src/runtime/handle.rs","begin":[13,1],"end":[15,2]},"visibility":"public","docs":"Handle to the runtime.\n\nThe handle is internally reference-counted and can be freely cloned. A handle can be\nobtained using the [`Runtime::handle`] method.\n\n[`Runtime::handle`]: crate::runtime::Runtime::handle()","links":{"crate::runtime::Runtime::handle()":4264},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4285,4287,4288,4289,4290,4291,4292,4293,4294,4295,4296,4297,4298,4299,4300,4301,4302,4303,4305,4307,4308,4309]}}},"2503":{"id":2503,"crate_id":0,"name":"bind","span":{"filename":"src/net/udp.rs","begin":[150,5],"end":[167,6]},"visibility":"public","docs":"This function will create a new UDP socket and attempt to bind it to\nthe `addr` provided.\n\nBinding with a port number of 0 will request that the OS assigns a port\nto this listener. The port allocated can be queried via the `local_addr`\nmethod.\n\n# Example\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n#   if cfg!(miri) { return Ok(()); } // No UDP sockets in miri.\n    let sock = UdpSocket::bind(\"0.0.0.0:8080\").await?;\n    // use `sock`\n#   let _ = sock;\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["addr",{"generic":"A"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"A","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"741":{"id":741,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[405,5],"end":[411,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6027":{"id":6027,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4592":{"id":4592,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1068":{"id":1068,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2830":{"id":2830,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split_owned.rs","begin":[364,1],"end":[370,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[2829],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6681":{"id":6681,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[136,1],"end":[144,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6680],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3157":{"id":3157,"crate_id":0,"name":"from_raw_handle","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1001,5],"end":[1007,6]},"visibility":"public","docs":"Constructs a new named pipe client from the specified raw handle.\n\nThis function will consume ownership of the handle given, passing\nresponsibility for closing the handle to the returned object.\n\nThis function is also unsafe as the primitives currently returned have\nthe contract that they are the sole owner of the file descriptor they\nare wrapping. Usage of this function could accidentally allow violating\nthis contract which can cause memory unsafety in code that relies on it\nbeing true.\n\n# Errors\n\nThis errors if called outside of a [Tokio Runtime], or in a runtime that\nhas not [enabled I/O], or if any OS-specific I/O errors occur.\n\n[Tokio Runtime]: crate::runtime::Runtime\n[enabled I/O]: crate::runtime::Builder::enable_io","links":{"crate::runtime::Runtime":3112,"crate::runtime::Builder::enable_io":3113},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["handle",{"resolved_path":{"path":"RawHandle","id":290,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1395":{"id":1395,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4919":{"id":4919,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7008":{"id":7008,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5246":{"id":5246,"crate_id":0,"name":"reserve_owned","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1265,5],"end":[1270,6]},"visibility":"public","docs":"Waits for channel capacity, moving the `Sender` and returning an owned\npermit. Once capacity to send one message is available, it is reserved\nfor the caller.\n\nThis moves the sender _by value_, and returns an owned permit that can\nbe used to send a message into the channel. Unlike [`Sender::reserve`],\nthis method may be used in cases where the permit must be valid for the\n`'static` lifetime. `Sender`s may be cloned cheaply (`Sender::clone` is\nessentially a reference count increment, comparable to [`Arc::clone`]),\nso when multiple [`OwnedPermit`]s are needed or the `Sender` cannot be\nmoved, it can be cloned prior to calling `reserve_owned`.\n\nIf the channel is full, the function waits for the number of unreceived\nmessages to become less than the channel capacity. Capacity to send one\nmessage is reserved for the caller. An [`OwnedPermit`] is returned to\ntrack the reserved capacity. The [`send`] function on [`OwnedPermit`]\nconsumes the reserved capacity.\n\nDropping the [`OwnedPermit`] without sending a message releases the\ncapacity back to the channel.\n\n# Cancel safety\n\nThis channel uses a queue to ensure that calls to `send` and `reserve`\ncomplete in the order they were requested.  Cancelling a call to\n`reserve_owned` makes you lose your place in the queue.\n\n# Examples\nSending a message using an [`OwnedPermit`]:\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(1);\n\n// Reserve capacity, moving the sender.\nlet permit = tx.reserve_owned().await.unwrap();\n\n// Send a message, consuming the permit and returning\n// the moved sender.\nlet tx = permit.send(123);\n\n// The value sent on the permit is received.\nassert_eq!(rx.recv().await.unwrap(), 123);\n\n// The sender can now be used again.\ntx.send(456).await.unwrap();\n# }\n```\n\nWhen multiple [`OwnedPermit`]s are needed, or the sender cannot be moved\nby value, it can be inexpensively cloned before calling `reserve_owned`:\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(1);\n\n// Clone the sender and reserve capacity.\nlet permit = tx.clone().reserve_owned().await.unwrap();\n\n// Trying to send directly on the `tx` will fail due to no\n// available capacity.\nassert!(tx.try_send(123).is_err());\n\n// Sending on the permit succeeds.\npermit.send(456);\n\n// The value sent on the permit is received\nassert_eq!(rx.recv().await.unwrap(), 456);\n# }\n```\n\n[`Sender::reserve`]: Sender::reserve\n[`OwnedPermit`]: OwnedPermit\n[`send`]: OwnedPermit::send\n[`Arc::clone`]: std::sync::Arc::clone","links":{"std::sync::Arc::clone":5243,"OwnedPermit::send":5245,"OwnedPermit":5244,"Sender::reserve":5227},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3484":{"id":3484,"crate_id":0,"name":"try_wait","span":{"filename":"src/process/mod.rs","begin":[1413,5],"end":[1428,6]},"visibility":"public","docs":"Attempts to collect the exit status of the child if it has already\nexited.\n\nThis function will not block the calling thread and will only\ncheck to see if the child process has exited or not. If the child has\nexited then on Unix the process ID is reaped. This function is\nguaranteed to repeatedly return a successful exit status so long as the\nchild has already exited.\n\nIf the child has exited, then `Ok(Some(status))` is returned. If the\nexit status is not available at this time then `Ok(None)` is returned.\nIf an error occurs, then that error is returned.\n\nNote that unlike `wait`, this function will not attempt to drop stdin,\nnor will it wake the current task if the child exits.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"ExitStatus","id":3450,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7335":{"id":7335,"crate_id":0,"name":"saturating_duration_since","span":{"filename":"src/time/instant.rs","begin":[114,5],"end":[116,6]},"visibility":"public","docs":"Returns the amount of time elapsed from another instant to this one, or\nzero duration if that instant is later than this one.\n\n# Examples\n\n```\nuse tokio::time::{Duration, Instant, sleep};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet now = Instant::now();\nsleep(Duration::new(1, 0)).await;\nlet new_now = Instant::now();\nprintln!(\"{:?}\", new_now.saturating_duration_since(now));\nprintln!(\"{:?}\", now.saturating_duration_since(new_now)); // 0ns\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["earlier",{"resolved_path":{"path":"Instant","id":7328,"args":null}}]],"output":{"resolved_path":{"path":"Duration","id":2215,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3811":{"id":3811,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2049":{"id":2049,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[23,5],"end":[23,35]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"buf_writer::BufWriter","name":"BufWriter","id":514,"is_glob":false}}},"287":{"id":287,"crate_id":0,"name":null,"span":{"filename":"src/fs/file.rs","begin":[935,5],"end":[939,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#58) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#58) }], src/macros/cfg.rs:42:26: 42:39 (#58)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#58) }], src/macros/cfg.rs:42:22: 42:49 (#58))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[285],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5573":{"id":5573,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5900":{"id":5900,"crate_id":0,"name":"Notify","span":{"filename":"src/sync/notify.rs","begin":[199,1],"end":[212,2]},"visibility":"public","docs":"Notifies a single task to wake up.\n\n`Notify` provides a basic mechanism to notify a single task of an event.\n`Notify` itself does not carry any data. Instead, it is to be used to signal\nanother task to perform an operation.\n\nA `Notify` can be thought of as a [`Semaphore`] starting with 0 permits. The\n[`notified().await`] method waits for a permit to become available, and\n[`notify_one()`] sets a permit **if there currently are no available\npermits**.\n\nThe synchronization details of `Notify` are similar to\n[`thread::park`][park] and [`Thread::unpark`][unpark] from std. A [`Notify`]\nvalue contains a single permit. [`notified().await`] waits for the permit to\nbe made available, consumes the permit, and resumes.  [`notify_one()`] sets\nthe permit, waking a pending task if there is one.\n\nIf `notify_one()` is called **before** `notified().await`, then the next\ncall to `notified().await` will complete immediately, consuming the permit.\nAny subsequent calls to `notified().await` will wait for a new permit.\n\nIf `notify_one()` is called **multiple** times before `notified().await`,\nonly a **single** permit is stored. The next call to `notified().await` will\ncomplete immediately, but the one after will wait for a new permit.\n\n# Examples\n\nBasic usage.\n\n```\nuse tokio::sync::Notify;\nuse std::sync::Arc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet notify = Arc::new(Notify::new());\nlet notify2 = notify.clone();\n\nlet handle = tokio::spawn(async move {\n    notify2.notified().await;\n    println!(\"received notification\");\n});\n\nprintln!(\"sending notification\");\nnotify.notify_one();\n\n// Wait for task to receive notification.\nhandle.await.unwrap();\n# }\n```\n\nUnbound multi-producer single-consumer (mpsc) channel.\n\nNo wakeups can be lost when using this channel because the call to\n`notify_one()` will store a permit in the `Notify`, which the following call\nto `notified()` will consume.\n\n```\nuse tokio::sync::Notify;\n\nuse std::collections::VecDeque;\nuse std::sync::Mutex;\n\nstruct Channel<T> {\n    values: Mutex<VecDeque<T>>,\n    notify: Notify,\n}\n\nimpl<T> Channel<T> {\n    pub fn send(&self, value: T) {\n        self.values.lock().unwrap()\n            .push_back(value);\n\n        // Notify the consumer a value is available\n        self.notify.notify_one();\n    }\n\n    // This is a single-consumer channel, so several concurrent calls to\n    // `recv` are not allowed.\n    pub async fn recv(&self) -> T {\n        loop {\n            // Drain values\n            if let Some(value) = self.values.lock().unwrap().pop_front() {\n                return value;\n            }\n\n            // Wait for values to be available\n            self.notify.notified().await;\n        }\n    }\n}\n```\n\nUnbound multi-producer multi-consumer (mpmc) channel.\n\nThe call to [`enable`] is important because otherwise if you have two\ncalls to `recv` and two calls to `send` in parallel, the following could\nhappen:\n\n 1. Both calls to `try_recv` return `None`.\n 2. Both new elements are added to the vector.\n 3. The `notify_one` method is called twice, adding only a single\n    permit to the `Notify`.\n 4. Both calls to `recv` reach the `Notified` future. One of them\n    consumes the permit, and the other sleeps forever.\n\nBy adding the `Notified` futures to the list by calling `enable` before\n`try_recv`, the `notify_one` calls in step three would remove the\nfutures from the list and mark them notified instead of adding a permit\nto the `Notify`. This ensures that both futures are woken.\n\nNotice that this failure can only happen if there are two concurrent calls\nto `recv`. This is why the mpsc example above does not require a call to\n`enable`.\n\n```\nuse tokio::sync::Notify;\n\nuse std::collections::VecDeque;\nuse std::sync::Mutex;\n\nstruct Channel<T> {\n    messages: Mutex<VecDeque<T>>,\n    notify_on_sent: Notify,\n}\n\nimpl<T> Channel<T> {\n    pub fn send(&self, msg: T) {\n        let mut locked_queue = self.messages.lock().unwrap();\n        locked_queue.push_back(msg);\n        drop(locked_queue);\n\n        // Send a notification to one of the calls currently\n        // waiting in a call to `recv`.\n        self.notify_on_sent.notify_one();\n    }\n\n    pub fn try_recv(&self) -> Option<T> {\n        let mut locked_queue = self.messages.lock().unwrap();\n        locked_queue.pop_front()\n    }\n\n    pub async fn recv(&self) -> T {\n        let future = self.notify_on_sent.notified();\n        tokio::pin!(future);\n\n        loop {\n            // Make sure that no wakeup is lost if we get\n            // `None` from `try_recv`.\n            future.as_mut().enable();\n\n            if let Some(msg) = self.try_recv() {\n                return msg;\n            }\n\n            // Wait for a call to `notify_one`.\n            //\n            // This uses `.as_mut()` to avoid consuming the future,\n            // which lets us call `Pin::set` below.\n            future.as_mut().await;\n\n            // Reset the future in case another call to\n            // `try_recv` got the message before us.\n            future.set(self.notify_on_sent.notified());\n        }\n    }\n}\n```\n\n[park]: std::thread::park\n[unpark]: std::thread::Thread::unpark\n[`notified().await`]: Notify::notified()\n[`notify_one()`]: Notify::notify_one()\n[`enable`]: Notified::enable()\n[`Semaphore`]: crate::sync::Semaphore","links":{"std::thread::park":5898,"Notified::enable()":5901,"Notify::notify_one()":5897,"std::thread::Thread::unpark":5899,"`Notify`":5900,"Notify::notified()":5896,"crate::sync::Semaphore":5895},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[5907,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920,5921,5923,5925,5926,5927]}}},"2376":{"id":2376,"crate_id":0,"name":"forget","span":{"filename":"src/net/tcp/split_owned.rs","begin":[356,5],"end":[359,6]},"visibility":"public","docs":"Destroys the write half, but don't close the write half of the stream\nuntil the read half is dropped. If the read half has already been\ndropped, this closes the stream.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"614":{"id":614,"crate_id":0,"name":null,"span":{"filename":"src/io/util/empty.rs","begin":[67,1],"end":[78,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[613],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4138":{"id":4138,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4465":{"id":4465,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6227":{"id":6227,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"941":{"id":941,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4792":{"id":4792,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3030":{"id":3030,"crate_id":0,"name":"ready","span":{"filename":"src/net/unix/pipe.rs","begin":[519,5],"end":[522,6]},"visibility":"public","docs":"Waits for any of the requested ready states.\n\nThis function can be used instead of [`writable()`] to check the returned\nready set for [`Ready::WRITABLE`] and [`Ready::WRITE_CLOSED`] events.\n\nThe function may complete without the pipe being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\n[`writable()`]: Self::writable\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`Ready`":978,"Self::writable":3029,"`Ready::WRITABLE`":981,"`Ready::WRITE_CLOSED`":983},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5119":{"id":5119,"crate_id":0,"name":"error","span":{"filename":"src/sync/broadcast.rs","begin":[261,1],"end":[261,14]},"visibility":"public","docs":"Broadcast error types","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[5024,5052,5088],"is_stripped":false}}},"3357":{"id":3357,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1595":{"id":1595,"crate_id":0,"name":"write_u64_le","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an unsigned 64-bit integer in little-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_u64_le(&mut self, n: u64) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite unsigned 64-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_u64_le(918733457491587).await?;\nwriter.write_u64_le(143).await?;\n\nassert_eq!(writer, b\"\\x83\\x86\\x60\\x4d\\x95\\x43\\x03\\x00\\x8f\\x00\\x00\\x00\\x00\\x00\\x00\\x00\");\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"u64"}]],"output":{"resolved_path":{"path":"WriteU64Le","id":1596,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6881":{"id":6881,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[1469,1],"end":[1475,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Deref","id":550,"args":null},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6879,6880],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7208":{"id":7208,"crate_id":0,"name":"new","span":{"filename":"src/task/builder.rs","begin":[69,5],"end":[71,6]},"visibility":"public","docs":"Creates a new task builder.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5446":{"id":5446,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1922":{"id":1922,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"160":{"id":160,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5773":{"id":5773,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4011":{"id":4011,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"487":{"id":487,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[224,1],"end":[224,46]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::create_dir_all::create_dir_all","name":"create_dir_all","id":123,"is_glob":false}}},"2249":{"id":2249,"crate_id":0,"name":"fmt","span":{"filename":"src/net/tcp/socket.rs","begin":[990,5],"end":[992,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7535":{"id":7535,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[99,53],"end":[99,71]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"interval::MissedTickBehavior","name":"MissedTickBehavior","id":7395,"is_glob":false}}},"6100":{"id":6100,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2576":{"id":2576,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"814":{"id":814,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/net/tcp/split.rs","begin":[408,5],"end":[410,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4338":{"id":4338,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6427":{"id":6427,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[153,1],"end":[153,73]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"read_guard::RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4665":{"id":4665,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[271,5],"end":[276,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"std::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2903":{"id":2903,"crate_id":0,"name":"try_io","span":{"filename":"src/net/unix/stream.rs","begin":[765,5],"end":[773,6]},"visibility":"public","docs":"Tries to read or write from the socket using a user-provided IO operation.\n\nIf the socket is ready, the provided closure is called. The closure\nshould attempt to perform IO operation on the socket by manually\ncalling the appropriate syscall. If the operation fails because the\nsocket is not actually ready, then the closure should return a\n`WouldBlock` error and the readiness flag is cleared. The return value\nof the closure is then returned by `try_io`.\n\nIf the socket is not ready, then the closure is not called\nand a `WouldBlock` error is returned.\n\nThe closure should only return a `WouldBlock` error if it has performed\nan IO operation on the socket that failed due to the socket not being\nready. Returning a `WouldBlock` error in any other situation will\nincorrectly clear the readiness flag, which can cause the socket to\nbehave incorrectly.\n\nThe closure should not perform the IO operation using any of the methods\ndefined on the Tokio `UnixStream` type, as this will mess with the\nreadiness flag and can cause the socket to behave incorrectly.\n\nThis method is not intended to be used with combined interests.\nThe closure should perform only one type of IO operation, so it should not\nrequire more than one ready state. This method may panic or sleep forever\nif it is called with a combined interest.\n\nUsually, [`readable()`], [`writable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: UnixStream::readable()\n[`writable()`]: UnixStream::writable()\n[`ready()`]: UnixStream::ready()","links":{"UnixStream::readable()":2894,"UnixStream::writable()":2899,"UnixStream::ready()":2708},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnOnce() -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6754":{"id":6754,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3230":{"id":3230,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4992":{"id":4992,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7081":{"id":7081,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5319":{"id":5319,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3557":{"id":3557,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1795":{"id":1795,"crate_id":0,"name":null,"span":{"filename":"src/io/util/lines.rs","begin":[44,1],"end":[92,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[1475,1792,1793,1794],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7408":{"id":7408,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3884":{"id":3884,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2122":{"id":2122,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[287,98],"end":[287,102]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::Take","name":"Take","id":583,"is_glob":false}}},"360":{"id":360,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5646":{"id":5646,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5973":{"id":5973,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"687":{"id":687,"crate_id":0,"name":"poll_complete","span":{"filename":"src/io/util/empty.rs","begin":[143,5],"end":[147,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u64"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2449":{"id":2449,"crate_id":0,"name":"try_io","span":{"filename":"src/net/tcp/stream.rs","begin":[1022,5],"end":[1030,6]},"visibility":"public","docs":"Tries to read or write from the socket using a user-provided IO operation.\n\nIf the socket is ready, the provided closure is called. The closure\nshould attempt to perform IO operation on the socket by manually\ncalling the appropriate syscall. If the operation fails because the\nsocket is not actually ready, then the closure should return a\n`WouldBlock` error and the readiness flag is cleared. The return value\nof the closure is then returned by `try_io`.\n\nIf the socket is not ready, then the closure is not called\nand a `WouldBlock` error is returned.\n\nThe closure should only return a `WouldBlock` error if it has performed\nan IO operation on the socket that failed due to the socket not being\nready. Returning a `WouldBlock` error in any other situation will\nincorrectly clear the readiness flag, which can cause the socket to\nbehave incorrectly.\n\nThe closure should not perform the IO operation using any of the methods\ndefined on the Tokio `TcpStream` type, as this will mess with the\nreadiness flag and can cause the socket to behave incorrectly.\n\nThis method is not intended to be used with combined interests.\nThe closure should perform only one type of IO operation, so it should not\nrequire more than one ready state. This method may panic or sleep forever\nif it is called with a combined interest.\n\nUsually, [`readable()`], [`writable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: TcpStream::readable()\n[`writable()`]: TcpStream::writable()\n[`ready()`]: TcpStream::ready()","links":{"TcpStream::writable()":2445,"TcpStream::readable()":2440,"TcpStream::ready()":2279},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnOnce() -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4538":{"id":4538,"crate_id":0,"name":"schedule_latency_histogram_enabled","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[1063,9],"end":[1065,10]},"visibility":"public","docs":"Returns `true` if the runtime is tracking the distribution of task\nschedule latencies.\n\nTask schedule latencies are not instrumented by default as doing so\nrequires calling [`Instant::now()`] when a task is scheduled and when\nit is polled. The feature is enabled by calling\n[`enable_metrics_schedule_latency_histogram()`] when building the runtime.\n\n# Examples\n\n```\nuse tokio::runtime::{self, Handle};\n\nfn main() {\n    runtime::Builder::new_current_thread()\n        .enable_metrics_schedule_latency_histogram()\n        .build()\n        .unwrap()\n        .block_on(async {\n            let metrics = Handle::current().metrics();\n            let enabled = metrics.schedule_latency_histogram_enabled();\n\n            println!(\"Tracking task schedule latency distribution: {:?}\", enabled);\n        });\n}\n```\n\n[`enable_metrics_schedule_latency_histogram()`]: crate::runtime::Builder::enable_metrics_schedule_latency_histogram\n[`Instant::now()`]: std::time::Instant::now","links":{"crate::runtime::Builder::enable_metrics_schedule_latency_histogram":3997,"std::time::Instant::now":3975},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"schedule-latency\"), span: src/runtime/metrics/runtime.rs:1033:12: 1033:40 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"schedule-latency\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2776":{"id":2776,"crate_id":0,"name":"local_addr","span":{"filename":"src/net/unix/split_owned.rs","begin":[240,5],"end":[242,6]},"visibility":"public","docs":"Returns the socket address of the local half of this connection.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1014":{"id":1014,"crate_id":0,"name":null,"span":{"filename":"src/io/ready.rs","begin":[20,10],"end":[20,15]},"visibility":"default","docs":null,"links":{},"attrs":["automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[1013],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6300":{"id":6300,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/rwlock/owned_read_guard.rs","begin":[190,5],"end":[192,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6627":{"id":6627,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/once_cell.rs","begin":[474,10],"end":[474,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4865":{"id":4865,"crate_id":0,"name":"CtrlBreak","span":{"filename":"src/signal/windows.rs","begin":[145,1],"end":[147,2]},"visibility":"public","docs":"Represents a listener which receives \"ctrl-break\" notifications sent to the process\nvia `SetConsoleCtrlHandler`.\n\nThis listener can be turned into a `Stream` using [`CtrlBreakStream`].\n\n[`CtrlBreakStream`]: https://docs.rs/tokio-stream/latest/tokio_stream/wrappers/struct.CtrlBreakStream.html\n\nA notification to this process notifies *all* receivers for\nthis event. Moreover, the notifications **are coalesced** if they aren't processed\nquickly enough. This means that if two notifications are received back-to-back,\nthen the listener may only receive one item about the two notifications.","links":{},"attrs":[{"must_use":{"reason":"listeners do nothing unless polled"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4868,4869,4870,4871,4872,4873,4874,4875,4876,4877,4878,4879,4880,4881,4882,4883,4884,4886]}}},"1341":{"id":1341,"crate_id":0,"name":"fmt","span":{"filename":"src/io/stdin.rs","begin":[28,14],"end":[28,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3103":{"id":3103,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/mod.rs","begin":[16,54],"end":[16,66]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"split_owned::ReuniteError","name":"ReuniteError","id":2769,"is_glob":false}}},"5192":{"id":5192,"crate_id":0,"name":"same_channel","span":{"filename":"src/sync/broadcast.rs","begin":[1252,5],"end":[1254,6]},"visibility":"public","docs":"Returns `true` if receivers belong to the same channel.\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = broadcast::channel::<()>(16);\nlet rx2 = tx.subscribe();\n\nassert!(rx.same_channel(&rx2));\n\nlet (_tx3, rx3) = broadcast::channel::<()>(16);\n\nassert!(!rx3.same_channel(&rx2));\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3430":{"id":3430,"crate_id":0,"name":"env","span":{"filename":"src/process/mod.rs","begin":[444,5],"end":[451,6]},"visibility":"public","docs":"Inserts or updates an environment variable mapping.\n\nNote that environment variable names are case-insensitive (but case-preserving) on Windows,\nand case-sensitive on all other platforms.\n\n# Examples\n\nBasic usage:\n\n```no_run\n# async fn test() { // allow using await\nuse tokio::process::Command;\n\nlet output = Command::new(\"ls\")\n        .env(\"PATH\", \"/bin\")\n        .output().await.unwrap();\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["key",{"generic":"K"}],["val",{"generic":"V"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[{"name":"K","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"V","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"K"},"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"V"},"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1668":{"id":1668,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"6954":{"id":6954,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7281":{"id":7281,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5519":{"id":5519,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1995":{"id":1995,"crate_id":0,"name":"get_ref","span":{"filename":"src/io/util/take.rs","begin":[50,5],"end":[52,6]},"visibility":"public","docs":"Gets a reference to the underlying reader.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"R"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"233":{"id":233,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3757":{"id":3757,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/id.rs","begin":[31,40],"end":[31,49]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[3756],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5846":{"id":5846,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4084":{"id":4084,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2322":{"id":2322,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"560":{"id":560,"crate_id":0,"name":null,"span":{"filename":"src/io/join.rs","begin":[119,1],"end":[130,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"AsyncBufRead","id":538,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[558,559],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7608":{"id":7608,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6173":{"id":6173,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/batch_semaphore.rs","begin":[727,5],"end":[729,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2649":{"id":2649,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"887":{"id":887,"crate_id":0,"name":"assume_init","span":{"filename":"src/io/read_buf.rs","begin":[236,5],"end":[241,6]},"visibility":"public","docs":"Asserts that the first `n` unfilled bytes of the buffer are initialized.\n\n`ReadBuf` assumes that bytes are never de-initialized, so this method does nothing when called with fewer\nbytes than are already known to be initialized.\n\n# Safety\n\nThe caller must ensure that `n` unfilled bytes of the buffer have already been initialized.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4411":{"id":4411,"crate_id":0,"name":"is_rt_shutdown_err","span":{"filename":"src/runtime/runtime.rs","begin":[580,1],"end":[588,2]},"visibility":"public","docs":"Checks whether the given error was emitted by Tokio when shutting down its runtime.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Runtime;\nuse tokio::net::TcpListener;\n\nfn main() {\n    let rt1 = Runtime::new().unwrap();\n    let rt2 = Runtime::new().unwrap();\n\n    let listener = rt1.block_on(async {\n        TcpListener::bind(\"127.0.0.1:0\").await.unwrap()\n    });\n\n    drop(rt1);\n\n    rt2.block_on(async {\n        let res = listener.accept().await;\n        assert!(res.is_err());\n        assert!(tokio::runtime::is_rt_shutdown_err(res.as_ref().unwrap_err()));\n    });\n}\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["err",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4738":{"id":4738,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[559,9],"end":[559,47]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:609:19: 609:33 (#1609) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::builder::UnhandledPanic","name":"UnhandledPanic","id":3971,"is_glob":false}}},"2976":{"id":2976,"crate_id":0,"name":"clone","span":{"filename":"src/net/unix/ucred.rs","begin":[4,16],"end":[4,21]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1214":{"id":1214,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6500":{"id":6500,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[168,1],"end":[174,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Deref","id":550,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6498,6499],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6827":{"id":6827,"crate_id":0,"name":"sender_count","span":{"filename":"src/sync/watch.rs","begin":[1437,5],"end":[1439,6]},"visibility":"public","docs":"Returns the number of senders that currently exist.\n\n# Examples\n\n```\nuse tokio::sync::watch;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx1, rx) = watch::channel(\"hello\");\n\nassert_eq!(1, tx1.sender_count());\n\nlet tx2 = tx1.clone();\n\nassert_eq!(2, tx1.sender_count());\nassert_eq!(2, tx2.sender_count());\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3303":{"id":3303,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2593,10],"end":[2593,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[3302],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1541":{"id":1541,"crate_id":0,"name":"ReadToEnd","span":{"filename":"src/io/util/read_to_end.rs","begin":[12,1],"end":[25,2]},"visibility":"public","docs":null,"links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"5065":{"id":5065,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5392":{"id":5392,"crate_id":0,"name":"recv","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[243,5],"end":[246,6]},"visibility":"public","docs":"Receives the next value for this receiver.\n\nThis method returns `None` if the channel has been closed and there are\nno remaining messages in the channel's buffer. This indicates that no\nfurther values can ever be received from this `Receiver`. The channel is\nclosed when all senders have been dropped, or when [`close`] is called.\n\nIf there are no messages in the channel's buffer, but the channel has\nnot yet been closed, this method will sleep until a message is sent or\nthe channel is closed.  Note that if [`close`] is called, but there are\nstill outstanding [`Permits`] from before it was closed, the channel is\nnot considered closed by `recv` until the permits are released.\n\n# Cancel safety\n\nThis method is cancel safe. If `recv` is used as a branch in\n[`tokio::select!`](crate::select) and another branch completes first,\nit is guaranteed that no messages were received on this\nchannel.\n\n[`close`]: Self::close\n[`Permits`]: struct@crate::sync::mpsc::Permit\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(100);\n\ntokio::spawn(async move {\n    tx.send(\"hello\").await.unwrap();\n});\n\nassert_eq!(Some(\"hello\"), rx.recv().await);\nassert_eq!(None, rx.recv().await);\n# }\n```\n\nValues are buffered:\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(100);\n\ntx.send(\"hello\").await.unwrap();\ntx.send(\"world\").await.unwrap();\n\nassert_eq!(Some(\"hello\"), rx.recv().await);\nassert_eq!(Some(\"world\"), rx.recv().await);\n# }\n```","links":{"struct@crate::sync::mpsc::Permit":5228,"Self::close":5225,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7154":{"id":7154,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1868":{"id":1868,"crate_id":0,"name":"fmt","span":{"filename":"src/io/util/mem.rs","begin":[75,10],"end":[75,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7481":{"id":7481,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3957":{"id":3957,"crate_id":0,"name":"on_thread_unpark","span":{"filename":"src/runtime/builder.rs","begin":[853,5],"end":[859,6]},"visibility":"public","docs":"Executes function `f` just after a thread unparks (starts executing tasks).\n\nThis is intended for bookkeeping and monitoring use cases; note that work\nin this callback will increase latencies when the application has allowed one or\nmore runtime threads to go idle.\n\nNote: There can only be one unpark callback for a runtime; calling this function\nmore than once replaces the last callback defined, rather than adding to it.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n# use tokio::runtime;\n# pub fn main() {\nlet runtime = runtime::Builder::new_multi_thread()\n    .on_thread_unpark(|| {\n        println!(\"thread unparking\");\n    })\n    .build();\n\nruntime.unwrap().block_on(async {\n   tokio::task::yield_now().await;\n   println!(\"Hello from Tokio!\");\n})\n# }\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([Not(NameValue { name: \"loom\", value: None, span: src/runtime/builder.rs:852:15: 852:19 (#0) }, src/runtime/builder.rs:852:14: 852:20 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Fn","id":3952,"args":{"parenthesized":{"inputs":[],"output":null}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2195":{"id":2195,"crate_id":0,"name":"as_socket","span":{"filename":"src/net/tcp/listener.rs","begin":[455,9],"end":[457,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedSocket","id":2196,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"433":{"id":433,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5719":{"id":5719,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[795,1],"end":[799,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5718],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6046":{"id":6046,"crate_id":0,"name":"eq","span":{"filename":"src/sync/oneshot.rs","begin":[351,25],"end":[351,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4284":{"id":4284,"crate_id":0,"name":"RuntimeMetrics","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[20,1],"end":[22,2]},"visibility":"public","docs":"Handle to the runtime's metrics.\n\nThis handle is internally reference-counted and can be freely cloned. A\n`RuntimeMetrics` handle is obtained using the [`Runtime::metrics`] method.\n\n[`Runtime::metrics`]: crate::runtime::Runtime::metrics()","links":{"crate::runtime::Runtime::metrics()":4365},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4545,4546,4547,4548,4549,4550,4551,4552,4553,4554,4555,4556,4557,4558,4559,4560,4561,4562,4563,4565,4567]}}},"760":{"id":760,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/split.rs","begin":[146,5],"end":[148,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2522":{"id":2522,"crate_id":0,"name":"readable","span":{"filename":"src/net/udp.rs","begin":[715,5],"end":[718,6]},"visibility":"public","docs":"Waits for the socket to become readable.\n\nThis function is equivalent to `ready(Interest::READABLE)` and is usually\npaired with `try_recv()`.\n\nThe function may complete without the socket being readable. This is a\nfalse-positive and attempting a `try_recv()` will return with\n`io::ErrorKind::WouldBlock`.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read that fails with `WouldBlock` or\n`Poll::Pending`.\n\n# Examples\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Connect to a peer\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n    socket.connect(\"127.0.0.1:8081\").await?;\n\n    loop {\n        // Wait for the socket to be readable\n        socket.readable().await?;\n\n        // The buffer is **not** included in the async task and will\n        // only exist on the stack.\n        let mut buf = [0; 1024];\n\n        // Try to recv data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match socket.try_recv(&mut buf) {\n            Ok(n) => {\n                println!(\"GOT {:?}\", &buf[..n]);\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e);\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6373":{"id":6373,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2849":{"id":2849,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1087":{"id":1087,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4611":{"id":4611,"crate_id":0,"name":"min_value","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[211,5],"end":[214,6]},"visibility":"public","docs":"Sets the minimum duration that can be accurately stored by this histogram.\n\nThis sets the resolution. The first bucket will be no larger than\nthe provided duration. Setting this value will reduce the number of required buckets,\nsometimes quite significantly.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["duration",{"resolved_path":{"path":"Duration","id":2215,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6700":{"id":6700,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1414":{"id":1414,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3176":{"id":3176,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7027":{"id":7027,"crate_id":0,"name":"poll","span":{"filename":"src/task/local.rs","begin":[944,5],"end":[967,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"std::task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3503":{"id":3503,"crate_id":0,"name":"fmt","span":{"filename":"src/process/mod.rs","begin":[1175,10],"end":[1175,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1741":{"id":1741,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5265":{"id":5265,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7354":{"id":7354,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5592":{"id":5592,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[27,32],"end":[27,36]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::marker::Copy","id":959,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4157":{"id":4157,"crate_id":0,"name":"symbol_address","span":{"filename":"src/runtime/dump.rs","begin":[139,5],"end":[141,6]},"visibility":"public","docs":"Returns the starting symbol address of the frame of this function.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"raw_pointer":{"is_mutable":true,"type":{"resolved_path":{"path":"std::ffi::c_void","id":3225,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2395":{"id":2395,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"633":{"id":633,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/stream.rs","begin":[1476,1],"end":[1484,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[632],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5919":{"id":5919,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6246":{"id":6246,"crate_id":0,"name":null,"span":{"filename":"src/sync/semaphore.rs","begin":[1109,1],"end":[1223,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[6241,6242,6243,6244,6245],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4484":{"id":4484,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"960":{"id":960,"crate_id":0,"name":null,"span":{"filename":"src/io/interest.rs","begin":[28,23],"end":[28,25]},"visibility":"default","docs":null,"links":{},"attrs":["automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2722":{"id":2722,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"4811":{"id":4811,"crate_id":0,"name":"from","span":{"filename":"src/signal/unix.rs","begin":[236,5],"end":[238,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["kind",{"resolved_path":{"path":"SignalKind","id":4764,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3049":{"id":3049,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1287":{"id":1287,"crate_id":0,"name":"unix","span":{"filename":"src/io/mod.rs","begin":[258,5],"end":[258,17]},"visibility":"public","docs":"Asynchronous IO structures specific to Unix-like operating systems.","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:377:23: 377:27 (#212) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:377:29: 377:44 (#212) }], src/macros/cfg.rs:377:22: 377:45 (#212))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[1282,1283,1284,1285,1286],"is_stripped":false}}},"6573":{"id":6573,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6900":{"id":6900,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[484,5],"end":[484,49]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"rwlock::read_guard::RwLockReadGuard","name":"RwLockReadGuard","id":6398,"is_glob":false}}},"5138":{"id":5138,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3376":{"id":3376,"crate_id":0,"name":null,"span":{"filename":"src/net/mod.rs","begin":[43,5],"end":[43,40]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:336:19: 336:34 (#464) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"tcp::listener::TcpListener","name":"TcpListener","id":2154,"is_glob":false}}},"5465":{"id":5465,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[58,5],"end":[62,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3703":{"id":3703,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7227":{"id":7227,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5792":{"id":5792,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mutex.rs","begin":[1174,5],"end":[1176,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2268":{"id":2268,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/socket.rs","begin":[1052,5],"end":[1063,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#476) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#476) }], src/macros/cfg.rs:42:26: 42:39 (#476)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#476) }], src/macros/cfg.rs:42:22: 42:49 (#476))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"FromRawSocket","id":2269,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[2267],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"506":{"id":506,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[275,1],"end":[275,26]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::copy::copy","name":"copy","id":472,"is_glob":false}}},"4030":{"id":4030,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6119":{"id":6119,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[1268,1],"end":[1297,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Future","id":520,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6117,6118],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2595":{"id":2595,"crate_id":0,"name":null,"span":{"filename":"src/net/udp.rs","begin":[2353,5],"end":[2357,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#500) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#500) }], src/macros/cfg.rs:42:26: 42:39 (#500)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#500) }], src/macros/cfg.rs:42:22: 42:49 (#500))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsSocket","id":2198,"args":null},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[2594],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"833":{"id":833,"crate_id":0,"name":"poll_flush","span":{"filename":"src/net/unix/split.rs","begin":[312,5],"end":[314,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6446":{"id":6446,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2922":{"id":2922,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1160":{"id":1160,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4684":{"id":4684,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6773":{"id":6773,"crate_id":0,"name":"error","span":{"filename":"src/sync/watch.rs","begin":[331,1],"end":[331,14]},"visibility":"public","docs":"Watch error types.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[6713,6746],"is_stripped":false}}},"5011":{"id":5011,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1487":{"id":1487,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[357,1],"end":[357,56]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["read_until","read_line","split","fill_buf","consume","lines"],"trait":{"path":"AsyncBufReadExt","id":537,"args":null},"for":{"generic":"R"},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7100":{"id":7100,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3576":{"id":3576,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1657,5],"end":[1657,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(unix))]"},{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"super::ChildStdout","id":655,"args":null}},"items":[3575],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1814":{"id":1814,"crate_id":0,"name":null,"span":{"filename":"src/io/util/lines.rs","begin":[20,14],"end":[20,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[1813],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5338":{"id":5338,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7427":{"id":7427,"crate_id":0,"name":"eq","span":{"filename":"src/time/interval.rs","begin":[175,30],"end":[175,39]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5665":{"id":5665,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[167,5],"end":[167,45]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:583:19: 583:35 (#2155) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2141":{"id":2141,"crate_id":0,"name":null,"span":{"filename":"src/net/addr.rs","begin":[118,1],"end":[118,42]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"for":{"tuple":[{"resolved_path":{"path":"std::net::Ipv6Addr","id":2142,"args":null}},{"primitive":"u16"}]},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"379":{"id":379,"crate_id":0,"name":"spawn_blocking","span":{"filename":"src/task/blocking.rs","begin":[220,5],"end":[226,6]},"visibility":"public","docs":"Runs the provided closure on a thread where blocking is acceptable.\n\nIn general, issuing a blocking call or performing a lot of compute in a\nfuture without yielding is problematic, as it may prevent the executor from\ndriving other futures forward. This function runs the provided closure on a\nthread dedicated to blocking operations. See the [CPU-bound tasks and\nblocking code][blocking] section for more information.\n\nTokio will spawn more blocking threads when they are requested through this\nfunction until the upper limit configured on the [`Builder`] is reached.\nAfter reaching the upper limit, the tasks are put in a queue.\nThe thread limit is very large by default, because `spawn_blocking` is often\nused for various kinds of IO operations that cannot be performed\nasynchronously.  When you run CPU-bound code using `spawn_blocking`, you\nshould keep this large upper limit in mind. When running many CPU-bound\ncomputations, a semaphore or some other synchronization primitive should be\nused to limit the number of computations executed in parallel. Specialized\nCPU-bound executors, such as [rayon], may also be a good fit.\n\nThis function is intended for non-async operations that eventually finish on\ntheir own. If you want to spawn an ordinary thread, you should use\n[`thread::spawn`] instead.\n\nBe aware that tasks spawned using `spawn_blocking` cannot be aborted\nbecause they are not async. If you call [`abort`] on a `spawn_blocking`\ntask, then this *will not have any effect*, and the task will continue\nrunning normally. The exception is if the task has not started running\nyet; in that case, calling `abort` may prevent the task from starting.\n\nWhen you shut down the executor, it will attempt to `abort` all tasks\nincluding `spawn_blocking` tasks. However, `spawn_blocking` tasks\ncannot be aborted once they start running, which means that runtime\nshutdown will wait indefinitely for all started `spawn_blocking` to\nfinish running. You can use [`shutdown_timeout`] to stop waiting for\nthem after a certain timeout. Be aware that this will still not cancel\nthe tasks — they are simply allowed to keep running after the method\nreturns. It is possible for a blocking task to be cancelled if it has\nnot yet started running, but this is not guaranteed.\n\n# When to use `spawn_blocking` vs dedicated threads\n\n`spawn_blocking` is intended for *bounded* blocking work that eventually finishes.\nEach call occupies a thread from the runtime's blocking thread pool for the duration\nof the task. Long-lived tasks therefore reduce the pool's effective capacity, which\ncan delay other blocking operations once the pool is saturated and work is queued.\n\nFor workloads that run indefinitely or for extended periods (for example,\nbackground workers or persistent processing loops), prefer a dedicated thread created with\n[`thread::spawn`].\n\nAs a rule of thumb:\n- Use `spawn_blocking` for short-lived blocking operations\n- Use dedicated threads for long-lived or persistent blocking workloads\n\nNote that if you are using the single threaded runtime, this function will\nstill spawn additional threads for blocking operations. The current-thread\nscheduler's single thread is only used for asynchronous code.\n\n# Related APIs and patterns for bridging asynchronous and blocking code\n\nIn simple cases, it is sufficient to have the closure accept input\nparameters at creation time and return a single value (or struct/tuple, etc.).\n\nFor more complex situations in which it is desirable to stream data to or from\nthe synchronous context, the [`mpsc channel`] has `blocking_send` and\n`blocking_recv` methods for use in non-async code such as the thread created\nby `spawn_blocking`.\n\nAnother option is [`SyncIoBridge`] for cases where the synchronous context\nis operating on byte streams.  For example, you might use an asynchronous\nHTTP client such as [hyper] to fetch data, but perform complex parsing\nof the payload body using a library written for synchronous I/O.\n\nFinally, see also [Bridging with sync code][bridgesync] for discussions\naround the opposite case of using Tokio as part of a larger synchronous\ncodebase.\n\n[`Builder`]: struct@crate::runtime::Builder\n[blocking]: ../index.html#cpu-bound-tasks-and-blocking-code\n[rayon]: https://docs.rs/rayon\n[`mpsc channel`]: crate::sync::mpsc\n[`SyncIoBridge`]: https://docs.rs/tokio-util/latest/tokio_util/io/struct.SyncIoBridge.html\n[hyper]: https://docs.rs/hyper\n[`thread::spawn`]: fn@std::thread::spawn\n[`shutdown_timeout`]: fn@crate::runtime::Runtime::shutdown_timeout\n[bridgesync]: https://tokio.rs/tokio/topics/bridging\n[`AtomicBool`]: struct@std::sync::atomic::AtomicBool\n[`abort`]: crate::task::JoinHandle::abort\n\n# Examples\n\nPass an input value and receive result of computation:\n\n```\nuse tokio::task;\n\n# async fn docs() -> Result<(), Box<dyn std::error::Error>>{\n// Initial input\nlet mut v = \"Hello, \".to_string();\nlet res = task::spawn_blocking(move || {\n    // Stand-in for compute-heavy work or using synchronous APIs\n    v.push_str(\"world\");\n    // Pass ownership of the value back to the asynchronous context\n    v\n}).await?;\n\n// `res` is the value returned from the thread\nassert_eq!(res.as_str(), \"Hello, world\");\n# Ok(())\n# }\n```\n\nUse a channel:\n\n```\nuse tokio::task;\nuse tokio::sync::mpsc;\n\n# async fn docs() {\nlet (tx, mut rx) = mpsc::channel(2);\nlet start = 5;\nlet worker = task::spawn_blocking(move || {\n    for x in 0..10 {\n        // Stand in for complex computation\n        tx.blocking_send(start + x).unwrap();\n    }\n});\n\nlet mut acc = 0;\nwhile let Some(v) = rx.recv().await {\n    acc += v;\n}\nassert_eq!(acc, 95);\nworker.await.unwrap();\n# }\n```","links":{"fn@std::thread::spawn":6908,"crate::sync::mpsc":5680,"fn@crate::runtime::Runtime::shutdown_timeout":4275,"crate::task::JoinHandle::abort":3767,"struct@crate::runtime::Builder":3938},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4206) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"crate::task::JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"R"}}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4230":{"id":4230,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2468":{"id":2468,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"706":{"id":706,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[216,5],"end":[216,25]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5992":{"id":5992,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6319":{"id":6319,"crate_id":0,"name":"try_downgrade_map","span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[269,5],"end":[312,6]},"visibility":"public","docs":"Attempts to make a new [`OwnedRwLockReadGuard`] for a component of\nthe locked data. The original guard is returned if the closure returns\n`None`.\n\nThis operation cannot fail as the `OwnedRwLockWriteGuard` passed in already\nlocked the data.\n\nThis is an associated function that needs to be\nused as `OwnedRwLockWriteGuard::try_downgrade_map(...)`. A method would interfere with\nmethods of the same name on the contents of the locked data.\n\nInside of `f`, you retain exclusive access to the data, despite only being given a `&T`. Handing out a\n`&mut T` would result in unsoundness, as you could use interior mutability.\n\nIf this function returns `Err(...)`, the lock is never unlocked nor downgraded.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::{RwLock, OwnedRwLockWriteGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(Foo(1)));\n\nlet guard = Arc::clone(&lock).write_owned().await;\nlet guard = OwnedRwLockWriteGuard::try_downgrade_map(guard, |f| Some(&f.0)).expect(\"should not fail\");\nlet foo = lock.read_owned().await;\nassert_eq!(foo.0, *guard);\n# }\n```","links":{"`OwnedRwLockReadGuard`":6274},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}}},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"U"}}}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4557":{"id":4557,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1033":{"id":1033,"crate_id":0,"name":"bitand","span":{"filename":"src/io/ready.rs","begin":[293,5],"end":[295,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["other",{"resolved_path":{"path":"Ready","id":978,"args":null}}]],"output":{"resolved_path":{"path":"Ready","id":978,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2795":{"id":2795,"crate_id":0,"name":"fmt","span":{"filename":"src/net/unix/split_owned.rs","begin":[34,10],"end":[34,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4884":{"id":4884,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3122":{"id":3122,"crate_id":0,"name":"try_read_vectored","span":{"filename":"src/net/windows/named_pipe.rs","begin":[535,5],"end":[539,6]},"visibility":"public","docs":"Tries to read data from the pipe into the provided buffers, returning\nhow many bytes were read.\n\nData is copied to fill each buffer in order, with the final buffer\nwritten to possibly being only partially filled. This method behaves\nequivalently to a single call to [`try_read()`] with concatenated\nbuffers.\n\nReceives any pending data from the pipe but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_vectored()` is non-blocking, the buffer does not have to be\nstored by the async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`try_read()`]: NamedPipeServer::try_read()\n[`readable()`]: NamedPipeServer::readable()\n[`ready()`]: NamedPipeServer::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the pipe's read half is closed\nand will no longer yield data. If the pipe is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io::{self, IoSliceMut};\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-server-try-read-vectored\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let server = named_pipe::ServerOptions::new()\n        .create(PIPE_NAME)?;\n\n    loop {\n        // Wait for the pipe to be readable\n        server.readable().await?;\n\n        // Creating the buffer **after** the `await` prevents it from\n        // being stored in the async task.\n        let mut buf_a = [0; 512];\n        let mut buf_b = [0; 1024];\n        let mut bufs = [\n            IoSliceMut::new(&mut buf_a),\n            IoSliceMut::new(&mut buf_b),\n        ];\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match server.try_read_vectored(&mut bufs) {\n            Ok(0) => break,\n            Ok(n) => {\n                println!(\"read {} bytes\", n);\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"NamedPipeServer::try_read()":3121,"NamedPipeServer::ready()":3118,"NamedPipeServer::readable()":3119},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"resolved_path":{"path":"io::IoSliceMut","id":2282,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1360":{"id":1360,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6646":{"id":6646,"crate_id":0,"name":"get","span":{"filename":"src/sync/set_once.rs","begin":[263,5],"end":[271,6]},"visibility":"public","docs":"Returns a reference to the value currently stored in the `SetOnce`, or\n`None` if the `SetOnce` is empty.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6973":{"id":6973,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5211":{"id":5211,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5538":{"id":5538,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3776":{"id":3776,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2014":{"id":2014,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"252":{"id":252,"crate_id":0,"name":"ReadBuf","span":{"filename":"src/io/read_buf.rs","begin":[23,1],"end":[27,2]},"visibility":"public","docs":"A wrapper around a byte buffer that is incrementally filled and initialized.\n\nThis type is a sort of \"double cursor\". It tracks three regions in the\nbuffer: a region at the beginning of the buffer that has been logically\nfilled with data, a region that has been initialized at some point but not\nyet logically filled, and a region at the end that may be uninitialized.\nThe filled region is guaranteed to be a subset of the initialized region.\n\nIn summary, the contents of the buffer can be visualized as:\n\n```not_rust\n[             capacity              ]\n[ filled |         unfilled         ]\n[    initialized    | uninitialized ]\n```\n\nIt is undefined behavior to de-initialize any bytes from the uninitialized\nregion, since it is merely unknown whether this region is uninitialized or\nnot, and if part of it turns out to be initialized, it must stay initialized.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"impls":[897,898,899,900,901,902,903,904,905,906,907,908,909,910,911,912,913,918,921]}}},"7300":{"id":7300,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5865":{"id":5865,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mutex.rs","begin":[1393,5],"end":[1395,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2341":{"id":2341,"crate_id":0,"name":"ReuniteError","span":{"filename":"src/net/tcp/split_owned.rs","begin":[88,1],"end":[88,64]},"visibility":"public","docs":"Error indicating that two halves were not from the same socket, and thus could\nnot be reunited.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[2407,2408]},"generics":{"params":[],"where_predicates":[]},"impls":[2409,2410,2411,2412,2413,2414,2415,2416,2417,2418,2419,2420,2421,2422,2423,2424,2425,2427,2429,2430]}}},"579":{"id":579,"crate_id":0,"name":"Empty","span":{"filename":"src/io/util/empty.rs","begin":[20,5],"end":[22,6]},"visibility":"public","docs":"`Empty` ignores any data written via [`AsyncWrite`], and will always be empty\n(returning zero bytes) when read via [`AsyncRead`].\n\nThis struct is generally created by calling [`empty`]. Please see\nthe documentation of [`empty()`][`empty`] for more details.\n\nThis is an asynchronous version of [`std::io::empty`][std].\n\n[`empty`]: fn@empty\n[std]: std::io::empty","links":{"fn@empty":1760,"std::io::empty":1761,"`AsyncWrite`":225,"`AsyncRead`":224},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#304) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[1762,1763,1764,1765,1766,1767,1768,1769,1770,1771,1772,1773,1774,1775,1776,1777,1778,1779,1780,1781,614,578,792,688,1783]}}},"4103":{"id":4103,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7627":{"id":7627,"crate_id":0,"name":"reregister","span":{"filename":"src/doc/mod.rs","begin":[33,5],"end":[40,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["_registry",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"mio::Registry","id":7624,"args":null}}}}],["_token",{"resolved_path":{"path":"mio::Token","id":7625,"args":null}}],["_interests",{"resolved_path":{"path":"mio::Interest","id":7626,"args":null}}]],"output":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4430":{"id":4430,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6192":{"id":6192,"crate_id":0,"name":"try_acquire_owned","span":{"filename":"src/sync/semaphore.rs","begin":[911,5],"end":[919,6]},"visibility":"public","docs":"Tries to acquire a permit from the semaphore.\n\nThe semaphore must be wrapped in an [`Arc`] to call this method. If\nthe semaphore has been closed, this returns a [`TryAcquireError::Closed`]\nand a [`TryAcquireError::NoPermits`] if there are no permits left.\nOtherwise, this returns a [`OwnedSemaphorePermit`] representing the\nacquired permit.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::{Semaphore, TryAcquireError};\n\n# fn main() {\nlet semaphore = Arc::new(Semaphore::new(2));\n\nlet permit_1 = Arc::clone(&semaphore).try_acquire_owned().unwrap();\nassert_eq!(semaphore.available_permits(), 1);\n\nlet permit_2 = Arc::clone(&semaphore).try_acquire_owned().unwrap();\nassert_eq!(semaphore.available_permits(), 0);\n\nlet permit_3 = semaphore.try_acquire_owned();\nassert_eq!(permit_3.err(), Some(TryAcquireError::NoPermits));\n# }\n```\n\n[`Arc`]: std::sync::Arc\n[`TryAcquireError::Closed`]: crate::sync::TryAcquireError::Closed\n[`TryAcquireError::NoPermits`]: crate::sync::TryAcquireError::NoPermits\n[`OwnedSemaphorePermit`]: crate::sync::OwnedSemaphorePermit","links":{"crate::sync::TryAcquireError::NoPermits":6122,"std::sync::Arc":2509,"crate::sync::OwnedSemaphorePermit":6182,"crate::sync::TryAcquireError::Closed":6121},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}}},{"type":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"906":{"id":906,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6519":{"id":6519,"crate_id":0,"name":"const_with_max_readers","span":{"filename":"src/sync/rwlock.rs","begin":[375,5],"end":[389,6]},"visibility":"public","docs":"Creates a new instance of an `RwLock<T>` which is unlocked\nand allows a maximum of `max_reads` concurrent readers.\n\n# Examples\n\n```\nuse tokio::sync::RwLock;\n\nstatic LOCK: RwLock<i32> = RwLock::const_with_max_readers(5, 1024);\n```\n\n# Panics\n\nPanics if `max_reads` is `0` or is bigger than `u32::MAX >> 3`.","links":{},"attrs":[{"other":"#[attr = CfgTrace([Not(All([NameValue { name: \"loom\", value: None, span: src/sync/rwlock.rs:374:19: 374:23 (#0) }, NameValue { name: \"test\", value: None, span: src/sync/rwlock.rs:374:25: 374:29 (#0) }], src/sync/rwlock.rs:374:18: 374:30 (#0)), src/sync/rwlock.rs:374:14: 374:31 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["value",{"generic":"T"}],["max_reads",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2995":{"id":2995,"crate_id":0,"name":"open_sender","span":{"filename":"src/net/unix/pipe.rs","begin":[255,5],"end":[258,6]},"visibility":"public","docs":"Creates a [`Sender`] from a FIFO file with the options specified by `self`.\n\nThis function will open the FIFO file at the specified path, possibly\ncheck if it is a pipe, and associate the pipe with the default event\nloop for writing.\n\n# Errors\n\nIf the file type check fails, this function will fail with `io::ErrorKind::InvalidInput`.\nIf the file is not opened in read-write access mode and the file is not\ncurrently open for reading, this function will fail with `ENXIO`.\nThis function may also fail with other standard OS errors.\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"`Sender`":856,"crate::runtime::Runtime::enter":1054},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["path",{"generic":"P"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Sender","id":856,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1233":{"id":1233,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4757":{"id":4757,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[641,102],"end":[641,131]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1811) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"metrics::InvalidHistogramConfiguration","name":"InvalidHistogramConfiguration","id":4616,"is_glob":false}}},"5084":{"id":5084,"crate_id":0,"name":"Closed","span":{"filename":"src/sync/broadcast.rs","begin":[335,9],"end":[335,15]},"visibility":"default","docs":"There are no more active senders implying no further messages will ever\nbe sent.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"3322":{"id":3322,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1560":{"id":1560,"crate_id":0,"name":"write_all_buf","span":{"filename":"src/io/util/async_write_ext.rs","begin":[334,9],"end":[340,10]},"visibility":"default","docs":"Attempts to write an entire buffer into this writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_all_buf(&mut self, buf: impl Buf) -> Result<(), io::Error> {\n    while buf.has_remaining() {\n        self.write_buf(&mut buf).await?;\n    }\n    Ok(())\n}\n```\n\nThis method will continuously call [`write`] until\n[`buf.has_remaining()`](bytes::Buf::has_remaining) returns false. This method will not\nreturn until the entire buffer has been successfully written or an error occurs. The\nfirst error generated will be returned.\n\nThe buffer is advanced after each chunk is successfully written. After failure,\n`src.chunk()` will return the chunk that failed to write.\n\n# Cancel safety\n\nIf `write_all_buf` is used as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, then the data in the provided buffer may have been\npartially written. However, it is guaranteed that the provided\nbuffer has been [advanced] by the amount of bytes that have been\npartially written.\n\n# Examples\n\n[`File`] implements [`AsyncWrite`] and [`Cursor`]`<&[u8]>` implements [`Buf`]:\n\n[`File`]: crate::fs::File\n[`Buf`]: bytes::Buf\n[`Cursor`]: std::io::Cursor\n[advanced]: bytes::Buf::advance\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, AsyncWriteExt};\nuse tokio::fs::File;\n\nuse std::io::Cursor;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut file = File::create(\"foo.txt\").await?;\n    let mut buffer = Cursor::new(b\"data to write\");\n\n    file.write_all_buf(&mut buffer).await?;\n    file.flush().await?;\n    Ok(())\n}\n# }\n```\n\n[`write`]: AsyncWriteExt::write","links":{"bytes::Buf::has_remaining":1558,"bytes::Buf":1555,"std::io::Cursor":557,"crate::select":1471,"crate::fs::File":204,"`AsyncWrite`":225,"bytes::Buf::advance":1559,"AsyncWriteExt::write":316},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}],["src",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"WriteAllBuf","id":1561,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"Self"}},{"type":{"generic":"B"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"B","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"B"},"bounds":[{"trait_bound":{"trait":{"path":"Buf","id":1555,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6846":{"id":6846,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5411":{"id":5411,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5738":{"id":5738,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3976":{"id":3976,"crate_id":0,"name":"metrics","span":{"filename":"src/runtime/handle.rs","begin":[515,5],"end":[517,6]},"visibility":"public","docs":"Returns a view that lets you get information about how the runtime\nis performing.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2214":{"id":2214,"crate_id":0,"name":"set_linger","span":{"filename":"src/net/tcp/socket.rs","begin":[444,5],"end":[446,6]},"visibility":"public","docs":"Sets the linger duration of this socket by setting the `SO_LINGER` option.\n\nThis option controls the action taken when a stream has unsent messages and the stream is\nclosed. If `SO_LINGER` is set, the system shall block the process until it can transmit the\ndata or until the time expires.\n\nIf `SO_LINGER` is not specified, and the socket is closed, the system handles the call in a\nway that allows the process to continue as quickly as possible.\n\nThis option is deprecated because setting `SO_LINGER` on a socket used with Tokio is always\nincorrect as it leads to blocking the thread when the socket is closed. For more details,\nplease see:\n\n> Volumes of communications have been devoted to the intricacies of `SO_LINGER` versus\n> non-blocking (`O_NONBLOCK`) sockets. From what I can tell, the final word is: don't do\n> it. Rely on the `shutdown()`-followed-by-`read()`-eof technique instead.\n>\n> From [The ultimate `SO_LINGER` page, or: why is my tcp not reliable](https://blog.netherlabs.nl/articles/2009/01/18/the-ultimate-so_linger-page-or-why-is-my-tcp-not-reliable)\n\nAlthough this method is deprecated, it will not be removed from Tokio.\n\nNote that the special case of setting `SO_LINGER` to zero does not lead to blocking. Tokio\nprovides [`set_zero_linger`](Self::set_zero_linger) for this purpose.","links":{"Self::set_zero_linger":2213},"attrs":[],"deprecation":{"since":null,"note":"`SO_LINGER` causes the socket to block the thread on drop"},"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["dur",{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Duration","id":2215,"args":null}}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6065":{"id":6065,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[581,1],"end":[869,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6060,6062,6063,6064],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2541":{"id":2541,"crate_id":0,"name":"try_peek","span":{"filename":"src/net/udp.rs","begin":[1661,5],"end":[1665,6]},"visibility":"public","docs":"Tries to receive data on the connected address without removing it from the input queue.\nOn success, returns the number of bytes read.\n\nWhen there is no pending data, `Err(io::ErrorKind::WouldBlock)` is\nreturned. This function is usually paired with `readable()`.\n\n# Notes\n\nOn Windows, if the data is larger than the buffer specified, the buffer\nis filled with the first part of the data, and peek returns the error\n`WSAEMSGSIZE(10040)`. The excess data is lost.\nMake sure to always use a sufficiently large buffer to hold the\nmaximum UDP packet size, which can be up to 65536 bytes in size.\n\nMacOS will return an error if you pass a zero-sized buffer.\n\nIf you're merely interested in learning the sender of the data at the head of the queue,\ntry [`try_peek_sender`].\n\nNote that the socket address **cannot** be implicitly trusted, because it is relatively\ntrivial to send a UDP datagram with a spoofed origin in a [packet injection attack].\nBecause UDP is stateless and does not validate the origin of a packet,\nthe attacker does not need to be able to intercept traffic in order to interfere.\nIt is important to be aware of this when designing your application-level protocol.\n\n[`try_peek_sender`]: method@Self::try_peek_sender\n[packet injection attack]: https://en.wikipedia.org/wiki/Packet_injection","links":{"method@Self::try_peek_sender":2540},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"779":{"id":779,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/util/buf_stream.rs","begin":[146,5],"end":[148,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4303":{"id":4303,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4630":{"id":4630,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1106":{"id":1106,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[251,28],"end":[251,31]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"poll_aio::Aio","name":"Aio","id":1048,"is_glob":false}}},"2868":{"id":2868,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6719":{"id":6719,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3195":{"id":3195,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[1722,1],"end":[1726,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsHandle","id":296,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[3194],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4957":{"id":4957,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7046":{"id":7046,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5284":{"id":5284,"crate_id":0,"name":"weak_count","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1675,5],"end":[1677,6]},"visibility":"public","docs":"Returns the number of [`WeakSender`] handles.","links":{"`WeakSender`":5254},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1760":{"id":1760,"crate_id":0,"name":"empty","span":{"filename":"src/io/util/empty.rs","begin":[62,5],"end":[64,6]},"visibility":"public","docs":"Creates a value that is always at EOF for reads, and ignores all data written.\n\nAll writes on the returned instance will return `Poll::Ready(Ok(buf.len()))`\nand the contents of the buffer will not be inspected.\n\nAll reads from the returned instance will return `Poll::Ready(Ok(0))`.\n\nThis is an asynchronous version of [`std::io::empty`][std].\n\n[std]: std::io::empty\n\n# Examples\n\nA slightly sad example of not reading anything into a buffer:\n\n```\nuse tokio::io::{self, AsyncReadExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\n    let mut buffer = String::new();\n    io::empty().read_to_string(&mut buffer).await.unwrap();\n    assert!(buffer.is_empty());\n# }\n```\n\nA convoluted way of getting the length of a buffer:\n\n```\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet buffer = vec![1, 2, 3, 5, 8];\nlet num_bytes = io::empty().write(&buffer).await.unwrap();\nassert_eq!(num_bytes, 5);\n# }\n```","links":{"std::io::empty":1761},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#304) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Empty","id":579,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3522":{"id":3522,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7373":{"id":7373,"crate_id":0,"name":"from","span":{"filename":"src/time/instant.rs","begin":[160,5],"end":[162,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["time",{"resolved_path":{"path":"Instant","id":7328,"args":null}}]],"output":{"resolved_path":{"path":"std::time::Instant","id":7331,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3849":{"id":3849,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2087":{"id":2087,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[232,9],"end":[232,30]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:347:17: 347:32 (#196) }, All([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:349:21: 349:35 (#196) }, NameValue { name: \"feature\", value: Some(\"io-uring\"), span: src/macros/cfg.rs:350:21: 350:41 (#196) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:351:21: 351:35 (#196) }, NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:352:21: 352:35 (#196) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/macros/cfg.rs:353:21: 353:40 (#196) }], src/macros/cfg.rs:348:20: 354:18 (#196))], src/macros/cfg.rs:346:22: 355:14 (#196))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(feature = \"net\", all(tokio_unstable, feature = \"io-uring\", feature = \"rt\", feature = \"fs\", target_os = \"linux\"))))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"ready::Ready","name":"Ready","id":978,"is_glob":false}}},"5611":{"id":5611,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5938":{"id":5938,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4176":{"id":4176,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2414":{"id":2414,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"652":{"id":652,"crate_id":0,"name":"NamedPipeClient","span":{"filename":"src/net/windows/named_pipe.rs","begin":[978,1],"end":[980,2]},"visibility":"public","docs":"A [Windows named pipe] client.\n\nConstructed using [`ClientOptions::open`].\n\nConnecting a client correctly involves a few steps. When connecting through\n[`ClientOptions::open`], it might error indicating one of two things:\n\n* [`std::io::ErrorKind::NotFound`] - There is no server available.\n* [`ERROR_PIPE_BUSY`] - There is a server available, but it is busy. Sleep\n  for a while and try again.\n\nSo a correctly implemented client looks like this:\n\n```no_run\nuse std::time::Duration;\nuse tokio::net::windows::named_pipe::ClientOptions;\nuse tokio::time;\nuse windows_sys::Win32::Foundation::ERROR_PIPE_BUSY;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\named-pipe-idiomatic-client\";\n\n# #[tokio::main] async fn main() -> std::io::Result<()> {\nlet client = loop {\n    match ClientOptions::new().open(PIPE_NAME) {\n        Ok(client) => break client,\n        Err(e) if e.raw_os_error() == Some(ERROR_PIPE_BUSY as i32) => (),\n        Err(e) => return Err(e),\n    }\n\n    time::sleep(Duration::from_millis(50)).await;\n};\n\n/* use the connected client */\n# Ok(()) }\n```\n\n[`ERROR_PIPE_BUSY`]: https://docs.rs/windows-sys/latest/windows_sys/Win32/Foundation/constant.ERROR_PIPE_BUSY.html\n[Windows named pipe]: https://docs.microsoft.com/en-us/windows/win32/ipc/named-pipes","links":{"`std::io::ErrorKind::NotFound`":329,"`ClientOptions::open`":3156},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[3171,3172,3173,3174,3175,3176,3177,3178,3179,3180,3181,3182,3183,3184,3185,3186,3187,3188,3189,3191,651,866,3193,3195]}}},"4503":{"id":4503,"crate_id":0,"name":"eq","span":{"filename":"src/runtime/id.rs","begin":[29,40],"end":[29,49]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Id","id":4281,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2741":{"id":2741,"crate_id":0,"name":"peer_addr","span":{"filename":"src/net/unix/split.rs","begin":[271,5],"end":[273,6]},"visibility":"public","docs":"Returns the socket address of the remote half of this connection.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"979":{"id":979,"crate_id":0,"name":"EMPTY","span":{"filename":"src/io/ready.rs","begin":[25,5],"end":[25,39]},"visibility":"public","docs":"Returns the empty `Ready` set.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}},"value":"_","default_unstable":null}}},"6265":{"id":6265,"crate_id":0,"name":"drop","span":{"filename":"src/sync/semaphore.rs","begin":[1232,5],"end":[1234,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6592":{"id":6592,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/once_cell.rs","begin":[83,5],"end":[87,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4830":{"id":4830,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1306":{"id":1306,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3068":{"id":3068,"crate_id":0,"name":"try_read","span":{"filename":"src/net/unix/pipe.rs","begin":[1222,5],"end":[1226,6]},"visibility":"public","docs":"Tries to read data from the pipe into the provided buffer, returning how\nmany bytes were read.\n\nReads any pending data from the pipe but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually [`readable()`] is used with this function.\n\n[`readable()`]: Self::readable()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. If `n` is `0`, then it can indicate one of two scenarios:\n\n1. The pipe's writing end is closed and will no longer write data.\n2. The specified buffer was 0 bytes in length.\n\nIf the pipe is not ready to read data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Notes\n\nTo avoid unnecessary syscalls, this will only attempt the read\noperation if the OS has informed Tokio that this pipe has become\nreadable. Because of this, `try_read()` may fail with a\n[`WouldBlock`] error if Tokio has not yet heard from the OS that\nthis pipe has become readable.\n\n# Examples\n\n```no_run\nuse tokio::net::unix::pipe;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Open a reading end of a fifo\n    let rx = pipe::OpenOptions::new().open_receiver(\"path/to/a/fifo\")?;\n\n    let mut msg = vec![0; 1024];\n\n    loop {\n        // Wait for the pipe to be readable\n        rx.readable().await?;\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match rx.try_read(&mut msg) {\n            Ok(n) => {\n                msg.truncate(n);\n                break;\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    println!(\"GOT = {:?}\", msg);\n    Ok(())\n}\n```\n\n[`WouldBlock`]: std::io::ErrorKind::WouldBlock","links":{"Self::readable()":3066,"std::io::ErrorKind::WouldBlock":1116},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5157":{"id":5157,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[1097,1],"end":[1103,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5156],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6919":{"id":6919,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1633":{"id":1633,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_seek_ext.rs","begin":[96,1],"end":[96,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"S","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"S"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncSeek","id":199,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["seek","rewind","stream_position"],"trait":{"path":"AsyncSeekExt","id":238,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"S"}}}},"7246":{"id":7246,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[311,5],"end":[311,31]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(inline)]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"join_set::JoinSet","name":"JoinSet","id":3724,"is_glob":false}}},"5484":{"id":5484,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1960":{"id":1960,"crate_id":0,"name":null,"span":{"filename":"src/io/util/sink.rs","begin":[80,1],"end":[84,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[1959],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3722":{"id":3722,"crate_id":0,"name":"JoinHandle","span":{"filename":"src/runtime/task/join.rs","begin":[163,5],"end":[166,6]},"visibility":"public","docs":"An owned permission to join on a task (await its termination).\n\nThis can be thought of as the equivalent of [`std::thread::JoinHandle`]\nfor a Tokio task rather than a thread. Note that the background task\nassociated with this `JoinHandle` started running immediately when you\ncalled spawn, even if you have not yet awaited the `JoinHandle`.\n\nA `JoinHandle` *detaches* the associated task when it is dropped, which\nmeans that there is no longer any handle to the task, and no way to `join`\non it.\n\nThis `struct` is created by the [`task::spawn`] and [`task::spawn_blocking`]\nfunctions.\n\nIt is guaranteed that the destructor of the spawned task has finished\nbefore task completion is observed via `JoinHandle` `await`,\n[`JoinHandle::is_finished`] or [`AbortHandle::is_finished`].\n\n# Cancel safety\n\nAwaiting a `&mut JoinHandle<T>` is cancel safe. If it is used as a\nbranch in `tokio::select!` and another branch completes first, then it\nis guaranteed that the output of the task is not lost.\n\nIf a `JoinHandle` is dropped, then the task continues running in the\nbackground and its return value is lost.\n\n# Examples\n\nCreation from [`task::spawn`]:\n\n```\nuse tokio::task;\n\n# async fn doc() {\nlet join_handle: task::JoinHandle<_> = task::spawn(async {\n    // some work here\n});\n# }\n```\n\nCreation from [`task::spawn_blocking`]:\n\n```\nuse tokio::task;\n\n# async fn doc() {\nlet join_handle: task::JoinHandle<_> = task::spawn_blocking(|| {\n    // some blocking work here\n});\n# }\n```\n\nThe generic parameter `T` in `JoinHandle<T>` is the return type of the spawned task.\nIf the return value is an `i32`, the join handle has type `JoinHandle<i32>`:\n\n```\nuse tokio::task;\n\n# async fn doc() {\nlet join_handle: task::JoinHandle<i32> = task::spawn(async {\n    5 + 3\n});\n# }\n\n```\n\nIf the task does not have a return value, the join handle has type `JoinHandle<()>`:\n\n```\nuse tokio::task;\n\n# async fn doc() {\nlet join_handle: task::JoinHandle<()> = task::spawn(async {\n    println!(\"I return nothing.\");\n});\n# }\n```\n\nNote that `handle.await` doesn't give you the return type directly. It is wrapped in a\n`Result` because panics in the spawned task are caught by Tokio. The `?` operator has\nto be double chained to extract the returned value:\n\n```\nuse tokio::task;\nuse std::io;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet join_handle: task::JoinHandle<Result<i32, io::Error>> = tokio::spawn(async {\n    Ok(5 + 3)\n});\n\nlet result = join_handle.await??;\nassert_eq!(result, 8);\nOk(())\n# }\n```\n\nIf the task panics, the error is a [`JoinError`] that contains the panic:\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::task;\nuse std::io;\nuse std::panic;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let join_handle: task::JoinHandle<Result<i32, io::Error>> = tokio::spawn(async {\n        panic!(\"boom\");\n    });\n\n    let err = join_handle.await.unwrap_err();\n    assert!(err.is_panic());\n    Ok(())\n}\n# }\n```\nChild being detached and outliving its parent:\n\n```no_run\nuse tokio::task;\nuse tokio::time;\nuse std::time::Duration;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet original_task = task::spawn(async {\n    let _detached_task = task::spawn(async {\n        // Here we sleep to make sure that the first task returns before.\n        time::sleep(Duration::from_millis(10)).await;\n        // This will be called, even though the JoinHandle is dropped.\n        println!(\"♫ Still alive ♫\");\n    });\n});\n\noriginal_task.await.expect(\"The task being joined has panicked\");\nprintln!(\"Original task is joined.\");\n\n// We make sure that the new task has time to run, before the main\n// task returns.\n\ntime::sleep(Duration::from_millis(1000)).await;\n# }\n```\n\n[`task::spawn`]: crate::task::spawn()\n[`task::spawn_blocking`]: crate::task::spawn_blocking\n[`std::thread::JoinHandle`]: std::thread::JoinHandle\n[`JoinError`]: crate::task::JoinError","links":{"crate::task::spawn()":3799,"`JoinHandle::is_finished`":3800,"std::thread::JoinHandle":3798,"crate::task::spawn_blocking":379,"crate::task::JoinError":3686,"`AbortHandle::is_finished`":3768},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#1304) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[3802,3803,3804,3805,3806,3807,3808,3809,3810,3811,3815,3816,3817,3818,3819,3820,3821,3822,3825,3827,3829]}}},"5811":{"id":5811,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4049":{"id":4049,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[288,1],"end":[299,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[4047],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2287":{"id":2287,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7573":{"id":7573,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6138":{"id":6138,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4376":{"id":4376,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"852":{"id":852,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/net/unix/pipe.rs","begin":[820,5],"end":[822,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6465":{"id":6465,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[430,5],"end":[432,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4703":{"id":4703,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram.rs","begin":[72,5],"end":[96,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:609:19: 609:33 (#1770) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[4701,4702],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2941":{"id":2941,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/net/unix/stream.rs","begin":[1114,5],"end":[1116,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1179":{"id":1179,"crate_id":0,"name":"TryIoError","span":{"filename":"src/io/async_fd.rs","begin":[1395,1],"end":[1395,27]},"visibility":"public","docs":"The error type returned by [`try_io`].\n\nThis error indicates that the IO resource returned a [`WouldBlock`] error.\n\n[`WouldBlock`]: std::io::ErrorKind::WouldBlock\n[`try_io`]: method@AsyncFdReadyGuard::try_io","links":{"std::io::ErrorKind::WouldBlock":1116,"method@AsyncFdReadyGuard::try_io":1142},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[1230,1231,1232,1233,1234,1235,1236,1237,1238,1239,1240,1241,1242,1243,1244,1245,1247]}}},"6792":{"id":6792,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3268":{"id":3268,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5030":{"id":5030,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5357":{"id":5357,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1758,1],"end":[1774,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["next_chunk","size_hint","count","last","advance_by","nth","step_by","chain","zip","intersperse","intersperse_with","map","for_each","filter","filter_map","enumerate","peekable","skip_while","take_while","map_while","skip","take","scan","flat_map","flatten","map_windows","fuse","inspect","by_ref","collect","try_collect","collect_into","partition","partition_in_place","is_partitioned","try_fold","try_for_each","fold","reduce","try_reduce","all","any","find","find_map","try_find","position","rposition","max","min","max_by_key","max_by","min_by_key","min_by","rev","unzip","copied","cloned","cycle","array_chunks","sum","product","cmp","cmp_by","partial_cmp","partial_cmp_by","eq","eq_by","ne","lt","le","gt","ge","is_sorted","is_sorted_by","is_sorted_by_key","__iterator_get_unchecked"],"trait":{"path":"Iterator","id":2149,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5354,5355,5356],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3595":{"id":3595,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1833":{"id":1833,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7446":{"id":7446,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"398":{"id":398,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6011":{"id":6011,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[347,21],"end":[347,23]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4249":{"id":4249,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"725":{"id":725,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/async_write.rs","begin":[314,5],"end":[316,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2487":{"id":2487,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/stream.rs","begin":[1537,5],"end":[1541,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"super::TcpStream","id":634,"args":null}},"items":[2486],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4576":{"id":4576,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[46,1],"end":[121,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[4574,4575],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2814":{"id":2814,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1052":{"id":1052,"crate_id":0,"name":"poll_ready","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[188,5],"end":[191,6]},"visibility":"public","docs":"Polls for readiness.  Either AIO or LIO counts.\n\nThis method returns:\n * `Poll::Pending` if the underlying operation is not complete, whether\n    or not it completed successfully.  This will be true if the OS is\n    still processing it, or if it has not yet been submitted to the OS.\n * `Poll::Ready(Ok(_))` if the underlying operation is complete.\n * `Poll::Ready(Err(_))` if the reactor has been shutdown.  This does\n    _not_ indicate that the underlying operation encountered an error.\n\nWhen the method returns `Poll::Pending`, the `Waker` in the provided `Context`\nis scheduled to receive a wakeup when the underlying operation\ncompletes. Note that on multiple calls to `poll_ready`, only the `Waker` from the\n`Context` passed to the most recent call is scheduled to receive a wakeup.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6338":{"id":6338,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6665":{"id":6665,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4903":{"id":4903,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1379":{"id":1379,"crate_id":0,"name":null,"span":{"filename":"src/io/stdout.rs","begin":[204,5],"end":[208,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#225) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#225) }], src/macros/cfg.rs:42:26: 42:39 (#225)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#225) }], src/macros/cfg.rs:42:22: 42:49 (#225))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawHandle","id":292,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[1378],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3141":{"id":3141,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5230":{"id":5230,"crate_id":0,"name":"SendError","span":{"filename":"src/sync/mpsc/error.rs","begin":[8,1],"end":[8,32]},"visibility":"public","docs":"Error returned by [`Sender::send`](super::Sender::send).","links":{"super::Sender::send":5229},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[5529]},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5530,5531,5532,5533,5534,5535,5536,5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,5549,5551,5552,5554,5555,5557,5559,5560,5562]}}},"3468":{"id":3468,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1706":{"id":1706,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"6992":{"id":6992,"crate_id":0,"name":"poll","span":{"filename":"src/task/coop/mod.rs","begin":[446,9],"end":[455,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7319":{"id":7319,"crate_id":0,"name":null,"span":{"filename":"src/time/error.rs","begin":[46,28],"end":[46,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5557":{"id":5557,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[10,1],"end":[14,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5556],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"271":{"id":271,"crate_id":0,"name":"from","span":{"filename":"src/fs/file.rs","begin":[902,5],"end":[904,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["fd",{"resolved_path":{"path":"std::os::fd::OwnedFd","id":272,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4122":{"id":4122,"crate_id":0,"name":"name_raw","span":{"filename":"src/runtime/dump.rs","begin":[73,5],"end":[75,6]},"visibility":"public","docs":"Return the raw name of the symbol.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2360":{"id":2360,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"598":{"id":598,"crate_id":0,"name":null,"span":{"filename":"src/io/stdin.rs","begin":[90,1],"end":[98,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[597],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5884":{"id":5884,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6211":{"id":6211,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/semaphore.rs","begin":[426,10],"end":[426,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2687":{"id":2687,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"925":{"id":925,"crate_id":0,"name":"AIO","span":{"filename":"src/io/interest.rs","begin":[41,9],"end":[41,54]},"visibility":"public","docs":"Interest for POSIX AIO.","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([Any([NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:120:27: 120:33 (#173) }, NameValue { name: \"target_os\", value: Some(\"freebsd\"), span: src/macros/cfg.rs:120:35: 120:56 (#173) }], src/macros/cfg.rs:120:26: 120:57 (#173)), NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:120:59: 120:74 (#173) }], src/macros/cfg.rs:120:22: 120:75 (#173)),\nNot(NameValue { name: \"target_os\", value: Some(\"freebsd\"), span: src/io/interest.rs:40:19: 40:40 (#0) }, src/io/interest.rs:40:18: 40:41 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(target_os = \"freebsd\", feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"resolved_path":{"path":"Interest","id":924,"args":null}},"value":"_","default_unstable":null}}},"4776":{"id":4776,"crate_id":0,"name":"user_defined1","span":{"filename":"src/signal/unix.rs","begin":[208,5],"end":[210,6]},"visibility":"public","docs":"Represents the `SIGUSR1` signal.\n\nOn Unix systems this is a user defined signal.\nBy default, the process is terminated by this signal.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3014":{"id":3014,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1252":{"id":1252,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6538":{"id":6538,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6865":{"id":6865,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3341":{"id":3341,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2616,30],"end":[2616,39]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[3340],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1579":{"id":1579,"crate_id":0,"name":"write_u128","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an unsigned 128-bit integer in big-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_u128(&mut self, n: u128) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite unsigned 128-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_u128(16947640962301618749969007319746179).await?;\n\nassert_eq!(writer, vec![\n    0x00, 0x03, 0x43, 0x95, 0x4d, 0x60, 0x86, 0x83,\n    0x00, 0x03, 0x43, 0x95, 0x4d, 0x60, 0x86, 0x83\n]);\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"u128"}]],"output":{"resolved_path":{"path":"WriteU128","id":1580,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5103":{"id":5103,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7192":{"id":7192,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7519":{"id":7519,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5757":{"id":5757,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[991,1],"end":[995,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5756],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2233":{"id":2233,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3995":{"id":3995,"crate_id":0,"name":null,"span":{"filename":"src/runtime/builder.rs","begin":[1848,5],"end":[1869,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"test-util\"), span: src/macros/cfg.rs:567:19: 567:40 (#1606) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"test-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[3994],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6084":{"id":6084,"crate_id":0,"name":"drop","span":{"filename":"src/sync/oneshot.rs","begin":[872,5],"end":[884,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4322":{"id":4322,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"798":{"id":798,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mem.rs","begin":[136,1],"end":[173,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[793,794,795,796,797],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2560":{"id":2560,"crate_id":0,"name":"bind_device","span":{"filename":"src/net/udp.rs","begin":[2240,5],"end":[2242,6]},"visibility":"public","docs":"Sets the value for the `SO_BINDTODEVICE` option on this socket\n\nIf a socket is bound to an interface, only packets received from that\nparticular interface are processed by the socket. Note that this only\nworks for some socket types, particularly `AF_INET` sockets.\n\nIf `interface` is `None` or an empty string it removes the binding.","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"android\"), span: src/net/udp.rs:2235:15: 2235:36 (#0) }, NameValue { name: \"target_os\", value: Some(\"fuchsia\"), span: src/net/udp.rs:2235:38: 2235:59 (#0) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/net/udp.rs:2235:61: 2235:80 (#0) }], src/net/udp.rs:2235:14: 2235:81 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\"))))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interface",{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6411":{"id":6411,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2887":{"id":2887,"crate_id":0,"name":"from","span":{"filename":"src/net/unix/socketaddr.rs","begin":[57,5],"end":[59,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["value",{"resolved_path":{"path":"std::os::unix::net::SocketAddr","id":2859,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1125":{"id":1125,"crate_id":0,"name":"try_new","span":{"filename":"src/io/async_fd.rs","begin":[277,5],"end":[282,6]},"visibility":"public","docs":"Creates an [`AsyncFd`] backed by (and taking ownership of) an object\nimplementing [`AsRawFd`]. The backing file descriptor is cached at the\ntime of creation.\n\nOnly configures the [`Interest::READABLE`] and [`Interest::WRITABLE`] interests. For more\ncontrol, use [`AsyncFd::try_with_interest`].\n\nThis method must be called in the context of a tokio runtime.\n\nIn the case of failure, it returns [`AsyncFdTryNewError`] that contains the original object\npassed to this function.\n\n# Panics\n\nThis function panics if there is no current reactor set, or if the `rt`\nfeature flag is not enabled.","links":{"`AsyncFd`":512,"`Interest::READABLE`":927,"`AsyncFd::try_with_interest`":1123,"`AsRawFd`":277,"`AsyncFdTryNewError`":1124,"`Interest::WRITABLE`":928},"attrs":[{"other":"#[attr = Inline(Hint)]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["inner",{"generic":"T"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}},{"type":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4649":{"id":4649,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6738":{"id":6738,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[338,29],"end":[338,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::clone::Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6737],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4976":{"id":4976,"crate_id":0,"name":"is_leader","span":{"filename":"src/sync/barrier.rs","begin":[210,5],"end":[212,6]},"visibility":"public","docs":"Returns `true` if this task from wait is the \"leader task\".\n\nOnly one task will have `true` returned from their result, all other tasks will have\n`false` returned.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1452":{"id":1452,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3214":{"id":3214,"crate_id":0,"name":"access_outbound","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1983,5],"end":[1986,6]},"visibility":"public","docs":"The flow of data in the pipe goes from server to client only.\n\nThis corresponds to setting [`PIPE_ACCESS_OUTBOUND`].\n\n[`PIPE_ACCESS_OUTBOUND`]: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_access_outbound\n\n# Errors\n\nServer side prevents connecting by denying outbound access, client\nerrors with [`std::io::ErrorKind::PermissionDenied`] when attempting to\ncreate the connection.\n\n```\nuse std::io;\nuse tokio::net::windows::named_pipe::{ClientOptions, ServerOptions};\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-access-outbound-err1\";\n\n# #[tokio::main] async fn main() -> io::Result<()> {\nlet server = ServerOptions::new()\n    .access_outbound(false)\n    .create(PIPE_NAME)?;\n\nlet e = ClientOptions::new()\n    .open(PIPE_NAME)\n    .unwrap_err();\n\nassert_eq!(e.kind(), io::ErrorKind::PermissionDenied);\n# Ok(()) }\n```\n\nDisabling reading allows a client to connect, but attempting to read\nwill error with [`std::io::ErrorKind::PermissionDenied`].\n\n```\nuse std::io;\nuse tokio::io::AsyncReadExt;\nuse tokio::net::windows::named_pipe::{ClientOptions, ServerOptions};\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-access-outbound-err2\";\n\n# #[tokio::main] async fn main() -> io::Result<()> {\nlet server = ServerOptions::new()\n    .access_outbound(false)\n    .create(PIPE_NAME)?;\n\nlet mut client = ClientOptions::new()\n    .read(false)\n    .open(PIPE_NAME)?;\n\nserver.connect().await?;\n\nlet mut buf = [0u8; 4];\nlet e = client.read(&mut buf).await.unwrap_err();\nassert_eq!(e.kind(), io::ErrorKind::PermissionDenied);\n# Ok(()) }\n```\n\n# Examples\n\nA unidirectional named pipe that only supports client-to-server\ncommunication.\n\n```\nuse tokio::io::{AsyncReadExt, AsyncWriteExt};\nuse tokio::net::windows::named_pipe::{ClientOptions, ServerOptions};\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-access-outbound\";\n\n# #[tokio::main] async fn main() -> std::io::Result<()> {\nlet mut server = ServerOptions::new()\n    .access_outbound(false)\n    .create(PIPE_NAME)?;\n\nlet mut client = ClientOptions::new()\n    .read(false)\n    .open(PIPE_NAME)?;\n\nserver.connect().await?;\n\nlet write = client.write_all(b\"ping\");\n\nlet mut buf = [0u8; 4];\nlet read = server.read_exact(&mut buf);\n\nlet ((), read) = tokio::try_join!(write, read)?;\n\nprintln!(\"done reading and writing\");\n\nassert_eq!(read, 4);\nassert_eq!(&buf[..], b\"ping\");\n# Ok(()) }\n```","links":{"`std::io::ErrorKind::PermissionDenied`":330},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["allowed",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7065":{"id":7065,"crate_id":0,"name":null,"span":{"filename":"src/task/task_local.rs","begin":[104,1],"end":[265,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"outlives":"'static"}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7061,7063,7059,7060],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3541":{"id":3541,"crate_id":0,"name":"as_handle","span":{"filename":"src/process/mod.rs","begin":[1715,5],"end":[1715,29]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedHandle","id":294,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1779":{"id":1779,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5303":{"id":5303,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7392":{"id":7392,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[201,1],"end":[205,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[7391],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5630":{"id":5630,"crate_id":0,"name":"Timeout","span":{"filename":"src/sync/mpsc/error.rs","begin":[128,9],"end":[128,19]},"visibility":"default","docs":"The data could not be sent on the channel because the channel is\nfull, and the timeout to send has elapsed.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":{"tuple":[5629]},"discriminant":null}}},"3868":{"id":3868,"crate_id":0,"name":"root_addr","span":{"filename":"src/runtime/task/trace/mod.rs","begin":[162,5],"end":[162,41]},"visibility":"public","docs":"The root boundary address set by [`Root::poll`] if any.\n\nWhen using unwinding the stack, this is the address at which\nstack walking should stop. It corresponds to the `Root::poll` function pointer.","links":{"`Root::poll`":3866},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"raw_pointer":{"is_mutable":false,"type":{"resolved_path":{"path":"std::ffi::c_void","id":3225,"args":null}}}}}],"constraints":[]}}}}}},"344":{"id":344,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2106":{"id":2106,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[286,99],"end":[286,103]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::sink","name":"sink","id":1940,"is_glob":false}}},"4195":{"id":4195,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"671":{"id":671,"crate_id":0,"name":"start_seek","span":{"filename":"src/io/async_seek.rs","begin":[80,5],"end":[82,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["pos",{"resolved_path":{"path":"SeekFrom","id":256,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6284":{"id":6284,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4522":{"id":4522,"crate_id":0,"name":"poll_time_histogram_enabled","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[430,9],"end":[436,10]},"visibility":"public","docs":"Returns `true` if the runtime is tracking the distribution of task poll\ntimes.\n\nTask poll times are not instrumented by default as doing so requires\ncalling [`Instant::now()`] twice per task poll. The feature is enabled\nby calling [`enable_metrics_poll_time_histogram()`] when building the\nruntime.\n\n# Examples\n\n```\nuse tokio::runtime::{self, Handle};\n\nfn main() {\n    runtime::Builder::new_current_thread()\n        .enable_metrics_poll_time_histogram()\n        .build()\n        .unwrap()\n        .block_on(async {\n            let metrics = Handle::current().metrics();\n            let enabled = metrics.poll_time_histogram_enabled();\n\n            println!(\"Tracking task poll time distribution: {:?}\", enabled);\n        });\n}\n```\n\n[`enable_metrics_poll_time_histogram()`]: crate::runtime::Builder::enable_metrics_poll_time_histogram\n[`Instant::now()`]: std::time::Instant::now","links":{"crate::runtime::Builder::enable_metrics_poll_time_histogram":3979,"std::time::Instant::now":3975},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1689) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"998":{"id":998,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2760":{"id":2760,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4849":{"id":4849,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3087":{"id":3087,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1325":{"id":1325,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6611":{"id":6611,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5176":{"id":5176,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1652":{"id":1652,"crate_id":0,"name":"new","span":{"filename":"src/io/util/buf_stream.rs","begin":[29,5],"end":[33,6]},"visibility":"public","docs":"Wraps a type in both [`BufWriter`] and [`BufReader`].\n\nSee the documentation for those types and [`BufStream`] for details.","links":{"`BufWriter`":514,"`BufReader`":513,"`BufStream`":568},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["stream",{"generic":"RW"}]],"output":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5503":{"id":5503,"crate_id":0,"name":"is_closed","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[368,5],"end":[370,6]},"visibility":"public","docs":"Checks if a channel is closed.\n\nThis method returns `true` if the channel has been closed. The channel is closed\nwhen all [`UnboundedSender`] have been dropped, or when [`UnboundedReceiver::close`] is called.\n\n[`UnboundedSender`]: crate::sync::mpsc::UnboundedSender\n[`UnboundedReceiver::close`]: crate::sync::mpsc::UnboundedReceiver::close\n\n# Examples\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (_tx, mut rx) = mpsc::unbounded_channel::<()>();\nassert!(!rx.is_closed());\n\nrx.close();\n\nassert!(rx.is_closed());\n# }\n```","links":{"crate::sync::mpsc::UnboundedSender":5433,"crate::sync::mpsc::UnboundedReceiver::close":5434},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3741":{"id":3741,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1979":{"id":1979,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"217":{"id":217,"crate_id":0,"name":"metadata","span":{"filename":"src/fs/file.rs","begin":[449,5],"end":[452,6]},"visibility":"public","docs":"Queries metadata about the underlying file.\n\n# Examples\n\n```no_run\nuse tokio::fs::File;\n\n# async fn dox() -> std::io::Result<()> {\nlet file = File::open(\"foo.txt\").await?;\nlet metadata = file.metadata().await?;\n\nprintln!(\"{:?}\", metadata);\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Metadata","id":218,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7265":{"id":7265,"crate_id":0,"name":"invalid","span":{"filename":"src/time/error.rs","begin":[78,5],"end":[80,6]},"visibility":"public","docs":"Creates an error representing a misconfigured timer.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Error","id":7260,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5830":{"id":5830,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mutex.rs","begin":[1285,5],"end":[1287,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2306":{"id":2306,"crate_id":0,"name":"as_ref","span":{"filename":"src/net/tcp/split.rs","begin":[414,5],"end":[416,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"TcpStream","id":634,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"544":{"id":544,"crate_id":0,"name":"consume","span":{"filename":"src/io/async_buf_read.rs","begin":[82,5],"end":[82,28]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["amt",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6157":{"id":6157,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4395":{"id":4395,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"871":{"id":871,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/process/mod.rs","begin":[1574,5],"end":[1576,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6484":{"id":6484,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2960":{"id":2960,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1198":{"id":1198,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4722":{"id":4722,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/metrics/histogram.rs","begin":[67,14],"end":[67,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5049":{"id":5049,"crate_id":0,"name":"recv","span":{"filename":"src/sync/broadcast.rs","begin":[1503,5],"end":[1505,6]},"visibility":"public","docs":"Receives the next value for this receiver.\n\nEach [`Receiver`] handle will receive a clone of all values sent\n**after** it has subscribed.\n\n`Err(RecvError::Closed)` is returned when all `Sender` halves have\ndropped, indicating that no further values can be sent on the channel.\n\nIf the [`Receiver`] handle falls behind, once the channel is full, newly\nsent values overwrite old values in the ring buffer. The next call to\n[`recv`] then returns `Err(RecvError::Lagged(n))`, where `n` is the\nnumber of overwritten messages the receiver missed. The receiver stays\nsubscribed; its internal cursor is advanced to the oldest value still\nheld by the channel. A subsequent call to [`recv`] returns that value,\nunless further sends overwrite it before the receiver reads it. See\n[lagging](self#lagging) for details.\n\n# Cancel safety\n\nThis method is cancel safe. If `recv` is used as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, it is guaranteed that no messages were received on this\nchannel.\n\n[`Receiver`]: crate::sync::broadcast::Receiver\n[`recv`]: crate::sync::broadcast::Receiver::recv\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx1) = broadcast::channel(16);\nlet mut rx2 = tx.subscribe();\n\ntokio::spawn(async move {\n    assert_eq!(rx1.recv().await.unwrap(), 10);\n    assert_eq!(rx1.recv().await.unwrap(), 20);\n});\n\ntokio::spawn(async move {\n    assert_eq!(rx2.recv().await.unwrap(), 10);\n    assert_eq!(rx2.recv().await.unwrap(), 20);\n});\n\ntx.send(10).unwrap();\ntx.send(20).unwrap();\n# }\n```\n\nHandling lag\n\n```\nuse tokio::sync::broadcast;\nuse tokio::sync::broadcast::error::RecvError;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = broadcast::channel(2);\n\ntx.send(10).unwrap();\ntx.send(20).unwrap();\ntx.send(30).unwrap();\n\n// One message was overwritten before this receiver could read it.\nassert!(matches!(rx.recv().await, Err(RecvError::Lagged(1))));\n\n// Resume from the oldest retained message, or abort the task instead.\nassert_eq!(20, rx.recv().await.unwrap());\nassert_eq!(30, rx.recv().await.unwrap());\n# }\n```","links":{"self#lagging":5121,"crate::select":1471,"crate::sync::broadcast::Receiver::recv":5049,"crate::sync::broadcast::Receiver":5051},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"resolved_path":{"path":"RecvError","id":5052,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3287":{"id":3287,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1525":{"id":1525,"crate_id":0,"name":"read_u32_le","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an unsigned 32-bit integer in little-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_u32_le(&mut self) -> io::Result<u32>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead unsigned 32-bit little-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![0x00, 0x00, 0x01, 0x0b]);\n\nassert_eq!(184614912, reader.read_u32_le().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadU32Le","id":1526,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6811":{"id":6811,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[184,10],"end":[184,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6810],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7138":{"id":7138,"crate_id":0,"name":"shutdown","span":{"filename":"src/task/join_set.rs","begin":[381,5],"end":[384,6]},"visibility":"public","docs":"Aborts all tasks and waits for them to finish shutting down.\n\nCalling this method is equivalent to calling [`abort_all`] and then calling [`join_next`] in\na loop until it returns `None`.\n\nThis method ignores any panics in the tasks shutting down. When this call returns, the\n`JoinSet` will be empty.\n\n[`abort_all`]: fn@Self::abort_all\n[`join_next`]: fn@Self::join_next","links":{"fn@Self::join_next":7133,"fn@Self::abort_all":7137},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3614":{"id":3614,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1658,5],"end":[1658,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(unix))]"},{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"super::ChildStderr","id":658,"args":null}},"items":[3613],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1852":{"id":1852,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5376":{"id":5376,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5703":{"id":5703,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3941":{"id":3941,"crate_id":0,"name":"LocalRuntime","span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[32,1],"end":[44,2]},"visibility":"public","docs":"A local Tokio runtime.\n\nThis runtime is capable of driving tasks which are not `Send + Sync` without the use of a\n`LocalSet`, and thus supports `spawn_local` without the need for a `LocalSet` context.\n\nThis runtime cannot be moved between threads or driven from different threads.\n\nThis runtime is incompatible with `LocalSet`. You should not attempt to drive a `LocalSet` within a\n`LocalRuntime`.\n\nCurrently, this runtime supports one flavor, which is internally identical to `current_thread`,\nsave for the aforementioned differences related to `spawn_local`.\n\nFor more general information on how to use runtimes, see the [module] docs.\n\n[runtime]: crate::runtime::Runtime\n[module]: crate::runtime","links":{"crate::runtime::Runtime":3112,"crate::runtime":3964},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4427,4428,4429,4430,4431,4432,4433,4434,4435,4436,4437,4438,4439,4440,4441,4443,4445,4446,4447]}}},"417":{"id":417,"crate_id":0,"name":"path","span":{"filename":"src/fs/read_dir.rs","begin":[244,5],"end":[246,6]},"visibility":"public","docs":"Returns the full path to the file that this entry represents.\n\nThe full path is created by joining the original path to `read_dir`\nwith the filename of this entry.\n\n# Examples\n\n```no_run\nuse tokio::fs;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut entries = fs::read_dir(\".\").await?;\n\nwhile let Some(entry) = entries.next_entry().await? {\n    println!(\"{:?}\", entry.path());\n}\n# Ok(())\n# }\n```\n\nThis prints output like:\n\n```text\n\"./whatever.txt\"\n\"./foo.html\"\n\"./hello_world.rs\"\n```\n\nThe exact text, of course, depends on what files you have in `.`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"PathBuf","id":120,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2179":{"id":2179,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4268":{"id":4268,"crate_id":0,"name":"enter","span":{"filename":"src/runtime/handle.rs","begin":[86,5],"end":[94,6]},"visibility":"public","docs":"Enters the runtime context. This allows you to construct types that must\nhave an executor available on creation such as [`Sleep`] or\n[`TcpStream`]. It will also allow you to call methods such as\n[`tokio::spawn`] and [`Handle::current`] without panicking.\n\n# Panics\n\nWhen calling `Handle::enter` multiple times, the returned guards\n**must** be dropped in the reverse order that they were acquired.\nFailure to do so will result in a panic and possible memory leaks.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Runtime;\n\nlet rt = Runtime::new().unwrap();\n\nlet _guard = rt.enter();\ntokio::spawn(async {\n    println!(\"Hello world!\");\n});\n# }\n```\n\nDo **not** do the following, this shows a scenario that will result in a\npanic and possible memory leak.\n\n```should_panic,ignore-wasm\nuse tokio::runtime::Runtime;\n\nlet rt1 = Runtime::new().unwrap();\nlet rt2 = Runtime::new().unwrap();\n\nlet enter1 = rt1.enter();\nlet enter2 = rt2.enter();\n\ndrop(enter1);\ndrop(enter2);\n```\n\n[`Sleep`]: struct@crate::time::Sleep\n[`TcpStream`]: struct@crate::net::TcpStream\n[`tokio::spawn`]: fn@crate::spawn","links":{"fn@crate::spawn":3799,"`Handle::current`":4267,"struct@crate::net::TcpStream":634,"struct@crate::time::Sleep":4266},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2506":{"id":2506,"crate_id":0,"name":"connect","span":{"filename":"src/net/udp.rs","begin":[348,5],"end":[365,6]},"visibility":"public","docs":"Connects the UDP socket setting the default destination for send() and\nlimiting packets that are read via `recv` from the address specified in\n`addr`.\n\n# Example\n\n```no_run\nuse tokio::net::UdpSocket;\n# use std::{io, net::SocketAddr};\n\n# #[tokio::main]\n# async fn main() -> io::Result<()> {\nlet sock = UdpSocket::bind(\"0.0.0.0:8080\".parse::<SocketAddr>().unwrap()).await?;\n\nlet remote_addr = \"127.0.0.1:59600\".parse::<SocketAddr>().unwrap();\nsock.connect(remote_addr).await?;\nlet mut buf = [0u8; 32];\n// recv from remote_addr\nlet len = sock.recv(&mut buf).await?;\n// send to remote_addr\nlet _len = sock.send(&buf[..len]).await?;\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["addr",{"generic":"A"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"A","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"744":{"id":744,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/async_write.rs","begin":[424,5],"end":[426,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6030":{"id":6030,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4595":{"id":4595,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[26,10],"end":[26,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1071":{"id":1071,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2833":{"id":2833,"crate_id":0,"name":"0","span":{"filename":"src/net/unix/split_owned.rs","begin":[88,25],"end":[88,42]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}}}},"4922":{"id":4922,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3160":{"id":3160,"crate_id":0,"name":"readable","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1149,5],"end":[1152,6]},"visibility":"public","docs":"Waits for the pipe to become readable.\n\nThis function is equivalent to `ready(Interest::READABLE)` and is usually\npaired with `try_read()`.\n\n# Examples\n\n```no_run\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-client-readable\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let client = named_pipe::ClientOptions::new().open(PIPE_NAME)?;\n\n    let mut msg = vec![0; 1024];\n\n    loop {\n        // Wait for the pipe to be readable\n        client.readable().await?;\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match client.try_read(&mut msg) {\n            Ok(n) => {\n                msg.truncate(n);\n                break;\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    println!(\"GOT = {:?}\", msg);\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1398":{"id":1398,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6684":{"id":6684,"crate_id":0,"name":"0","span":{"filename":"src/sync/set_once.rs","begin":[380,28],"end":[380,33]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"generic":"T"}}},"7011":{"id":7011,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5249":{"id":5249,"crate_id":0,"name":"Closed","span":{"filename":"src/sync/mpsc/error.rs","begin":[35,5],"end":[35,14]},"visibility":"default","docs":"The receive half of the channel was explicitly closed or has been\ndropped.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":{"tuple":[5564]},"discriminant":null}}},"1725":{"id":1725,"crate_id":0,"name":"get_mut","span":{"filename":"src/io/util/chain.rs","begin":[49,5],"end":[51,6]},"visibility":"public","docs":"Gets mutable references to the underlying readers in this `Chain`.\n\nCare should be taken to avoid modifying the internal I/O state of the\nunderlying readers as doing so may corrupt the internal state of this\n`Chain`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"tuple":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}},{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3487":{"id":3487,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7338":{"id":7338,"crate_id":0,"name":"checked_sub","span":{"filename":"src/time/instant.rs","begin":[148,5],"end":[150,6]},"visibility":"public","docs":"Returns `Some(t)` where `t` is the time `self - duration` if `t` can be\nrepresented as `Instant` (which means it's inside the bounds of the\nunderlying data structure), `None` otherwise.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["duration",{"resolved_path":{"path":"Duration","id":2215,"args":null}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Instant","id":7328,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3814":{"id":3814,"crate_id":2,"name":"into_future","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"qualified_path":{"name":"IntoFuture","args":null,"self_type":{"generic":"F"},"trait":{"path":"IntoFuture","id":525,"args":null}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2052":{"id":2052,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[32,34],"end":[32,52]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"copy_bidirectional::copy_bidirectional","name":"copy_bidirectional","id":1756,"is_glob":false}}},"5576":{"id":5576,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"290":{"id":290,"crate_id":0,"name":"RawHandle","span":{"filename":"src/doc/os.rs","begin":[12,9],"end":[12,57]},"visibility":"public","docs":"See [`std::os::windows::io::RawHandle`](https://doc.rust-lang.org/std/os/windows/io/type.RawHandle.html)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"type_alias":{"type":{"resolved_path":{"path":"crate::doc::NotDefinedHere","id":288,"args":null}},"generics":{"params":[],"where_predicates":[]}}}},"5903":{"id":5903,"crate_id":0,"name":"const_new","span":{"filename":"src/sync/notify.rs","begin":[505,5],"end":[510,6]},"visibility":"public","docs":"Create a new `Notify`, initialized without a permit.\n\nWhen using the `tracing` [unstable feature], a `Notify` created with\n`const_new` will not be instrumented. As such, it will not be visible\nin [`tokio-console`]. Instead, [`Notify::new`] should be used to create\nan instrumented object if that is needed.\n\n# Examples\n\n```\nuse tokio::sync::Notify;\n\nstatic NOTIFY: Notify = Notify::const_new();\n```\n\n[`tokio-console`]: https://github.com/tokio-rs/console\n[unstable feature]: crate#unstable-features","links":{"`Notify::new`":5902,"crate#unstable-features":3944},"attrs":[{"other":"#[attr = CfgTrace([Not(All([NameValue { name: \"loom\", value: None, span: src/sync/notify.rs:504:19: 504:23 (#0) }, NameValue { name: \"test\", value: None, span: src/sync/notify.rs:504:25: 504:29 (#0) }], src/sync/notify.rs:504:18: 504:30 (#0)), src/sync/notify.rs:504:14: 504:31 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2379":{"id":2379,"crate_id":0,"name":"ready","span":{"filename":"src/net/tcp/split_owned.rs","begin":[384,5],"end":[386,6]},"visibility":"public","docs":"Waits for any of the requested ready states.\n\nThis function is usually paired with [`try_write()`]. It can be used instead\nof [`writable()`] to check the returned ready set for [`Ready::WRITABLE`]\nand [`Ready::WRITE_CLOSED`] events.\n\nThe function may complete without the socket being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\nThis function is equivalent to [`TcpStream::ready`].\n\n[`try_write()`]: Self::try_write\n[`writable()`]: Self::writable\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`Ready`":978,"Self::try_write":2377,"Self::writable":2378,"`Ready::WRITABLE`":981,"`TcpStream::ready`":2279,"`Ready::WRITE_CLOSED`":983},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"617":{"id":617,"crate_id":0,"name":"DuplexStream","span":{"filename":"src/io/util/mem.rs","begin":[49,1],"end":[52,2]},"visibility":"public","docs":"A bidirectional pipe to read and write bytes in memory.\n\nA pair of `DuplexStream`s are created together, and they act as a \"channel\"\nthat can be used as in-memory IO types. Writing to one of the pairs will\nallow that data to be read from the other, and vice versa.\n\n# Closing a `DuplexStream`\n\nIf one end of the `DuplexStream` channel is dropped, any pending reads on\nthe other side will continue to read data until the buffer is drained, then\nthey will signal EOF by returning 0 bytes. Any writes to the other side,\nincluding pending ones (that are waiting for free space in the buffer) will\nreturn `Err(BrokenPipe)` immediately.\n\n# Example\n\n```\n# async fn ex() -> std::io::Result<()> {\n# use tokio::io::{AsyncReadExt, AsyncWriteExt};\nlet (mut client, mut server) = tokio::io::duplex(64);\n\nclient.write_all(b\"ping\").await?;\n\nlet mut buf = [0u8; 4];\nserver.read_exact(&mut buf).await?;\nassert_eq!(&buf, b\"ping\");\n\nserver.write_all(b\"pong\").await?;\n\nclient.read_exact(&mut buf).await?;\nassert_eq!(&buf, b\"pong\");\n# Ok(())\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1839,616,798,1841]}}},"4141":{"id":4141,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4468":{"id":4468,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/local_runtime/options.rs","begin":[13,19],"end":[13,24]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2706":{"id":2706,"crate_id":0,"name":"try_read","span":{"filename":"src/net/unix/split.rs","begin":[121,5],"end":[123,6]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffer, returning how\nmany bytes were read.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: Self::readable()\n[`ready()`]: Self::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. If `n` is `0`, then it can indicate one of two scenarios:\n\n1. The stream's read half is closed and will no longer yield data.\n2. The specified buffer was 0 bytes in length.\n\nIf the stream is not ready to read data,\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::ready()":2709,"Self::readable()":2707},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"944":{"id":944,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6230":{"id":6230,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6557":{"id":6557,"crate_id":0,"name":"new","span":{"filename":"src/sync/once_cell.rs","begin":[127,5],"end":[133,6]},"visibility":"public","docs":"Creates a new empty `OnceCell` instance.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3033":{"id":3033,"crate_id":0,"name":"try_write_vectored","span":{"filename":"src/net/unix/pipe.rs","begin":[739,5],"end":[743,6]},"visibility":"public","docs":"Tries to write several buffers to the pipe, returning how many bytes\nwere written.\n\nData is written from each buffer in order, with the final buffer read\nfrom possible being only partially consumed. This method behaves\nequivalently to a single call to [`try_write()`] with concatenated\nbuffers.\n\nIf the total length of buffers is not greater than `PIPE_BUF` (an OS\nconstant, 4096 under Linux), then the write is guaranteed to be atomic,\ni.e. either the entire contents of buffers will be written or this\nmethod will fail with `WouldBlock`. There is no such guarantee if the\ntotal length of buffers is greater than `PIPE_BUF`.\n\nThis function is usually paired with [`writable`].\n\n[`try_write()`]: Self::try_write()\n[`writable`]: Self::writable\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the pipe is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Notes\n\nTo avoid unnecessary syscalls, this will only attempt the write\noperation if the OS has informed Tokio that this pipe has become\nwritable. Because of this, `try_write_vectored()` may fail with a\n[`WouldBlock`] error if Tokio has not yet heard from the OS that\nthis pipe has become writable.\n\n# Examples\n\n```no_run\nuse tokio::net::unix::pipe;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Open a writing end of a fifo\n    let tx = pipe::OpenOptions::new().open_sender(\"path/to/a/fifo\")?;\n\n    let bufs = [io::IoSlice::new(b\"hello \"), io::IoSlice::new(b\"world\")];\n\n    loop {\n        // Wait for the pipe to be writable\n        tx.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match tx.try_write_vectored(&bufs) {\n            Ok(n) => {\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```\n\n[`WouldBlock`]: std::io::ErrorKind::WouldBlock","links":{"Self::try_write()":3031,"Self::writable":3029,"std::io::ErrorKind::WouldBlock":1116},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1271":{"id":1271,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4795":{"id":4795,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5122":{"id":5122,"crate_id":0,"name":"channel","span":{"filename":"src/sync/broadcast.rs","begin":[540,1],"end":[548,2]},"visibility":"public","docs":"Create a bounded, multi-producer, multi-consumer channel where each sent\nvalue is broadcasted to all active receivers.\n\n**Note:** The provided `capacity` is rounded **up** to the next power of\ntwo. That rounded size is the number of messages the internal ring buffer\ncan retain, and is what [lag detection](self#lagging) uses. For example,\n`channel(3)` behaves as if the capacity were 4.\n\nAll data sent on [`Sender`] will become available on every active\n[`Receiver`] in the same order as it was sent.\n\nThe `Sender` can be cloned to `send` to the same channel from multiple\npoints in the process or it can be used concurrently from an `Arc`. New\n`Receiver` handles are created by calling [`Sender::subscribe`].\n\nIf all [`Receiver`] handles are dropped, the `send` method will return a\n[`SendError`]. Similarly, if all [`Sender`] handles are dropped, the [`recv`]\nmethod will return a [`RecvError`].\n\n[`Sender`]: crate::sync::broadcast::Sender\n[`Sender::subscribe`]: crate::sync::broadcast::Sender::subscribe\n[`Receiver`]: crate::sync::broadcast::Receiver\n[`recv`]: crate::sync::broadcast::Receiver::recv\n[`SendError`]: crate::sync::broadcast::error::SendError\n[`RecvError`]: crate::sync::broadcast::error::RecvError\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx1) = broadcast::channel(16);\nlet mut rx2 = tx.subscribe();\n\ntokio::spawn(async move {\n    assert_eq!(rx1.recv().await.unwrap(), 10);\n    assert_eq!(rx1.recv().await.unwrap(), 20);\n});\n\ntokio::spawn(async move {\n    assert_eq!(rx2.recv().await.unwrap(), 10);\n    assert_eq!(rx2.recv().await.unwrap(), 20);\n});\n\ntx.send(10).unwrap();\ntx.send(20).unwrap();\n# }\n```\n\n# Panics\n\nThis will panic if `capacity` is equal to `0`.\n\nThis pre-allocates space for `capacity` messages. Allocation failure may result in a panic or\n[an allocation error](std::alloc::handle_alloc_error).","links":{"crate::sync::broadcast::Sender::subscribe":5124,"std::alloc::handle_alloc_error":5220,"crate::sync::broadcast::error::SendError":5024,"crate::sync::broadcast::Sender":5023,"crate::sync::broadcast::error::RecvError":5052,"self#lagging":5121,"crate::sync::broadcast::Receiver::recv":5049,"crate::sync::broadcast::Receiver":5051},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["capacity",{"primitive":"usize"}]],"output":{"tuple":[{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}]},"is_c_variadic":false},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3360":{"id":3360,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6884":{"id":6884,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[466,21],"end":[466,26]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"mutex::Mutex","name":"Mutex","id":5687,"is_glob":false}}},"7211":{"id":7211,"crate_id":0,"name":"spawn_blocking_on","span":{"filename":"src/task/builder.rs","begin":[205,5],"end":[234,6]},"visibility":"public","docs":"Spawns blocking code on the provided [runtime handle]'s blocking threadpool.\n\nSee [`Handle::spawn_blocking`] for more details.\n\n[runtime handle]: crate::runtime::Handle\n[`Handle::spawn_blocking`]: crate::runtime::Handle::spawn_blocking","links":{"crate::runtime::Handle::spawn_blocking":4273,"crate::runtime::Handle":4265},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["function",{"generic":"Function"}],["handle",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Handle","id":4265,"args":null}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Output"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"Function","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"Output","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Function"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"Output"}}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"Output"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5449":{"id":5449,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1925":{"id":1925,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"163":{"id":163,"crate_id":2,"name":"into","span":null,"visibility":"default","docs":"Calls `U::from(self)`.\n\nThat is, this conversion is whatever the implementation of\n<code>[From]&lt;T&gt; for U</code> chooses to do.","links":{"From":162},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":{"feature":"const_convert","level":"unstable"},"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"generic":"U"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3687":{"id":3687,"crate_id":0,"name":"task","span":{"filename":"src/task/mod.rs","begin":[1,1],"end":[335,2]},"visibility":"public","docs":"Asynchronous green-threads.\n\n## What are Tasks?\n\nA _task_ is a light weight, non-blocking unit of execution. A task is similar\nto an OS thread, but rather than being managed by the OS scheduler, they are\nmanaged by the [Tokio runtime][rt]. Another name for this general pattern is\n[green threads]. If you are familiar with [Go's goroutines], [Kotlin's\ncoroutines], or [Erlang's processes], you can think of Tokio's tasks as\nsomething similar.\n\nKey points about tasks include:\n\n* Tasks are **light weight**. Because tasks are scheduled by the Tokio\n  runtime rather than the operating system, creating new tasks or switching\n  between tasks does not require a context switch and has fairly low\n  overhead. Creating, running, and destroying large numbers of tasks is\n  quite cheap, especially compared to OS threads.\n\n* Tasks are scheduled **cooperatively**. Most operating systems implement\n  _preemptive multitasking_. This is a scheduling technique where the\n  operating system allows each thread to run for a period of time, and then\n  _preempts_ it, temporarily pausing that thread and switching to another.\n  Tasks, on the other hand, implement _cooperative multitasking_. In\n  cooperative multitasking, a task is allowed to run until it _yields_,\n  indicating to the Tokio runtime's scheduler that it cannot currently\n  continue executing. When a task yields, the Tokio runtime switches to\n  executing the next task.\n\n* Tasks are **non-blocking**. Typically, when an OS thread performs I/O or\n  must synchronize with another thread, it _blocks_, allowing the OS to\n  schedule another thread. When a task cannot continue executing, it must\n  yield instead, allowing the Tokio runtime to schedule another task. Tasks\n  should generally not perform system calls or other operations that could\n  block a thread, as this would prevent other tasks running on the same\n  thread from executing as well. Instead, this module provides APIs for\n  running blocking operations in an asynchronous context.\n\n[rt]: crate::runtime\n[green threads]: https://en.wikipedia.org/wiki/Green_threads\n[Go's goroutines]: https://tour.golang.org/concurrency/1\n[Kotlin's coroutines]: https://kotlinlang.org/docs/reference/coroutines-overview.html\n[Erlang's processes]: http://erlang.org/doc/getting_started/conc_prog.html#processes\n\n## Working with Tasks\n\nThis module provides the following APIs for working with tasks:\n\n### Spawning\n\nPerhaps the most important function in this module is [`task::spawn`]. This\nfunction can be thought of as an async equivalent to the standard library's\n[`thread::spawn`][`std::thread::spawn`]. It takes an `async` block or other\n[future], and creates a new task to run that work concurrently:\n\n```\nuse tokio::task;\n\n# async fn doc() {\ntask::spawn(async {\n    // perform some work here...\n});\n# }\n```\n\nLike [`std::thread::spawn`], `task::spawn` returns a [`JoinHandle`] struct.\nA `JoinHandle` is itself a future which may be used to await the output of\nthe spawned task. For example:\n\n```\nuse tokio::task;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> Result<(), Box<dyn std::error::Error>> {\nlet join = task::spawn(async {\n    // ...\n    \"hello world!\"\n});\n\n// ...\n\n// Await the result of the spawned task.\nlet result = join.await?;\nassert_eq!(result, \"hello world!\");\n# Ok(())\n# }\n```\n\nAgain, like `std::thread`'s [`JoinHandle` type][thread_join], if the spawned\ntask panics, awaiting its `JoinHandle` will return a [`JoinError`]. For\nexample:\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::task;\n\n# #[tokio::main] async fn main() {\nlet join = task::spawn(async {\n    panic!(\"something bad happened!\")\n});\n\n// The returned result indicates that the task failed.\nassert!(join.await.is_err());\n# }\n# }\n```\n\n`spawn`, `JoinHandle`, and `JoinError` are present when the \"rt\"\nfeature flag is enabled.\n\n[`task::spawn`]: crate::task::spawn()\n[future]: std::future::Future\n[`std::thread::spawn`]: std::thread::spawn\n[`JoinHandle`]: crate::task::JoinHandle\n[thread_join]: std::thread::JoinHandle\n[`JoinError`]: crate::task::JoinError\n\n#### Cancellation\n\nSpawned tasks may be cancelled using the [`JoinHandle::abort`] or\n[`AbortHandle::abort`] methods. When one of these methods are called, the\ntask is signalled to shut down next time it yields at an `.await` point. If\nthe task is already idle, then it will be shut down as soon as possible\nwithout running again before being shut down. Additionally, shutting down a\nTokio runtime (e.g. by returning from `#[tokio::main]`) immediately cancels\nall tasks on it.\n\nWhen tasks are shut down, it will stop running at whichever `.await` it has\nyielded at. All local variables are destroyed by running their destructor.\nOnce shutdown has completed, awaiting the [`JoinHandle`] will fail with a\n[cancelled error](crate::task::JoinError::is_cancelled).\n\nNote that aborting a task does not guarantee that it fails with a cancelled\nerror, since it may complete normally first. For example, if the task does\nnot yield to the runtime at any point between the call to `abort` and the\nend of the task, then the [`JoinHandle`] will instead report that the task\nexited normally.\n\nBe aware that tasks spawned using [`spawn_blocking`] cannot be aborted\nbecause they are not async. If you call `abort` on a `spawn_blocking`\ntask, then this *will not have any effect*, and the task will continue\nrunning normally. The exception is if the task has not started running\nyet; in that case, calling `abort` may prevent the task from starting.\n\nBe aware that calls to [`JoinHandle::abort`] just schedule the task for\ncancellation, and will return before the cancellation has completed. To wait\nfor cancellation to complete, wait for the task to finish by awaiting the\n[`JoinHandle`]. Similarly, the [`JoinHandle::is_finished`] method does not\nreturn `true` until the cancellation has finished.\n\nCalling [`JoinHandle::abort`] multiple times has the same effect as calling\nit once.\n\nTokio also provides an [`AbortHandle`], which is like the [`JoinHandle`],\nexcept that it does not provide a mechanism to wait for the task to finish.\nEach task can only have one [`JoinHandle`], but it can have more than one\n[`AbortHandle`].\n\n[`JoinHandle::abort`]: crate::task::JoinHandle::abort\n[`AbortHandle::abort`]: crate::task::AbortHandle::abort\n[`AbortHandle`]: crate::task::AbortHandle\n[`JoinHandle::is_finished`]: crate::task::JoinHandle::is_finished\n\n### Blocking and Yielding\n\nAs we discussed above, code running in asynchronous tasks should not perform\noperations that can block. A blocking operation performed in a task running\non a thread that is also running other tasks would block the entire thread,\npreventing other tasks from running.\n\nInstead, Tokio provides two APIs for running blocking operations in an\nasynchronous context: [`task::spawn_blocking`] and [`task::block_in_place`].\n\nBe aware that if you call a non-async method from async code, that non-async\nmethod is still inside the asynchronous context, so you should also avoid\nblocking operations there. This includes destructors of objects destroyed in\nasync code.\n\n#### `spawn_blocking`\n\nThe `task::spawn_blocking` function is similar to the `task::spawn` function\ndiscussed in the previous section, but rather than spawning a\n_non-blocking_ future on the Tokio runtime, it instead spawns a\n_blocking_ function on a dedicated thread pool for blocking tasks. For\nexample:\n\n```\nuse tokio::task;\n\n# async fn docs() {\ntask::spawn_blocking(|| {\n    // do some compute-heavy work or call synchronous code\n});\n# }\n```\n\nJust like `task::spawn`, `task::spawn_blocking` returns a `JoinHandle`\nwhich we can use to await the result of the blocking operation:\n\n```rust\n# use tokio::task;\n# async fn docs() -> Result<(), Box<dyn std::error::Error>>{\nlet join = task::spawn_blocking(|| {\n    // do some compute-heavy work or call synchronous code\n    \"blocking completed\"\n});\n\nlet result = join.await?;\nassert_eq!(result, \"blocking completed\");\n# Ok(())\n# }\n```\n\n#### `block_in_place`\n\nWhen using the [multi-threaded runtime][rt-multi-thread], the [`task::block_in_place`]\nfunction is also available. Like `task::spawn_blocking`, this function\nallows running a blocking operation from an asynchronous context. Unlike\n`spawn_blocking`, however, `block_in_place` works by transitioning the\n_current_ worker thread to a blocking thread, moving other tasks running on\nthat thread to another worker thread. This can improve performance by avoiding\ncontext switches.\n\nFor example:\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::task;\n\n# async fn docs() {\nlet result = task::block_in_place(|| {\n    // do some compute-heavy work or call synchronous code\n    \"blocking completed\"\n});\n\nassert_eq!(result, \"blocking completed\");\n# }\n# }\n```\n\n#### `yield_now`\n\nIn addition, this module provides a [`task::yield_now`] async function\nthat is analogous to the standard library's [`thread::yield_now`]. Calling\nand `await`ing this function will cause the current task to yield to the\nTokio runtime's scheduler, allowing other tasks to be\nscheduled. Eventually, the yielding task will be polled again, allowing it\nto execute. For example:\n\n```rust\nuse tokio::task;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nasync {\n    task::spawn(async {\n        // ...\n        println!(\"spawned task done!\")\n    });\n\n    // Yield, allowing the newly-spawned task to execute first.\n    task::yield_now().await;\n    println!(\"main task done!\");\n}\n# .await;\n# }\n```\n\n[`task::spawn_blocking`]: crate::task::spawn_blocking\n[`task::block_in_place`]: crate::task::block_in_place\n[rt-multi-thread]: ../runtime/index.html#threaded-scheduler\n[`task::yield_now`]: crate::task::yield_now()\n[`thread::yield_now`]: std::thread::yield_now","links":{"crate::task::spawn()":3799,"std::thread::JoinHandle":3798,"std::thread::spawn":6908,"crate::task::JoinError::is_cancelled":3688,"crate::task::AbortHandle::abort":3766,"crate::task::JoinHandle":3722,"crate::task::JoinError":3686,"std::thread::yield_now":7252,"crate::task::JoinHandle::abort":3767,"crate::task::JoinHandle::is_finished":3800,"std::future::Future":520,"crate::task::AbortHandle":3723,"crate::task::block_in_place":4276,"crate::runtime":3964,"crate::task::spawn_blocking":379,"`spawn_blocking`":379,"crate::task::yield_now()":4758},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[4759,7202,7235,7236,7237,7238,7239,7240,7241,7242,7243,7244,7245,7246,7247,7248,7249,7250,7251],"is_stripped":false}}},"5776":{"id":5776,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4014":{"id":4014,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"490":{"id":490,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[233,1],"end":[233,36]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::hard_link::hard_link","name":"hard_link","id":302,"is_glob":false}}},"2252":{"id":2252,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/socket.rs","begin":[999,5],"end":[1003,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:66:27: 66:30 (#475) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:66:32: 66:38 (#475) }], src/macros/cfg.rs:66:26: 66:39 (#475)), NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:66:41: 66:45 (#475) }, NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/macros/cfg.rs:66:47: 66:65 (#475) }], src/macros/cfg.rs:66:22: 66:66 (#475))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(unix, target_os = \"wasi\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[2251],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7538":{"id":7538,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[102,37],"end":[102,42]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"sleep::Sleep","name":"Sleep","id":4266,"is_glob":false}}},"6103":{"id":6103,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2579":{"id":2579,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"817":{"id":817,"crate_id":0,"name":"poll_write","span":{"filename":"src/net/tcp/split_owned.rs","begin":[461,5],"end":[467,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4341":{"id":4341,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6757":{"id":6757,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3233":{"id":3233,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4995":{"id":4995,"crate_id":0,"name":null,"span":{"filename":"src/sync/barrier.rs","begin":[41,10],"end":[41,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[4994],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1471":{"id":1471,"crate_id":0,"name":"select","span":{"filename":"src/macros/select.rs","begin":[559,7],"end":[573,2]},"visibility":"public","docs":"Waits on multiple concurrent branches, returning when the **first** branch\ncompletes, cancelling the remaining branches.\n\nThe `select!` macro must be used inside of async functions, closures, and\nblocks.\n\nThe `select!` macro accepts one or more branches with the following pattern:\n\n```text\n<pattern> = <async expression> (, if <precondition>)? => <handler>,\n```\n\nAdditionally, the `select!` macro may include a single, optional `else`\nbranch, which evaluates if none of the other branches match their patterns:\n\n```text\nelse => <expression>\n```\n\nThe macro aggregates all `<async expression>` expressions and runs them\nconcurrently on the **current** task. Once the **first** expression\ncompletes with a value that matches its `<pattern>`, the `select!` macro\nreturns the result of evaluating the completed branch's `<handler>`\nexpression.\n\nAdditionally, each branch may include an optional `if` precondition. If the\nprecondition returns `false`, then the branch is disabled. The provided\n`<async expression>` is still evaluated but the resulting future is never\npolled. This capability is useful when using `select!` within a loop.\n\nThe complete lifecycle of a `select!` expression is as follows:\n\n1. Evaluate all provided `<precondition>` expressions. If the precondition\n   returns `false`, disable the branch for the remainder of the current call\n   to `select!`. Re-entering `select!` due to a loop clears the \"disabled\"\n   state.\n2. Aggregate the `<async expression>`s from each branch, including the\n   disabled ones. If the branch is disabled, `<async expression>` is still\n   evaluated, but the resulting future is not polled.\n3. If **all** branches are disabled: go to step 6.\n4. Concurrently await on the results for all remaining `<async expression>`s.\n5. Once an `<async expression>` returns a value, attempt to apply the value to the\n   provided `<pattern>`. If the pattern matches, evaluate the `<handler>` and return.\n   If the pattern **does not** match, disable the current branch for the remainder of\n   the current call to `select!`. Continue from step 3.\n6. Evaluate the `else` expression. If no else expression is provided, panic.\n\n# Runtime characteristics\n\nBy running all async expressions on the current task, the expressions are\nable to run **concurrently** but not in **parallel**. This means all\nexpressions are run on the same thread and if one branch blocks the thread,\nall other expressions will be unable to continue. If parallelism is\nrequired, spawn each async expression using [`tokio::spawn`] and pass the\njoin handle to `select!`.\n\n[`tokio::spawn`]: crate::spawn\n\n# Fairness\n\nBy default, `select!` randomly picks a branch to check first. This provides\nsome level of fairness when calling `select!` in a loop with branches that\nare always ready.\n\nThis behavior can be overridden by adding `biased;` to the beginning of the\nmacro usage. See the examples for details. This will cause `select` to poll\nthe futures in the order they appear from top to bottom. There are a few\nreasons you may want this:\n\n- The random number generation of `tokio::select!` has a non-zero CPU cost\n- Your futures may interact in a way where known polling order is significant\n\nBut there is an important caveat to this mode. It becomes your responsibility\nto ensure that the polling order of your futures is fair. If for example you\nare selecting between a stream and a shutdown future, and the stream has a\nhuge volume of messages and zero or nearly zero time between them, you should\nplace the shutdown future earlier in the `select!` list to ensure that it is\nalways polled, and will not be ignored due to the stream being constantly\nready.\n\n# Panics\n\nThe `select!` macro panics if all branches are disabled **and** there is no\nprovided `else` branch. A branch is disabled when the provided `if`\nprecondition returns `false` **or** when the pattern does not match the\nresult of `<async expression>`.\n\n# Cancellation safety\n\nWhen using `select!` in a loop to receive messages from multiple sources,\nyou should make sure that the receive call is cancellation safe to avoid\nlosing messages. This section goes through various common methods and\ndescribes whether they are cancel safe.  The lists in this section are not\nexhaustive.\n\nCancellation safety describes what happens when a future is dropped\nbefore it completes. Whether something is cancellation safe depends on\nthe behavior of the future passed to `select!`, which may come from an\nasync method, an async expression, or another future-producing operation.\n\nThe following methods are cancellation safe:\n\n * [`tokio::sync::mpsc::Receiver::recv`](crate::sync::mpsc::Receiver::recv)\n * [`tokio::sync::mpsc::UnboundedReceiver::recv`](crate::sync::mpsc::UnboundedReceiver::recv)\n * [`tokio::sync::broadcast::Receiver::recv`](crate::sync::broadcast::Receiver::recv)\n * [`tokio::sync::watch::Receiver::changed`](crate::sync::watch::Receiver::changed)\n * [`tokio::net::TcpListener::accept`](crate::net::TcpListener::accept)\n * [`tokio::net::UnixListener::accept`](crate::net::UnixListener::accept)\n * [`tokio::signal::unix::Signal::recv`](crate::signal::unix::Signal::recv)\n * [`tokio::io::AsyncReadExt::read`](crate::io::AsyncReadExt::read) on any `AsyncRead`\n * [`tokio::io::AsyncReadExt::read_buf`](crate::io::AsyncReadExt::read_buf) on any `AsyncRead`\n * [`tokio::io::AsyncWriteExt::write`](crate::io::AsyncWriteExt::write) on any `AsyncWrite`\n * [`tokio::io::AsyncWriteExt::write_buf`](crate::io::AsyncWriteExt::write_buf) on any `AsyncWrite`\n * [`tokio_stream::StreamExt::next`](https://docs.rs/tokio-stream/0.1/tokio_stream/trait.StreamExt.html#method.next) on any `Stream`\n * [`futures::stream::StreamExt::next`](https://docs.rs/futures/0.3/futures/stream/trait.StreamExt.html#method.next) on any `Stream`\n\nThe following methods are not cancellation safe and can lead to loss of data:\n\n * [`tokio::io::AsyncReadExt::read_exact`](crate::io::AsyncReadExt::read_exact)\n * [`tokio::io::AsyncReadExt::read_to_end`](crate::io::AsyncReadExt::read_to_end)\n * [`tokio::io::AsyncReadExt::read_to_string`](crate::io::AsyncReadExt::read_to_string)\n * [`tokio::io::AsyncWriteExt::write_all`](crate::io::AsyncWriteExt::write_all)\n\nThe following methods are not cancellation safe because they use a queue for\nfairness and cancellation makes you lose your place in the queue:\n\n * [`tokio::sync::Mutex::lock`](crate::sync::Mutex::lock)\n * [`tokio::sync::RwLock::read`](crate::sync::RwLock::read)\n * [`tokio::sync::RwLock::write`](crate::sync::RwLock::write)\n * [`tokio::sync::Semaphore::acquire`](crate::sync::Semaphore::acquire)\n * [`tokio::sync::Notify::notified`](crate::sync::Notify::notified)\n\nTo determine whether your own methods are cancellation safe, look for the\nlocation of uses of `.await`. This is because when an asynchronous method is\ncancelled, that always happens at an `.await`. If your function behaves\ncorrectly even if it is restarted while waiting at an `.await`, then it is\ncancellation safe.\n\nCancellation safety can be defined in the following way: If you have a\nfuture that has not yet completed, then it must be a no-op to drop that\nfuture and recreate it. This definition is motivated by the situation where\na `select!` is used in a loop. Without this guarantee, you would lose your\nprogress when another branch completes and you restart the `select!` by\ngoing around the loop.\n\nBe aware that cancelling something that is not cancellation safe is not\nnecessarily wrong. For example, if you are cancelling a task because the\napplication is shutting down, then you probably don't care that partially\nread data is lost.\n\n# Examples\n\nBasic select with two branches.\n\n```\nasync fn do_stuff_async() {\n    // async work\n}\n\nasync fn more_async_work() {\n    // more here\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\ntokio::select! {\n    _ = do_stuff_async() => {\n        println!(\"do_stuff_async() completed first\")\n    }\n    _ = more_async_work() => {\n        println!(\"more_async_work() completed first\")\n    }\n};\n# }\n```\n\nBasic stream selecting.\n\n```\nuse tokio_stream::{self as stream, StreamExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut stream1 = stream::iter(vec![1, 2, 3]);\nlet mut stream2 = stream::iter(vec![4, 5, 6]);\n\nlet next = tokio::select! {\n    v = stream1.next() => v.unwrap(),\n    v = stream2.next() => v.unwrap(),\n};\n\nassert!(next == 1 || next == 4);\n# }\n```\n\nCollect the contents of two streams. In this example, we rely on pattern\nmatching and the fact that `stream::iter` is \"fused\", i.e. once the stream\nis complete, all calls to `next()` return `None`.\n\n```\nuse tokio_stream::{self as stream, StreamExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut stream1 = stream::iter(vec![1, 2, 3]);\nlet mut stream2 = stream::iter(vec![4, 5, 6]);\n\nlet mut values = vec![];\n\nloop {\n    tokio::select! {\n        Some(v) = stream1.next() => values.push(v),\n        Some(v) = stream2.next() => values.push(v),\n        else => break,\n    }\n}\n\nvalues.sort();\nassert_eq!(&[1, 2, 3, 4, 5, 6], &values[..]);\n# }\n```\n\nUsing the same future in multiple `select!` expressions can be done by passing\na reference to the future. Doing so requires the future to be [`Unpin`]. A\nfuture can be made [`Unpin`] by either using [`Box::pin`] or stack pinning.\n\n[`Unpin`]: std::marker::Unpin\n[`Box::pin`]: std::boxed::Box::pin\n\nHere, a stream is consumed for at most 1 second.\n\n```\nuse tokio_stream::{self as stream, StreamExt};\nuse tokio::time::{self, Duration};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut stream = stream::iter(vec![1, 2, 3]);\nlet sleep = time::sleep(Duration::from_secs(1));\ntokio::pin!(sleep);\n\nloop {\n    tokio::select! {\n        maybe_v = stream.next() => {\n            if let Some(v) = maybe_v {\n                println!(\"got = {}\", v);\n            } else {\n                break;\n            }\n        }\n        _ = &mut sleep => {\n            println!(\"timeout\");\n            break;\n        }\n    }\n}\n# }\n```\n\nJoining two values using `select!`.\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx1, mut rx1) = oneshot::channel();\nlet (tx2, mut rx2) = oneshot::channel();\n\ntokio::spawn(async move {\n    tx1.send(\"first\").unwrap();\n});\n\ntokio::spawn(async move {\n    tx2.send(\"second\").unwrap();\n});\n\nlet mut a = None;\nlet mut b = None;\n\nwhile a.is_none() || b.is_none() {\n    tokio::select! {\n        v1 = (&mut rx1), if a.is_none() => a = Some(v1.unwrap()),\n        v2 = (&mut rx2), if b.is_none() => b = Some(v2.unwrap()),\n    }\n}\n\nlet res = (a.unwrap(), b.unwrap());\n\nassert_eq!(res.0, \"first\");\nassert_eq!(res.1, \"second\");\n# }\n```\n\nUsing the `biased;` mode to control polling order.\n\n```\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut count = 0u8;\n\nloop {\n    tokio::select! {\n        // If you run this example without `biased;`, the polling order is\n        // pseudo-random, and the assertions on the value of count will\n        // (probably) fail.\n        biased;\n\n        _ = async {}, if count < 1 => {\n            count += 1;\n            assert_eq!(count, 1);\n        }\n        _ = async {}, if count < 2 => {\n            count += 1;\n            assert_eq!(count, 2);\n        }\n        _ = async {}, if count < 3 => {\n            count += 1;\n            assert_eq!(count, 3);\n        }\n        _ = async {}, if count < 4 => {\n            count += 1;\n            assert_eq!(count, 4);\n        }\n\n        else => {\n            break;\n        }\n    };\n}\n# }\n```\n\n## Avoid racy `if` preconditions\n\nGiven that `if` preconditions are used to disable `select!` branches, some\ncaution must be used to avoid missing values.\n\nFor example, here is **incorrect** usage of `sleep` with `if`. The objective\nis to repeatedly run an asynchronous task for up to 50 milliseconds.\nHowever, there is a potential for the `sleep` completion to be missed.\n\n```no_run,should_panic\nuse tokio::time::{self, Duration};\n\nasync fn some_async_work() {\n    // do work\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet sleep = time::sleep(Duration::from_millis(50));\ntokio::pin!(sleep);\n\nwhile !sleep.is_elapsed() {\n    tokio::select! {\n        _ = &mut sleep, if !sleep.is_elapsed() => {\n            println!(\"operation timed out\");\n        }\n        _ = some_async_work() => {\n            println!(\"operation completed\");\n        }\n    }\n}\n\npanic!(\"This example shows how not to do it!\");\n# }\n```\n\nIn the above example, `sleep.is_elapsed()` may return `true` even if\n`sleep.poll()` never returned `Ready`. This opens up a potential race\ncondition where `sleep` expires between the `while !sleep.is_elapsed()`\ncheck and the call to `select!` resulting in the `some_async_work()` call to\nrun uninterrupted despite the sleep having elapsed.\n\nOne way to write the above example without the race would be:\n\n```\nuse tokio::time::{self, Duration};\n\nasync fn some_async_work() {\n# time::sleep(Duration::from_millis(10)).await;\n    // do work\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet sleep = time::sleep(Duration::from_millis(50));\ntokio::pin!(sleep);\n\nloop {\n    tokio::select! {\n        _ = &mut sleep => {\n            println!(\"operation timed out\");\n            break;\n        }\n        _ = some_async_work() => {\n            println!(\"operation completed\");\n        }\n    }\n}\n# }\n```\n# Alternatives from the Ecosystem\n\nThe `select!` macro is a powerful tool for managing multiple asynchronous\nbranches, enabling tasks to run concurrently within the same thread. However,\nits use can introduce challenges, particularly around cancellation safety, which\ncan lead to subtle and hard-to-debug errors. For many use cases, ecosystem\nalternatives may be preferable as they mitigate these concerns by offering\nclearer syntax, more predictable control flow, and reducing the need to manually\nhandle issues like fuse semantics or cancellation safety.\n\n## Merging Streams\n\nFor cases where `loop { select! { ... } }` is used to poll multiple tasks,\nstream merging offers a concise alternative, inherently handle cancellation-safe\nprocessing, removing the risk of data loss. Libraries such as [`tokio_stream`],\n[`futures::stream`] and [`futures_concurrency`] provide tools for merging\nstreams and handling their outputs sequentially.\n\n[`tokio_stream`]: https://docs.rs/tokio-stream/latest/tokio_stream/\n[`futures::stream`]: https://docs.rs/futures/latest/futures/stream/\n[`futures_concurrency`]: https://docs.rs/futures-concurrency/latest/futures_concurrency/\n\n### Example with `select!`\n\n```\nstruct File;\nstruct Channel;\nstruct Socket;\n\nimpl Socket {\n    async fn read_packet(&mut self) -> Vec<u8> {\n        vec![]\n    }\n}\n\nasync fn read_send(_file: &mut File, _channel: &mut Channel) {\n    // do work that is not cancel safe\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\n// open our IO types\nlet mut file = File;\nlet mut channel = Channel;\nlet mut socket = Socket;\n\nloop {\n    tokio::select! {\n        _ = read_send(&mut file, &mut channel) => { /* ... */ },\n        _data = socket.read_packet() => { /* ... */ }\n        _ = futures::future::ready(()) => break\n    }\n}\n# }\n```\n\n### Moving to `merge`\n\nBy using merge, you can unify multiple asynchronous tasks into a single stream,\neliminating the need to manage tasks manually and reducing the risk of\nunintended behavior like data loss.\n\n```\nuse std::pin::pin;\n\nuse futures::stream::unfold;\nuse tokio_stream::StreamExt;\n\nstruct File;\nstruct Channel;\nstruct Socket;\n\nimpl Socket {\n    async fn read_packet(&mut self) -> Vec<u8> {\n        vec![]\n    }\n}\n\nasync fn read_send(_file: &mut File, _channel: &mut Channel) {\n    // do work that is not cancel safe\n}\n\nenum Message {\n    Stop,\n    Sent,\n    Data(Vec<u8>),\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\n// open our IO types\nlet file = File;\nlet channel = Channel;\nlet socket = Socket;\n\nlet a = unfold((file, channel), |(mut file, mut channel)| async {\n    read_send(&mut file, &mut channel).await;\n    Some((Message::Sent, (file, channel)))\n});\nlet b = unfold(socket, |mut socket| async {\n    let data = socket.read_packet().await;\n    Some((Message::Data(data), socket))\n});\nlet c = tokio_stream::iter([Message::Stop]);\n\nlet mut s = pin!(a.merge(b).merge(c));\nwhile let Some(msg) = s.next().await {\n    match msg {\n        Message::Data(_data) => { /* ... */ }\n        Message::Sent => continue,\n        Message::Stop => break,\n    }\n}\n# }\n```\n\n## Racing Futures\n\nIf you need to wait for the first completion among several asynchronous tasks,\necosystem utilities such as\n[`futures`](https://docs.rs/futures/latest/futures/),\n[`futures-lite`](https://docs.rs/futures-lite/latest/futures_lite/) or\n[`futures-concurrency`](https://docs.rs/futures-concurrency/latest/futures_concurrency/)\nprovide streamlined syntax for racing futures:\n\n- [`futures_concurrency::future::Race`](https://docs.rs/futures-concurrency/latest/futures_concurrency/future/trait.Race.html)\n- [`futures::select`](https://docs.rs/futures/latest/futures/macro.select.html)\n- [`futures::stream::select_all`](https://docs.rs/futures/latest/futures/stream/select_all/index.html) (for streams)\n- [`futures_lite::future::or`](https://docs.rs/futures-lite/latest/futures_lite/future/fn.or.html)\n- [`futures_lite::future::race`](https://docs.rs/futures-lite/latest/futures_lite/future/fn.race.html)\n\n```\nuse futures_concurrency::future::Race;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet task_a = async { Ok(\"ok\") };\nlet task_b = async { Err(\"error\") };\nlet result = (task_a, task_b).race().await;\n\nmatch result {\n    Ok(output) => println!(\"First task completed with: {output}\"),\n    Err(err) => eprintln!(\"Error occurred: {err}\"),\n}\n# }\n```","links":{"crate::sync::watch::Receiver::changed":6781,"crate::sync::mpsc::UnboundedReceiver::recv":5497,"crate::sync::Semaphore::acquire":6152,"std::boxed::Box::pin":7635,"crate::sync::RwLock::read":6397,"crate::sync::RwLock::write":6435,"crate::net::UnixListener::accept":2627,"crate::io::AsyncReadExt::read":1484,"crate::io::AsyncReadExt::read_buf":1492,"crate::io::AsyncWriteExt::write":316,"crate::sync::Mutex::lock":5685,"crate::io::AsyncWriteExt::write_buf":1556,"crate::net::TcpListener::accept":2153,"crate::io::AsyncReadExt::read_to_end":206,"crate::io::AsyncReadExt::read_to_string":1542,"crate::sync::Notify::notified":5896,"crate::sync::mpsc::Receiver::recv":5392,"std::marker::Unpin":150,"crate::io::AsyncWriteExt::write_all":209,"crate::signal::unix::Signal::recv":4815,"crate::io::AsyncReadExt::read_exact":1495,"crate::spawn":3799,"crate::sync::broadcast::Receiver::recv":5049},"attrs":[{"other":"#[attr = CfgAttrTrace]"},"macro_export",{"other":"#[doc(cfg(feature = \"macros\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"macro":"macro_rules! select {\n    {\n        $(\n            biased;\n        )?\n        $(\n            $bind:pat = $fut:expr $(, if $cond:expr)? => $handler:expr,\n        )*\n        $(\n            else => $els:expr $(,)?\n        )?\n    } => { ... };\n}"}},"7084":{"id":7084,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5322":{"id":5322,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3560":{"id":3560,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1798":{"id":1798,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7411":{"id":7411,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3887":{"id":3887,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2125":{"id":2125,"crate_id":0,"name":"Internal","span":{"filename":"src/net/addr.rs","begin":[270,5],"end":[270,25]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[allow(missing_debug_implementations)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":"unit","generics":{"params":[],"where_predicates":[]},"impls":[]}}},"363":{"id":363,"crate_id":3,"name":"to_owned","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"generic":"T"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5649":{"id":5649,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5976":{"id":5976,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"IntoFuture","id":525,"args":null},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[3812,3813,3814],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"F"}}}},"4214":{"id":4214,"crate_id":0,"name":"capture","span":{"filename":"src/runtime/dump.rs","begin":[267,5],"end":[273,6]},"visibility":"public","docs":"Runs the function `f` in tracing mode, and returns its result along with the resulting [`Trace`].\n\nThis is normally called with `f` being the poll function of a future, and will give you a backtrace\nthat tells you what that one future is doing.\n\nUse [`Handle::dump`] instead if you want to know what *all the tasks* in your program are doing.\nAlso see [`Handle::dump`] for more documentation about dumps, but unlike [`Handle::dump`], this function\nshould not be much slower than calling `f` directly.\n\nDue to the way tracing is implemented, Tokio leaf futures will usually, instead of doing their\nactual work, return `Poll::Pending` without registering the task's waker with any driver.\nThis means forward progress will probably not happen unless you eventually call your future\noutside of `capture`, or explicitly re-schedule the task (e.g. by calling\n[`cx.waker().wake_by_ref()`][std::task::Waker::wake_by_ref]) after `capture` returns.\n\n[`Handle::dump`]: crate::runtime::Handle::dump\n\nExample usage:\n```\nuse std::future::Future;\nuse std::task::Poll;\nuse tokio::runtime::dump::Trace;\n\n# async fn test_fn() {\n// some future\nlet mut test_future = std::pin::pin!(async move { tokio::task::yield_now().await; 0 });\n\n// trace it once, see what it's doing\nlet (trace, res) = Trace::root(std::future::poll_fn(|cx| {\n    let (res, trace) = Trace::capture(|| test_future.as_mut().poll(cx));\n    Poll::Ready((trace, res))\n})).await;\n\n// await it to let it finish, outside of a `capture`\nlet output = match res {\n   Poll::Ready(output) => output,\n   Poll::Pending => test_future.await,\n};\n\nprintln!(\"{trace}\");\n# }\n```\n\n### Nested calls\n\nNested calls to `capture` might return partial traces, but will not do any other undesirable behavior (for\nexample, they will not panic).","links":{"crate::runtime::Handle::dump":4045,"std::task::Waker::wake_by_ref":4213,"`Trace`":4094},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["f",{"generic":"F"}]],"output":{"tuple":[{"generic":"R"},{"resolved_path":{"path":"Trace","id":4094,"args":null}}]},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"R"}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"690":{"id":690,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/async_write.rs","begin":[52,5],"end":[56,34]},"visibility":"default","docs":"Attempt to write bytes from `buf` into the object.\n\nOn success, returns `Poll::Ready(Ok(num_bytes_written))`. If successful,\nthen it must be guaranteed that `n <= buf.len()`. A return value of `0`\ntypically means that the underlying object is no longer able to accept\nbytes and will likely not be able to in the future as well, or that the\nbuffer provided is empty.\n\nIf the object is not ready for writing, the method returns\n`Poll::Pending` and arranges for the current task (via\n`cx.waker()`) to receive a notification when the object becomes\nwritable or is closed.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"2452":{"id":2452,"crate_id":0,"name":"nodelay","span":{"filename":"src/net/tcp/stream.rs","begin":[1154,5],"end":[1156,6]},"visibility":"public","docs":"Gets the value of the `TCP_NODELAY` option on this socket.\n\nFor more information about this option, see [`set_nodelay`].\n\n[`set_nodelay`]: TcpStream::set_nodelay\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\nprintln!(\"{:?}\", stream.nodelay()?);\n# Ok(())\n# }\n```","links":{"TcpStream::set_nodelay":2451},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"bool"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4541":{"id":4541,"crate_id":0,"name":"schedule_latency_histogram_bucket_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[1209,9],"end":[1217,10]},"visibility":"public","docs":"Returns the number of times the given worker polled tasks with a schedule\nlatency within the given bucket's range.\n\nEach worker maintains its own histogram and the counts for each bucket\nstarts at zero when the runtime is created. Each time the worker polls a\ntask, it tracks the time elapsed between when the task was scheduled and\nwhen it was polled and increments the associated bucket by 1.\n\nEach bucket is a monotonically increasing counter. It is never\ndecremented or reset to zero.\n\n# Arguments\n\n`worker` is the index of the worker being queried. The given value must\nbe between 0 and `num_workers()`. The index uniquely identifies a single\nworker and will continue to identify the worker throughout the lifetime\nof the runtime instance.\n\n`bucket` is the index of the bucket being queried. The bucket is scoped\nto the worker. The range represented by the bucket can be queried by\ncalling [`schedule_latency_histogram_bucket_range()`]. Each worker maintains\nidentical bucket ranges.\n\n# Panics\n\nThe method panics when `worker` represents an invalid worker, i.e. is\ngreater than or equal to `num_workers()` or if `bucket` represents an\ninvalid bucket.\n\n# Examples\n\n```\nuse tokio::runtime::{self, Handle};\n\nfn main() {\n    runtime::Builder::new_current_thread()\n        .enable_metrics_schedule_latency_histogram()\n        .build()\n        .unwrap()\n        .block_on(async {\n            let metrics = Handle::current().metrics();\n            let buckets = metrics.schedule_latency_histogram_num_buckets();\n\n            for worker in 0..metrics.num_workers() {\n                for i in 0..buckets {\n                    let range = metrics.schedule_latency_histogram_bucket_range(i);\n                    let count = metrics.schedule_latency_histogram_bucket_count(worker, i);\n                    println!(\"{} tasks encountered a scheduling latency between {}us and {}us\", count, range.start.as_micros(), range.end.as_micros());\n                }\n            }\n        });\n}\n```\n\n[`schedule_latency_histogram_bucket_range()`]: crate::runtime::RuntimeMetrics::schedule_latency_histogram_bucket_range","links":{"crate::runtime::RuntimeMetrics::schedule_latency_histogram_bucket_range":4540},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"schedule-latency\"), span: src/runtime/metrics/runtime.rs:1033:12: 1033:40 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"schedule-latency\"))]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["worker",{"primitive":"usize"}],["bucket",{"primitive":"usize"}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2779":{"id":2779,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1017":{"id":1017,"crate_id":0,"name":"eq","span":{"filename":"src/io/ready.rs","begin":[20,23],"end":[20,32]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6303":{"id":6303,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_read_guard.rs","begin":[195,1],"end":[208,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[6302],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6630":{"id":6630,"crate_id":0,"name":"eq","span":{"filename":"src/sync/once_cell.rs","begin":[474,17],"end":[474,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4868":{"id":4868,"crate_id":0,"name":null,"span":{"filename":"src/signal/windows.rs","begin":[149,1],"end":[209,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[4866,4867],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1344":{"id":1344,"crate_id":0,"name":null,"span":{"filename":"src/io/stdin.rs","begin":[61,5],"end":[65,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"super::Stdin","id":599,"args":null}},"items":[1343],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3106":{"id":3106,"crate_id":0,"name":"unix","span":{"filename":"src/net/unix/mod.rs","begin":[1,1],"end":[39,22]},"visibility":"public","docs":"Unix specific network types.","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:377:23: 377:27 (#501) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:377:29: 377:44 (#501) }], src/macros/cfg.rs:377:22: 377:45 (#501))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[511,3099,3100,3101,3102,3103,3104,3105,2951,2953,2955],"is_stripped":false}}},"5195":{"id":5195,"crate_id":0,"name":"is_closed","span":{"filename":"src/sync/broadcast.rs","begin":[1395,5],"end":[1398,6]},"visibility":"public","docs":"Checks if a channel is closed.\n\nThis method returns `true` if the channel has been closed. The channel is closed\nwhen all [`Sender`] have been dropped.\n\n[`Sender`]: crate::sync::broadcast::Sender\n\n# Examples\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = broadcast::channel::<()>(10);\nassert!(!rx.is_closed());\n\ndrop(tx);\n\nassert!(rx.is_closed());\n# }\n```","links":{"crate::sync::broadcast::Sender":5023},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3433":{"id":3433,"crate_id":0,"name":"env_clear","span":{"filename":"src/process/mod.rs","begin":[524,5],"end":[527,6]},"visibility":"public","docs":"Clears the entire environment map for the child process.\n\n# Examples\n\nBasic usage:\n\n```no_run\n# async fn test() { // allow using await\nuse tokio::process::Command;\n\nlet output = Command::new(\"ls\")\n        .env_clear()\n        .output().await.unwrap();\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1671":{"id":1671,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6957":{"id":6957,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7284":{"id":7284,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5522":{"id":5522,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1998":{"id":1998,"crate_id":0,"name":"into_inner","span":{"filename":"src/io/util/take.rs","begin":[73,5],"end":[75,6]},"visibility":"public","docs":"Consumes the `Take`, returning the wrapped reader.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"generic":"R"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"236":{"id":236,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"3760":{"id":3760,"crate_id":0,"name":"cmp","span":{"filename":"src/runtime/task/id.rs","begin":[31,63],"end":[31,66]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Id","id":3692,"args":null}}}}]],"output":{"resolved_path":{"path":"$crate::cmp::Ordering","id":1021,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5849":{"id":5849,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"Deref","id":550,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Target","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Receiver","id":1075,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[1073],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"P"}}}},"4087":{"id":4087,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2325":{"id":2325,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"563":{"id":563,"crate_id":0,"name":"consume","span":{"filename":"src/io/util/buf_reader.rs","begin":[140,5],"end":[143,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["amt",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7611":{"id":7611,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2652":{"id":2652,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"890":{"id":890,"crate_id":0,"name":"initialize_unfilled","span":{"filename":"src/io/read_buf.rs","begin":[146,5],"end":[148,6]},"visibility":"public","docs":"Returns a mutable reference to the unfilled part of the buffer, ensuring it is fully initialized.\n\nSince `ReadBuf` tracks the region of the buffer that has been initialized, this is effectively \"free\" after\nthe first use.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4741":{"id":4741,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[602,9],"end":[602,28]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:513:17: 513:31 (#1610) }, NameValue { name: \"feature\", value: Some(\"taskdump\"), span: src/macros/cfg.rs:514:17: 514:37 (#1610) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:515:17: 515:31 (#1610) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/macros/cfg.rs:516:17: 516:36 (#1610) }, Any([NameValue { name: \"target_arch\", value: Some(\"aarch64\"), span: src/macros/cfg.rs:518:21: 518:44 (#1610) }, NameValue { name: \"target_arch\", value: Some(\"x86\"), span: src/macros/cfg.rs:519:21: 519:40 (#1610) }, NameValue { name: \"target_arch\", value: Some(\"x86_64\"), span: src/macros/cfg.rs:520:21: 520:43 (#1610) }, NameValue { name: \"target_arch\", value: Some(\"s390x\"), span: src/macros/cfg.rs:521:21: 521:42 (#1610) }], src/macros/cfg.rs:517:20: 522:18 (#1610))], src/macros/cfg.rs:512:22: 523:14 (#1610))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"dump::Dump","name":"Dump","id":4046,"is_glob":false}}},"2979":{"id":2979,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/ucred.rs","begin":[4,27],"end":[4,36]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1217":{"id":1217,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6503":{"id":6503,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[186,5],"end":[188,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6830":{"id":6830,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3306":{"id":3306,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2593,24],"end":[2593,28]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1544":{"id":1544,"crate_id":0,"name":"take","span":{"filename":"src/io/util/async_read_ext.rs","begin":[1445,9],"end":[1450,10]},"visibility":"default","docs":"Creates an adaptor which reads at most `limit` bytes from it.\n\nThis function returns a new instance of `AsyncRead` which will read\nat most `limit` bytes, after which it will always return EOF\n(`Ok(0)`). Any read errors will not count towards the number of\nbytes read and future calls to [`read()`] may succeed.\n\n[`read()`]: fn@crate::io::AsyncReadExt::read\n\n[read]: AsyncReadExt::read\n\n# Examples\n\n[`File`][crate::fs::File]s implement `Read`:\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, AsyncReadExt};\nuse tokio::fs::File;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let f = File::open(\"foo.txt\").await?;\n    let mut buffer = [0; 5];\n\n    // read at most five bytes\n    let mut handle = f.take(5);\n\n    handle.read(&mut buffer).await?;\n    Ok(())\n}\n# }\n```","links":{"fn@crate::io::AsyncReadExt::read":1484,"crate::fs::File":204,"AsyncReadExt::read":1484},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["limit",{"primitive":"u64"}]],"output":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5068":{"id":5068,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5395":{"id":5395,"crate_id":0,"name":"Disconnected","span":{"filename":"src/sync/mpsc/error.rs","begin":[88,5],"end":[88,17]},"visibility":"default","docs":"The **channel**'s sending half has become disconnected, and there will\nnever be any more data received on it.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"7157":{"id":7157,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7484":{"id":7484,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3960":{"id":3960,"crate_id":0,"name":"on_before_task_poll","span":{"filename":"src/runtime/builder.rs","begin":[950,5],"end":[956,6]},"visibility":"public","docs":"Executes function `f` just before a task is polled\n\n`f` is called within the Tokio context, so functions like\n[`tokio::spawn`](crate::spawn) can be called, and may result in this callback being\ninvoked immediately.\n\n**Note**: This is an [unstable API][unstable]. The public API of this type\nmay break in 1.x releases. See [the documentation on unstable\nfeatures][unstable] for details.\n\n[unstable]: crate#unstable-features\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n# use std::sync::{atomic::AtomicUsize, Arc};\n# use tokio::task::yield_now;\n# pub fn main() {\nlet poll_start_counter = Arc::new(AtomicUsize::new(0));\nlet poll_start = poll_start_counter.clone();\nlet rt = tokio::runtime::Builder::new_multi_thread()\n    .enable_all()\n    .on_before_task_poll(move |meta| {\n        println!(\"task {} is about to be polled\", meta.id())\n    })\n    .build()\n    .unwrap();\nlet task = rt.spawn(async {\n    yield_now().await;\n});\nlet _ = rt.block_on(task);\n\n# }\n# }\n```","links":{"crate::spawn":3799,"crate#unstable-features":3944},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/builder.rs:948:11: 948:25 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Fn","id":3952,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],"output":null}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5722":{"id":5722,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mutex.rs","begin":[814,5],"end":[821,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"std::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"std::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"436":{"id":436,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2198":{"id":2198,"crate_id":0,"name":"AsSocket","span":{"filename":"src/doc/os.rs","begin":[63,9],"end":[66,10]},"visibility":"public","docs":"See [`std::os::windows::io::AsSocket`](https://doc.rust-lang.org/std/os/windows/io/trait.AsSocket.html)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":true,"items":[7601],"generics":{"params":[],"where_predicates":[]},"bounds":[],"implementations":[2197,2266,2493,2595]}}},"6049":{"id":6049,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[351,36],"end":[351,41]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[6048],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4287":{"id":4287,"crate_id":0,"name":null,"span":{"filename":"src/runtime/handle.rs","begin":[525,5],"end":[669,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:513:17: 513:31 (#1634) }, NameValue { name: \"feature\", value: Some(\"taskdump\"), span: src/macros/cfg.rs:514:17: 514:37 (#1634) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:515:17: 515:31 (#1634) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/macros/cfg.rs:516:17: 516:36 (#1634) }, Any([NameValue { name: \"target_arch\", value: Some(\"aarch64\"), span: src/macros/cfg.rs:518:21: 518:44 (#1634) }, NameValue { name: \"target_arch\", value: Some(\"x86\"), span: src/macros/cfg.rs:519:21: 519:40 (#1634) }, NameValue { name: \"target_arch\", value: Some(\"x86_64\"), span: src/macros/cfg.rs:520:21: 520:43 (#1634) }, NameValue { name: \"target_arch\", value: Some(\"s390x\"), span: src/macros/cfg.rs:521:21: 521:42 (#1634) }], src/macros/cfg.rs:517:20: 522:18 (#1634))], src/macros/cfg.rs:512:22: 523:14 (#1634))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[4045],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"763":{"id":763,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/join.rs","begin":[90,5],"end":[96,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2525":{"id":2525,"crate_id":0,"name":"try_recv","span":{"filename":"src/net/udp.rs","begin":[889,5],"end":[893,6]},"visibility":"public","docs":"Tries to receive a single datagram message on the socket from the remote\naddress to which it is connected. On success, returns the number of\nbytes read.\n\nThis method must be called with valid byte array `buf` of sufficient size\nto hold the message bytes. If a message is too long to fit in the\nsupplied buffer, excess bytes may be discarded.\n\nWhen there is no pending data, `Err(io::ErrorKind::WouldBlock)` is\nreturned. This function is usually paired with `readable()`.\n\n# Examples\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Connect to a peer\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n    socket.connect(\"127.0.0.1:8081\").await?;\n\n    loop {\n        // Wait for the socket to be readable\n        socket.readable().await?;\n\n        // The buffer is **not** included in the async task and will\n        // only exist on the stack.\n        let mut buf = [0; 1024];\n\n        // Try to recv data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match socket.try_recv(&mut buf) {\n            Ok(n) => {\n                println!(\"GOT {:?}\", &buf[..n]);\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e);\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6376":{"id":6376,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2852":{"id":2852,"crate_id":0,"name":"fmt","span":{"filename":"src/net/unix/split_owned.rs","begin":[87,10],"end":[87,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1090":{"id":1090,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4614":{"id":4614,"crate_id":0,"name":"precision_exact","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[200,5],"end":[204,6]},"visibility":"public","docs":"Sets the precision of this histogram directly.\n\nThe precision (meaning: the ratio `n/bucket_range(n)` for some given `n`) will be `2^-p`.\n\nPrecision controls the number consecutive buckets with identically sized ranges.\nWhen `p` is 0, each bucket will be twice the size of the previous bucket (bucket groups are\nonly a single bucket wide).\n\nTo match the behavior of the legacy implementation ([`HistogramScale::Log`]), use `builder.precision_exact(0)`.\n\n# Panics\n- `p` > 10\n\n[`HistogramScale::Log`]: [crate::runtime::HistogramScale]","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["p",{"primitive":"u32"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6703":{"id":6703,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[379,10],"end":[379,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6702],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4941":{"id":4941,"crate_id":0,"name":null,"span":{"filename":"src/signal/windows.rs","begin":[478,1],"end":[538,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[4939,4940],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1417":{"id":1417,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3179":{"id":3179,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"7030":{"id":7030,"crate_id":0,"name":null,"span":{"filename":"src/task/local.rs","begin":[970,1],"end":[974,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[7029],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3506":{"id":3506,"crate_id":0,"name":"into_owned_fd","span":{"filename":"src/process/mod.rs","begin":[1656,5],"end":[1656,29]},"visibility":"public","docs":"Convert into [`OwnedFd`].","links":{"`OwnedFd`":272},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedFd","id":272,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1744":{"id":1744,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5268":{"id":5268,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7357":{"id":7357,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5595":{"id":5595,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/error.rs","begin":[58,5],"end":[67,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"309":{"id":309,"crate_id":0,"name":"open","span":{"filename":"src/fs/open_options.rs","begin":[520,5],"end":[522,6]},"visibility":"public","docs":"Opens a file at `path` with the options specified by `self`.\n\nThis is an async version of [`std::fs::OpenOptions::open`][std]\n\n[std]: std::fs::OpenOptions::open\n\n# Errors\n\nThis function will return an error under a number of different\ncircumstances. Some of these error conditions are listed here, together\nwith their [`ErrorKind`]. The mapping to [`ErrorKind`]s is not part of\nthe compatibility contract of the function, especially the `Other` kind\nmight change to more specific kinds in the future.\n\n* [`NotFound`]: The specified file does not exist and neither `create`\n  or `create_new` is set.\n* [`NotFound`]: One of the directory components of the file path does\n  not exist.\n* [`PermissionDenied`]: The user lacks permission to get the specified\n  access rights for the file.\n* [`PermissionDenied`]: The user lacks permission to open one of the\n  directory components of the specified path.\n* [`AlreadyExists`]: `create_new` was specified and the file already\n  exists.\n* [`InvalidInput`]: Invalid combinations of open options (truncate\n  without write access, no access mode set, etc.).\n* [`Other`]: One of the directory components of the specified file path\n  was not, in fact, a directory.\n* [`Other`]: Filesystem-level errors: full disk, write permission\n  requested on a read-only file system, exceeded disk quota, too many\n  open files, too long filename, too many symbolic links in the\n  specified path (Unix-like systems only), etc.\n\n# io_uring support\n\nOn Linux, you can also use `io_uring` for executing system calls.\nTo enable `io_uring`, you need to specify the `--cfg tokio_unstable`\nflag at compile time, enable the `io-uring` cargo feature, and set the\n`Builder::enable_io_uring` runtime option.\n\nSupport for `io_uring` is currently experimental, so its behavior may\nchange or it may be removed in future versions.\n\n# Examples\n\n```no_run\nuse tokio::fs::OpenOptions;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let file = OpenOptions::new().open(\"foo.txt\").await?;\n    Ok(())\n}\n```\n\n[`ErrorKind`]: std::io::ErrorKind\n[`AlreadyExists`]: std::io::ErrorKind::AlreadyExists\n[`InvalidInput`]: std::io::ErrorKind::InvalidInput\n[`NotFound`]: std::io::ErrorKind::NotFound\n[`Other`]: std::io::ErrorKind::Other\n[`PermissionDenied`]: std::io::ErrorKind::PermissionDenied","links":{"std::io::ErrorKind::PermissionDenied":330,"std::io::ErrorKind::NotFound":329,"std::io::ErrorKind":328,"std::io::ErrorKind::Other":333,"std::fs::OpenOptions::open":327,"std::io::ErrorKind::InvalidInput":332,"std::io::ErrorKind::AlreadyExists":331},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"File","id":204,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4160":{"id":4160,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2398":{"id":2398,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"636":{"id":636,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split.rs","begin":[281,1],"end":[289,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[635],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5922":{"id":5922,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/notify.rs","begin":[198,10],"end":[198,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6249":{"id":6249,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2725":{"id":2725,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4487":{"id":4487,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4814":{"id":4814,"crate_id":0,"name":"Signal","span":{"filename":"src/signal/unix.rs","begin":[370,1],"end":[372,2]},"visibility":"public","docs":"An listener for receiving a particular type of OS signal.\n\nThe listener can be turned into a `Stream` using [`SignalStream`].\n\n[`SignalStream`]: https://docs.rs/tokio-stream/latest/tokio_stream/wrappers/struct.SignalStream.html\n\nIn general signal handling on Unix is a pretty tricky topic, and this\nstructure is no exception! There are some important limitations to keep in\nmind when using `Signal` streams:\n\n* Signals handling in Unix already necessitates coalescing signals\n  together sometimes. This `Signal` stream is also no exception here in\n  that it will also coalesce signals. That is, even if the signal handler\n  for this process runs multiple times, the `Signal` stream may only return\n  one signal notification. Specifically, before `poll` is called, all\n  signal notifications are coalesced into one item returned from `poll`.\n  Once `poll` has been called, however, a further signal is guaranteed to\n  be yielded as an item.\n\n  Put another way, any element pulled off the returned listener corresponds to\n  *at least one* signal, but possibly more.\n\n* Signal handling in general is relatively inefficient. Although some\n  improvements are possible in this crate, it's recommended to not plan on\n  having millions of signal channels open.\n\nIf you've got any questions about this feel free to open an issue on the\nrepo! New approaches to alleviate some of these limitations are always\nappreciated!\n\n# Caveats\n\nThe first time that a `Signal` instance is registered for a particular\nsignal kind, an OS signal-handler is installed which replaces the default\nplatform behavior when that signal is received, **for the duration of the\nentire process**.\n\nFor example, Unix systems will terminate a process by default when it\nreceives `SIGINT`. But, when a `Signal` instance is created to listen for\nthis signal, the next `SIGINT` that arrives will be translated to a stream\nevent, and the process will continue to execute. **Even if this `Signal`\ninstance is dropped, subsequent `SIGINT` deliveries will end up captured by\nTokio, and the default platform behavior will NOT be reset**.\n\nThus, applications should take care to ensure the expected signal behavior\noccurs as expected after listening for specific signals.\n\n# Examples\n\nWait for `SIGHUP`\n\n```rust,no_run\nuse tokio::signal::unix::{signal, SignalKind};\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    // An infinite stream of hangup signals.\n    let mut sig = signal(SignalKind::hangup())?;\n\n    // Print whenever a HUP signal is received\n    loop {\n        sig.recv().await;\n        println!(\"got signal HUP\");\n    }\n}\n```","links":{},"attrs":[{"must_use":{"reason":"streams do nothing unless polled"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4817,4818,4819,4820,4821,4822,4823,4824,4825,4826,4827,4828,4829,4830,4831,4832,4833,4835]}}},"3052":{"id":3052,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6576":{"id":6576,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6903":{"id":6903,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[492,31],"end":[492,39]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::once_cell::OnceCell","name":"OnceCell","id":6556,"is_glob":false}}},"5141":{"id":5141,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"1617":{"id":1617,"crate_id":0,"name":"new","span":{"filename":"src/io/util/buf_reader.rs","begin":[40,5],"end":[42,6]},"visibility":"public","docs":"Creates a new `BufReader` with a default buffer capacity. The default is currently 8 KB,\nbut may change in the future.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["inner",{"generic":"R"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3379":{"id":3379,"crate_id":0,"name":null,"span":{"filename":"src/net/mod.rs","begin":[50,9],"end":[50,32]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Not(All([NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/macros/cfg.rs:709:27: 709:45 (#496) }, NameValue { name: \"target_env\", value: Some(\"p1\"), span: src/macros/cfg.rs:709:47: 709:64 (#496) }], src/macros/cfg.rs:709:26: 709:65 (#496)), src/macros/cfg.rs:709:22: 709:66 (#496))])]"},{"other":"#[doc(inline)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"udp::UdpSocket","name":"UdpSocket","id":2510,"is_glob":false}}},"5468":{"id":5468,"crate_id":0,"name":"upgrade","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[707,5],"end":[709,6]},"visibility":"public","docs":"Tries to convert a `WeakUnboundedSender` into an [`UnboundedSender`].\nThis will return `Some` if there are other `Sender` instances alive and\nthe channel wasn't previously dropped, otherwise `None` is returned.","links":{"`UnboundedSender`":5433},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3706":{"id":3706,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"182":{"id":182,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1944":{"id":1944,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7230":{"id":7230,"crate_id":0,"name":null,"span":{"filename":"src/task/builder.rs","begin":[61,10],"end":[61,17]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"tracing\")))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[7229],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5795":{"id":5795,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1179,1],"end":[1183,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"fmt::Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5794],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4033":{"id":4033,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"509":{"id":509,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[292,5],"end":[292,44]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#74) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#74) }], src/macros/cfg.rs:42:26: 42:39 (#74)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#74) }], src/macros/cfg.rs:42:22: 42:49 (#74))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::symlink_dir::symlink_dir","name":"symlink_dir","id":480,"is_glob":false}}},"7557":{"id":7557,"crate_id":0,"name":null,"span":{"filename":"src/util/rand/rt_unstable.rs","begin":[6,1],"end":[20,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"super::RngSeed","id":3974,"args":null}},"items":[7556],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6122":{"id":6122,"crate_id":0,"name":"NoPermits","span":{"filename":"src/sync/batch_semaphore.rs","begin":[59,5],"end":[59,14]},"visibility":"default","docs":"The semaphore has no available permits.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"4360":{"id":4360,"crate_id":0,"name":"new","span":{"filename":"src/runtime/runtime.rs","begin":[174,5],"end":[176,6]},"visibility":"public","docs":"Creates a new runtime instance with default configuration values.\n\nThis results in the multi threaded scheduler, I/O driver, and time driver being\ninitialized.\n\nMost applications will not need to call this function directly. Instead,\nthey will use the  [`#[tokio::main]` attribute][main]. When a more complex\nconfiguration is necessary, the [runtime builder] may be used.\n\nSee [module level][mod] documentation for more details.\n\n# Examples\n\nCreating a new `Runtime` with default configuration values.\n\n```\nuse tokio::runtime::Runtime;\n\nlet rt = Runtime::new()\n    .unwrap();\n\n// Use the runtime...\n```\n\n[mod]: index.html\n[main]: ../attr.main.html\n[threaded scheduler]: index.html#threaded-scheduler\n[runtime builder]: crate::runtime::Builder","links":{"crate::runtime::Builder":3938},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt-multi-thread\"), span: src/runtime/runtime.rs:172:11: 172:38 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt-multi-thread\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Runtime","id":3112,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"836":{"id":836,"crate_id":0,"name":"WriteHalf","span":{"filename":"src/net/unix/split.rs","begin":[49,1],"end":[49,42]},"visibility":"public","docs":"Borrowed write half of a [`UnixStream`], created by [`split`].\n\nNote that in the [`AsyncWrite`] implementation of this type, [`poll_shutdown`] will\nshut down the [`UnixStream`] stream in the write direction.\n\nWriting to an `WriteHalf` is usually done using the convenience methods found\non the [`AsyncWriteExt`] trait.\n\n[`UnixStream`]: UnixStream\n[`split`]: UnixStream::split()\n[`AsyncWrite`]: trait@crate::io::AsyncWrite\n[`poll_shutdown`]: fn@crate::io::AsyncWrite::poll_shutdown\n[`AsyncWriteExt`]: trait@crate::io::AsyncWriteExt","links":{"trait@crate::io::AsyncWrite":225,"UnixStream":643,"trait@crate::io::AsyncWriteExt":203,"UnixStream::split()":2705,"fn@crate::io::AsyncWrite::poll_shutdown":692},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"impls":[2743,2744,2745,2746,2747,2748,2749,2750,2751,2752,2753,2754,2755,2756,2757,2758,2759,2760,2762,835,2764]}}},"6449":{"id":6449,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2925":{"id":2925,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1163":{"id":1163,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4687":{"id":4687,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5014":{"id":5014,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1490":{"id":1490,"crate_id":0,"name":"Read","span":{"filename":"src/io/util/read.rs","begin":[27,1],"end":[41,2]},"visibility":"public","docs":"A future which can be used to easily read available number of bytes to fill\na buffer.\n\nCreated by the [`read`] function.","links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"7103":{"id":7103,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3579":{"id":3579,"crate_id":0,"name":"as_handle","span":{"filename":"src/process/mod.rs","begin":[1716,5],"end":[1716,30]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedHandle","id":294,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5341":{"id":5341,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7430":{"id":7430,"crate_id":0,"name":"default","span":{"filename":"src/time/interval.rs","begin":[370,5],"end":[372,6]},"visibility":"default","docs":"Returns [`MissedTickBehavior::Burst`].\n\nFor most usecases, the [`Burst`] strategy is what is desired.\nAdditionally, to preserve backwards compatibility, the [`Burst`]\nstrategy must be the default. For these reasons,\n[`MissedTickBehavior::Burst`] is the default for [`MissedTickBehavior`].\nSee [`Burst`] for more details.\n\n[`Burst`]: MissedTickBehavior::Burst","links":{"MissedTickBehavior::Burst":7396,"`MissedTickBehavior::Burst`":7396,"`MissedTickBehavior`":7395},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5668":{"id":5668,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/mod.rs","begin":[121,14],"end":[121,25]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::bounded::OwnedPermit","name":"OwnedPermit","id":5244,"is_glob":false}}},"2144":{"id":2144,"crate_id":0,"name":null,"span":{"filename":"src/net/addr.rs","begin":[162,5],"end":[162,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:336:19: 336:34 (#458) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"for":{"primitive":"str"},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4233":{"id":4233,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2471":{"id":2471,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"709":{"id":709,"crate_id":0,"name":null,"span":{"filename":"src/io/async_write.rs","begin":[215,1],"end":[217,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}},"items":[704,705,706,707,708],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5995":{"id":5995,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6322":{"id":6322,"crate_id":0,"name":"rwlock","span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[410,5],"end":[412,6]},"visibility":"public","docs":"Returns a reference to the original `Arc<RwLock>`.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::{RwLock, OwnedRwLockWriteGuard};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(1));\n\nlet guard = lock.clone().write_owned().await;\nassert!(Arc::ptr_eq(&lock, OwnedRwLockWriteGuard::rwlock(&guard)));\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4560":{"id":4560,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1036":{"id":1036,"crate_id":0,"name":"Output","span":{"filename":"src/io/ready.rs","begin":[299,5],"end":[299,25]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Ready","id":978,"args":null}},"default_unstable":null}}},"2798":{"id":2798,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split_owned.rs","begin":[409,1],"end":[413,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[2797],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4887":{"id":4887,"crate_id":0,"name":"ctrl_break","span":{"filename":"src/signal/windows.rs","begin":[231,1],"end":[235,2]},"visibility":"public","docs":"Creates a new listener which receives \"ctrl-break\" notifications sent to the\nprocess.\n\n# Examples\n\n```rust,no_run\nuse tokio::signal::windows::ctrl_break;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    // A listener of CTRL-BREAK events.\n    let mut signal = ctrl_break()?;\n\n    // Print whenever a CTRL-BREAK event is received.\n    loop {\n        signal.recv().await;\n        println!(\"got signal CTRL-BREAK\");\n    }\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3125":{"id":3125,"crate_id":0,"name":"poll_write_ready","span":{"filename":"src/net/windows/named_pipe.rs","begin":[695,5],"end":[697,6]},"visibility":"public","docs":"Polls for write readiness.\n\nIf the pipe is not currently ready for writing, this method will\nstore a clone of the `Waker` from the provided `Context`. When the pipe\nbecomes ready for writing, `Waker::wake` will be called on the waker.\n\nNote that on multiple calls to `poll_write_ready` or `poll_write`, only\nthe `Waker` from the `Context` passed to the most recent call is\nscheduled to receive a wakeup. (However, `poll_read_ready` retains a\nsecond, independent waker.)\n\nThis function is intended for cases where creating and pinning a future\nvia [`writable`] is not feasible. Where possible, using [`writable`] is\npreferred, as this supports polling from multiple tasks at once.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the pipe is not ready for writing.\n* `Poll::Ready(Ok(()))` if the pipe is ready for writing.\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n[`writable`]: method@Self::writable","links":{"method@Self::writable":3124},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1363":{"id":1363,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6649":{"id":6649,"crate_id":0,"name":"into_inner","span":{"filename":"src/sync/set_once.rs","begin":[311,5],"end":[329,6]},"visibility":"public","docs":"Takes the value from the cell, destroying the cell in the process.\nReturns `None` if the cell is empty.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6976":{"id":6976,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5214":{"id":5214,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1690":{"id":1690,"crate_id":0,"name":"with_capacity","span":{"filename":"src/io/util/buf_writer.rs","begin":[49,5],"end":[56,6]},"visibility":"public","docs":"Creates a new `BufWriter` with the specified buffer capacity.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["cap",{"primitive":"usize"}],["inner",{"generic":"W"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3452":{"id":3452,"crate_id":0,"name":"get_kill_on_drop","span":{"filename":"src/process/mod.rs","begin":[1090,5],"end":[1092,6]},"visibility":"public","docs":"Returns the boolean value that was previously set by [`Command::kill_on_drop`].\n\nNote that if you have not previously called [`Command::kill_on_drop`], the\ndefault value of `false` will be returned here.\n\n# Examples\n\n```\nuse tokio::process::Command;\n\nlet mut cmd = Command::new(\"echo\");\nassert!(!cmd.get_kill_on_drop());\n\ncmd.kill_on_drop(true);\nassert!(cmd.get_kill_on_drop());\n```","links":{"`Command::kill_on_drop`":3424},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5541":{"id":5541,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3779":{"id":3779,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2017":{"id":2017,"crate_id":0,"name":"fmt","span":{"filename":"src/io/util/take.rs","begin":[11,14],"end":[11,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"255":{"id":255,"crate_id":0,"name":"start_seek","span":{"filename":"src/fs/file.rs","begin":[664,5],"end":[694,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["pos",{"resolved_path":{"path":"SeekFrom","id":256,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7303":{"id":7303,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5868":{"id":5868,"crate_id":0,"name":"try_read","span":{"filename":"src/sync/rwlock.rs","begin":[660,5],"end":[685,6]},"visibility":"public","docs":"Attempts to acquire this `RwLock` with shared read access.\n\nIf the access couldn't be acquired immediately, returns [`TryLockError`].\nOtherwise, an RAII guard is returned which will release read access\nwhen dropped.\n\n[`TryLockError`]: TryLockError\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::RwLock;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(1));\nlet c_lock = lock.clone();\n\nlet v = lock.try_read().unwrap();\nassert_eq!(*v, 1);\n\ntokio::spawn(async move {\n    // While main has an active read lock, we acquire one too.\n    let n = c_lock.read().await;\n    assert_eq!(*n, 1);\n}).await.expect(\"The spawned task has panicked\");\n\n// Drop the guard when spawned task finishes.\ndrop(v);\n# }\n```","links":{"TryLockError":5694},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2344":{"id":2344,"crate_id":0,"name":"try_read","span":{"filename":"src/net/tcp/split_owned.rs","begin":[264,5],"end":[266,6]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffer, returning how\nmany bytes were read.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: Self::readable()\n[`ready()`]: Self::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. If `n` is `0`, then it can indicate one of two scenarios:\n\n1. The stream's read half is closed and will no longer yield data.\n2. The specified buffer was 0 bytes in length.\n\nIf the stream is not ready to read data,\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::ready()":2346,"Self::readable()":2345},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"582":{"id":582,"crate_id":0,"name":null,"span":{"filename":"src/io/util/take.rs","begin":[107,1],"end":[128,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncBufRead","id":538,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[580,581],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4106":{"id":4106,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7630":{"id":7630,"crate_id":0,"name":"doc","span":{"filename":"src/doc/mod.rs","begin":[1,1],"end":[47,12]},"visibility":"public","docs":"Types which are documented locally in the Tokio crate, but does not actually\nlive here.\n\n**Note** this module is only visible on docs.rs, you cannot use it directly\nin your own code.","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"docsrs\", value: None, span: src/lib.rs:647:11: 647:17 (#0) }, NameValue { name: \"unix\", value: None, span: src/lib.rs:647:19: 647:23 (#0) }], src/lib.rs:647:10: 647:24 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[7604,288],"is_stripped":false}}},"4433":{"id":4433,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2671":{"id":2671,"crate_id":0,"name":"new_stream","span":{"filename":"src/net/unix/socket.rs","begin":[119,5],"end":[121,6]},"visibility":"public","docs":"Creates a new Unix stream socket.\n\nCalls `socket(2)` with `AF_UNIX` and `SOCK_STREAM`.\n\n# Returns\n\nOn success, the newly created [`UnixSocket`] is returned. If an error is\nencountered, it is returned instead.","links":{"`UnixSocket`":2669},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"909":{"id":909,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6195":{"id":6195,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6522":{"id":6522,"crate_id":0,"name":"blocking_write","span":{"filename":"src/sync/rwlock.rs","begin":[877,5],"end":[879,6]},"visibility":"public","docs":"Blockingly locks this `RwLock` with exclusive write access.\n\nThis method is intended for use cases where you\nneed to use this rwlock in asynchronous code as well as in synchronous code.\n\nReturns an RAII guard which will drop the write access of this `RwLock` when dropped.\n\n# Panics\n\nThis function panics if called within an asynchronous execution context.\n\n  - If you find yourself in an asynchronous execution context and needing\n    to call some (synchronous) function which performs one of these\n    `blocking_` operations, then consider wrapping that call inside\n    [`spawn_blocking()`][crate::runtime::Handle::spawn_blocking]\n    (or [`block_in_place()`][crate::task::block_in_place]).\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::sync::Arc;\nuse tokio::{sync::RwLock};\n\n#[tokio::main]\nasync fn main() {\n    let rwlock =  Arc::new(RwLock::new(1));\n    let read_lock = rwlock.read().await;\n\n    let blocking_task = tokio::task::spawn_blocking({\n        let rwlock = Arc::clone(&rwlock);\n        move || {\n            // This shall block until the `read_lock` is released.\n            let mut write_lock = rwlock.blocking_write();\n            *write_lock = 2;\n        }\n    });\n\n    assert_eq!(*read_lock, 1);\n    // Release the last outstanding read lock.\n    drop(read_lock);\n\n    // Await the completion of the blocking task.\n    blocking_task.await.unwrap();\n\n    // Assert uncontended.\n    let read_lock = rwlock.try_read().unwrap();\n    assert_eq!(*read_lock, 2);\n}\n# }\n```","links":{"crate::task::block_in_place":4276,"crate::runtime::Handle::spawn_blocking":4273},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/sync/rwlock.rs:876:11: 876:27 (#0) }])]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2998":{"id":2998,"crate_id":0,"name":"unchecked","span":{"filename":"src/net/unix/pipe.rs","begin":[205,5],"end":[208,6]},"visibility":"public","docs":"Sets the option to skip the check for FIFO file type.\n\nBy default, [`open_receiver`] and [`open_sender`] functions will check\nif the opened file is a FIFO file. Set this option to `true` if you are\nsure the file is a FIFO file.\n\n[`open_receiver`]: OpenOptions::open_receiver\n[`open_sender`]: OpenOptions::open_sender\n\n# Examples\n\n```no_run\nuse tokio::net::unix::pipe;\nuse nix::{unistd::mkfifo, sys::stat::Mode};\n# use std::error::Error;\n\n// Our program has exclusive access to this path.\nconst FIFO_NAME: &str = \"path/to/a/new/fifo\";\n\n# async fn dox() -> Result<(), Box<dyn Error>> {\nmkfifo(FIFO_NAME, Mode::S_IRWXU)?;\nlet rx = pipe::OpenOptions::new()\n    .unchecked(true)\n    .open_receiver(FIFO_NAME)?;\n# Ok(())\n# }\n```","links":{"OpenOptions::open_receiver":2994,"OpenOptions::open_sender":2995},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["value",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1236":{"id":1236,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4760":{"id":4760,"crate_id":0,"name":"ctrl_c","span":{"filename":"src/signal/ctrl_c.rs","begin":[59,1],"end":[62,2]},"visibility":"public","docs":"Completes when a \"ctrl-c\" notification is sent to the process.\n\nWhile signals are handled very differently between Unix and Windows, both\nplatforms support receiving a signal on \"ctrl-c\". This function provides a\nportable API for receiving this notification.\n\nOnce the returned future is polled, a listener is registered. The future\nwill complete on the first received `ctrl-c` **after** the initial call to\neither `Future::poll` or `.await`.\n\n# Caveats\n\nOn Unix platforms, the first time that a `Signal` instance is registered for a\nparticular signal kind, an OS signal-handler is installed which replaces the\ndefault platform behavior when that signal is received, **for the duration of\nthe entire process**.\n\nFor example, Unix systems will terminate a process by default when it\nreceives a signal generated by `\"CTRL+C\"` on the terminal. But, when a\n`ctrl_c` stream is created to listen for this signal, the time it arrives,\nit will be translated to a stream event, and the process will continue to\nexecute.  **Even if this `Signal` instance is dropped, subsequent `SIGINT`\ndeliveries will end up captured by Tokio, and the default platform behavior\nwill NOT be reset**.\n\nThus, applications should take care to ensure the expected signal behavior\noccurs as expected after listening for specific signals.\n\n# Examples\n\n```rust,no_run\nuse tokio::signal;\n\n#[tokio::main]\nasync fn main() {\n    println!(\"waiting for ctrl-c\");\n\n    signal::ctrl_c().await.expect(\"failed to listen for event\");\n\n    println!(\"received ctrl-c event\");\n}\n```\n\nListen in the background:\n\n```rust,no_run\ntokio::spawn(async move {\n    tokio::signal::ctrl_c().await.unwrap();\n    // Your handler here\n});\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5087":{"id":5087,"crate_id":0,"name":"Lagged","span":{"filename":"src/sync/broadcast.rs","begin":[349,9],"end":[349,20]},"visibility":"default","docs":"The receiver lagged too far behind: one or more messages were\noverwritten in the ring buffer before this receiver could read them.\n\nThe receiver remains subscribed. Its internal cursor has been advanced\nto the oldest message still retained by the channel; the next\nsuccessful [`try_recv`] call returns that message (unless further sends\noverwrite it first).\n\nThe `u64` is the number of messages that were skipped (dropped before\nthe receiver's previous cursor position).\n\n[`try_recv`]: crate::sync::broadcast::Receiver::try_recv","links":{"crate::sync::broadcast::Receiver::try_recv":5086},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":{"tuple":[5085]},"discriminant":null}}},"3325":{"id":3325,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1563":{"id":1563,"crate_id":0,"name":"write_u8","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an unsigned 8-bit integer to the underlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_u8(&mut self, n: u8) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite unsigned 8 bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_u8(2).await?;\nwriter.write_u8(5).await?;\n\nassert_eq!(writer, b\"\\x02\\x05\");\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"u8"}]],"output":{"resolved_path":{"path":"WriteU8","id":1564,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6849":{"id":6849,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[196,10],"end":[196,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6848],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7176":{"id":7176,"crate_id":0,"name":"name","span":{"filename":"src/task/join_set.rs","begin":[703,5],"end":[706,6]},"visibility":"public","docs":"Assigns a name to the task which will be spawned.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["name",{"borrowed_ref":{"lifetime":"'a","is_mutable":false,"type":{"primitive":"str"}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5414":{"id":5414,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5741":{"id":5741,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3979":{"id":3979,"crate_id":0,"name":"enable_metrics_poll_time_histogram","span":{"filename":"src/runtime/builder.rs","begin":[1427,9],"end":[1430,10]},"visibility":"public","docs":"Enables tracking the distribution of task poll times.\n\nTask poll times are not instrumented by default as doing so requires\ncalling [`Instant::now()`] twice per task poll, which could add\nmeasurable overhead. Use the [`Handle::metrics()`] to access the\nmetrics data.\n\nThe histogram uses fixed bucket sizes. In other words, the histogram\nbuckets are not dynamic based on input values. Use the\n`metrics_poll_time_histogram` builder methods to configure the\nhistogram details.\n\nBy default, a linear histogram with 10 buckets each 100 microseconds wide will be used.\nThis has an extremely low memory footprint, but may not provide enough granularity. For\nbetter granularity with low memory usage, use [`metrics_poll_time_histogram_configuration()`]\nto select [`LogHistogram`] instead.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime;\n\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_metrics_poll_time_histogram()\n    .build()\n    .unwrap();\n# // Test default values here\n# fn us(n: u64) -> std::time::Duration { std::time::Duration::from_micros(n) }\n# let m = rt.handle().metrics();\n# assert_eq!(m.poll_time_histogram_num_buckets(), 10);\n# assert_eq!(m.poll_time_histogram_bucket_range(0), us(0)..us(100));\n# assert_eq!(m.poll_time_histogram_bucket_range(1), us(100)..us(200));\n# }\n```\n\n[`Handle::metrics()`]: crate::runtime::Handle::metrics\n[`Instant::now()`]: std::time::Instant::now\n[`LogHistogram`]: crate::runtime::LogHistogram\n[`metrics_poll_time_histogram_configuration()`]: Builder::metrics_poll_time_histogram_configuration","links":{"crate::runtime::LogHistogram":3978,"Builder::metrics_poll_time_histogram_configuration":3977,"crate::runtime::Handle::metrics":3976,"std::time::Instant::now":3975},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1598) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2217":{"id":2217,"crate_id":0,"name":"set_nodelay","span":{"filename":"src/net/tcp/socket.rs","begin":[496,5],"end":[498,6]},"visibility":"public","docs":"Sets the value of the `TCP_NODELAY` option on this socket.\n\nIf set, this option disables the Nagle algorithm. This means that segments are always\nsent as soon as possible, even if there is only a small amount of data. When not set,\ndata is buffered until there is a sufficient amount to send out, thereby avoiding\nthe frequent sending of small packets.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpSocket;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet socket = TcpSocket::new_v4()?;\n\nsocket.set_nodelay(true)?;\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["nodelay",{"primitive":"bool"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7503":{"id":7503,"crate_id":0,"name":null,"span":{"filename":"src/time/timeout.rs","begin":[184,1],"end":[203,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7501,7502,7496],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6068":{"id":6068,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2544":{"id":2544,"crate_id":0,"name":"try_peek_from","span":{"filename":"src/net/udp.rs","begin":[1811,5],"end":[1815,6]},"visibility":"public","docs":"Tries to receive data on the socket without removing it from the input queue.\nOn success, returns the number of bytes read and the sending address of the\ndatagram.\n\nWhen there is no pending data, `Err(io::ErrorKind::WouldBlock)` is\nreturned. This function is usually paired with `readable()`.\n\n# Notes\n\nOn Windows, if the data is larger than the buffer specified, the buffer\nis filled with the first part of the data, and peek returns the error\n`WSAEMSGSIZE(10040)`. The excess data is lost.\nMake sure to always use a sufficiently large buffer to hold the\nmaximum UDP packet size, which can be up to 65536 bytes in size.\n\nMacOS will return an error if you pass a zero-sized buffer.\n\nIf you're merely interested in learning the sender of the data at the head of the queue,\ntry [`try_peek_sender`].\n\nNote that the socket address **cannot** be implicitly trusted, because it is relatively\ntrivial to send a UDP datagram with a spoofed origin in a [packet injection attack].\nBecause UDP is stateless and does not validate the origin of a packet,\nthe attacker does not need to be able to intercept traffic in order to interfere.\nIt is important to be aware of this when designing your application-level protocol.\n\n[`try_peek_sender`]: method@Self::try_peek_sender\n[packet injection attack]: https://en.wikipedia.org/wiki/Packet_injection","links":{"method@Self::try_peek_sender":2540},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"primitive":"usize"},{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"782":{"id":782,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/util/buf_writer.rs","begin":[136,5],"end":[196,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4306":{"id":4306,"crate_id":0,"name":"clone","span":{"filename":"src/runtime/handle.rs","begin":[10,17],"end":[10,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4633":{"id":4633,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1109":{"id":1109,"crate_id":0,"name":"bsd","span":{"filename":"src/io/mod.rs","begin":[248,5],"end":[248,16]},"visibility":"public","docs":"BSD-specific I/O types.","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([Any([NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:120:27: 120:33 (#199) }, NameValue { name: \"target_os\", value: Some(\"freebsd\"), span: src/macros/cfg.rs:120:35: 120:56 (#199) }], src/macros/cfg.rs:120:26: 120:57 (#199)), NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:120:59: 120:74 (#199) }], src/macros/cfg.rs:120:22: 120:75 (#199))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(target_os = \"freebsd\", feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[1106,1107,1108],"is_stripped":false}}},"2871":{"id":2871,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6722":{"id":6722,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4960":{"id":4960,"crate_id":0,"name":"windows","span":{"filename":"src/signal/windows.rs","begin":[1,1],"end":[538,2]},"visibility":"public","docs":"Windows-specific types for signal handling.\n\nThis module is only defined on Windows and allows receiving \"ctrl-c\",\n\"ctrl-break\", \"ctrl-logoff\", \"ctrl-shutdown\", and \"ctrl-close\"\nnotifications. These events are listened for via the `SetConsoleCtrlHandler`\nfunction which receives the corresponding `windows_sys` event type.","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"windows\", value: None, span: src/signal/windows.rs:8:12: 8:19 (#0) }, NameValue { name: \"docsrs\", value: None, span: src/signal/windows.rs:8:21: 8:27 (#0) }], src/signal/windows.rs:8:11: 8:28 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(windows, feature = \"signal\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[4840,4841,4865,4887,4888,4889,4912,4913,4936,4937],"is_stripped":false}}},"1436":{"id":1436,"crate_id":0,"name":"writer","span":{"filename":"src/io/join.rs","begin":[48,5],"end":[50,6]},"visibility":"public","docs":"Returns a reference to the inner writer.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"W"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7049":{"id":7049,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5287":{"id":5287,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1763":{"id":1763,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3525":{"id":3525,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7376":{"id":7376,"crate_id":0,"name":"add","span":{"filename":"src/time/instant.rs","begin":[168,5],"end":[170,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["other",{"resolved_path":{"path":"Duration","id":2215,"args":null}}]],"output":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3852":{"id":3852,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2090":{"id":2090,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[271,21],"end":[271,26]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:233:19: 233:37 (#214) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"stdin::stdin","name":"stdin","id":1323,"is_glob":false}}},"5614":{"id":5614,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5941":{"id":5941,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2417":{"id":2417,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"655":{"id":655,"crate_id":0,"name":"ChildStdout","span":{"filename":"src/process/mod.rs","begin":[1491,1],"end":[1493,2]},"visibility":"public","docs":"The standard output stream for spawned children.\n\nThis type implements the `AsyncRead` trait to read data from the stdout\nhandle of a child process asynchronously.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[3545,3547,3550,3551,3552,3553,3554,3555,3556,3557,3558,3559,3560,3561,3562,3563,3564,3565,3566,3567,3569,654,3572,3574,3576,3578,3580]}}},"4179":{"id":4179,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[111,10],"end":[111,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[4178],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4506":{"id":4506,"crate_id":0,"name":null,"span":{"filename":"src/runtime/id.rs","begin":[38,1],"end":[42,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[4505],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2744":{"id":2744,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"982":{"id":982,"crate_id":0,"name":"READ_CLOSED","span":{"filename":"src/io/ready.rs","begin":[34,5],"end":[34,55]},"visibility":"public","docs":"Returns a `Ready` representing read closed readiness.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}},"value":"_","default_unstable":null}}},"6595":{"id":6595,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[90,1],"end":[94,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6594],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4833":{"id":4833,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1309":{"id":1309,"crate_id":0,"name":"fmt","span":{"filename":"src/io/stderr.rs","begin":[37,14],"end":[37,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3071":{"id":3071,"crate_id":0,"name":"try_io","span":{"filename":"src/net/unix/pipe.rs","begin":[1338,5],"end":[1342,6]},"visibility":"public","docs":"Tries to read to the socket using a user-provided IO operation.\n\nIf the socket is ready, the provided closure is called. The closure\nshould attempt to perform IO operation on the socket by manually\ncalling the appropriate syscall. If the operation fails because the\nsocket is not actually ready, then the closure should return a\n`WouldBlock` error and the readiness flag is cleared. The return value\nof the closure is then returned by `try_io`.\n\nIf the socket is not ready, then the closure is not called\nand a `WouldBlock` error is returned.\n\nThe closure should only return a `WouldBlock` error if it has performed\nan IO operation on the socket that failed due to the socket not being\nready. Returning a `WouldBlock` error in any other situation will\nincorrectly clear the readiness flag, which can cause the socket to\nbehave incorrectly.\n\nThe closure should not perform the IO operation using any of the methods\ndefined on the Tokio `pipe::Receiver` type, as this will mess with the\nreadiness flag and can cause the socket to behave incorrectly.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: Self::readable()\n[`ready()`]: Self::ready()","links":{"Self::ready()":3067,"Self::readable()":3066},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnOnce() -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6922":{"id":6922,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1636":{"id":1636,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7249":{"id":7249,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[320,40],"end":[320,42]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"crate::runtime::task::id","name":"id","id":3726,"is_glob":false}}},"5487":{"id":5487,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3725":{"id":3725,"crate_id":0,"name":"try_id","span":{"filename":"src/runtime/task/id.rs","begin":[58,1],"end":[60,2]},"visibility":"public","docs":"Returns the [`Id`] of the currently running task, or `None` if called outside\nof a task.\n\nThis function is similar to  [`task::id()`](crate::runtime::task::id()), except\nthat it returns `None` rather than panicking if called outside of a task\ncontext.\n\n[task ID]: crate::task::Id","links":{"crate::runtime::task::id()":3726,"`Id`":3692,"crate::task::Id":3692},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Id","id":3692,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"201":{"id":201,"crate_id":0,"name":"sync_all","span":{"filename":"src/fs/file.rs","begin":[317,5],"end":[323,6]},"visibility":"public","docs":"Attempts to sync all OS-internal metadata to disk.\n\nThis function will attempt to ensure that all in-core data reaches the\nfilesystem before returning.\n\n# Examples\n\n```no_run\nuse tokio::fs::File;\nuse tokio::io::AsyncWriteExt;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut file = File::create(\"foo.txt\").await?;\nfile.write_all(b\"hello, world!\").await?;\nfile.sync_all().await?;\n# Ok(())\n# }\n```\n\nThe [`write_all`] method is defined on the [`AsyncWriteExt`] trait.\n\n[`write_all`]: fn@crate::io::AsyncWriteExt::write_all\n[`AsyncWriteExt`]: trait@crate::io::AsyncWriteExt","links":{"fn@crate::io::AsyncWriteExt::write_all":209,"trait@crate::io::AsyncWriteExt":203},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5814":{"id":5814,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"Deref","id":550,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Target","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Receiver","id":1075,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1073],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"P"}}}},"4052":{"id":4052,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2290":{"id":2290,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7576":{"id":7576,"crate_id":0,"name":"clone","span":{"filename":"src/util/rand.rs","begin":[15,10],"end":[15,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6141":{"id":6141,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4379":{"id":4379,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"855":{"id":855,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/pipe.rs","begin":[803,1],"end":[831,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[850,851,852,853,854],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6468":{"id":6468,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[435,1],"end":[442,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6467],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4706":{"id":4706,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2944":{"id":2944,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/stream.rs","begin":[1119,1],"end":[1123,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[2943],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1182":{"id":1182,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[953,1],"end":[1175,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"Inner","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"Inner"}}],"constraints":[]}}}},"items":[1134,1133,1177,1178,1142,1180,1181],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6795":{"id":6795,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3271":{"id":3271,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1509":{"id":1509,"crate_id":0,"name":"read_u64","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an unsigned 64-bit integer in big-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_u64(&mut self) -> io::Result<u64>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead unsigned 64-bit big-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![\n    0x00, 0x03, 0x43, 0x95, 0x4d, 0x60, 0x86, 0x83\n]);\n\nassert_eq!(918733457491587, reader.read_u64().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadU64","id":1510,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5033":{"id":5033,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7122":{"id":7122,"crate_id":0,"name":"len","span":{"filename":"src/task/join_set.rs","begin":[89,5],"end":[91,6]},"visibility":"public","docs":"Returns the number of tasks currently in the `JoinSet`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5360":{"id":5360,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1776,1],"end":[1776,62]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"FusedIterator","id":5361,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3598":{"id":3598,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1836":{"id":1836,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7449":{"id":7449,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5687":{"id":5687,"crate_id":0,"name":"Mutex","span":{"filename":"src/sync/mutex.rs","begin":[133,1],"end":[138,2]},"visibility":"public","docs":"An asynchronous `Mutex`-like type.\n\nThis type acts similarly to [`std::sync::Mutex`], with two major\ndifferences: [`lock`] is an async method so does not block, and the lock\nguard is designed to be held across `.await` points.\n\nTokio's Mutex operates on a guaranteed FIFO basis.\nThis means that the order in which tasks call the [`lock`] method is\nthe exact order in which they will acquire the lock.\n\n# Which kind of mutex should you use?\n\nContrary to popular belief, it is ok and often preferred to use the ordinary\n[`Mutex`][std] from the standard library in asynchronous code.\n\nThe feature that the async mutex offers over the blocking mutex is the\nability to keep it locked across an `.await` point. This makes the async\nmutex more expensive than the blocking mutex, so the blocking mutex should\nbe preferred in the cases where it can be used. The primary use case for the\nasync mutex is to provide shared mutable access to IO resources such as a\ndatabase connection. If the value behind the mutex is just data, it's\nusually appropriate to use a blocking mutex such as the one in the standard\nlibrary or [`parking_lot`].\n\nNote that, although the compiler will not prevent the std `Mutex` from holding\nits guard across `.await` points in situations where the task is not movable\nbetween threads, this virtually never leads to correct concurrent code in\npractice as it can easily lead to deadlocks.\n\nA common pattern is to wrap the `Arc<Mutex<...>>` in a struct that provides\nnon-async methods for performing operations on the data within, and only\nlock the mutex inside these methods. The [mini-redis] example provides an\nillustration of this pattern.\n\nAdditionally, when you _do_ want shared access to an IO resource, it is\noften better to spawn a task to manage the IO resource, and to use message\npassing to communicate with that task.\n\n[std]: std::sync::Mutex\n[`parking_lot`]: https://docs.rs/parking_lot\n[mini-redis]: https://github.com/tokio-rs/mini-redis/blob/master/src/db.rs\n\n# Examples:\n\n```rust,no_run\nuse tokio::sync::Mutex;\nuse std::sync::Arc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet data1 = Arc::new(Mutex::new(0));\nlet data2 = Arc::clone(&data1);\n\ntokio::spawn(async move {\n    let mut lock = data2.lock().await;\n    *lock += 1;\n});\n\nlet mut lock = data1.lock().await;\n*lock += 1;\n# }\n```\n\n\n```rust,no_run\nuse tokio::sync::Mutex;\nuse std::sync::Arc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet count = Arc::new(Mutex::new(0));\n\nfor i in 0..5 {\n    let my_count = Arc::clone(&count);\n    tokio::spawn(async move {\n        for j in 0..10 {\n            let mut lock = my_count.lock().await;\n            *lock += 1;\n            println!(\"{} {} {}\", i, j, lock);\n        }\n    });\n}\n\nloop {\n    if *count.lock().await >= 50 {\n        break;\n    }\n}\nprintln!(\"Count hit 50.\");\n# }\n```\nThere are a few things of note here to pay attention to in this example.\n1. The mutex is wrapped in an [`Arc`] to allow it to be shared across\n   threads.\n2. Each spawned task obtains a lock and releases it on every iteration.\n3. Mutation of the data protected by the Mutex is done by de-referencing\n   the obtained lock as seen on lines 13 and 20.\n\nTokio's Mutex works in a simple FIFO (first in, first out) style where all\ncalls to [`lock`] complete in the order they were performed. In that way the\nMutex is \"fair\" and predictable in how it distributes the locks to inner\ndata. Locks are released and reacquired after every iteration, so basically,\neach thread goes to the back of the line after it increments the value once.\nNote that there's some unpredictability to the timing between when the\nthreads are started, but once they are going they alternate predictably.\nFinally, since there is only a single valid lock at any given time, there is\nno possibility of a race condition when mutating the inner value.\n\nNote that in contrast to [`std::sync::Mutex`], this implementation does not\npoison the mutex when a thread holding the [`MutexGuard`] panics. In such a\ncase, the mutex will be unlocked. If the panic is caught, this might leave\nthe data protected by the mutex in an inconsistent state.\n\n[`Mutex`]: struct@Mutex\n[`MutexGuard`]: struct@MutexGuard\n[`Arc`]: struct@std::sync::Arc\n[`std::sync::Mutex`]: struct@std::sync::Mutex\n[`Send`]: trait@std::marker::Send\n[`lock`]: method@Mutex::lock","links":{"struct@std::sync::Arc":2509,"std::sync::Mutex":5684,"struct@MutexGuard":5686,"trait@std::marker::Send":142,"struct@Mutex":5687,"struct@std::sync::Mutex":5684,"method@Mutex::lock":5685},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5699,5700,5701,5702,5703,5704,5705,5706,5707,5708,5710,5711,5712,5713,5714,5715,5716,5717,5719,5721,5723]}}},"2163":{"id":2163,"crate_id":0,"name":"set_ttl","span":{"filename":"src/net/tcp/listener.rs","begin":[384,5],"end":[386,6]},"visibility":"public","docs":"Sets the value for the `IP_TTL` option on this socket.\n\nThis value sets the time-to-live field that is used in every packet sent\nfrom this socket.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpListener;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let listener = TcpListener::bind(\"127.0.0.1:0\").await?;\n\n    listener.set_ttl(100).expect(\"could not set TTL\");\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["ttl",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"401":{"id":401,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6014":{"id":6014,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[347,25],"end":[347,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[6013],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4252":{"id":4252,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"728":{"id":728,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/async_write.rs","begin":[326,5],"end":[332,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2490":{"id":2490,"crate_id":0,"name":"as_raw_socket","span":{"filename":"src/net/tcp/stream.rs","begin":[1554,9],"end":[1556,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawSocket","id":2192,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4579":{"id":4579,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2817":{"id":2817,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"1055":{"id":1055,"crate_id":0,"name":"new_for_aio","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[125,5],"end":[127,6]},"visibility":"public","docs":"Creates a new `Aio` suitable for use with POSIX AIO functions.\n\nIt will be associated with the default reactor.  The runtime is usually\nset implicitly when this function is called from a future driven by a\nTokio runtime, otherwise runtime can be set explicitly with\n[`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"crate::runtime::Runtime::enter":1054},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["io",{"generic":"E"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6341":{"id":6341,"crate_id":0,"name":"deref","span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[418,5],"end":[420,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6668":{"id":6668,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4906":{"id":4906,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3144":{"id":3144,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5233":{"id":5233,"crate_id":0,"name":"TrySendError","span":{"filename":"src/sync/mpsc/error.rs","begin":[28,1],"end":[36,2]},"visibility":"public","docs":"Error returned by [`Sender::try_send`](super::Sender::try_send).","links":{"super::Sender::try_send":5232},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"has_stripped_variants":false,"variants":[5248,5249],"impls":[5566,5567,5568,5569,5570,5571,5572,5573,5574,5575,5576,5577,5578,5579,5580,5581,5582,5583,5584,5585,5586,5588,5589,5591,5592,5594,5596,5597,5562]}}},"3471":{"id":3471,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[273,10],"end":[273,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"process\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[3470],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1709":{"id":1709,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7322":{"id":7322,"crate_id":0,"name":null,"span":{"filename":"src/time/error.rs","begin":[117,1],"end":[117,38]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5560":{"id":5560,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[22,1],"end":[22,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"274":{"id":274,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/fs/file.rs","begin":[909,5],"end":[911,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"std::os::unix::io::RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4125":{"id":4125,"crate_id":0,"name":"filename","span":{"filename":"src/runtime/dump.rs","begin":[89,5],"end":[91,6]},"visibility":"public","docs":"Returns the file name where this function was defined. If debuginfo\nis missing, this is likely to return None.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2363":{"id":2363,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"601":{"id":601,"crate_id":0,"name":null,"span":{"filename":"src/io/split.rs","begin":[110,1],"end":[118,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[600],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5887":{"id":5887,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mutex.rs","begin":[292,10],"end":[292,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2690":{"id":2690,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"928":{"id":928,"crate_id":0,"name":"WRITABLE","span":{"filename":"src/io/interest.rs","begin":[60,5],"end":[60,55]},"visibility":"public","docs":"Interest in all writable events.\n\nWritable interest includes write-closed events.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"resolved_path":{"path":"Interest","id":924,"args":null}},"value":"_","default_unstable":null}}},"4452":{"id":4452,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4779":{"id":4779,"crate_id":0,"name":null,"span":{"filename":"src/signal/unix.rs","begin":[81,1],"end":[227,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[4765,4767,4768,4769,4770,4771,4772,4773,4774,4775,4776,4777,4778],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3017":{"id":3017,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1255":{"id":1255,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6541":{"id":6541,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6868":{"id":6868,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3344":{"id":3344,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2616,45],"end":[2616,49]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["hash_slice"],"trait":{"path":"Hash","id":2985,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[3343],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5106":{"id":5106,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5433":{"id":5433,"crate_id":0,"name":"UnboundedSender","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[11,1],"end":[13,2]},"visibility":"public","docs":"Send values to the associated `UnboundedReceiver`.\n\nInstances are created by the [`unbounded_channel`] function.","links":{"`unbounded_channel`":5432},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5444,5445,5446,5447,5448,5449,5450,5451,5452,5453,5454,5455,5456,5457,5458,5459,5460,5461,5462,5464,5466]}}},"7195":{"id":7195,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"147":{"id":147,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7522":{"id":7522,"crate_id":0,"name":null,"span":{"filename":"src/time/timeout.rs","begin":[172,1],"end":[182,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'__pin","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"resolved_path":{"path":"$crate::__private::PinnedFieldsOf","id":1463,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"__Origin","id":7523,"args":{"angle_bracketed":{"args":[{"lifetime":"'__pin"},{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"bounds":[{"trait_bound":{"trait":{"path":"$crate::__private::Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2236":{"id":2236,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3998":{"id":3998,"crate_id":0,"name":null,"span":{"filename":"src/runtime/builder.rs","begin":[1873,5],"end":[1998,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"schedule-latency\"), span: src/macros/cfg.rs:756:19: 756:47 (#1607) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"schedule-latency\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[3997,3996],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4325":{"id":4325,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"801":{"id":801,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/util/mem.rs","begin":[414,5],"end":[416,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2563":{"id":2563,"crate_id":0,"name":"leave_multicast_v4","span":{"filename":"src/net/udp.rs","begin":[2269,5],"end":[2271,6]},"visibility":"public","docs":"Executes an operation of the `IP_DROP_MEMBERSHIP` type.\n\nFor more information about this option, see [`join_multicast_v4`].\n\n[`join_multicast_v4`]: method@Self::join_multicast_v4","links":{"method@Self::join_multicast_v4":2561},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["multiaddr",{"resolved_path":{"path":"Ipv4Addr","id":2140,"args":null}}],["interface",{"resolved_path":{"path":"Ipv4Addr","id":2140,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6414":{"id":6414,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2890":{"id":2890,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/socketaddr.rs","begin":[62,1],"end":[66,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"std::os::unix::net::SocketAddr","id":2859,"args":null}},"items":[2889],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4652":{"id":4652,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6741":{"id":6741,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[343,5],"end":[347,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6740],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4979":{"id":4979,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1455":{"id":1455,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3217":{"id":3217,"crate_id":0,"name":"write_owner","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2143,5],"end":[2146,6]},"visibility":"public","docs":"Requests permission to modify the pipe's owner.\n\nThis corresponds to setting [`WRITE_OWNER`] in dwOpenMode.\n\n[`WRITE_OWNER`]: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["requested",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7068":{"id":7068,"crate_id":0,"name":null,"span":{"filename":"src/task/task_local.rs","begin":[267,1],"end":[288,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7066,7067],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3544":{"id":3544,"crate_id":0,"name":"into_owned_fd","span":{"filename":"src/process/mod.rs","begin":[1657,5],"end":[1657,30]},"visibility":"public","docs":"Convert into [`OwnedFd`].","links":{"`OwnedFd`":272},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedFd","id":272,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1782":{"id":1782,"crate_id":0,"name":"fmt","span":{"filename":"src/io/util/empty.rs","begin":[151,5],"end":[153,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5306":{"id":5306,"crate_id":0,"name":"drop","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1656,5],"end":[1658,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7395":{"id":7395,"crate_id":0,"name":"MissedTickBehavior","span":{"filename":"src/time/interval.rs","begin":[176,1],"end":[331,2]},"visibility":"public","docs":"Defines the behavior of an [`Interval`] when it misses a tick.\n\nSometimes, an [`Interval`]'s tick is missed. For example, consider the\nfollowing:\n\n```\nuse tokio::time::{self, Duration};\n# async fn task_that_takes_one_to_three_millis() {}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\n// ticks every 2 milliseconds\nlet mut interval = time::interval(Duration::from_millis(2));\nfor _ in 0..5 {\n    interval.tick().await;\n    // if this takes more than 2 milliseconds, a tick will be delayed\n    task_that_takes_one_to_three_millis().await;\n}\n# }\n```\n\nGenerally, a tick is missed if too much time is spent without calling\n[`Interval::tick()`].\n\nBy default, when a tick is missed, [`Interval`] fires ticks as quickly as it\ncan until it is \"caught up\" in time to where it should be.\n`MissedTickBehavior` can be used to specify a different behavior for\n[`Interval`] to exhibit. Each variant represents a different strategy.\n\nNote that because the executor cannot guarantee exact precision with timers,\nthese strategies will only apply when the delay is greater than 5\nmilliseconds.","links":{"`Interval`":7394,"`Interval::tick()`":7399},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[],"where_predicates":[]},"has_stripped_variants":false,"variants":[7396,7401,7402],"impls":[7403,7404,7405,7406,7407,7408,7409,7410,7411,7412,7413,7414,7415,7416,7417,7418,7419,7420,7422,7424,7425,7426,7428,7429,7431]}}},"5633":{"id":5633,"crate_id":0,"name":"into_inner","span":{"filename":"src/sync/mpsc/error.rs","begin":[137,9],"end":[142,10]},"visibility":"public","docs":"Consume the `SendTimeoutError`, returning the unsent value.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"generic":"T"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3871":{"id":3871,"crate_id":0,"name":"TraceMeta","span":{"filename":"src/runtime/task/trace/mod.rs","begin":[157,1],"end":[169,2]},"visibility":"public","docs":"Metadata passed into the `trace_leaf` callback for [`trace_with`]","links":{"`trace_with`":3870},"attrs":["non_exhaustive"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[3868,3869],"has_stripped_fields":false}},"generics":{"params":[],"where_predicates":[]},"impls":[3872,3873,3874,3875,3876,3877,3878,3879,3880,3881,3882,3883,3884,3885,3886,3887,3889]}}},"347":{"id":347,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2109":{"id":2109,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[286,131],"end":[286,143]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::AsyncReadExt","name":"AsyncReadExt","id":202,"is_glob":false}}},"4198":{"id":4198,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2436":{"id":2436,"crate_id":0,"name":"into_std","span":{"filename":"src/net/tcp/stream.rs","begin":[256,5],"end":[283,6]},"visibility":"public","docs":"Turns a [`tokio::net::TcpStream`] into a [`std::net::TcpStream`].\n\nThe returned [`std::net::TcpStream`] will have nonblocking mode set as `true`.\nUse [`set_nonblocking`] to change the blocking mode if needed.\n\n# Examples\n\n```\nuse std::error::Error;\nuse std::io::Read;\nuse tokio::net::TcpListener;\n# use tokio::net::TcpStream;\n# use tokio::io::AsyncWriteExt;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let mut data = [0u8; 12];\n#   if false {\n    let listener = TcpListener::bind(\"127.0.0.1:34254\").await?;\n#   }\n#   let listener = TcpListener::bind(\"127.0.0.1:0\").await?;\n#   let addr = listener.local_addr().unwrap();\n#   let handle = tokio::spawn(async move {\n#       let mut stream: TcpStream = TcpStream::connect(addr).await.unwrap();\n#       stream.write_all(b\"Hello world!\").await.unwrap();\n#   });\n    let (tokio_tcp_stream, _) = listener.accept().await?;\n    let mut std_tcp_stream = tokio_tcp_stream.into_std()?;\n#   handle.await.expect(\"The task being joined has panicked\");\n    std_tcp_stream.set_nonblocking(false)?;\n    std_tcp_stream.read_exact(&mut data)?;\n#   assert_eq!(b\"Hello world!\", &data);\n    Ok(())\n}\n```\n[`tokio::net::TcpStream`]: TcpStream\n[`std::net::TcpStream`]: std::net::TcpStream\n[`set_nonblocking`]: fn@std::net::TcpStream::set_nonblocking","links":{"fn@std::net::TcpStream::set_nonblocking":2230,"TcpStream":634,"std::net::TcpStream":1120},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::net::TcpStream","id":1120,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"674":{"id":674,"crate_id":0,"name":"start_seek","span":{"filename":"src/io/async_seek.rs","begin":[91,5],"end":[93,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["pos",{"resolved_path":{"path":"SeekFrom","id":256,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6287":{"id":6287,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1001":{"id":1001,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2763":{"id":2763,"crate_id":0,"name":"as_ref","span":{"filename":"src/net/unix/split.rs","begin":[328,5],"end":[330,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4852":{"id":4852,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3090":{"id":3090,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1328":{"id":1328,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6614":{"id":6614,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6941":{"id":6941,"crate_id":0,"name":null,"span":{"filename":"src/task/coop/mod.rs","begin":[66,44],"end":[66,57]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4212) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"unconstrained::Unconstrained","name":"Unconstrained","id":6916,"is_glob":false}}},"5179":{"id":5179,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1655":{"id":1655,"crate_id":0,"name":"get_mut","span":{"filename":"src/io/util/buf_stream.rs","begin":[62,5],"end":[64,6]},"visibility":"public","docs":"Gets a mutable reference to the underlying I/O object.\n\nIt is inadvisable to directly read from the underlying I/O object.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"RW"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3417":{"id":3417,"crate_id":0,"name":"status","span":{"filename":"src/process/mod.rs","begin":[1002,5],"end":[1017,6]},"visibility":"public","docs":"Executes the command as a child process, waiting for it to finish and\ncollecting its exit status.\n\nBy default, stdin, stdout and stderr are inherited from the parent.\nIf any input/output handles are set to a pipe then they will be immediately\nclosed after the child is spawned.\n\nAll I/O this child does will be associated with the current default\nevent loop.\n\nThe destructor of the future returned by this function will kill\nthe child if [`kill_on_drop`] is set to true.\n\n[`kill_on_drop`]: fn@Self::kill_on_drop\n\n# Errors\n\nThis future will return an error if the child process cannot be spawned\nor if there is an error while awaiting its status.\n\nOn Unix platforms this method will fail with `std::io::ErrorKind::WouldBlock`\nif the system process limit is reached (which includes other applications\nrunning on the system).\n\n# Examples\n\nBasic usage:\n\n```no_run\nuse tokio::process::Command;\n\nasync fn run_ls() -> std::process::ExitStatus {\n    Command::new(\"ls\")\n        .status()\n        .await\n        .expect(\"ls command failed to run\")\n}\n```","links":{"fn@Self::kill_on_drop":3424},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"impl_trait":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Output","args":null,"binding":{"equality":{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"ExitStatus","id":3450,"args":null}}}],"constraints":[]}}}}}}}]}}},"generic_params":[],"modifier":"none"}}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5506":{"id":5506,"crate_id":0,"name":"poll_recv_many","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[509,5],"end":[516,6]},"visibility":"public","docs":"Polls to receive multiple messages on this channel, extending the provided buffer.\n\nThis method returns:\n* `Poll::Pending` if no messages are available but the channel is not closed, or if a\n  spurious failure happens.\n* `Poll::Ready(count)` where `count` is the number of messages successfully received and\n  stored in `buffer`. This can be less than, or equal to, `limit`.\n* `Poll::Ready(0)` if `limit` is set to zero or when the channel is closed.\n\nWhen the method returns `Poll::Pending`, the `Waker` in the provided\n`Context` is scheduled to receive a wakeup when a message is sent on any\nreceiver, or when the channel is closed.  Note that on multiple calls to\n`poll_recv` or `poll_recv_many`, only the `Waker` from the `Context`\npassed to the most recent call is scheduled to receive a wakeup.\n\nNote that this method does not guarantee that exactly `limit` messages\nare received. Rather, if at least one message is available, it returns\nas many messages as it can up to the given limit. This method returns\nzero only if the channel is closed (or if `limit` is zero).\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::task::{Context, Poll};\nuse std::pin::Pin;\nuse tokio::sync::mpsc;\nuse futures::Future;\n\nstruct MyReceiverFuture<'a> {\n    receiver: mpsc::UnboundedReceiver<i32>,\n    buffer: &'a mut Vec<i32>,\n    limit: usize,\n}\n\nimpl<'a> Future for MyReceiverFuture<'a> {\n    type Output = usize; // Number of messages received\n\n    fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {\n        let MyReceiverFuture { receiver, buffer, limit } = &mut *self;\n\n        // Now `receiver` and `buffer` are mutable references, and `limit` is copied\n        match receiver.poll_recv_many(cx, *buffer, *limit) {\n            Poll::Pending => Poll::Pending,\n            Poll::Ready(count) => Poll::Ready(count),\n        }\n    }\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = mpsc::unbounded_channel::<i32>();\nlet mut buffer = Vec::new();\n\nlet my_receiver_future = MyReceiverFuture {\n    receiver: rx,\n    buffer: &mut buffer,\n    limit: 3,\n};\n\nfor i in 0..10 {\n    tx.send(i).expect(\"Unable to send integer\");\n}\n\nlet count = my_receiver_future.await;\nassert_eq!(count, 3);\nassert_eq!(buffer, vec![0,1,2])\n# }\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buffer",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}],["limit",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3744":{"id":3744,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"220":{"id":220,"crate_id":0,"name":"into_std","span":{"filename":"src/fs/file.rs","begin":[494,5],"end":[497,6]},"visibility":"public","docs":"Destructures `File` into a [`std::fs::File`]. This function is\nasync to allow any in-flight operations to complete.\n\nUse `File::try_into_std` to attempt conversion immediately.\n\n# Examples\n\n```no_run\nuse tokio::fs::File;\n\n# async fn dox() -> std::io::Result<()> {\nlet tokio_file = File::open(\"foo.txt\").await?;\nlet std_file = tokio_file.into_std().await;\n# Ok(())\n# }\n```","links":{"`std::fs::File`":198},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"StdFile","id":198,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1982":{"id":1982,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7268":{"id":7268,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7595":{"id":7595,"crate_id":0,"name":"as_raw_handle","span":{"filename":"src/doc/os.rs","begin":[20,13],"end":[20,50]},"visibility":"default","docs":"See [`std::os::windows::io::AsRawHandle::as_raw_handle`](https://doc.rust-lang.org/std/os/windows/io/trait.AsRawHandle.html#tymethod.as_raw_handle)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawHandle","id":290,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"2309":{"id":2309,"crate_id":0,"name":"try_write","span":{"filename":"src/net/tcp/split.rs","begin":[334,5],"end":[336,6]},"visibility":"public","docs":"Tries to write a buffer to the stream, returning how many bytes were\nwritten.\n\nThe function will attempt to write the entire contents of `buf`, but\nonly part of the buffer may be written.\n\nThis function is usually paired with `writable()`.\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the stream is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"547":{"id":547,"crate_id":0,"name":"consume","span":{"filename":"src/io/async_buf_read.rs","begin":[94,5],"end":[96,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["amt",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4071":{"id":4071,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[301,1],"end":[306,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[4069],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6160":{"id":6160,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4398":{"id":4398,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2636":{"id":2636,"crate_id":0,"name":"local_addr","span":{"filename":"src/net/unix/listener.rs","begin":[192,5],"end":[194,6]},"visibility":"public","docs":"Returns the local socket address of this listener.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6487":{"id":6487,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2963":{"id":2963,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4725":{"id":4725,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram.rs","begin":[67,21],"end":[67,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[4724],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6814":{"id":6814,"crate_id":0,"name":"drop","span":{"filename":"src/sync/watch.rs","begin":[1014,5],"end":[1021,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5052":{"id":5052,"crate_id":0,"name":"RecvError","span":{"filename":"src/sync/broadcast.rs","begin":[290,5],"end":[308,6]},"visibility":"public","docs":"An error returned from the [`recv`] function on a [`Receiver`].\n\n[`recv`]: crate::sync::broadcast::Receiver::recv\n[`Receiver`]: crate::sync::broadcast::Receiver","links":{"crate::sync::broadcast::Receiver::recv":5049,"crate::sync::broadcast::Receiver":5051},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[],"where_predicates":[]},"has_stripped_variants":false,"variants":[5047,5050],"impls":[5053,5054,5055,5056,5057,5058,5059,5060,5061,5062,5063,5064,5065,5066,5067,5068,5069,5070,5071,5073,5074,5076,5077,5079,5081,5082]}}},"3290":{"id":3290,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7141":{"id":7141,"crate_id":0,"name":"poll_join_next","span":{"filename":"src/task/join_set.rs","begin":[500,5],"end":[527,6]},"visibility":"public","docs":"Polls for one of the tasks in the set to complete.\n\nIf this returns `Poll::Ready(Some(_))`, then the task that completed is removed from the set.\n\nWhen the method returns `Poll::Pending`, the `Waker` in the provided `Context` is scheduled\nto receive a wakeup when a task in the `JoinSet` completes. Note that on multiple calls to\n`poll_join_next`, only the `Waker` from the `Context` passed to the most recent call is\nscheduled to receive a wakeup.\n\n# Returns\n\nThis function returns:\n\n * `Poll::Pending` if the `JoinSet` is not empty but there is no task whose output is\n   available right now.\n * `Poll::Ready(Some(Ok(value)))` if one of the tasks in this `JoinSet` has completed.\n   The `value` is the return value of one of the tasks that completed.\n * `Poll::Ready(Some(Err(err)))` if one of the tasks in this `JoinSet` has panicked or been\n   aborted. The `err` is the `JoinError` from the panicked/aborted task.\n * `Poll::Ready(None)` if the `JoinSet` is empty.\n\nNote that this method may return `Poll::Pending` even if one of the tasks has completed.\nThis can happen if the [coop budget] is reached.\n\n[coop budget]: crate::task::coop#cooperative-scheduling","links":{"crate::task::coop#cooperative-scheduling":4759},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"resolved_path":{"path":"JoinError","id":3686,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3617":{"id":3617,"crate_id":0,"name":"as_handle","span":{"filename":"src/process/mod.rs","begin":[1717,5],"end":[1717,30]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedHandle","id":294,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1855":{"id":1855,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5379":{"id":5379,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5706":{"id":5706,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7468":{"id":7468,"crate_id":0,"name":"deadline","span":{"filename":"src/time/sleep.rs","begin":[304,5],"end":[306,6]},"visibility":"public","docs":"Returns the instant at which the future will complete.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"420":{"id":420,"crate_id":0,"name":"metadata","span":{"filename":"src/fs/read_dir.rs","begin":[299,5],"end":[302,6]},"visibility":"public","docs":"Returns the metadata for the file that this entry points at.\n\nThis function will not traverse symlinks if this entry points at a\nsymlink.\n\n# Platform-specific behavior\n\nOn Windows this function is cheap to call (no extra system calls\nneeded), but on Unix platforms this function is the equivalent of\ncalling `symlink_metadata` on the path.\n\n# Examples\n\n```\nuse tokio::fs;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut entries = fs::read_dir(\".\").await?;\n\nwhile let Some(entry) = entries.next_entry().await? {\n    if let Ok(metadata) = entry.metadata().await {\n        // Now let's show our entry's permissions!\n        println!(\"{:?}: {:?}\", entry.path(), metadata.permissions());\n    } else {\n        println!(\"Couldn't get file type for {:?}\", entry.path());\n    }\n}\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Metadata","id":218,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2182":{"id":2182,"crate_id":0,"name":"Error","span":{"filename":"src/net/tcp/listener.rs","begin":[390,5],"end":[390,28]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Error","id":262,"args":null}},"default_unstable":null}}},"3944":{"id":3944,"crate_id":0,"name":"tokio","span":{"filename":"src/lib.rs","begin":[1,1],"end":[709,14]},"visibility":"public","docs":"A runtime for writing reliable network applications without compromising speed.\n\nTokio is an event-driven, non-blocking I/O platform for writing asynchronous\napplications with the Rust programming language. At a high level, it\nprovides a few major components:\n\n* Tools for [working with asynchronous tasks][tasks], including\n  [synchronization primitives and channels][sync] and [timeouts, sleeps, and\n  intervals][time].\n* APIs for [performing asynchronous I/O][io], including [TCP and UDP][net] sockets,\n  [filesystem][fs] operations, and [process] and [signal] management.\n* A [runtime] for executing asynchronous code, including a task scheduler,\n  an I/O driver backed by the operating system's event queue (`epoll`, `kqueue`,\n  `IOCP`, etc...), and a high performance timer.\n\nGuide level documentation is found on the [website].\n\n[tasks]: #working-with-tasks\n[sync]: crate::sync\n[time]: crate::time\n[io]: #asynchronous-io\n[net]: crate::net\n[fs]: crate::fs\n[process]: crate::process\n[signal]: crate::signal\n[fs]: crate::fs\n[runtime]: crate::runtime\n[website]: https://tokio.rs/tokio/tutorial\n\n# A Tour of Tokio\n\nTokio consists of a number of modules that provide a range of functionality\nessential for implementing asynchronous applications in Rust. In this\nsection, we will take a brief tour of Tokio, summarizing the major APIs and\ntheir uses.\n\nThe easiest way to get started is to enable all features. Do this by\nenabling the `full` feature flag:\n\n```toml\ntokio = { version = \"1\", features = [\"full\"] }\n```\n\n### Authoring applications\n\nTokio is great for writing applications and most users in this case shouldn't\nworry too much about what features they should pick. If you're unsure, we suggest\ngoing with `full` to ensure that you don't run into any road blocks while you're\nbuilding your application.\n\n#### Example\n\nThis example shows the quickest way to get started with Tokio.\n\n```toml\ntokio = { version = \"1\", features = [\"full\"] }\n```\n\n### Authoring libraries\n\nAs a library author your goal should be to provide the lightest weight crate\nthat is based on Tokio. To achieve this you should ensure that you only enable\nthe features you need. This allows users to pick up your crate without having\nto enable unnecessary features.\n\n#### Example\n\nThis example shows how you may want to import features for a library that just\nneeds to `tokio::spawn` and use a `TcpStream`.\n\n```toml\ntokio = { version = \"1\", features = [\"rt\", \"net\"] }\n```\n\n## Working With Tasks\n\nAsynchronous programs in Rust are based around lightweight, non-blocking\nunits of execution called [_tasks_][tasks]. The [`tokio::task`] module provides\nimportant tools for working with tasks:\n\n* The [`spawn`] function and [`JoinHandle`] type, for scheduling a new task\n  on the Tokio runtime and awaiting the output of a spawned task, respectively,\n* Functions for [running blocking operations][blocking] in an asynchronous\n  task context.\n\nThe [`tokio::task`] module is present only when the \"rt\" feature flag\nis enabled.\n\n[tasks]: task/index.html#what-are-tasks\n[`tokio::task`]: crate::task\n[`spawn`]: crate::task::spawn()\n[`JoinHandle`]: crate::task::JoinHandle\n[blocking]: task/index.html#blocking-and-yielding\n\nThe [`tokio::sync`] module contains synchronization primitives to use when\nneeding to communicate or share data. These include:\n\n* channels ([`oneshot`], [`mpsc`], [`watch`], and [`broadcast`]), for sending values\n  between tasks,\n* a non-blocking [`Mutex`], for controlling access to a shared, mutable\n  value,\n* an asynchronous [`Barrier`] type, for multiple tasks to synchronize before\n  beginning a computation.\n\nThe `tokio::sync` module is present only when the \"sync\" feature flag is\nenabled.\n\n[`tokio::sync`]: crate::sync\n[`Mutex`]: crate::sync::Mutex\n[`Barrier`]: crate::sync::Barrier\n[`oneshot`]: crate::sync::oneshot\n[`mpsc`]: crate::sync::mpsc\n[`watch`]: crate::sync::watch\n[`broadcast`]: crate::sync::broadcast\n\nThe [`tokio::time`] module provides utilities for tracking time and\nscheduling work. This includes functions for setting [timeouts][timeout] for\ntasks, [sleeping][sleep] work to run in the future, or [repeating an operation at an\ninterval][interval].\n\nIn order to use `tokio::time`, the \"time\" feature flag must be enabled.\n\n[`tokio::time`]: crate::time\n[sleep]: crate::time::sleep()\n[interval]: crate::time::interval()\n[timeout]: crate::time::timeout()\n\nFinally, Tokio provides a _runtime_ for executing asynchronous tasks. Most\napplications can use the [`#[tokio::main]`][main] macro to run their code on the\nTokio runtime. However, this macro provides only basic configuration options. As\nan alternative, the [`tokio::runtime`] module provides more powerful APIs for configuring\nand managing runtimes. You should use that module if the `#[tokio::main]` macro doesn't\nprovide the functionality you need.\n\nUsing the runtime requires the \"rt\" or \"rt-multi-thread\" feature flags, to\nenable the current-thread [single-threaded scheduler][rt] and the [multi-thread\nscheduler][rt-multi-thread], respectively. See the [`runtime` module\ndocumentation][rt-features] for details. In addition, the \"macros\" feature\nflag enables the `#[tokio::main]` and `#[tokio::test]` attributes.\n\n[main]: attr.main.html\n[`tokio::runtime`]: crate::runtime\n[`Builder`]: crate::runtime::Builder\n[`Runtime`]: crate::runtime::Runtime\n[rt]: runtime/index.html#current-thread-scheduler\n[rt-multi-thread]: runtime/index.html#multi-thread-scheduler\n[rt-features]: runtime/index.html#runtime-scheduler\n\n## CPU-bound tasks and blocking code\n\nTokio is able to concurrently run many tasks on a few threads by repeatedly\nswapping the currently running task on each thread. However, this kind of\nswapping can only happen at `.await` points, so code that spends a long time\nwithout reaching an `.await` will prevent other tasks from running. To\ncombat this, Tokio provides two kinds of threads: Core threads and blocking threads.\n\nThe core threads are where all asynchronous code runs, and Tokio will by default\nspawn one for each CPU core. You can use the environment variable `TOKIO_WORKER_THREADS`\nto override the default value.\n\nThe blocking threads are spawned on demand, can be used to run blocking code\nthat would otherwise block other tasks from running and are kept alive when\nnot used for a certain amount of time which can be configured with [`thread_keep_alive`].\nSince it is not possible for Tokio to swap out blocking tasks, like it\ncan do with asynchronous code, the upper limit on the number of blocking\nthreads is very large. These limits can be configured on the [`Builder`].\n\nTo spawn a blocking task, you should use the [`spawn_blocking`] function.\n\n[`Builder`]: crate::runtime::Builder\n[`spawn_blocking`]: crate::task::spawn_blocking()\n[`thread_keep_alive`]: crate::runtime::Builder::thread_keep_alive()\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n#[tokio::main]\nasync fn main() {\n    // This is running on a core thread.\n\n    let blocking_task = tokio::task::spawn_blocking(|| {\n        // This is running on a blocking thread.\n        // Blocking here is ok.\n    });\n\n    // We can wait for the blocking task like this:\n    // If the blocking task panics, the unwrap below will propagate the\n    // panic.\n    blocking_task.await.unwrap();\n}\n# }\n```\n\nIf your code is CPU-bound and you wish to limit the number of threads used\nto run it, you should use a separate thread pool dedicated to CPU bound tasks.\nFor example, you could consider using the [rayon] library for CPU-bound\ntasks. It is also possible to create an extra Tokio runtime dedicated to\nCPU-bound tasks, but if you do this, you should be careful that the extra\nruntime runs _only_ CPU-bound tasks, as IO-bound tasks on that runtime\nwill behave poorly.\n\nHint: If using rayon, you can use a [`oneshot`] channel to send the result back\nto Tokio when the rayon task finishes.\n\n[rayon]: https://docs.rs/rayon\n[`oneshot`]: crate::sync::oneshot\n\n## Asynchronous IO\n\nAs well as scheduling and running tasks, Tokio provides everything you need\nto perform input and output asynchronously.\n\nThe [`tokio::io`] module provides Tokio's asynchronous core I/O primitives,\nthe [`AsyncRead`], [`AsyncWrite`], and [`AsyncBufRead`] traits. In addition,\nwhen the \"io-util\" feature flag is enabled, it also provides combinators and\nfunctions for working with these traits, forming as an asynchronous\ncounterpart to [`std::io`].\n\nTokio also includes APIs for performing various kinds of I/O and interacting\nwith the operating system asynchronously. These include:\n\n* [`tokio::net`], which contains non-blocking versions of [TCP], [UDP], and\n  [Unix Domain Sockets][UDS] (enabled by the \"net\" feature flag),\n* [`tokio::fs`], similar to [`std::fs`] but for performing filesystem I/O\n  asynchronously (enabled by the \"fs\" feature flag),\n* [`tokio::signal`], for asynchronously handling Unix and Windows OS signals\n  (enabled by the \"signal\" feature flag),\n* [`tokio::process`], for spawning and managing child processes (enabled by\n  the \"process\" feature flag).\n\n[`tokio::io`]: crate::io\n[`AsyncRead`]: crate::io::AsyncRead\n[`AsyncWrite`]: crate::io::AsyncWrite\n[`AsyncBufRead`]: crate::io::AsyncBufRead\n[`std::io`]: std::io\n[`tokio::net`]: crate::net\n[TCP]: crate::net::tcp\n[UDP]: crate::net::UdpSocket\n[UDS]: crate::net::unix\n[`tokio::fs`]: crate::fs\n[`std::fs`]: std::fs\n[`tokio::signal`]: crate::signal\n[`tokio::process`]: crate::process\n\n# Examples\n\nA simple TCP echo server:\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::net::TcpListener;\nuse tokio::io::{AsyncReadExt, AsyncWriteExt};\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    let listener = TcpListener::bind(\"127.0.0.1:8080\").await?;\n\n    loop {\n        let (mut socket, _) = listener.accept().await?;\n\n        tokio::spawn(async move {\n            let mut buf = [0; 1024];\n\n            // In a loop, read data from the socket and write the data back.\n            loop {\n                let n = match socket.read(&mut buf).await {\n                    // socket closed\n                    Ok(0) => return,\n                    Ok(n) => n,\n                    Err(e) => {\n                        eprintln!(\"failed to read from socket; err = {:?}\", e);\n                        return;\n                    }\n                };\n\n                // Write the data back\n                if let Err(e) = socket.write_all(&buf[0..n]).await {\n                    eprintln!(\"failed to write to socket; err = {:?}\", e);\n                    return;\n                }\n            }\n        });\n    }\n}\n# }\n```\n\n# Feature flags\n\nTokio uses a set of [feature flags] to reduce the amount of compiled code. It\nis possible to just enable certain features over others. By default, Tokio\ndoes not enable any features but allows one to enable a subset for their use\ncase. Below is a list of the available feature flags. You may also notice\nabove each function, struct and trait there is listed one or more feature flags\nthat are required for that item to be used. If you are new to Tokio it is\nrecommended that you use the `full` feature flag which will enable all public APIs.\nBeware though that this will pull in many extra dependencies that you may not\nneed.\n\n- `full`: Enables all features listed below except `test-util` and unstable features.\n- `rt`: Enables `tokio::spawn`, the current-thread scheduler,\n  and non-scheduler utilities.\n- `rt-multi-thread`: Enables the heavier, multi-threaded, work-stealing scheduler.\n- `io-util`: Enables the IO based `Ext` traits.\n- `io-std`: Enable `Stdout`, `Stdin` and `Stderr` types.\n- `net`: Enables `tokio::net` types such as `TcpStream`, `UnixStream` and\n  `UdpSocket`, as well as (on Unix-like systems) `AsyncFd` and (on\n  FreeBSD) `PollAio`.\n- `time`: Enables `tokio::time` types and allows the schedulers to enable\n  the built-in timer.\n- `process`: Enables `tokio::process` types.\n- `macros`: Enables `#[tokio::main]` and `#[tokio::test]` macros.\n- `sync`: Enables all `tokio::sync` types.\n- `signal`: Enables all `tokio::signal` types.\n- `fs`: Enables `tokio::fs` types.\n- `test-util`: Enables testing based infrastructure for the Tokio runtime.\n- `parking_lot`: As a potential optimization, use the [`parking_lot`] crate's\n  synchronization primitives internally. Also, this\n  dependency is necessary to construct some of our primitives\n  in a `const` context. `MSRV` may increase according to the\n  [`parking_lot`] release in use.\n\n_Note: `AsyncRead` and `AsyncWrite` traits do not require any features and are\nalways available._\n\n## Unstable features\n\nSome feature flags are only available when specifying the `tokio_unstable` flag:\n\n- `tracing`: Enables tracing events.\n- `schedule-latency`: Allows measurement of task scheduling latencies.\n- `io-uring`: Enables `io-uring` (Linux only).\n- `taskdump`: Enables `taskdump` (Linux only).\n\nLikewise, this flag enables access to unstable APIs.\n\nThis flag enables **unstable** features. The public API of these features\nmay break in 1.x releases. To enable these features, the `--cfg\ntokio_unstable` argument must be passed to `rustc` when compiling. This\nserves to explicitly opt-in to features which may break semver conventions,\nsince Cargo [does not yet directly support such opt-ins][unstable features].\n\nYou can specify it in your project's `.cargo/config.toml` file:\n\n```toml\n[build]\nrustflags = [\"--cfg\", \"tokio_unstable\"]\n```\n\n<div class=\"warning\">\nThe <code>[build]</code> section does <strong>not</strong> go in a\n<code>Cargo.toml</code> file. Instead it must be placed in the Cargo config\nfile <code>.cargo/config.toml</code>.\n</div>\n\nAlternatively, you can specify it with an environment variable:\n\n```sh\n## Many *nix shells:\nexport RUSTFLAGS=\"--cfg tokio_unstable\"\ncargo build\n```\n\n```powershell\n## Windows PowerShell:\n$Env:RUSTFLAGS=\"--cfg tokio_unstable\"\ncargo build\n```\n\n[unstable features]: https://internals.rust-lang.org/t/feature-request-unstable-opt-in-non-transitive-crate-features/16193#why-not-a-crate-feature-2\n[feature flags]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-features-section\n\n# Supported platforms\n\nTokio currently guarantees support for the following platforms:\n\n * Linux\n * Windows\n * Android (API level 21)\n * macOS\n * iOS\n * FreeBSD\n\nTokio will continue to support these platforms in the future. However,\nfuture releases may change requirements such as the minimum required libc\nversion on Linux, the API level on Android, or the supported FreeBSD\nrelease.\n\nBeyond the above platforms, Tokio is intended to work on all platforms\nsupported by the mio crate. You can find a longer list [in mio's\ndocumentation][mio-supported]. However, these additional platforms may\nbecome unsupported in the future.\n\nNote that Wine is considered to be a different platform from Windows. See\nmio's documentation for more information on Wine support.\n\n[mio-supported]: https://crates.io/crates/mio#platforms\n\n## `WASM` support\n\nTokio has some limited support for the `WASM` platform. Without the\n`tokio_unstable` flag, the following features are supported:\n\n * `sync`\n * `macros`\n * `io-util`\n * `rt`\n * `time`\n\nEnabling any other feature (including `full`) will cause a compilation\nfailure.\n\nThe `time` module will only work on `WASM` platforms that have support for\ntimers (e.g. wasm32-wasi). The timing functions will panic if used on a `WASM`\nplatform that does not support timers.\n\nNote also that if the runtime becomes indefinitely idle, it will panic\nimmediately instead of blocking forever. On platforms that don't support\ntime, this means that the runtime can never be idle in any way.\n\n## Unstable `WASM` support\n\nTokio also has unstable support for some additional `WASM` features. This\nrequires the use of the `tokio_unstable` flag.\n\nUsing this flag enables the use of `tokio::net` on the wasm32-wasi target.\nHowever, not all methods are available on the networking types as `WASI`\ncurrently does not support the creation of new sockets from within `WASM`.\nBecause of this, sockets must currently be created via the `FromRawFd`\ntrait.","links":{"crate::net":3384,"crate::task::spawn()":3799,"crate::sync::watch":6783,"`parking_lot`":7639,"crate::time::interval()":7400,"crate::sync::oneshot":5678,"std::fs":515,"crate::signal":3445,"crate::net::tcp":2500,"crate::sync::mpsc":5680,"crate::io::AsyncBufRead":538,"crate::runtime":3964,"crate::sync::broadcast":5121,"crate::task::spawn_blocking()":379,"crate::runtime::Builder":3938,"crate::process":3619,"crate::io::AsyncRead":224,"crate::task":3687,"crate::time":4277,"crate::sync":6907,"crate::fs":516,"crate::time::sleep()":7256,"crate::task::JoinHandle":3722,"crate::io::AsyncWrite":225,"crate::net::UdpSocket":2510,"crate::sync::Barrier":4972,"crate::sync::Mutex":5687,"crate::runtime::Builder::thread_keep_alive()":3947,"crate::io":1545,"std::io":2124,"crate::time::timeout()":4286,"crate::net::unix":3106,"crate::runtime::Runtime":3112},"attrs":[{"other":"#[allow(clippy::cognitive_complexity, clippy::large_enum_variant,\nclippy::module_inception, clippy::needless_doctest_main)]"},{"other":"#[warn(missing_debug_implementations, missing_docs, rust_2018_idioms,\nunreachable_pub)]"},{"other":"#[deny(unused_must_use, unsafe_op_in_unsafe_fn)]"},{"other":"#[allow(unused_attributes)]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(auto_cfg(hide(loom, values(none()))))]"},{"other":"#[doc(test(attr(deny(warnings, rust_2018_idioms))))]"},{"other":"#[doc(test(attr(allow(dead_code, unused_variables))))]"},{"other":"#[doc(test(no_crate_inject))]"},{"other":"#[attr = Feature([doc_cfg#0])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":true,"items":[516,1545,3384,3619,3964,3445,6907,3687,4277,7594,7630,7631,7632,7633,7636,1471,4212,7637,7638],"is_stripped":false}}},"4271":{"id":4271,"crate_id":0,"name":"TryCurrentError","span":{"filename":"src/runtime/handle.rs","begin":[692,1],"end":[694,2]},"visibility":"public","docs":"Error returned by `try_current` when no Runtime has been started","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4333,4334,4335,4336,4337,4338,4339,4340,4341,4342,4343,4344,4345,4346,4347,4348,4349,4350,4352,4354,4355]}}},"6033":{"id":6033,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"747":{"id":747,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/stderr.rs","begin":[138,5],"end":[140,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6360":{"id":6360,"crate_id":0,"name":"try_map","span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[136,5],"end":[157,6]},"visibility":"public","docs":"Attempts to make a new `OwnedRwLockMappedWriteGuard` for a component\nof the locked data. The original guard is returned if the closure\nreturns `None`.\n\nThis operation cannot fail as the `OwnedRwLockMappedWriteGuard` passed\nin already locked the data.\n\nThis is an associated function that needs to be\nused as `OwnedRwLockMappedWriteGuard::try_map(...)`. A method would interfere with\nmethods of the same name on the contents of the locked data.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::{RwLock, OwnedRwLockWriteGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(Foo(1)));\n\n{\n    let guard = Arc::clone(&lock).write_owned().await;\n    let mut guard = OwnedRwLockWriteGuard::try_map(guard, |f| Some(&mut f.0)).expect(\"should not fail\");\n    *guard = 2;\n}\n\nassert_eq!(Foo(2), *lock.read().await);\n# }\n```","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"V"}}],"constraints":[]}}}}},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"V","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"V"}}}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4598":{"id":4598,"crate_id":0,"name":"clone","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[26,23],"end":[26,28]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1074":{"id":1074,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"Deref","id":550,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Target","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Receiver","id":1075,"args":null},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[1073],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"P"}}}},"2836":{"id":2836,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4925":{"id":4925,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3163":{"id":3163,"crate_id":0,"name":"try_read_vectored","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1327,5],"end":[1331,6]},"visibility":"public","docs":"Tries to read data from the pipe into the provided buffers, returning\nhow many bytes were read.\n\nData is copied to fill each buffer in order, with the final buffer\nwritten to possibly being only partially filled. This method behaves\nequivalently to a single call to [`try_read()`] with concatenated\nbuffers.\n\nReceives any pending data from the pipe but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_vectored()` is non-blocking, the buffer does not have to be\nstored by the async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`try_read()`]: NamedPipeClient::try_read()\n[`readable()`]: NamedPipeClient::readable()\n[`ready()`]: NamedPipeClient::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the pipe's read half is closed\nand will no longer yield data. If the pipe is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io::{self, IoSliceMut};\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-client-try-read-vectored\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let client = named_pipe::ClientOptions::new().open(PIPE_NAME)?;\n\n    loop {\n        // Wait for the pipe to be readable\n        client.readable().await?;\n\n        // Creating the buffer **after** the `await` prevents it from\n        // being stored in the async task.\n        let mut buf_a = [0; 512];\n        let mut buf_b = [0; 1024];\n        let mut bufs = [\n            IoSliceMut::new(&mut buf_a),\n            IoSliceMut::new(&mut buf_b),\n        ];\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match client.try_read_vectored(&mut bufs) {\n            Ok(0) => break,\n            Ok(n) => {\n                println!(\"read {} bytes\", n);\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"NamedPipeClient::readable()":3160,"NamedPipeClient::try_read()":3162,"NamedPipeClient::ready()":3159},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"resolved_path":{"path":"io::IoSliceMut","id":2282,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1401":{"id":1401,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6687":{"id":6687,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7014":{"id":7014,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5252":{"id":5252,"crate_id":0,"name":"max_capacity","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1614,5],"end":[1616,6]},"visibility":"public","docs":"Returns the maximum buffer capacity of the channel.\n\nThe maximum capacity is the buffer capacity initially specified when calling\n[`channel`]. This is distinct from [`capacity`], which returns the *current*\navailable buffer capacity: as messages are sent and received, the\nvalue returned by [`capacity`] will go up or down, whereas the value\nreturned by [`max_capacity`] will remain constant.\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, _rx) = mpsc::channel::<()>(5);\n\n// both max capacity and capacity are the same at first\nassert_eq!(tx.max_capacity(), 5);\nassert_eq!(tx.capacity(), 5);\n\n// Making a reservation doesn't change the max capacity.\nlet permit = tx.reserve().await.unwrap();\nassert_eq!(tx.max_capacity(), 5);\n// but drops the capacity by one\nassert_eq!(tx.capacity(), 4);\n# }\n```\n\n[`channel`]: channel\n[`max_capacity`]: Sender::max_capacity\n[`capacity`]: Sender::capacity","links":{"Sender::max_capacity":5252,"channel":5223,"Sender::capacity":5253},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1728":{"id":1728,"crate_id":0,"name":null,"span":{"filename":"src/io/util/chain.rs","begin":[34,1],"end":[67,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[1724,1725,1726,1727],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3490":{"id":3490,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7341":{"id":7341,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3817":{"id":3817,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2055":{"id":2055,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[38,21],"end":[38,26]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"empty::empty","name":"empty","id":1760,"is_glob":false}}},"293":{"id":293,"crate_id":0,"name":"as_handle","span":{"filename":"src/fs/file.rs","begin":[948,9],"end":[954,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedHandle","id":294,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5579":{"id":5579,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5906":{"id":5906,"crate_id":0,"name":"notify_waiters","span":{"filename":"src/sync/notify.rs","begin":[740,5],"end":[742,6]},"visibility":"public","docs":"Notifies all waiting tasks.\n\nIf a task is currently waiting, that task is notified. Unlike with\n`notify_one()`, no permit is stored to be used by the next call to\n`notified().await`. The purpose of this method is to notify all\nalready registered waiters. Registering for notification is done by\nacquiring an instance of the `Notified` future via calling `notified()`.\n\n# Examples\n\n```\nuse tokio::sync::Notify;\nuse std::sync::Arc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet notify = Arc::new(Notify::new());\nlet notify2 = notify.clone();\n\nlet notified1 = notify.notified();\nlet notified2 = notify.notified();\n\nlet handle = tokio::spawn(async move {\n    println!(\"sending notifications\");\n    notify2.notify_waiters();\n});\n\nnotified1.await;\nnotified2.await;\nprintln!(\"received notifications\");\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2382":{"id":2382,"crate_id":0,"name":"local_addr","span":{"filename":"src/net/tcp/split_owned.rs","begin":[447,5],"end":[449,6]},"visibility":"public","docs":"Returns the local address that this stream is bound to.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"620":{"id":620,"crate_id":0,"name":"SimplexStream","span":{"filename":"src/io/util/mem.rs","begin":[77,1],"end":[95,2]},"visibility":"public","docs":"A unidirectional pipe to read and write bytes in memory.\n\nIt can be constructed by [`simplex`] function which will create a pair of\nreader and writer or by calling [`SimplexStream::new_unsplit`] that will\ncreate a handle for both reading and writing.\n\n# Example\n\n```\n# async fn ex() -> std::io::Result<()> {\n# use tokio::io::{AsyncReadExt, AsyncWriteExt};\nlet (mut receiver, mut sender) = tokio::io::simplex(64);\n\nsender.write_all(b\"ping\").await?;\n\nlet mut buf = [0u8; 4];\nreceiver.read_exact(&mut buf).await?;\nassert_eq!(&buf, b\"ping\");\n# Ok(())\n# }\n```","links":{"`SimplexStream::new_unsplit`":1848,"`simplex`":1847},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[1849,1850,1851,1852,1853,1854,1855,1856,1857,1858,1859,1860,1861,1862,1863,1864,1865,1866,1867,1869,619,804]}}},"4144":{"id":4144,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4471":{"id":4471,"crate_id":0,"name":null,"span":{"filename":"src/runtime/local_runtime/mod.rs","begin":[5,1],"end":[5,31]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"options::LocalOptions","name":"LocalOptions","id":3963,"is_glob":false}}},"2709":{"id":2709,"crate_id":0,"name":"ready","span":{"filename":"src/net/unix/split.rs","begin":[79,5],"end":[81,6]},"visibility":"public","docs":"Wait for any of the requested ready states.\n\nThis function is usually paired with [`try_read()`]. It can be used instead\nof [`readable()`] to check the returned ready set for [`Ready::READABLE`]\nand [`Ready::READ_CLOSED`] events.\n\nThe function may complete without the socket being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\nThis function is equivalent to [`UnixStream::ready`].\n\n[`try_read()`]: Self::try_read\n[`readable()`]: Self::readable\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`Ready::READ_CLOSED`":982,"`Ready`":978,"`UnixStream::ready`":2708,"`Ready::READABLE`":980,"Self::try_read":2706,"Self::readable":2707},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"947":{"id":947,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6233":{"id":6233,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6560":{"id":6560,"crate_id":0,"name":"const_new_with","span":{"filename":"src/sync/once_cell.rs","begin":[223,5],"end":[229,6]},"visibility":"public","docs":"Creates a new `OnceCell` that contains the provided value.\n\n# Example\n\nWhen using the `tracing` [unstable feature], a `OnceCell` created with\n`const_new_with` will not be instrumented. As such, it will not be\nvisible in [`tokio-console`]. Instead, [`OnceCell::new_with`] should be\nused to create an instrumented object if that is needed.\n\n```\nuse tokio::sync::OnceCell;\n\nstatic ONCE: OnceCell<u32> = OnceCell::const_new_with(1);\n\nasync fn get_global_integer() -> &'static u32 {\n    ONCE.get_or_init(|| async {\n        1 + 1\n    }).await\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet result = get_global_integer().await;\nassert_eq!(*result, 1);\n# }\n```\n\n[`tokio-console`]: https://github.com/tokio-rs/console\n[unstable feature]: crate#unstable-features","links":{"`OnceCell::new_with`":6559,"crate#unstable-features":3944},"attrs":[{"other":"#[attr = CfgTrace([Not(All([NameValue { name: \"loom\", value: None, span: src/sync/once_cell.rs:222:19: 222:23 (#0) }, NameValue { name: \"test\", value: None, span: src/sync/once_cell.rs:222:25: 222:29 (#0) }], src/sync/once_cell.rs:222:18: 222:30 (#0)), src/sync/once_cell.rs:222:14: 222:31 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["value",{"generic":"T"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3036":{"id":3036,"crate_id":0,"name":"into_nonblocking_fd","span":{"filename":"src/net/unix/pipe.rs","begin":[792,5],"end":[800,6]},"visibility":"public","docs":"Converts the pipe into an [`OwnedFd`] in nonblocking mode.\n\nThis function will deregister this pipe end from the event loop and\nperform the conversion. The returned file descriptor will be in nonblocking\nmode.","links":{"`OwnedFd`":272},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedFd","id":272,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1274":{"id":1274,"crate_id":0,"name":"fmt","span":{"filename":"src/io/async_fd.rs","begin":[1424,5],"end":[1426,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4798":{"id":4798,"crate_id":0,"name":"fmt","span":{"filename":"src/signal/unix.rs","begin":[78,10],"end":[78,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5125":{"id":5125,"crate_id":0,"name":"WeakSender","span":{"filename":"src/sync/broadcast.rs","begin":[213,1],"end":[215,2]},"visibility":"public","docs":"A sender that does not prevent the channel from being closed.\n\nIf all [`Sender`] instances of a channel were dropped and only `WeakSender`\ninstances remain, the channel is closed.\n\nIn order to send messages, the `WeakSender` needs to be upgraded using\n[`WeakSender::upgrade`], which returns `Option<Sender>`. It returns `None`\nif all `Sender`s have been dropped, and otherwise it returns a `Sender`.\n\n[`Sender`]: Sender\n[`WeakSender::upgrade`]: WeakSender::upgrade\n\n# Examples\n\n```\nuse tokio::sync::broadcast::channel;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, _rx) = channel::<i32>(15);\nlet tx_weak = tx.downgrade();\n\n// Upgrading will succeed because `tx` still exists.\nassert!(tx_weak.upgrade().is_some());\n\n// If we drop `tx`, then it will fail.\ndrop(tx);\nassert!(tx_weak.clone().upgrade().is_none());\n# }\n```","links":{"WeakSender::upgrade":5161,"Sender":5023},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5164,5165,5166,5167,5168,5169,5170,5171,5172,5173,5174,5175,5176,5177,5178,5179,5180,5181,5182,5184,5186,5188]}}},"3363":{"id":3363,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1601":{"id":1601,"crate_id":0,"name":"write_i128_le","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an signed 128-bit integer in little-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_i128_le(&mut self, n: i128) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite signed 128-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_i128_le(i128::MIN).await?;\n\nassert_eq!(writer, vec![\n    0, 0, 0, 0, 0, 0, 0,\n    0, 0, 0, 0, 0, 0, 0, 0, 0x80\n]);\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"i128"}]],"output":{"resolved_path":{"path":"WriteI128Le","id":1602,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6887":{"id":6887,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[466,54],"end":[466,69]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"mutex::OwnedMutexGuard","name":"OwnedMutexGuard","id":5691,"is_glob":false}}},"7214":{"id":7214,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5452":{"id":5452,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1928":{"id":1928,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"166":{"id":166,"crate_id":2,"name":"from","span":null,"visibility":"default","docs":"Returns the argument unchanged.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":{"feature":"const_convert","level":"unstable"},"inner":{"function":{"sig":{"inputs":[["t",{"generic":"T"}]],"output":{"generic":"T"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3690":{"id":3690,"crate_id":0,"name":"into_panic","span":{"filename":"src/runtime/task/error.rs","begin":[93,5],"end":[96,6]},"visibility":"public","docs":"Consumes the join error, returning the object with which the task panicked.\n\n# Panics\n\n`into_panic()` panics if the `Error` does not represent the underlying\ntask terminating with a panic. Use `is_panic` to check the error reason\nor `try_into_panic` for a variant that does not panic.\n\n# Examples\n\n```should_panic,ignore-wasm\nuse std::panic;\n\n#[tokio::main]\nasync fn main() {\n    let err = tokio::spawn(async {\n        panic!(\"boom\");\n    }).await.unwrap_err();\n\n    if err.is_panic() {\n        // Resume the panic on the main task\n        panic::resume_unwind(err.into_panic());\n    }\n}\n```","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Box","id":542,"args":{"angle_bracketed":{"args":[{"type":{"dyn_trait":{"traits":[{"trait":{"path":"Any","id":181,"args":null},"generic_params":[]},{"trait":{"path":"Send","id":142,"args":null},"generic_params":[]}],"lifetime":"'static"}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5779":{"id":5779,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"Deref","id":550,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Target","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Receiver","id":1075,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1073],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"P"}}}},"4017":{"id":4017,"crate_id":0,"name":"Ignore","span":{"filename":"src/runtime/builder.rs","begin":[205,9],"end":[205,15]},"visibility":"default","docs":"The runtime should ignore panics on spawned tasks.\n\nThe panic is forwarded to the task's [`JoinHandle`] and all spawned\ntasks continue running normally.\n\nThis is the default behavior.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::{self, UnhandledPanic};\n\n# pub fn main() {\nlet rt = runtime::Builder::new_current_thread()\n    .unhandled_panic(UnhandledPanic::Ignore)\n    .build()\n    .unwrap();\n\nlet task1 = rt.spawn(async { panic!(\"boom\"); });\nlet task2 = rt.spawn(async {\n    // This task completes normally\n    \"done\"\n});\n\nrt.block_on(async {\n    // The panic on the first task is forwarded to the `JoinHandle`\n    assert!(task1.await.is_err());\n\n    // The second task completes normally\n    assert!(task2.await.is_ok());\n})\n# }\n# }\n```\n\n[`JoinHandle`]: struct@crate::task::JoinHandle","links":{"struct@crate::task::JoinHandle":3722},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"493":{"id":493,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[242,1],"end":[242,26]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::read::read","name":"read","id":381,"is_glob":false}}},"2255":{"id":2255,"crate_id":0,"name":"from_raw_fd","span":{"filename":"src/net/tcp/socket.rs","begin":[1018,9],"end":[1023,10]},"visibility":"default","docs":"Converts a `RawFd` to a `TcpSocket`.\n\n# Notes\n\nThe caller is responsible for ensuring that the socket is in\nnon-blocking mode.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["fd",{"resolved_path":{"path":"RawFd","id":275,"args":null}}]],"output":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7541":{"id":7541,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[106,40],"end":[106,47]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[doc(inline)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"timeout::Timeout","name":"Timeout","id":7497,"is_glob":false}}},"6106":{"id":6106,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2582":{"id":2582,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"820":{"id":820,"crate_id":0,"name":"poll_flush","span":{"filename":"src/net/tcp/split_owned.rs","begin":[482,5],"end":[485,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4344":{"id":4344,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4671":{"id":4671,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram.rs","begin":[3,69],"end":[3,88]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"h2_histogram::LogHistogramBuilder","name":"LogHistogramBuilder","id":3982,"is_glob":false}}},"2909":{"id":2909,"crate_id":0,"name":"pair","span":{"filename":"src/net/unix/stream.rs","begin":[913,5],"end":[919,6]},"visibility":"public","docs":"Creates an unnamed pair of connected sockets.\n\nThis function will create a pair of interconnected Unix sockets for\ncommunicating back and forth between one another. Each socket will\nbe associated with the default event loop's handle.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"resolved_path":{"path":"UnixStream","id":643,"args":null}},{"resolved_path":{"path":"UnixStream","id":643,"args":null}}]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6760":{"id":6760,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3236":{"id":3236,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1474":{"id":1474,"crate_id":0,"name":"lines","span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[348,9],"end":[353,10]},"visibility":"default","docs":"Returns a stream over the lines of this reader.\nThis method is the async equivalent to [`BufRead::lines`](std::io::BufRead::lines).\n\nThe stream returned from this function will yield instances of\n[`io::Result`]`<`[`Option`]`<`[`String`]`>>`. Each string returned will *not* have a newline\nbyte (the 0xA byte) or `CRLF` (0xD, 0xA bytes) at the end.\n\n[`io::Result`]: std::io::Result\n[`Option`]: core::option::Option\n[`String`]: String\n\n# Errors\n\nEach line of the stream has the same error semantics as [`AsyncBufReadExt::read_line`].\n\n# Examples\n\n[`std::io::Cursor`][`Cursor`] is a type that implements `BufRead`. In\nthis example, we use [`Cursor`] to iterate over all the lines in a byte\nslice.\n\n[`Cursor`]: std::io::Cursor\n\n```\nuse tokio::io::AsyncBufReadExt;\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet cursor = Cursor::new(b\"lorem\\nipsum\\r\\ndolor\");\n\nlet mut lines = cursor.lines();\n\nassert_eq!(lines.next_line().await.unwrap(), Some(String::from(\"lorem\")));\nassert_eq!(lines.next_line().await.unwrap(), Some(String::from(\"ipsum\")));\nassert_eq!(lines.next_line().await.unwrap(), Some(String::from(\"dolor\")));\nassert_eq!(lines.next_line().await.unwrap(), None);\n# }\n```\n\n[`AsyncBufReadExt::read_line`]: AsyncBufReadExt::read_line","links":{"std::io::Result":119,"String":448,"AsyncBufReadExt::read_line":1476,"core::option::Option":391,"std::io::BufRead::lines":1485,"std::io::Cursor":557},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4998":{"id":4998,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5325":{"id":5325,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3563":{"id":3563,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1801":{"id":1801,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7414":{"id":7414,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5652":{"id":5652,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2128":{"id":2128,"crate_id":0,"name":"ToSocketAddrs","span":{"filename":"src/net/addr.rs","begin":[19,1],"end":[19,54]},"visibility":"public","docs":"Converts or resolves without blocking to one or more `SocketAddr` values.\n\n# DNS\n\nImplementations of `ToSocketAddrs` for string types require a DNS lookup.\n\n# Calling\n\nCurrently, this trait is only used as an argument to Tokio functions that\nneed to reference a target socket address. To perform a `SocketAddr`\nconversion directly, use [`lookup_host()`](super::lookup_host()).\n\nThis trait is sealed and is intended to be opaque. The details of the trait\nwill change. Stabilization is pending enhancements to the Rust language.","links":{"super::lookup_host()":2127},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":true,"items":[],"generics":{"params":[],"where_predicates":[]},"bounds":[{"trait_bound":{"trait":{"path":"sealed::ToSocketAddrsPriv","id":2129,"args":null},"generic_params":[],"modifier":"none"}}],"implementations":[2130,2131,2133,2135,2137,2139,2141,2143,2144,2145,2146,2147]}}},"5979":{"id":5979,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/notify.rs","begin":[402,10],"end":[402,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4217":{"id":4217,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2455":{"id":2455,"crate_id":0,"name":"set_zero_linger","span":{"filename":"src/net/tcp/stream.rs","begin":[1353,9],"end":[1355,10]},"visibility":"public","docs":"Sets a linger duration of zero on this socket by setting the `SO_LINGER` option.\n\nThis causes the connection to be forcefully aborted (\"abortive close\") when the socket\nis dropped or closed. Instead of the normal TCP shutdown handshake (`FIN`/`ACK`), a TCP\n`RST` (reset) segment is sent to the peer, and the socket immediately discards any\nunsent data residing in the socket send buffer. This prevents the socket from entering\nthe `TIME_WAIT` state after closing it.\n\nThis is a destructive action. Any data currently buffered by the OS but not yet\ntransmitted will be lost. The peer will likely receive a \"Connection Reset\" error\nrather than a clean end-of-stream.\n\nSee the documentation for [`set_linger`](Self::set_linger) for additional details on\nhow `SO_LINGER` works.\n\n# Examples\n\n```no_run\nuse std::time::Duration;\nuse tokio::net::TcpStream;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\nstream.set_zero_linger()?;\nassert_eq!(stream.linger()?, Some(Duration::ZERO));\n# Ok(())\n# }\n```","links":{"Self::set_linger":2456},"attrs":[{"other":"#[attr = CfgTrace([Not(NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/macros/cfg.rs:700:23: 700:41 (#494) }, src/macros/cfg.rs:700:22: 700:42 (#494))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4544":{"id":4544,"crate_id":0,"name":"io_driver_ready_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[1291,13],"end":[1293,14]},"visibility":"public","docs":"Returns the number of ready events processed by the runtime's\nI/O driver.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n#[tokio::main]\nasync fn main() {\n    let metrics = Handle::current().metrics();\n\n    let n = metrics.io_driver_ready_count();\n    println!(\"{} ready events processed by the runtime's I/O driver.\", n);\n}\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/metrics/runtime.rs:1222:13: 1222:27 (#0) }, NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/runtime/metrics/runtime.rs:1223:13: 1223:37 (#0) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/runtime/metrics/runtime.rs:1224:13: 1224:28 (#0) }], src/runtime/metrics/runtime.rs:1221:15: 1225:10 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, target_has_atomic = \"64\", feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2782":{"id":2782,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1020":{"id":1020,"crate_id":0,"name":"partial_cmp","span":{"filename":"src/io/ready.rs","begin":[20,38],"end":[20,48]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}}]],"output":{"resolved_path":{"path":"$crate::option::Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"$crate::cmp::Ordering","id":1021,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6633":{"id":6633,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/once_cell.rs","begin":[486,5],"end":[491,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4871":{"id":4871,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1347":{"id":1347,"crate_id":0,"name":"as_raw_handle","span":{"filename":"src/io/stdin.rs","begin":[78,9],"end":[80,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawHandle","id":290,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5198":{"id":5198,"crate_id":0,"name":"blocking_recv","span":{"filename":"src/sync/broadcast.rs","begin":[1581,5],"end":[1583,6]},"visibility":"public","docs":"Blocking receive to call outside of asynchronous contexts.\n\n# Panics\n\nThis function panics if called within an asynchronous execution\ncontext.\n\n# Examples\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::thread;\nuse tokio::sync::broadcast;\n\n#[tokio::main]\nasync fn main() {\n    let (tx, mut rx) = broadcast::channel(16);\n\n    let sync_code = thread::spawn(move || {\n        assert_eq!(rx.blocking_recv(), Ok(10));\n    });\n\n    let _ = tx.send(10);\n    sync_code.join().unwrap();\n}\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"resolved_path":{"path":"RecvError","id":5052,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3436":{"id":3436,"crate_id":0,"name":"stdin","span":{"filename":"src/process/mod.rs","begin":[579,5],"end":[582,6]},"visibility":"public","docs":"Sets configuration for the child process's standard input (stdin) handle.\n\nDefaults to [`inherit`].\n\n[`inherit`]: std::process::Stdio::inherit\n\n# Examples\n\nBasic usage:\n\n```no_run\n# async fn test() { // allow using await\nuse std::process::{Stdio};\nuse tokio::process::Command;\n\nlet output = Command::new(\"ls\")\n        .stdin(Stdio::null())\n        .output().await.unwrap();\n# }\n```","links":{"std::process::Stdio::inherit":3435},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cfg",{"generic":"T"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Stdio","id":3437,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1674":{"id":1674,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6960":{"id":6960,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7287":{"id":7287,"crate_id":0,"name":"fmt","span":{"filename":"src/time/error.rs","begin":[25,10],"end":[25,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5525":{"id":5525,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2001":{"id":2001,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"239":{"id":239,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"3763":{"id":3763,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/id.rs","begin":[62,1],"end":[66,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[3762],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5852":{"id":5852,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7614":{"id":7614,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2328":{"id":2328,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"566":{"id":566,"crate_id":0,"name":"consume","span":{"filename":"src/io/util/buf_stream.rs","begin":[194,5],"end":[196,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["amt",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6179":{"id":6179,"crate_id":0,"name":"acquire_many","span":{"filename":"src/sync/semaphore.rs","begin":[661,5],"end":[679,6]},"visibility":"public","docs":"Acquires `n` permits from the semaphore.\n\nIf the semaphore has been closed, this returns an [`AcquireError`].\nOtherwise, this returns a [`SemaphorePermit`] representing the\nacquired permits.\n\n# Cancel safety\n\nThis method uses a queue to fairly distribute permits in the order they\nwere requested. Cancelling a call to `acquire_many` makes you lose your\nplace in the queue.\n\n# Examples\n\n```\nuse tokio::sync::Semaphore;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet semaphore = Semaphore::new(5);\n\nlet permit = semaphore.acquire_many(3).await.unwrap();\nassert_eq!(semaphore.available_permits(), 2);\n# }\n```\n\n[`AcquireError`]: crate::sync::AcquireError\n[`SemaphorePermit`]: crate::sync::SemaphorePermit","links":{"crate::sync::AcquireError":6153,"crate::sync::SemaphorePermit":6181},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["n",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2655":{"id":2655,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"893":{"id":893,"crate_id":0,"name":"clear","span":{"filename":"src/io/read_buf.rs","begin":[189,5],"end":[191,6]},"visibility":"public","docs":"Clears the buffer, resetting the filled region to empty.\n\nThe number of initialized bytes is not changed, and the contents of the buffer are not modified.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4417":{"id":4417,"crate_id":0,"name":"new","span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[91,5],"end":[95,6]},"visibility":"public","docs":"Creates a new local runtime instance with default configuration values.\n\nThis results in the scheduler, I/O driver, and time driver being\ninitialized.\n\nWhen a more complex configuration is necessary, the [runtime builder] may be used.\n\nSee [module level][mod] documentation for more details.\n\n# Examples\n\nCreating a new `LocalRuntime` with default configuration values.\n\n```\nuse tokio::runtime::LocalRuntime;\n\nlet rt = LocalRuntime::new()\n    .unwrap();\n\n// Use the runtime...\n```\n\n[mod]: crate::runtime\n[runtime builder]: crate::runtime::Builder","links":{"crate::runtime::Builder":3938,"crate::runtime":3964},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6506":{"id":6506,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[191,1],"end":[198,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6505],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4744":{"id":4744,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[614,34],"end":[614,40]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#1248) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"handle::Handle","name":"Handle","id":4265,"is_glob":false}}},"2982":{"id":2982,"crate_id":0,"name":"hash","span":{"filename":"src/net/unix/ucred.rs","begin":[4,38],"end":[4,42]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["state",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"__H"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[{"name":"__H","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::hash::Hasher","id":2983,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1220":{"id":1220,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6833":{"id":6833,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3309":{"id":3309,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2593,30],"end":[2593,39]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[3308],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5071":{"id":5071,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5398":{"id":5398,"crate_id":0,"name":"TryRecvError","span":{"filename":"src/sync/mpsc/error.rs","begin":[82,1],"end":[89,2]},"visibility":"public","docs":"Error returned by [`Receiver::try_recv`](super::Receiver::try_recv).","links":{"super::Receiver::try_recv":5397},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[],"where_predicates":[]},"has_stripped_variants":false,"variants":[5394,5395],"impls":[5598,5599,5600,5601,5602,5603,5604,5605,5606,5607,5608,5609,5610,5611,5612,5613,5614,5615,5616,5617,5619,5620,5622,5623,5625,5627,5628]}}},"7160":{"id":7160,"crate_id":0,"name":"drop","span":{"filename":"src/task/join_set.rs","begin":[592,5],"end":[594,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7487":{"id":7487,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3963":{"id":3963,"crate_id":0,"name":"LocalOptions","span":{"filename":"src/runtime/local_runtime/options.rs","begin":[15,1],"end":[18,2]},"visibility":"public","docs":"[`LocalRuntime`]-only config options\n\nCurrently, there are no such options, but in the future, things like `!Send + !Sync` hooks may\nbe added.\n\nUse `LocalOptions::default()` to create the default set of options. This type is used with\n[`Builder::build_local`].\n\n[`Builder::build_local`]: crate::runtime::Builder::build_local\n[`LocalRuntime`]: crate::runtime::LocalRuntime","links":{"crate::runtime::Builder::build_local":3940,"crate::runtime::LocalRuntime":3941},"attrs":["non_exhaustive"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4450,4451,4452,4453,4454,4455,4456,4457,4458,4459,4460,4461,4462,4463,4464,4465,4467,4469]}}},"2201":{"id":2201,"crate_id":0,"name":"new_v4","span":{"filename":"src/net/tcp/socket.rs","begin":[126,5],"end":[128,6]},"visibility":"public","docs":"Creates a new socket configured for IPv4.\n\nCalls `socket(2)` with `AF_INET` and `SOCK_STREAM`.\n\n# Returns\n\nOn success, the newly created `TcpSocket` is returned. If an error is\nencountered, it is returned instead.\n\n# Examples\n\nCreate a new IPv4 socket and start listening.\n\n```no_run\nuse tokio::net::TcpSocket;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let addr = \"127.0.0.1:8080\".parse().unwrap();\n    let socket = TcpSocket::new_v4()?;\n    socket.bind(addr)?;\n\n    let listener = socket.listen(128)?;\n# drop(listener);\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"439":{"id":439,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6052":{"id":6052,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[381,5],"end":[381,47]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4290":{"id":4290,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"766":{"id":766,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/join.rs","begin":[106,5],"end":[112,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2528":{"id":2528,"crate_id":0,"name":"try_recv_buf_from","span":{"filename":"src/net/udp.rs","begin":[1071,9],"end":[1087,10]},"visibility":"public","docs":"Tries to receive a single datagram message on the socket. On success,\nreturns the number of bytes read and the origin.\n\nThis method must be called with valid byte array `buf` of sufficient size\nto hold the message bytes. If a message is too long to fit in the\nsupplied buffer, excess bytes may be discarded.\n\nThis method can be used even if `buf` is uninitialized.\n\nWhen there is no pending data, `Err(io::ErrorKind::WouldBlock)` is\nreturned. This function is usually paired with `readable()`.\n\n# Notes\nNote that the socket address **cannot** be implicitly trusted, because it is relatively\ntrivial to send a UDP datagram with a spoofed origin in a [packet injection attack].\nBecause UDP is stateless and does not validate the origin of a packet,\nthe attacker does not need to be able to intercept traffic in order to interfere.\nIt is important to be aware of this when designing your application-level protocol.\n\n[packet injection attack]: https://en.wikipedia.org/wiki/Packet_injection\n\n# Examples\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Connect to a peer\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n\n    loop {\n        // Wait for the socket to be readable\n        socket.readable().await?;\n\n        let mut buf = Vec::with_capacity(1024);\n\n        // Try to recv data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match socket.try_recv_buf_from(&mut buf) {\n            Ok((n, _addr)) => {\n                println!(\"GOT {:?}\", &buf[..n]);\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e);\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#499) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"primitive":"usize"},{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"B","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"BufMut","id":919,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4617":{"id":4617,"crate_id":0,"name":"build","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[245,5],"end":[257,6]},"visibility":"public","docs":"Builds the log histogram","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2855":{"id":2855,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split_owned.rs","begin":[90,1],"end":[97,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[2854],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1093":{"id":1093,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6379":{"id":6379,"crate_id":0,"name":"Target","span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[186,5],"end":[186,21]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"U"},"default_unstable":null}}},"6706":{"id":6706,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[379,17],"end":[379,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::PartialEq","id":966,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6705],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4944":{"id":4944,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1420":{"id":1420,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3182":{"id":3182,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3509":{"id":3509,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1715,5],"end":[1715,29]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[3508],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5271":{"id":5271,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7360":{"id":7360,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[33,17],"end":[33,21]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5598":{"id":5598,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4163":{"id":4163,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2401":{"id":2401,"crate_id":0,"name":"fmt","span":{"filename":"src/net/tcp/split_owned.rs","begin":[53,10],"end":[53,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"639":{"id":639,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split_owned.rs","begin":[245,1],"end":[253,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[638],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5925":{"id":5925,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[832,1],"end":[836,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[5924],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6252":{"id":6252,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2728":{"id":2728,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4490":{"id":4490,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4817":{"id":4817,"crate_id":0,"name":null,"span":{"filename":"src/signal/unix.rs","begin":[421,1],"end":[489,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[4815,4816],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3055":{"id":3055,"crate_id":0,"name":"fmt","span":{"filename":"src/net/unix/pipe.rs","begin":[364,10],"end":[364,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1293":{"id":1293,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6579":{"id":6579,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6906":{"id":6906,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[495,39],"end":[495,51]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::set_once::SetOnceError","name":"SetOnceError","id":6647,"is_glob":false}}},"5144":{"id":5144,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1620":{"id":1620,"crate_id":0,"name":"get_mut","span":{"filename":"src/io/util/buf_reader.rs","begin":[66,5],"end":[68,6]},"visibility":"public","docs":"Gets a mutable reference to the underlying reader.\n\nIt is inadvisable to directly read from the underlying reader.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"R"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3382":{"id":3382,"crate_id":0,"name":null,"span":{"filename":"src/net/mod.rs","begin":[58,5],"end":[58,38]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:377:23: 377:27 (#501) }, NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:377:29: 377:44 (#501) }], src/macros/cfg.rs:377:22: 377:45 (#501))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"unix::stream::UnixStream","name":"UnixStream","id":643,"is_glob":false}}},"5471":{"id":5471,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[703,1],"end":[720,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5468,5469,5470],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3709":{"id":3709,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1947":{"id":1947,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7560":{"id":7560,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2274":{"id":2274,"crate_id":0,"name":"poll_peek","span":{"filename":"src/net/tcp/split.rs","begin":[90,5],"end":[96,6]},"visibility":"public","docs":"Attempts to receive data on the socket, without removing that data from\nthe queue, registering the current task for wakeup if data is not yet\navailable.\n\nNote that on multiple calls to `poll_peek` or `poll_read`, only the\n`Waker` from the `Context` passed to the most recent call is scheduled\nto receive a wakeup.\n\nSee the [`TcpStream::poll_peek`] level documentation for more details.\n\n# Examples\n\n```no_run\nuse tokio::io::{self, ReadBuf};\nuse tokio::net::TcpStream;\n\nuse std::future::poll_fn;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut stream = TcpStream::connect(\"127.0.0.1:8000\").await?;\n    let (mut read_half, _) = stream.split();\n    let mut buf = [0; 10];\n    let mut buf = ReadBuf::new(&mut buf);\n\n    poll_fn(|cx| {\n        read_half.poll_peek(cx, &mut buf)\n    }).await?;\n\n    Ok(())\n}\n```\n\n[`TcpStream::poll_peek`]: TcpStream::poll_peek","links":{"TcpStream::poll_peek":2273},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"512":{"id":512,"crate_id":0,"name":"AsyncFd","span":{"filename":"src/io/async_fd.rs","begin":[181,1],"end":[186,2]},"visibility":"public","docs":"Associates an IO object backed by a Unix file descriptor with the tokio\nreactor, allowing for readiness to be polled. The file descriptor must be of\na type that can be used with the OS polling facilities (ie, `poll`, `epoll`,\n`kqueue`, etc), such as a network socket or pipe, and the file descriptor\nmust have the nonblocking mode set to true.\n\nCreating an [`AsyncFd`] registers the file descriptor with the current tokio\nReactor, allowing you to directly await the file descriptor being readable\nor writable. Once registered, the file descriptor remains registered until\nthe [`AsyncFd`] is dropped.\n\nThe [`AsyncFd`] takes ownership of an arbitrary object to represent the IO\nobject. It is intended that the inner object will handle closing the file\ndescriptor when it is dropped, avoiding resource leaks and ensuring that the\n[`AsyncFd`] can clean up the registration before closing the file descriptor.\nThe [`AsyncFd::into_inner`] function can be used to extract the inner object\nto retake control from the tokio IO reactor. The [`OwnedFd`] type is often\nused as the inner object, as it is the simplest type that closes the fd on\ndrop.\n\nThe inner object is required to implement [`AsRawFd`]. This file descriptor\nmust not change while [`AsyncFd`] owns the inner object, i.e. the\n[`AsRawFd::as_raw_fd`] method on the inner type must always return the same\nfile descriptor when called multiple times. Failure to uphold this results\nin unspecified behavior in the IO driver, which may include breaking\nnotifications for other sockets/etc.\n\nPolling for readiness is done by calling the async functions [`readable`]\nand [`writable`]. These functions complete when the associated readiness\ncondition is observed. Any number of tasks can query the same `AsyncFd` in\nparallel, on the same or different conditions.\n\nOn some platforms, the readiness detecting mechanism relies on\nedge-triggered notifications. This means that the OS will only notify Tokio\nwhen the file descriptor transitions from not-ready to ready. For this to\nwork you should first try to read or write and only poll for readiness\nif that fails with an error of [`std::io::ErrorKind::WouldBlock`].\n\nTokio internally tracks when it has received a ready notification, and when\nreadiness checking functions like [`readable`] and [`writable`] are called,\nif the readiness flag is set, these async functions will complete\nimmediately. This however does mean that it is critical to ensure that this\nready flag is cleared when (and only when) the file descriptor ceases to be\nready. The [`AsyncFdReadyGuard`] returned from readiness checking functions\nserves this function; after calling a readiness-checking async function,\nyou must use this [`AsyncFdReadyGuard`] to signal to tokio whether the file\ndescriptor is no longer in a ready state.\n\n## Use with to a poll-based API\n\nIn some cases it may be desirable to use `AsyncFd` from APIs similar to\n[`TcpStream::poll_read_ready`]. The [`AsyncFd::poll_read_ready`] and\n[`AsyncFd::poll_write_ready`] functions are provided for this purpose.\nBecause these functions don't create a future to hold their state, they have\nthe limitation that only one task can wait on each direction (read or write)\nat a time.\n\n# Examples\n\nThis example shows how to turn [`std::net::TcpStream`] asynchronous using\n`AsyncFd`.  It implements the read/write operations both as an `async fn`\nand using the IO traits [`AsyncRead`] and [`AsyncWrite`].\n\n```no_run\nuse std::io::{self, Read, Write};\nuse std::net::TcpStream;\nuse std::pin::Pin;\nuse std::task::{ready, Context, Poll};\nuse tokio::io::{AsyncRead, AsyncWrite, ReadBuf};\nuse tokio::io::unix::AsyncFd;\n\npub struct AsyncTcpStream {\n    inner: AsyncFd<TcpStream>,\n}\n\nimpl AsyncTcpStream {\n    pub fn new(tcp: TcpStream) -> io::Result<Self> {\n        tcp.set_nonblocking(true)?;\n        Ok(Self {\n            inner: AsyncFd::new(tcp)?,\n        })\n    }\n\n    pub async fn read(&self, out: &mut [u8]) -> io::Result<usize> {\n        loop {\n            let mut guard = self.inner.readable().await?;\n\n            match guard.try_io(|inner| inner.get_ref().read(out)) {\n                Ok(result) => return result,\n                Err(_would_block) => continue,\n            }\n        }\n    }\n\n    pub async fn write(&self, buf: &[u8]) -> io::Result<usize> {\n        loop {\n            let mut guard = self.inner.writable().await?;\n\n            match guard.try_io(|inner| inner.get_ref().write(buf)) {\n                Ok(result) => return result,\n                Err(_would_block) => continue,\n            }\n        }\n    }\n}\n\nimpl AsyncRead for AsyncTcpStream {\n    fn poll_read(\n        self: Pin<&mut Self>,\n        cx: &mut Context<'_>,\n        buf: &mut ReadBuf<'_>\n    ) -> Poll<io::Result<()>> {\n        loop {\n            let mut guard = ready!(self.inner.poll_read_ready(cx))?;\n\n            let unfilled = buf.initialize_unfilled();\n            match guard.try_io(|inner| inner.get_ref().read(unfilled)) {\n                Ok(Ok(len)) => {\n                    buf.advance(len);\n                    return Poll::Ready(Ok(()));\n                },\n                Ok(Err(err)) => return Poll::Ready(Err(err)),\n                Err(_would_block) => continue,\n            }\n        }\n    }\n}\n\nimpl AsyncWrite for AsyncTcpStream {\n    fn poll_write(\n        self: Pin<&mut Self>,\n        cx: &mut Context<'_>,\n        buf: &[u8]\n    ) -> Poll<io::Result<usize>> {\n        loop {\n            let mut guard = ready!(self.inner.poll_write_ready(cx))?;\n\n            match guard.try_io(|inner| inner.get_ref().write(buf)) {\n                Ok(result) => return Poll::Ready(result),\n                Err(_would_block) => continue,\n            }\n        }\n    }\n\n    fn poll_flush(\n        self: Pin<&mut Self>,\n        cx: &mut Context<'_>,\n    ) -> Poll<io::Result<()>> {\n        // tcp flush is a no-op\n        Poll::Ready(Ok(()))\n    }\n\n    fn poll_shutdown(\n        self: Pin<&mut Self>,\n        cx: &mut Context<'_>,\n    ) -> Poll<io::Result<()>> {\n        self.inner.get_ref().shutdown(std::net::Shutdown::Write)?;\n        Poll::Ready(Ok(()))\n    }\n}\n```\n\n[`readable`]: method@Self::readable\n[`writable`]: method@Self::writable\n[`AsyncFdReadyGuard`]: struct@self::AsyncFdReadyGuard\n[`TcpStream::poll_read_ready`]: struct@crate::net::TcpStream\n[`AsyncRead`]: trait@crate::io::AsyncRead\n[`AsyncWrite`]: trait@crate::io::AsyncWrite\n[`OwnedFd`]: struct@std::os::fd::OwnedFd","links":{"method@Self::readable":1114,"trait@crate::io::AsyncWrite":225,"struct@self::AsyncFdReadyGuard":1117,"trait@crate::io::AsyncRead":224,"struct@std::os::fd::OwnedFd":272,"`AsyncFd::poll_write_ready`":1119,"`AsyncFd::poll_read_ready`":1118,"`AsRawFd`":277,"`AsyncFd::into_inner`":1112,"`AsyncFd`":512,"struct@crate::net::TcpStream":634,"`std::net::TcpStream`":1120,"`std::io::ErrorKind::WouldBlock`":1116,"`AsRawFd::as_raw_fd`":1113,"method@Self::writable":1115},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1149,1150,1151,1152,1153,1154,1155,1156,1157,1158,1159,1160,1161,1162,1163,1164,1165,1167,1169,1171,1173]}}},"4036":{"id":4036,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/builder.rs","begin":[164,14],"end":[164,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6125":{"id":6125,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4363":{"id":4363,"crate_id":0,"name":"spawn_blocking","span":{"filename":"src/runtime/runtime.rs","begin":[275,5],"end":[281,6]},"visibility":"public","docs":"Runs the provided function on an executor dedicated to blocking operations.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Runtime;\n\n# fn dox() {\n// Create the runtime\nlet rt = Runtime::new().unwrap();\n\n// Spawn a blocking function onto the runtime\nrt.spawn_blocking(|| {\n    println!(\"now running on a worker thread\");\n});\n# }\n# }\n```","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["func",{"generic":"F"}]],"output":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"R"}}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"839":{"id":839,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/net/unix/split_owned.rs","begin":[389,5],"end":[391,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6452":{"id":6452,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2928":{"id":2928,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1166":{"id":1166,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/io/async_fd.rs","begin":[928,5],"end":[930,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4690":{"id":4690,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6779":{"id":6779,"crate_id":0,"name":"channel","span":{"filename":"src/sync/watch.rs","begin":[554,1],"end":[574,2]},"visibility":"public","docs":"Creates a new watch channel, returning the \"send\" and \"receive\" handles.\n\nAll values sent by [`Sender`] will become visible to the [`Receiver`] handles.\nOnly the last value sent is made available to the [`Receiver`] half. All\nintermediate values are dropped.\n\n# Examples\n\nThe following example prints `hello! world! `.\n\n```\nuse tokio::sync::watch;\nuse tokio::time::{Duration, sleep};\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet (tx, mut rx) = watch::channel(\"hello\");\n\ntokio::spawn(async move {\n    // Use the equivalent of a \"do-while\" loop so the initial value is\n    // processed before awaiting the `changed()` future.\n    loop {\n        println!(\"{}! \", *rx.borrow_and_update());\n        if rx.changed().await.is_err() {\n            break;\n        }\n    }\n});\n\nsleep(Duration::from_millis(100)).await;\ntx.send(\"world\")?;\n# Ok(())\n# }\n```\n\n[`Sender`]: struct@Sender\n[`Receiver`]: struct@Receiver","links":{"struct@Sender":6778,"struct@Receiver":6780},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["init",{"generic":"T"}]],"output":{"tuple":[{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}]},"is_c_variadic":false},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5017":{"id":5017,"crate_id":0,"name":null,"span":{"filename":"src/sync/barrier.rs","begin":[202,10],"end":[202,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[5016],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3255":{"id":3255,"crate_id":0,"name":"read","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2410,5],"end":[2413,6]},"visibility":"public","docs":"If the client supports reading data. This is enabled by default.\n\nThis corresponds to setting [`GENERIC_READ`] in the call to [`CreateFile`].\n\n[`GENERIC_READ`]: https://docs.microsoft.com/en-us/windows/win32/secauthz/generic-access-rights\n[`CreateFile`]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["allowed",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1493":{"id":1493,"crate_id":0,"name":"ReadBuf","span":{"filename":"src/io/util/read_buf.rs","begin":[23,1],"end":[33,2]},"visibility":"public","docs":"Future returned by [`read_buf`](crate::io::AsyncReadExt::read_buf).","links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"B","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"7106":{"id":7106,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"IntoFuture","id":525,"args":null},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[3812,3813,3814],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"F"}}}},"3582":{"id":3582,"crate_id":0,"name":"into_owned_fd","span":{"filename":"src/process/mod.rs","begin":[1658,5],"end":[1658,30]},"visibility":"public","docs":"Convert into [`OwnedFd`].","links":{"`OwnedFd`":272},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedFd","id":272,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1820":{"id":1820,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5344":{"id":5344,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5671":{"id":5671,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/mod.rs","begin":[121,51],"end":[121,59]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::bounded::Receiver","name":"Receiver","id":5226,"is_glob":false}}},"385":{"id":385,"crate_id":0,"name":"read_dir","span":{"filename":"src/fs/read_dir.rs","begin":[32,1],"end":[42,2]},"visibility":"public","docs":"Returns a stream over the entries within a directory.\n\nThis is an async version of [`std::fs::read_dir`].\n\nThis operation is implemented by running the equivalent blocking\noperation on a separate thread pool using [`spawn_blocking`].\n\n[`spawn_blocking`]: crate::task::spawn_blocking","links":{"`std::fs::read_dir`":384,"crate::task::spawn_blocking":379},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"ReadDir","id":386,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2147":{"id":2147,"crate_id":0,"name":null,"span":{"filename":"src/net/addr.rs","begin":[240,5],"end":[240,37]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:336:19: 336:34 (#458) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"for":{"resolved_path":{"path":"String","id":448,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4236":{"id":4236,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/dump.rs","begin":[338,5],"end":[340,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2474":{"id":2474,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"712":{"id":712,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[240,5],"end":[242,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5998":{"id":5998,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6325":{"id":6325,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4563":{"id":4563,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2801":{"id":2801,"crate_id":0,"name":"reunite","span":{"filename":"src/net/unix/split_owned.rs","begin":[261,5],"end":[263,6]},"visibility":"public","docs":"Attempts to put the two halves of a `UnixStream` back together and\nrecover the original socket. Succeeds only if the two halves\noriginated from the same call to [`into_split`].\n\n[`into_split`]: crate::net::UnixStream::into_split()","links":{"crate::net::UnixStream::into_split()":2767},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["other",{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}},{"type":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6652":{"id":6652,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3128":{"id":3128,"crate_id":0,"name":"try_io","span":{"filename":"src/net/windows/named_pipe.rs","begin":[849,5],"end":[855,6]},"visibility":"public","docs":"Tries to read or write from the pipe using a user-provided IO operation.\n\nIf the pipe is ready, the provided closure is called. The closure\nshould attempt to perform IO operation from the pipe by manually\ncalling the appropriate syscall. If the operation fails because the\npipe is not actually ready, then the closure should return a\n`WouldBlock` error and the readiness flag is cleared. The return value\nof the closure is then returned by `try_io`.\n\nIf the pipe is not ready, then the closure is not called\nand a `WouldBlock` error is returned.\n\nThe closure should only return a `WouldBlock` error if it has performed\nan IO operation on the pipe that failed due to the pipe not being\nready. Returning a `WouldBlock` error in any other situation will\nincorrectly clear the readiness flag, which can cause the pipe to\nbehave incorrectly.\n\nThe closure should not perform the IO operation using any of the\nmethods defined on the Tokio `NamedPipeServer` type, as this will mess with\nthe readiness flag and can cause the pipe to behave incorrectly.\n\nThis method is not intended to be used with combined interests.\nThe closure should perform only one type of IO operation, so it should not\nrequire more than one ready state. This method may panic or sleep forever\nif it is called with a combined interest.\n\nUsually, [`readable()`], [`writable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: NamedPipeServer::readable()\n[`writable()`]: NamedPipeServer::writable()\n[`ready()`]: NamedPipeServer::ready()","links":{"NamedPipeServer::writable()":3124,"NamedPipeServer::ready()":3118,"NamedPipeServer::readable()":3119},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnOnce() -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1366":{"id":1366,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6979":{"id":6979,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5217":{"id":5217,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[1586,1],"end":[1613,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5216],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1693":{"id":1693,"crate_id":0,"name":"get_pin_mut","span":{"filename":"src/io/util/buf_writer.rs","begin":[101,5],"end":[103,6]},"visibility":"public","docs":"Gets a pinned mutable reference to the underlying writer.\n\nIt is inadvisable to directly write to the underlying writer.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"W"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3455":{"id":3455,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5544":{"id":5544,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3782":{"id":3782,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7306":{"id":7306,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"258":{"id":258,"crate_id":0,"name":null,"span":{"filename":"src/fs/file.rs","begin":[663,1],"end":[725,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncSeek","id":199,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[255,257],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7633":{"id":7633,"crate_id":0,"name":null,"span":{"filename":"src/lib.rs","begin":[681,9],"end":[681,36]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4946) },\nNameValue { name: \"feature\", value: Some(\"rt-multi-thread\"), span: src/lib.rs:678:15: 678:42 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(inline)]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"macros\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"tokio_macros::test","name":"test","id":7634,"is_glob":false}}},"5871":{"id":5871,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2347":{"id":2347,"crate_id":0,"name":"try_read_vectored","span":{"filename":"src/net/tcp/split_owned.rs","begin":[293,5],"end":[295,6]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffers, returning\nhow many bytes were read.\n\nData is copied to fill each buffer in order, with the final buffer\nwritten to possibly being only partially filled. This method behaves\nequivalently to a single call to [`try_read()`] with concatenated\nbuffers.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_vectored()` is non-blocking, the buffer does not have to be\nstored by the async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`try_read()`]: Self::try_read()\n[`readable()`]: Self::readable()\n[`ready()`]: Self::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the stream's read half is closed\nand will no longer yield data. If the stream is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::ready()":2346,"Self::try_read()":2344,"Self::readable()":2345},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"resolved_path":{"path":"io::IoSliceMut","id":2282,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4109":{"id":4109,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6198":{"id":6198,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4436":{"id":4436,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2674":{"id":2674,"crate_id":0,"name":"connect","span":{"filename":"src/net/unix/socket.rs","begin":[201,5],"end":[223,6]},"visibility":"public","docs":"Establishes a Unix connection with a peer at the specified socket address.\n\nThe `UnixSocket` is consumed. Once the connection is established, a\nconnected [`UnixStream`] is returned. If the connection fails, the\nencountered error is returned.\n\nCalling this function on a socket created by [`new_datagram`] will return an error.\n\nThis calls the `connect(2)` operating-system function.\n\n[`new_datagram`]: `UnixSocket::new_datagram`","links":{"`UnixStream`":643,"`UnixSocket::new_datagram`":2670},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"912":{"id":912,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6525":{"id":6525,"crate_id":0,"name":"into_inner","span":{"filename":"src/sync/rwlock.rs","begin":[1095,5],"end":[1100,6]},"visibility":"public","docs":"Consumes the lock, returning the underlying data.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"generic":"T"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3001":{"id":3001,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1239":{"id":1239,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5090":{"id":5090,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3328":{"id":3328,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6852":{"id":6852,"crate_id":0,"name":"default","span":{"filename":"src/sync/watch.rs","begin":[212,5],"end":[214,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7179":{"id":7179,"crate_id":0,"name":"spawn_blocking","span":{"filename":"src/task/join_set.rs","begin":[765,5],"end":[772,6]},"visibility":"public","docs":"Spawn the blocking code on the blocking threadpool with this builder's\nsettings, and store it in the [`JoinSet`].\n\n# Returns\n\nAn [`AbortHandle`] that can be used to remotely cancel the task.\n\n# Panics\n\nThis method panics if called outside of a Tokio runtime.\n\n[`JoinSet`]: crate::task::JoinSet\n[`AbortHandle`]: crate::task::AbortHandle","links":{"crate::task::AbortHandle":3723,"crate::task::JoinSet":3724},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"T"}}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5417":{"id":5417,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"131":{"id":131,"crate_id":0,"name":"DirBuilder","span":{"filename":"src/fs/dir_builder.rs","begin":[11,1],"end":[18,2]},"visibility":"public","docs":"A builder for creating directories in various manners.\n\nThis is a specialized version of [`std::fs::DirBuilder`] for usage on\nthe Tokio runtime.","links":{"`std::fs::DirBuilder`":130},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[138,140,141,143,145,147,149,151,153,156,160,164,167,172,177,180,182,184,189,192]}}},"5744":{"id":5744,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3982":{"id":3982,"crate_id":0,"name":"LogHistogramBuilder","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[144,1],"end":[148,2]},"visibility":"public","docs":"Configuration for a [`LogHistogram`]\n\nThe log-scaled histogram implements an H2 histogram where the first bucket covers\nthe range from 0 to [`LogHistogramBuilder::min_value`] and the final bucket covers\n[`LogHistogramBuilder::max_value`] to infinity. The precision is bounded to the specified\n[`LogHistogramBuilder::max_error`]. Specifically, the precision is the next smallest value\nof `2^-p` such that it is smaller than the requested max error. You can also select `p` directly\nwith [`LogHistogramBuilder::precision_exact`].\n\nDepending on the selected parameters, the number of buckets required is variable. To ensure\nthat the histogram size is acceptable, callers may call [`LogHistogramBuilder::max_buckets`].\nIf the resulting histogram would require more buckets, then the method will return an error.\n\n## Default values\nThe default configuration provides the following settings:\n1. `min_value`: 100ns\n2. `max_value`: 68 seconds. The final bucket covers all values >68 seconds\n3. `precision`: max error of 25%\n\nThis uses 237 64-bit buckets.","links":{"`LogHistogramBuilder::max_value`":4612,"`LogHistogram`":3978,"`LogHistogramBuilder::min_value`":4611,"`LogHistogramBuilder::precision_exact`":4614,"`LogHistogramBuilder::max_error`":4613,"`LogHistogramBuilder::max_buckets`":4615},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4618,4619,4620,4621,4622,4623,4624,4625,4626,4627,4628,4629,4630,4631,4632,4633,4634,4635,4636,4638,4640,4641,4643,4607]}}},"2220":{"id":2220,"crate_id":0,"name":"tclass_v6","span":{"filename":"src/net/tcp/socket.rs","begin":[553,5],"end":[555,6]},"visibility":"public","docs":"Gets the value of the `IPV6_TCLASS` option for this socket.\n\nFor more information about this option, see [`set_tclass_v6`].\n\n[`set_tclass_v6`]: Self::set_tclass_v6","links":{"Self::set_tclass_v6":2219},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"android\"), span: src/net/tcp/socket.rs:529:9: 529:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"dragonfly\"), span: src/net/tcp/socket.rs:530:9: 530:32 (#0) }, NameValue { name: \"target_os\", value: Some(\"freebsd\"), span: src/net/tcp/socket.rs:531:9: 531:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"fuchsia\"), span: src/net/tcp/socket.rs:532:9: 532:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/net/tcp/socket.rs:533:9: 533:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"macos\"), span: src/net/tcp/socket.rs:534:9: 534:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"netbsd\"), span: src/net/tcp/socket.rs:535:9: 535:29 (#0) }, NameValue { name: \"target_os\", value: Some(\"openbsd\"), span: src/net/tcp/socket.rs:536:9: 536:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"cygwin\"), span: src/net/tcp/socket.rs:537:9: 537:29 (#0) }], src/net/tcp/socket.rs:528:14: 538:6 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(target_os = \"android\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"fuchsia\", target_os = \"linux\", target_os = \"macos\", target_os = \"netbsd\", target_os = \"openbsd\", target_os = \"cygwin\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u32"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7506":{"id":7506,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4309":{"id":4309,"crate_id":0,"name":null,"span":{"filename":"src/runtime/handle.rs","begin":[522,1],"end":[522,45]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2547":{"id":2547,"crate_id":0,"name":"set_multicast_loop_v4","span":{"filename":"src/net/udp.rs","begin":[1929,5],"end":[1931,6]},"visibility":"public","docs":"Sets the value of the `IP_MULTICAST_LOOP` option for this socket.\n\nIf enabled, multicast packets will be looped back to the local socket.\n\n# Note\n\nThis may not have any effect on IPv6 sockets.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["on",{"primitive":"bool"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"785":{"id":785,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/util/buf_writer.rs","begin":[207,5],"end":[210,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6071":{"id":6071,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6398":{"id":6398,"crate_id":0,"name":"RwLockReadGuard","span":{"filename":"src/sync/rwlock/read_guard.rs","begin":[15,1],"end":[23,2]},"visibility":"public","docs":"RAII structure used to release the shared read access of a lock when\ndropped.\n\nThis structure is created by the [`read`] method on\n[`RwLock`].\n\n[`read`]: method@crate::sync::RwLock::read\n[`RwLock`]: struct@crate::sync::RwLock","links":{"method@crate::sync::RwLock::read":6397,"struct@crate::sync::RwLock":6273},"attrs":[{"other":"#[clippy::has_significant_drop]"},{"must_use":{"reason":"if unused the RwLock will immediately unlock"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6401,6402,6403,6404,6405,6406,6407,6408,6409,6410,6411,6412,6413,6414,6415,6416,6417,6420,6422,6424,6426,6427,6428]}}},"4636":{"id":4636,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1112":{"id":1112,"crate_id":0,"name":"into_inner","span":{"filename":"src/io/async_fd.rs","begin":[344,5],"end":[346,6]},"visibility":"public","docs":"Deregisters this file descriptor and returns ownership of the backing\nobject.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"generic":"T"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2874":{"id":2874,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6725":{"id":6725,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4963":{"id":4963,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[455,33],"end":[455,41]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"super::notify::Notified","name":"Notified","id":4964,"is_glob":false}}},"1439":{"id":1439,"crate_id":0,"name":"reader_pin_mut","span":{"filename":"src/io/join.rs","begin":[63,5],"end":[65,6]},"visibility":"public","docs":"Returns a pinned mutable reference to the inner reader.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"R"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7052":{"id":7052,"crate_id":0,"name":null,"span":{"filename":"src/task/local.rs","begin":[482,1],"end":[494,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[7051],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5290":{"id":5290,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1766":{"id":1766,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3528":{"id":3528,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7379":{"id":7379,"crate_id":0,"name":"add_assign","span":{"filename":"src/time/instant.rs","begin":[174,5],"end":[176,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["rhs",{"resolved_path":{"path":"Duration","id":2215,"args":null}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3855":{"id":3855,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"IntoFuture","id":525,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[3812,3813,3814],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"F"}}}},"2093":{"id":2093,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[274,30],"end":[274,36]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:233:19: 233:37 (#214) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"stdout::Stdout","name":"Stdout","id":755,"is_glob":false}}},"5617":{"id":5617,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[81,10],"end":[81,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5944":{"id":5944,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2420":{"id":2420,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"658":{"id":658,"crate_id":0,"name":"ChildStderr","span":{"filename":"src/process/mod.rs","begin":[1500,1],"end":[1502,2]},"visibility":"public","docs":"The standard error stream for spawned children.\n\nThis type implements the `AsyncRead` trait to read data from the stderr\nhandle of a child process asynchronously.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[3583,3585,3588,3589,3590,3591,3592,3593,3594,3595,3596,3597,3598,3599,3600,3601,3602,3603,3604,3605,3607,657,3610,3612,3614,3616,3618]}}},"2747":{"id":2747,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"985":{"id":985,"crate_id":0,"name":"ERROR","span":{"filename":"src/io/ready.rs","begin":[45,5],"end":[45,43]},"visibility":"public","docs":"Returns a `Ready` representing error readiness.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_const":{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}},"value":"_","default_unstable":null}}},"6598":{"id":6598,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[102,1],"end":[102,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Eq","id":961,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1312":{"id":1312,"crate_id":0,"name":null,"span":{"filename":"src/io/stderr.rs","begin":[100,5],"end":[104,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"super::Stderr","id":750,"args":null}},"items":[1311],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3074":{"id":3074,"crate_id":0,"name":"into_nonblocking_fd","span":{"filename":"src/net/unix/pipe.rs","begin":[1447,5],"end":[1455,6]},"visibility":"public","docs":"Converts the pipe into an [`OwnedFd`] in nonblocking mode.\n\nThis function will deregister this pipe end from the event loop and\nperform the conversion. Returned file descriptor will be in nonblocking\nmode.","links":{"`OwnedFd`":272},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedFd","id":272,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5163":{"id":5163,"crate_id":0,"name":"weak_count","span":{"filename":"src/sync/broadcast.rs","begin":[1141,5],"end":[1143,6]},"visibility":"public","docs":"Returns the number of [`WeakSender`] handles.","links":{"`WeakSender`":5125},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6925":{"id":6925,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1639":{"id":1639,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5490":{"id":5490,"crate_id":0,"name":"clone","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[688,5],"end":[694,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3728":{"id":3728,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"204":{"id":204,"crate_id":0,"name":"File","span":{"filename":"src/fs/file.rs","begin":[95,1],"end":[99,2]},"visibility":"public","docs":"A reference to an open file on the filesystem.\n\nThis is a specialized version of [`std::fs::File`] for usage from the\nTokio runtime.\n\nAn instance of a `File` can be read and/or written depending on what options\nit was opened with. Files also implement [`AsyncSeek`] to alter the logical\ncursor that the file contains internally.\n\nA file will not be closed immediately when it goes out of scope if there\nare any IO operations that have not yet completed. To ensure that a file is\nclosed immediately when it is dropped, you should call [`flush`] before\ndropping it. Note that this does not ensure that the file has been fully\nwritten to disk; the operating system might keep the changes around in an\nin-memory buffer. See the [`sync_all`] method for telling the OS to write\nthe data to disk.\n\nReading and writing to a `File` is usually done using the convenience\nmethods found on the [`AsyncReadExt`] and [`AsyncWriteExt`] traits.\n\n[`AsyncSeek`]: trait@crate::io::AsyncSeek\n[`flush`]: fn@crate::io::AsyncWriteExt::flush\n[`sync_all`]: fn@crate::fs::File::sync_all\n[`AsyncReadExt`]: trait@crate::io::AsyncReadExt\n[`AsyncWriteExt`]: trait@crate::io::AsyncWriteExt\n\n# Examples\n\nCreate a new file and asynchronously write bytes to it:\n\n```no_run\nuse tokio::fs::File;\nuse tokio::io::AsyncWriteExt; // for write_all()\n\n# async fn dox() -> std::io::Result<()> {\nlet mut file = File::create(\"foo.txt\").await?;\nfile.write_all(b\"hello, world!\").await?;\n# Ok(())\n# }\n```\n\nRead the contents of a file into a buffer:\n\n```no_run\nuse tokio::fs::File;\nuse tokio::io::AsyncReadExt; // for read_to_end()\n\n# async fn dox() -> std::io::Result<()> {\nlet mut file = File::open(\"foo.txt\").await?;\n\nlet mut contents = vec![];\nfile.read_to_end(&mut contents).await?;\n\nprintln!(\"len = {}\", contents.len());\n# Ok(())\n# }\n```","links":{"trait@crate::io::AsyncReadExt":202,"trait@crate::io::AsyncWriteExt":203,"fn@crate::io::AsyncWriteExt::flush":200,"fn@crate::fs::File::sync_all":201,"trait@crate::io::AsyncSeek":199,"`std::fs::File`":198},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[228,229,230,231,232,233,234,235,236,237,239,240,241,242,243,244,245,246,247,248,254,258,266,268,270,273,276,280,283,287,291,295,298]}}},"5817":{"id":5817,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4055":{"id":4055,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2293":{"id":2293,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7579":{"id":7579,"crate_id":0,"name":null,"span":{"filename":"src/util/rand.rs","begin":[15,17],"end":[15,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[allow(unreachable_pub)]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[7578],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6144":{"id":6144,"crate_id":0,"name":null,"span":{"filename":"src/sync/batch_semaphore.rs","begin":[51,17],"end":[51,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4382":{"id":4382,"crate_id":0,"name":null,"span":{"filename":"src/runtime/runtime.rs","begin":[96,10],"end":[96,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[4381],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"858":{"id":858,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/net/windows/named_pipe.rs","begin":[910,5],"end":[916,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6471":{"id":6471,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[169,1],"end":[169,81]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"write_guard::RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4709":{"id":4709,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1185":{"id":1185,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6798":{"id":6798,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3274":{"id":3274,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5036":{"id":5036,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7125":{"id":7125,"crate_id":0,"name":"Builder","span":{"filename":"src/task/join_set.rs","begin":[75,1],"end":[78,2]},"visibility":"public","docs":"A variant of [`task::Builder`] that spawns tasks on a [`JoinSet`] rather\nthan on the current default runtime.\n\n[`task::Builder`]: crate::task::Builder","links":{"crate::task::Builder":7175,"`JoinSet`":3724},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/task/join_set.rs:72:11: 72:25 (#0) }, NameValue { name: \"feature\", value: Some(\"tracing\"), span: src/task/join_set.rs:72:27: 72:46 (#0) }], src/task/join_set.rs:72:10: 72:47 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, feature = \"tracing\")))]"},{"must_use":{"reason":"builders do nothing unless used to spawn a task"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[7183,7184,7185,7186,7187,7188,7189,7190,7191,7192,7193,7194,7195,7196,7197,7198,7199,7201]}}},"5363":{"id":5363,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1778,1],"end":[1797,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5362],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3601":{"id":3601,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1839":{"id":1839,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mem.rs","begin":[47,10],"end":[47,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[1838],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7452":{"id":7452,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5690":{"id":5690,"crate_id":0,"name":"blocking_lock","span":{"filename":"src/sync/mutex.rs","begin":[520,5],"end":[522,6]},"visibility":"public","docs":"Blockingly locks this `Mutex`. When the lock has been acquired, function returns a\n[`MutexGuard`].\n\nThis method is intended for use cases where you\nneed to use this mutex in asynchronous code as well as in synchronous code.\n\n# Panics\n\nThis function panics if called within an asynchronous execution context.\n\n  - If you find yourself in an asynchronous execution context and needing\n    to call some (synchronous) function which performs one of these\n    `blocking_` operations, then consider wrapping that call inside\n    [`spawn_blocking()`][crate::runtime::Handle::spawn_blocking]\n    (or [`block_in_place()`][crate::task::block_in_place]).\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::sync::Arc;\nuse tokio::sync::Mutex;\n\n#[tokio::main]\nasync fn main() {\n    let mutex =  Arc::new(Mutex::new(1));\n    let lock = mutex.lock().await;\n\n    let mutex1 = Arc::clone(&mutex);\n    let blocking_task = tokio::task::spawn_blocking(move || {\n        // This shall block until the `lock` is released.\n        let mut n = mutex1.blocking_lock();\n        *n = 2;\n    });\n\n    assert_eq!(*lock, 1);\n    // Release the lock.\n    drop(lock);\n\n    // Await the completion of the blocking task.\n    blocking_task.await.unwrap();\n\n    // Assert uncontended.\n    let n = mutex.try_lock().unwrap();\n    assert_eq!(*n, 2);\n}\n# }\n```","links":{"`MutexGuard`":5686,"crate::task::block_in_place":4276,"crate::runtime::Handle::spawn_blocking":4273},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/sync/mutex.rs:518:11: 518:27 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[attr = TrackCaller]"},{"other":"#[doc(alias = \"lock_blocking\")]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2166":{"id":2166,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"404":{"id":404,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6017":{"id":6017,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/oneshot.rs","begin":[363,9],"end":[365,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4255":{"id":4255,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"731":{"id":731,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/async_write.rs","begin":[349,5],"end":[351,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2493":{"id":2493,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/stream.rs","begin":[1559,5],"end":[1563,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#495) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#495) }], src/macros/cfg.rs:42:26: 42:39 (#495)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#495) }], src/macros/cfg.rs:42:22: 42:49 (#495))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsSocket","id":2198,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[2492],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4582":{"id":4582,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2820":{"id":2820,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1058":{"id":1058,"crate_id":0,"name":"into_inner","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[170,5],"end":[172,6]},"visibility":"public","docs":"Destroy the [`Aio`] and return its inner source.","links":{"`Aio`":1048},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"generic":"E"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6344":{"id":6344,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[423,1],"end":[427,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"DerefMut","id":549,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6343],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6671":{"id":6671,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/set_once.rs","begin":[104,5],"end":[108,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4909":{"id":4909,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1385":{"id":1385,"crate_id":0,"name":"split","span":{"filename":"src/io/split.rs","begin":[32,5],"end":[50,6]},"visibility":"public","docs":"Splits a single value implementing `AsyncRead + AsyncWrite` into separate\n`AsyncRead` and `AsyncWrite` handles.\n\nTo restore this read/write object from its `ReadHalf` and\n`WriteHalf` use [`unsplit`](ReadHalf::unsplit()).","links":{"ReadHalf::unsplit()":1387},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#227) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["stream",{"generic":"T"}]],"output":{"tuple":[{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}]},"is_c_variadic":false},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3147":{"id":3147,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5236":{"id":5236,"crate_id":0,"name":"blocking_recv","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[424,5],"end":[426,6]},"visibility":"public","docs":"Blocking receive to call outside of asynchronous contexts.\n\nThis method returns `None` if the channel has been closed and there are\nno remaining messages in the channel's buffer. This indicates that no\nfurther values can ever be received from this `Receiver`. The channel is\nclosed when all senders have been dropped, or when [`close`] is called.\n\nIf there are no messages in the channel's buffer, but the channel has\nnot yet been closed, this method will block until a message is sent or\nthe channel is closed.\n\nThis method is intended for use cases where you are sending from\nasynchronous code to synchronous code, and will work even if the sender\nis not using [`blocking_send`] to send the message.\n\nNote that if [`close`] is called, but there are still outstanding\n[`Permits`] from before it was closed, the channel is not considered\nclosed by `blocking_recv` until the permits are released.\n\n[`close`]: Self::close\n[`Permits`]: struct@crate::sync::mpsc::Permit\n[`blocking_send`]: fn@crate::sync::mpsc::Sender::blocking_send\n\n# Panics\n\nThis function panics if called within an asynchronous execution\ncontext.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse std::thread;\nuse tokio::runtime::Runtime;\nuse tokio::sync::mpsc;\n\nfn main() {\n    let (tx, mut rx) = mpsc::channel::<u8>(10);\n\n    let sync_code = thread::spawn(move || {\n        assert_eq!(Some(10), rx.blocking_recv());\n    });\n\n    Runtime::new()\n        .unwrap()\n        .block_on(async move {\n            let _ = tx.send(10).await;\n        });\n    sync_code.join().unwrap()\n}\n# }\n```","links":{"struct@crate::sync::mpsc::Permit":5228,"Self::close":5225,"fn@crate::sync::mpsc::Sender::blocking_send":5237},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/sync/mpsc/bounded.rs:422:11: 422:27 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[attr = TrackCaller]"},{"other":"#[doc(alias = \"recv_blocking\")]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6998":{"id":6998,"crate_id":0,"name":"enter","span":{"filename":"src/task/local.rs","begin":[533,5],"end":[548,6]},"visibility":"public","docs":"Enters the context of this `LocalSet`.\n\nThe [`spawn_local`] method will spawn tasks on the `LocalSet` whose\ncontext you are inside.\n\n[`spawn_local`]: fn@crate::task::spawn_local","links":{"fn@crate::task::spawn_local":4422},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1712":{"id":1712,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7325":{"id":7325,"crate_id":0,"name":"error","span":{"filename":"src/time/error.rs","begin":[1,1],"end":[123,2]},"visibility":"public","docs":"Time error types.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[7260,7296],"is_stripped":false}}},"5563":{"id":5563,"crate_id":0,"name":"0","span":{"filename":"src/sync/mpsc/error.rs","begin":[31,10],"end":[31,11]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"generic":"T"}}},"3801":{"id":3801,"crate_id":0,"name":"abort_handle","span":{"filename":"src/runtime/task/join.rs","begin":[307,5],"end":[310,6]},"visibility":"public","docs":"Returns a new `AbortHandle` that can be used to remotely abort this task.\n\nAwaiting a task cancelled by the `AbortHandle` might complete as usual if the task was\nalready completed at the time it was cancelled, but most likely it\nwill fail with a [cancelled] `JoinError`.\n\n```rust\nuse tokio::{time, task};\n\n# #[tokio::main(flavor = \"current_thread\", start_paused = true)]\n# async fn main() {\nlet mut handles = Vec::new();\n\nhandles.push(tokio::spawn(async {\n   time::sleep(time::Duration::from_secs(10)).await;\n   true\n}));\n\nhandles.push(tokio::spawn(async {\n   time::sleep(time::Duration::from_secs(10)).await;\n   false\n}));\n\nlet abort_handles: Vec<task::AbortHandle> = handles.iter().map(|h| h.abort_handle()).collect();\n\nfor handle in abort_handles {\n    handle.abort();\n}\n\nfor handle in handles {\n    assert!(handle.await.unwrap_err().is_cancelled());\n}\n# }\n```\n[cancelled]: method@super::error::JoinError::is_cancelled","links":{"method@super::error::JoinError::is_cancelled":3688},"attrs":[{"must_use":{"reason":"abort handles do nothing unless `.abort` is called"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5890":{"id":5890,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[295,1],"end":[299,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[5889],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4128":{"id":4128,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[59,1],"end":[106,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[4122,4123,4124,4125,4126,4127],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2366":{"id":2366,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"604":{"id":604,"crate_id":0,"name":null,"span":{"filename":"src/io/join.rs","begin":[73,1],"end":[84,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[603],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6217":{"id":6217,"crate_id":0,"name":"num_permits","span":{"filename":"src/sync/semaphore.rs","begin":[1104,5],"end":[1106,6]},"visibility":"public","docs":"Returns the number of permits held by `self`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2693":{"id":2693,"crate_id":0,"name":"fmt","span":{"filename":"src/net/unix/socket.rs","begin":[88,14],"end":[88,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"931":{"id":931,"crate_id":0,"name":"is_readable","span":{"filename":"src/io/interest.rs","begin":[86,5],"end":[88,6]},"visibility":"public","docs":"Returns true if the value includes readable interest.\n\n# Examples\n\n```\nuse tokio::io::Interest;\n\nassert!(Interest::READABLE.is_readable());\nassert!(!Interest::WRITABLE.is_readable());\n\nlet both = Interest::READABLE | Interest::WRITABLE;\nassert!(both.is_readable());\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4455":{"id":4455,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4782":{"id":4782,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3020":{"id":3020,"crate_id":0,"name":"fmt","span":{"filename":"src/net/unix/pipe.rs","begin":[121,17],"end":[121,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1258":{"id":1258,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6544":{"id":6544,"crate_id":0,"name":"from","span":{"filename":"src/sync/rwlock.rs","begin":[1104,5],"end":[1106,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["s",{"generic":"T"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6871":{"id":6871,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3347":{"id":3347,"crate_id":0,"name":"max_instances","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2644,5],"end":[2644,27]},"visibility":"public","docs":"The maximum number of instances that can be created for this pipe.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"primitive":"u32"}}},"1585":{"id":1585,"crate_id":0,"name":"write_f64","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an 64-bit floating point type in big-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_f64(&mut self, n: f64) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite 64-bit floating point type to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_f64(f64::MIN).await?;\n\nassert_eq!(writer, vec![\n    0xff, 0xef, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff\n]);\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"f64"}]],"output":{"resolved_path":{"path":"WriteF64","id":1586,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5109":{"id":5109,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[325,14],"end":[325,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[5108],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5436":{"id":5436,"crate_id":0,"name":"send","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[547,5],"end":[554,6]},"visibility":"public","docs":"Attempts to send a message on this `UnboundedSender` without blocking.\n\nThis method is not marked as `async` because sending a message to an unbounded channel\nnever requires any form of waiting. This is due to the channel's infinite capacity,\nallowing the `send` operation to complete immediately. As a result, the `send` method can be\nused in both synchronous and asynchronous code without issues.\n\nIf the receive half of the channel is closed, either due to [`close`]\nbeing called or the [`UnboundedReceiver`] having been dropped, this\nfunction returns an error. The error includes the value passed to `send`.\n\n[`close`]: UnboundedReceiver::close\n[`UnboundedReceiver`]: UnboundedReceiver","links":{"UnboundedReceiver::close":5434,"UnboundedReceiver":5435},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["message",{"generic":"T"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7198":{"id":7198,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7525":{"id":7525,"crate_id":0,"name":"poll","span":{"filename":"src/time/timeout.rs","begin":[211,5],"end":[222,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4001":{"id":4001,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2239":{"id":2239,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5763":{"id":5763,"crate_id":0,"name":"map","span":{"filename":"src/sync/mutex.rs","begin":[1051,5],"end":[1064,6]},"visibility":"public","docs":"Makes a new [`OwnedMappedMutexGuard`] for a component of the locked data.\n\nThis operation cannot fail as the [`OwnedMutexGuard`] passed in already locked the mutex.\n\nThis is an associated function that needs to be used as `OwnedMutexGuard::map(...)`. A method\nwould interfere with methods of the same name on the contents of the locked data.\n\n# Examples\n\n```\nuse tokio::sync::{Mutex, OwnedMutexGuard};\nuse std::sync::Arc;\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet foo = Arc::new(Mutex::new(Foo(1)));\n\n{\n    let mut mapped = OwnedMutexGuard::map(foo.clone().lock_owned().await, |f| &mut f.0);\n    *mapped = 2;\n}\n\nassert_eq!(Foo(2), *foo.lock().await);\n# }\n```\n\n[`OwnedMutexGuard`]: struct@OwnedMutexGuard\n[`OwnedMappedMutexGuard`]: struct@OwnedMappedMutexGuard","links":{"struct@OwnedMappedMutexGuard":5762,"struct@OwnedMutexGuard":5691},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6090":{"id":6090,"crate_id":0,"name":"try_recv","span":{"filename":"src/sync/oneshot.rs","begin":[1171,5],"end":[1207,6]},"visibility":"public","docs":"Attempts to receive a value.\n\nIf a pending value exists in the channel, it is returned. If no value\nhas been sent, the current task **will not** be registered for\nfuture notification.\n\nThis function is useful to call from outside the context of an\nasynchronous task.\n\nNote that unlike the `poll` method, the `try_recv` method cannot fail\nspuriously. Any send or close event that happens before this call to\n`try_recv` will be correctly returned to the caller.\n\n# Return\n\n- `Ok(T)` if a value is pending in the channel.\n- `Err(TryRecvError::Empty)` if no value has been sent yet.\n- `Err(TryRecvError::Closed)` if the sender has dropped without sending\n  a value, or if the message has already been received.\n\n# Examples\n\n`try_recv` before a value is sent, then after.\n\n```\nuse tokio::sync::oneshot;\nuse tokio::sync::oneshot::error::TryRecvError;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = oneshot::channel();\n\nmatch rx.try_recv() {\n    // The channel is currently empty\n    Err(TryRecvError::Empty) => {}\n    _ => unreachable!(),\n}\n\n// Send a value\ntx.send(\"hello\").unwrap();\n\nmatch rx.try_recv() {\n     Ok(value) => assert_eq!(value, \"hello\"),\n     _ => unreachable!(),\n}\n# }\n```\n\n`try_recv` when the sender dropped before sending a value\n\n```\nuse tokio::sync::oneshot;\nuse tokio::sync::oneshot::error::TryRecvError;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = oneshot::channel::<()>();\n\ndrop(tx);\n\nmatch rx.try_recv() {\n    // The channel will never receive a value.\n    Err(TryRecvError::Closed) => {}\n    _ => unreachable!(),\n}\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4328":{"id":4328,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/handle.rs","begin":[32,10],"end":[32,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"804":{"id":804,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mem.rs","begin":[357,1],"end":[429,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[799,800,801,802,803],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2566":{"id":2566,"crate_id":0,"name":null,"span":{"filename":"src/net/udp.rs","begin":[127,1],"end":[2305,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[2503,2512,2513,2514,2515,2506,2516,2517,2518,2507,2520,2521,2522,2523,2508,2524,2525,2526,2527,2528,2529,2504,2530,2531,2505,2532,2533,2534,2535,2537,2539,2541,2542,2543,2544,2536,2538,2540,2546,2545,2548,2547,2550,2549,2552,2551,2554,2553,2556,2555,2558,2557,2559,2560,2561,2562,2563,2564,2565],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6417":{"id":6417,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2893":{"id":2893,"crate_id":0,"name":"connect_addr","span":{"filename":"src/net/unix/stream.rs","begin":[116,5],"end":[127,6]},"visibility":"public","docs":"Connects to the socket named by `socket_addr`.\n\nThis function will create a new Unix socket and connect to the address\nspecified, associating the returned stream with the default event\nloop's handle.\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"crate::runtime::Runtime::enter":1054},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["socket_addr",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1131":{"id":1131,"crate_id":0,"name":"AsyncFdReadyMutGuard","span":{"filename":"src/io/async_fd.rs","begin":[205,1],"end":[208,2]},"visibility":"public","docs":"Represents an IO-ready event detected on a particular file descriptor that\nhas not yet been acknowledged. This is a `must_use` structure to help ensure\nthat you do not forget to explicitly clear (or not clear) the event.\n\nThis type exposes a mutable reference to the underlying IO object.","links":{},"attrs":[{"must_use":{"reason":"You must explicitly choose whether to clear the readiness state by calling a method on ReadyGuard"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1210,1211,1212,1213,1214,1215,1216,1217,1218,1219,1220,1221,1222,1223,1224,1225,1226,1228]}}},"4655":{"id":4655,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6744":{"id":6744,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[355,5],"end":[355,38]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4982":{"id":4982,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1458":{"id":1458,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3220":{"id":3220,"crate_id":0,"name":"max_instances","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2224,5],"end":[2228,6]},"visibility":"public","docs":"The maximum number of instances that can be created for this pipe. The\nfirst instance of the pipe can specify this value; the same number must\nbe specified for other instances of the pipe. Acceptable values are in\nthe range 1 through 254. The default value is unlimited.\n\nThis corresponds to specifying [`nMaxInstances`].\n\n[`nMaxInstances`]: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea\n\n# Errors\n\nThe same numbers of `max_instances` have to be used by all servers. Any\nadditional servers trying to be built which uses a mismatching value\nmight error.\n\n```\nuse std::io;\nuse tokio::net::windows::named_pipe::{ServerOptions, ClientOptions};\nuse windows_sys::Win32::Foundation::ERROR_PIPE_BUSY;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-max-instances\";\n\n# #[tokio::main] async fn main() -> io::Result<()> {\nlet mut server = ServerOptions::new();\nserver.max_instances(2);\n\nlet s1 = server.create(PIPE_NAME)?;\nlet c1 = ClientOptions::new().open(PIPE_NAME);\n\nlet s2 = server.create(PIPE_NAME)?;\nlet c2 = ClientOptions::new().open(PIPE_NAME);\n\n// Too many servers!\nlet e = server.create(PIPE_NAME).unwrap_err();\nassert_eq!(e.raw_os_error(), Some(ERROR_PIPE_BUSY as i32));\n\n// Still too many servers even if we specify a higher value!\nlet e = server.max_instances(100).create(PIPE_NAME).unwrap_err();\nassert_eq!(e.raw_os_error(), Some(ERROR_PIPE_BUSY as i32));\n# Ok(()) }\n```\n\n# Panics\n\nThis function will panic if more than 254 instances are specified. If\nyou do not wish to set an instance limit, leave it unspecified.\n\n```should_panic\nuse tokio::net::windows::named_pipe::ServerOptions;\n\n# #[tokio::main] async fn main() -> std::io::Result<()> {\nlet builder = ServerOptions::new().max_instances(255);\n# Ok(()) }\n```","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["instances",{"primitive":"usize"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7071":{"id":7071,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3547":{"id":3547,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1716,5],"end":[1716,30]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[3546],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5309":{"id":5309,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1680,1],"end":[1684,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5308],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7398":{"id":7398,"crate_id":0,"name":"interval_at","span":{"filename":"src/time/interval.rs","begin":[108,1],"end":[111,2]},"visibility":"public","docs":"Creates new [`Interval`] that yields with interval of `period` with the\nfirst tick completing at `start`. The default [`MissedTickBehavior`] is\n[`Burst`](MissedTickBehavior::Burst), but this can be configured\nby calling [`set_missed_tick_behavior`](Interval::set_missed_tick_behavior).\n\nAn interval will tick indefinitely. At any time, the [`Interval`] value can\nbe dropped. This cancels the interval.\n\n# Panics\n\nThis function panics if `period` is zero.\n\n# Examples\n\n```\nuse tokio::time::{interval_at, Duration, Instant};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet start = Instant::now() + Duration::from_millis(50);\nlet mut interval = interval_at(start, Duration::from_millis(10));\n\ninterval.tick().await; // ticks after 50ms\ninterval.tick().await; // ticks after 10ms\ninterval.tick().await; // ticks after 10ms\n\n// approximately 70ms have elapsed.\n# }\n```","links":{"`Interval`":7394,"`MissedTickBehavior`":7395,"MissedTickBehavior::Burst":7396,"Interval::set_missed_tick_behavior":7397},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["start",{"resolved_path":{"path":"crate::time::Instant","id":7328,"args":null}}],["period",{"resolved_path":{"path":"crate::time::Duration","id":2215,"args":null}}]],"output":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5636":{"id":5636,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2112":{"id":2112,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[287,9],"end":[287,18]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::BufReader","name":"BufReader","id":513,"is_glob":false}}},"350":{"id":350,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3874":{"id":3874,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4201":{"id":4201,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2439":{"id":2439,"crate_id":0,"name":"peer_addr","span":{"filename":"src/net/tcp/stream.rs","begin":[322,5],"end":[324,6]},"visibility":"public","docs":"Returns the remote address that this stream is connected to.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\nprintln!(\"{:?}\", stream.peer_addr()?);\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"677":{"id":677,"crate_id":0,"name":"start_seek","span":{"filename":"src/io/util/buf_reader.rs","begin":[177,5],"end":[185,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["pos",{"resolved_path":{"path":"SeekFrom","id":256,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5963":{"id":5963,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6290":{"id":6290,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"Deref","id":550,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Target","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Receiver","id":1075,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[1073],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"P"}}}},"4528":{"id":4528,"crate_id":0,"name":"remote_schedule_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[629,9],"end":[635,10]},"visibility":"public","docs":"Returns the number of tasks scheduled from **outside** of the runtime.\n\nThe remote schedule count starts at zero when the runtime is created and\nincreases by one each time a task is woken from **outside** of the\nruntime. This usually means that a task is spawned or notified from a\nnon-runtime thread and must be queued using the Runtime's injection\nqueue, which tends to be slower.\n\nThe counter is monotonically increasing. It is never decremented or\nreset to zero.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.remote_schedule_count();\nprintln!(\"{} tasks were scheduled from outside the runtime\", n);\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/metrics/runtime.rs:578:13: 578:27 (#0) }, NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/runtime/metrics/runtime.rs:579:13: 579:37 (#0) }], src/runtime/metrics/runtime.rs:577:15: 580:10 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, target_has_atomic = \"64\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1004":{"id":1004,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4855":{"id":4855,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3093":{"id":3093,"crate_id":0,"name":"fmt","span":{"filename":"src/net/unix/pipe.rs","begin":[912,10],"end":[912,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1331":{"id":1331,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"6617":{"id":6617,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5182":{"id":5182,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1658":{"id":1658,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_stream.rs","begin":[25,1],"end":[79,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[1652,1653,1654,1655,1656,1657],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3420":{"id":3420,"crate_id":0,"name":"Command","span":{"filename":"src/process/mod.rs","begin":[274,1],"end":[277,2]},"visibility":"public","docs":"This structure mimics the API of [`std::process::Command`] found in the standard library, but\nreplaces functions that create a process with an asynchronous variant. The main provided\nasynchronous functions are [spawn](Command::spawn), [status](Command::status), and\n[output](Command::output).\n\n`Command` uses asynchronous versions of some `std` types (for example [`Child`]).\n\n[`std::process::Command`]: std::process::Command\n[`Child`]: struct@Child","links":{"Command::output":3418,"Command::status":3417,"std::process::Command":3415,"struct@Child":3419,"Command::spawn":3416},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[3453,3454,3455,3456,3457,3458,3459,3460,3461,3462,3463,3464,3465,3466,3467,3468,3469,3471,3473]}}},"5509":{"id":5509,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[108,1],"end":[527,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5497,5498,5500,5501,5502,5434,5503,5504,5505,5499,5506,5507,5508],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3747":{"id":3747,"crate_id":0,"name":"clone","span":{"filename":"src/runtime/task/id.rs","begin":[31,10],"end":[31,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Id","id":3692,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1985":{"id":1985,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7271":{"id":7271,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7598":{"id":7598,"crate_id":0,"name":"from_raw_socket","span":{"filename":"src/doc/os.rs","begin":[41,13],"end":[41,64]},"visibility":"default","docs":"See [`std::os::windows::io::FromRawSocket::from_raw_socket`](https://doc.rust-lang.org/std/os/windows/io/trait.FromRawSocket.html#tymethod.from_raw_socket)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["sock",{"resolved_path":{"path":"RawSocket","id":2192,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"5836":{"id":5836,"crate_id":0,"name":"try_map","span":{"filename":"src/sync/mutex.rs","begin":[1341,5],"end":[1356,6]},"visibility":"public","docs":"Attempts to make a new [`OwnedMappedMutexGuard`] for a component of the locked data. The\noriginal guard is returned if the closure returns `None`.\n\nThis operation cannot fail as the [`OwnedMutexGuard`] passed in already locked the mutex.\n\nThis is an associated function that needs to be used as `OwnedMutexGuard::try_map(...)`. A\nmethod would interfere with methods of the same name on the contents of the locked data.\n\n[`OwnedMutexGuard`]: struct@OwnedMutexGuard\n[`OwnedMappedMutexGuard`]: struct@OwnedMappedMutexGuard","links":{"struct@OwnedMappedMutexGuard":5762,"struct@OwnedMutexGuard":5691},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"S"}}],"constraints":[]}}}}},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"S","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"S"}}}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2312":{"id":2312,"crate_id":0,"name":"try_write_vectored","span":{"filename":"src/net/tcp/split.rs","begin":[355,5],"end":[357,6]},"visibility":"public","docs":"Tries to write several buffers to the stream, returning how many bytes\nwere written.\n\nData is written from each buffer in order, with the final buffer read\nfrom possible being only partially consumed. This method behaves\nequivalently to a single call to [`try_write()`] with concatenated\nbuffers.\n\nThis function is usually paired with `writable()`.\n\n[`try_write()`]: Self::try_write()\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the stream is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::try_write()":2309},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4074":{"id":4074,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6163":{"id":6163,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4401":{"id":4401,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2639":{"id":2639,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/listener.rs","begin":[59,1],"end":[233,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[2629,2630,2634,2635,2636,2637,2627,2638],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6490":{"id":6490,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2966":{"id":2966,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1204":{"id":1204,"crate_id":0,"name":"ready","span":{"filename":"src/io/async_fd.rs","begin":[1313,5],"end":[1318,6]},"visibility":"public","docs":"Get the [`Ready`] value associated with this guard.\n\nThis method will return the empty readiness state if\n[`AsyncFdReadyGuard::clear_ready`] has been called on\nthe guard.\n\n[`Ready`]: super::Ready","links":{"super::Ready":978,"`AsyncFdReadyGuard::clear_ready`":1134},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Ready","id":978,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6817":{"id":6817,"crate_id":0,"name":"new","span":{"filename":"src/sync/watch.rs","begin":[1041,5],"end":[1044,6]},"visibility":"public","docs":"Creates the sending-half of the [`watch`] channel.\n\nSee documentation of [`watch::channel`] for errors when calling this function.\nBeware that attempting to send a value when there are no receivers will\nreturn an error.\n\n[`watch`]: crate::sync::watch\n[`watch::channel`]: crate::sync::watch\n\n# Examples\n```\nlet sender = tokio::sync::watch::Sender::new(0u8);\nassert!(sender.send(3).is_err());\nlet _rec = sender.subscribe();\nassert!(sender.send(4).is_ok());\n```","links":{"crate::sync::watch":6783},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["init",{"generic":"T"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5055":{"id":5055,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3293":{"id":3293,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1531":{"id":1531,"crate_id":0,"name":"read_i64_le","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an signed 64-bit integer in little-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_i64_le(&mut self) -> io::Result<i64>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead signed 64-bit little-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![0x80, 0, 0, 0, 0, 0, 0, 0]);\n\nassert_eq!(128, reader.read_i64_le().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadI64Le","id":1532,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7144":{"id":7144,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5382":{"id":5382,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1858":{"id":1858,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"7471":{"id":7471,"crate_id":0,"name":"reset","span":{"filename":"src/time/sleep.rs","begin":[344,5],"end":[380,6]},"visibility":"public","docs":"Resets the `Sleep` instance to a new deadline.\n\nCalling this function allows changing the instant at which the `Sleep`\nfuture completes without having to create new associated state.\n\nThis function can be called both before and after the future has\ncompleted.\n\nTo call this method, you will usually combine the call with\n[`Pin::as_mut`], which lets you call the method without consuming the\n`Sleep` itself.\n\n# Example\n\n```\nuse tokio::time::{Duration, Instant};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet sleep = tokio::time::sleep(Duration::from_millis(10));\ntokio::pin!(sleep);\n\nsleep.as_mut().reset(Instant::now() + Duration::from_millis(20));\n# }\n```\n\nSee also the top-level examples.\n\n[`Pin::as_mut`]: fn@std::pin::Pin::as_mut","links":{"fn@std::pin::Pin::as_mut":7470},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["deadline",{"resolved_path":{"path":"Instant","id":7328,"args":null}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5709":{"id":5709,"crate_id":2,"name":"from","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":{"feature":"const_convert","level":"unstable"},"inner":{"function":{"sig":{"inputs":[["t",{"primitive":"never"}]],"output":{"generic":"T"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3947":{"id":3947,"crate_id":0,"name":"thread_keep_alive","span":{"filename":"src/runtime/builder.rs","begin":[1146,5],"end":[1149,6]},"visibility":"public","docs":"Sets a custom timeout for a thread in the blocking pool.\n\nBy default, the timeout for a thread is set to 10 seconds. This can\nbe overridden using `.thread_keep_alive()`.\n\n# Example\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n# use tokio::runtime;\n# use std::time::Duration;\n# pub fn main() {\nlet rt = runtime::Builder::new_multi_thread()\n    .thread_keep_alive(Duration::from_millis(100))\n    .build();\n# }\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["duration",{"resolved_path":{"path":"Duration","id":2215,"args":null}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"423":{"id":423,"crate_id":0,"name":null,"span":{"filename":"src/fs/read_dir.rs","begin":[214,1],"end":[357,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[417,418,420,421],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2185":{"id":2185,"crate_id":0,"name":"fmt","span":{"filename":"src/net/tcp/listener.rs","begin":[402,5],"end":[404,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4274":{"id":4274,"crate_id":0,"name":"shutdown_background","span":{"filename":"src/runtime/runtime.rs","begin":[489,5],"end":[491,6]},"visibility":"public","docs":"Shuts down the runtime, without waiting for any spawned work to stop.\n\nThis can be useful if you want to drop a runtime from within another runtime.\nNormally, dropping a runtime will block indefinitely for spawned blocking tasks\nto complete, which would normally not be permitted within an asynchronous context.\nBy calling `shutdown_background()`, you can drop the runtime from such a context.\n\nNote however, that because we do not wait for any blocking tasks to complete, this\nmay result in a resource leak (in that any blocking tasks are still running until they\nreturn.\n\nSee the [struct level documentation](Runtime#shutdown) for more details.\n\nThis function is equivalent to calling `shutdown_timeout(Duration::from_nanos(0))`.\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Runtime;\n\nfn main() {\n   let runtime = Runtime::new().unwrap();\n\n   runtime.block_on(async move {\n       let inner_runtime = Runtime::new().unwrap();\n       // ...\n       inner_runtime.shutdown_background();\n   });\n}\n# }\n```","links":{"Runtime#shutdown":3112},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2512":{"id":2512,"crate_id":0,"name":"from_std","span":{"filename":"src/net/udp.rs","begin":[227,5],"end":[232,6]},"visibility":"public","docs":"Creates new `UdpSocket` from a previously bound `std::net::UdpSocket`.\n\nThis function is intended to be used to wrap a UDP socket from the\nstandard library in the Tokio equivalent.\n\nThis can be used in conjunction with `socket2`'s `Socket` interface to\nconfigure a socket before it's handed off, such as setting options like\n`reuse_address` or binding to multiple addresses.\n\n# Notes\n\nThe caller is responsible for ensuring that the socket is in\nnon-blocking mode. Otherwise all I/O operations on the socket\nwill block the thread, which will cause unexpected behavior.\nNon-blocking mode can be set using [`set_nonblocking`].\n\nPassing a listener in blocking mode is always erroneous,\nand the behavior in that case may change in the future.\nFor example, it could panic.\n\n[`set_nonblocking`]: std::net::UdpSocket::set_nonblocking\n\n# Panics\n\nThis function panics if thread-local runtime is not set.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.\n\n# Example\n\n```no_run\nuse tokio::net::UdpSocket;\n# use std::{io, net::SocketAddr};\n\n# #[tokio::main]\n# async fn main() -> io::Result<()> {\nlet addr = \"0.0.0.0:8080\".parse::<SocketAddr>().unwrap();\nlet std_sock = std::net::UdpSocket::bind(addr)?;\nstd_sock.set_nonblocking(true)?;\nlet sock = UdpSocket::from_std(std_sock)?;\n// use `sock`\n# Ok(())\n# }\n```","links":{"crate::runtime::Runtime::enter":1054,"std::net::UdpSocket::set_nonblocking":2511},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["socket",{"resolved_path":{"path":"net::UdpSocket","id":1141,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"750":{"id":750,"crate_id":0,"name":"Stderr","span":{"filename":"src/io/stderr.rs","begin":[38,5],"end":[40,6]},"visibility":"public","docs":"A handle to the standard error stream of a process.\n\nConcurrent writes to stderr must be executed with care: Only individual\nwrites to this [`AsyncWrite`] are guaranteed to be intact. In particular\nyou should be aware that writes using [`write_all`] are not guaranteed\nto occur as a single write, so multiple threads writing data with\n[`write_all`] may result in interleaved output.\n\nCreated by the [`stderr`] function.\n\n[`stderr`]: stderr()\n[`AsyncWrite`]: AsyncWrite\n[`write_all`]: crate::io::AsyncWriteExt::write_all()\n\n# Examples\n\n```\nuse tokio::io::{self, AsyncWriteExt};\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut stderr = io::stderr();\n    stderr.write_all(b\"Print some error here.\").await?;\n    Ok(())\n}\n```","links":{"AsyncWrite":225,"crate::io::AsyncWriteExt::write_all()":209,"stderr()":1291},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-std\"), span: src/macros/cfg.rs:233:19: 233:37 (#217) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[1292,1293,1294,1295,1296,1297,1298,1299,1300,1301,1302,1303,1304,1305,1306,1307,1308,1310,1312,1314,1316,1318,749]}}},"6036":{"id":6036,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6363":{"id":6363,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4601":{"id":4601,"crate_id":0,"name":"eq","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[26,30],"end":[26,39]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1077":{"id":1077,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2839":{"id":2839,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4928":{"id":4928,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3166":{"id":3166,"crate_id":0,"name":"poll_write_ready","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1486,5],"end":[1488,6]},"visibility":"public","docs":"Polls for write readiness.\n\nIf the pipe is not currently ready for writing, this method will\nstore a clone of the `Waker` from the provided `Context`. When the pipe\nbecomes ready for writing, `Waker::wake` will be called on the waker.\n\nNote that on multiple calls to `poll_write_ready` or `poll_write`, only\nthe `Waker` from the `Context` passed to the most recent call is\nscheduled to receive a wakeup. (However, `poll_read_ready` retains a\nsecond, independent waker.)\n\nThis function is intended for cases where creating and pinning a future\nvia [`writable`] is not feasible. Where possible, using [`writable`] is\npreferred, as this supports polling from multiple tasks at once.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the pipe is not ready for writing.\n* `Poll::Ready(Ok(()))` if the pipe is ready for writing.\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n[`writable`]: method@Self::writable","links":{"method@Self::writable":3165},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1404":{"id":1404,"crate_id":0,"name":null,"span":{"filename":"src/io/split.rs","begin":[151,1],"end":[151,45]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6690":{"id":6690,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7017":{"id":7017,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5255":{"id":5255,"crate_id":0,"name":"downgrade","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1576,5],"end":[1580,6]},"visibility":"public","docs":"Converts the `Sender` to a [`WeakSender`] that does not count\ntowards RAII semantics, i.e. if all `Sender` instances of the\nchannel were dropped and only `WeakSender` instances remain,\nthe channel is closed.","links":{"`WeakSender`":5254},"attrs":[{"must_use":{"reason":"Downgrade creates a WeakSender without destroying the original non-weak sender."}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1731":{"id":1731,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3493":{"id":3493,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5582":{"id":5582,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3820":{"id":3820,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/join.rs","begin":[172,1],"end":[172,40]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2058":{"id":2058,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[46,19],"end":[46,25]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"mem::duplex","name":"duplex","id":1870,"is_glob":false}}},"7344":{"id":7344,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"296":{"id":296,"crate_id":0,"name":"AsHandle","span":{"filename":"src/doc/os.rs","begin":[54,9],"end":[57,10]},"visibility":"public","docs":"See [`std::os::windows::io::AsHandle`](https://doc.rust-lang.org/std/os/windows/io/trait.AsHandle.html)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":true,"items":[7600],"generics":{"params":[],"where_predicates":[]},"bounds":[],"implementations":[295,1318,1350,1381,3154,3195,3542,3580,3618]}}},"5909":{"id":5909,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2385":{"id":2385,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"623":{"id":623,"crate_id":0,"name":"Repeat","span":{"filename":"src/io/util/repeat.rs","begin":[22,5],"end":[24,6]},"visibility":"public","docs":"An async reader which yields one byte over and over and over and over and\nover and...\n\nThis struct is generally created by calling [`repeat`][repeat]. Please\nsee the documentation of `repeat()` for more details.\n\nThis is an asynchronous version of [`std::io::Repeat`][std].\n\n[repeat]: fn@repeat\n[std]: std::io::Repeat","links":{"std::io::Repeat":1914,"fn@repeat":1913},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#390) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1933,622]}}},"4147":{"id":4147,"crate_id":0,"name":"clone","span":{"filename":"src/runtime/dump.rs","begin":[49,10],"end":[49,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6236":{"id":6236,"crate_id":0,"name":null,"span":{"filename":"src/sync/semaphore.rs","begin":[441,10],"end":[441,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[6235],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2712":{"id":2712,"crate_id":0,"name":"peer_addr","span":{"filename":"src/net/unix/split.rs","begin":[179,5],"end":[181,6]},"visibility":"public","docs":"Returns the socket address of the remote half of this connection.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"950":{"id":950,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6563":{"id":6563,"crate_id":0,"name":"get_mut","span":{"filename":"src/sync/once_cell.rs","begin":[291,5],"end":[297,6]},"visibility":"public","docs":"Returns a mutable reference to the value currently stored in the\n`OnceCell`, or `None` if the `OnceCell` is empty.\n\nSince this call borrows the `OnceCell` mutably, it is safe to mutate the\nvalue inside the `OnceCell` — the mutable borrow statically guarantees\nno other references exist.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3039":{"id":3039,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4801":{"id":4801,"crate_id":0,"name":null,"span":{"filename":"src/signal/unix.rs","begin":[78,17],"end":[78,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[4800],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5128":{"id":5128,"crate_id":0,"name":"len","span":{"filename":"src/sync/broadcast.rs","begin":[776,5],"end":[793,6]},"visibility":"public","docs":"Returns the number of queued values.\n\nA value is queued until it has either been seen by all receivers that were alive at the time\nit was sent, or has been evicted from the queue by subsequent sends that exceeded the\nqueue's capacity.\n\n# Note\n\nIn contrast to [`Receiver::len`], this method only reports queued values and not values that\nhave been evicted from the queue before being seen by all receivers.\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx1) = broadcast::channel(16);\nlet mut rx2 = tx.subscribe();\n\ntx.send(10).unwrap();\ntx.send(20).unwrap();\ntx.send(30).unwrap();\n\nassert_eq!(tx.len(), 3);\n\nrx1.recv().await.unwrap();\n\n// The len is still 3 since rx2 hasn't seen the first value yet.\nassert_eq!(tx.len(), 3);\n\nrx2.recv().await.unwrap();\n\nassert_eq!(tx.len(), 2);\n# }\n```","links":{"`Receiver::len`":5127},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3366":{"id":3366,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6890":{"id":6890,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[469,5],"end":[469,28]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"notify::Notify","name":"Notify","id":5900,"is_glob":false}}},"7217":{"id":7217,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3693":{"id":3693,"crate_id":0,"name":"id","span":{"filename":"src/runtime/task/error.rs","begin":[130,5],"end":[132,6]},"visibility":"public","docs":"Returns a [task ID] that identifies the task which errored relative to\nother currently spawned tasks.\n\n[task ID]: crate::task::Id","links":{"crate::task::Id":3692},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Id","id":3692,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1931":{"id":1931,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5455":{"id":5455,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5782":{"id":5782,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4020":{"id":4020,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"496":{"id":496,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[245,46],"end":[245,53]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::read_dir::ReadDir","name":"ReadDir","id":386,"is_glob":false}}},"2258":{"id":2258,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/socket.rs","begin":[1026,5],"end":[1030,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:66:27: 66:30 (#475) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:66:32: 66:38 (#475) }], src/macros/cfg.rs:66:26: 66:39 (#475)), NameValue { name: \"unix\", value: None, span: src/macros/cfg.rs:66:41: 66:45 (#475) }, NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/macros/cfg.rs:66:47: 66:65 (#475) }], src/macros/cfg.rs:66:22: 66:66 (#475))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(unix, target_os = \"wasi\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"IntoRawFd","id":2259,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[2257],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6109":{"id":6109,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2585":{"id":2585,"crate_id":0,"name":null,"span":{"filename":"src/net/udp.rs","begin":[2307,1],"end":[2317,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UdpSocket","id":1141,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[2583,2584],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"823":{"id":823,"crate_id":0,"name":"OwnedWriteHalf","span":{"filename":"src/net/tcp/split_owned.rs","begin":[54,1],"end":[57,2]},"visibility":"public","docs":"Owned write half of a [`TcpStream`], created by [`into_split`].\n\nNote that in the [`AsyncWrite`] implementation of this type, [`poll_shutdown`] will\nshut down the TCP stream in the write direction.  Dropping the write half\nwill also shut down the write half of the TCP stream.\n\nWriting to an `OwnedWriteHalf` is usually done using the convenience methods found\non the [`AsyncWriteExt`] trait.\n\n[`TcpStream`]: TcpStream\n[`into_split`]: TcpStream::into_split()\n[`AsyncWrite`]: trait@crate::io::AsyncWrite\n[`poll_shutdown`]: fn@crate::io::AsyncWrite::poll_shutdown\n[`AsyncWriteExt`]: trait@crate::io::AsyncWriteExt","links":{"trait@crate::io::AsyncWrite":225,"fn@crate::io::AsyncWrite::poll_shutdown":692,"trait@crate::io::AsyncWriteExt":203,"TcpStream":634,"TcpStream::into_split()":2339},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[2383,2384,2385,2386,2387,2388,2389,2390,2391,2392,2393,2394,2395,2396,2397,2398,2399,2400,2402,2404,822,2406]}}},"4347":{"id":4347,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6436":{"id":6436,"crate_id":0,"name":"RwLockWriteGuard","span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[17,1],"end":[26,2]},"visibility":"public","docs":"RAII structure used to release the exclusive write access of a lock when\ndropped.\n\nThis structure is created by the [`write`] method\non [`RwLock`].\n\n[`write`]: method@crate::sync::RwLock::write\n[`RwLock`]: struct@crate::sync::RwLock","links":{"method@crate::sync::RwLock::write":6435,"struct@crate::sync::RwLock":6273},"attrs":[{"other":"#[clippy::has_significant_drop]"},{"must_use":{"reason":"if unused the RwLock will immediately unlock"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6443,6444,6445,6446,6447,6448,6449,6450,6451,6452,6453,6454,6455,6456,6457,6458,6459,6462,6464,6466,6468,6470,6471,6472]}}},"4674":{"id":4674,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1150":{"id":1150,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2912":{"id":2912,"crate_id":0,"name":"peer_cred","span":{"filename":"src/net/unix/stream.rs","begin":[967,5],"end":[969,6]},"visibility":"public","docs":"Returns effective credentials of the process which called `connect` or `pair`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UCred","id":2913,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6763":{"id":6763,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3239":{"id":3239,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1477":{"id":1477,"crate_id":0,"name":"ReadLine","span":{"filename":"src/io/util/read_line.rs","begin":[13,1],"end":[31,2]},"visibility":"public","docs":"Future for the [`read_line`](crate::io::AsyncBufReadExt::read_line) method.","links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"5001":{"id":5001,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5328":{"id":5328,"crate_id":0,"name":"drop","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1732,5],"end":[1745,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1804":{"id":1804,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3566":{"id":3566,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7417":{"id":7417,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3893":{"id":3893,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/mod.rs","begin":[192,14],"end":[192,16]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"id::id","name":"id","id":3726,"is_glob":false}}},"2131":{"id":2131,"crate_id":0,"name":null,"span":{"filename":"src/net/addr.rs","begin":[50,1],"end":[50,37]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"for":{"resolved_path":{"path":"std::net::SocketAddr","id":2132,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"369":{"id":369,"crate_id":0,"name":"clone","span":{"filename":"src/fs/open_options.rs","begin":[87,10],"end":[87,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5655":{"id":5655,"crate_id":0,"name":"eq","span":{"filename":"src/sync/mpsc/error.rs","begin":[123,14],"end":[123,23]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5982":{"id":5982,"crate_id":0,"name":"Output","span":{"filename":"src/sync/notify.rs","begin":[1086,5],"end":[1086,22]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"tuple":[]},"default_unstable":null}}},"4220":{"id":4220,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2458":{"id":2458,"crate_id":0,"name":"set_ttl","span":{"filename":"src/net/tcp/stream.rs","begin":[1397,5],"end":[1399,6]},"visibility":"public","docs":"Sets the value for the `IP_TTL` option on this socket.\n\nThis value sets the time-to-live field that is used in every packet sent\nfrom this socket.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\nstream.set_ttl(123)?;\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["ttl",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4547":{"id":4547,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2785":{"id":2785,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"4874":{"id":4874,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"1350":{"id":1350,"crate_id":0,"name":null,"span":{"filename":"src/io/stdin.rs","begin":[83,5],"end":[87,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#222) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#222) }], src/macros/cfg.rs:42:26: 42:39 (#222)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#222) }], src/macros/cfg.rs:42:22: 42:49 (#222))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsHandle","id":296,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[1349],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3112":{"id":3112,"crate_id":0,"name":"Runtime","span":{"filename":"src/runtime/runtime.rs","begin":[97,1],"end":[106,2]},"visibility":"public","docs":"The Tokio runtime.\n\nThe runtime provides an I/O driver, task scheduler, [timer], and\nblocking pool, necessary for running asynchronous tasks.\n\nInstances of `Runtime` can be created using [`new`], or [`Builder`].\nHowever, most users will use the [`#[tokio::main]`][main] annotation on\ntheir entry point instead.\n\nSee [module level][mod] documentation for more details.\n\n# Shutdown\n\nShutting down the runtime is done by dropping the value, or calling\n[`shutdown_background`] or [`shutdown_timeout`].\n\nTasks spawned through [`Runtime::spawn`] keep running until they yield.\nThen they are dropped. They are not *guaranteed* to run to completion, but\n*might* do so if they do not yield until completion.\n\nBlocking functions spawned through [`Runtime::spawn_blocking`] keep running\nuntil they return.\n\nThe thread initiating the shutdown blocks until all spawned work has been\nstopped. This can take an indefinite amount of time. The `Drop`\nimplementation waits forever for this.\n\nThe [`shutdown_background`] and [`shutdown_timeout`] methods can be used if\nwaiting forever is undesired. When the timeout is reached, spawned work that\ndid not stop in time and threads running it are leaked. The work continues\nto run until one of the stopping conditions is fulfilled, but the thread\ninitiating the shutdown is unblocked.\n\nOnce the runtime has been dropped, any outstanding I/O resources bound to\nit will no longer function. Calling any method on them will result in an\nerror.\n\n# Sharing\n\nThere are several ways to establish shared access to a Tokio runtime:\n\n * Using an <code>[Arc]\\<Runtime></code>.\n * Using a [`Handle`].\n * Entering the runtime context.\n\nUsing an <code>[Arc]\\<Runtime></code> or [`Handle`] allows you to do various\nthings with the runtime such as spawning new tasks or entering the runtime\ncontext. Both types can be cloned to create a new handle that allows access\nto the same runtime. By passing clones into different tasks or threads, you\nwill be able to access the runtime from those tasks or threads.\n\nThe difference between <code>[Arc]\\<Runtime></code> and [`Handle`] is that\nan <code>[Arc]\\<Runtime></code> will prevent the runtime from shutting down,\nwhereas a [`Handle`] does not prevent that. This is because shutdown of the\nruntime happens when the destructor of the `Runtime` object runs.\n\nCalls to [`shutdown_background`] and [`shutdown_timeout`] require exclusive\nownership of the `Runtime` type. When using an <code>[Arc]\\<Runtime></code>,\nthis can be achieved via [`Arc::try_unwrap`] when only one strong count\nreference is left over.\n\nThe runtime context is entered using the [`Runtime::enter`] or\n[`Handle::enter`] methods, which use a thread-local variable to store the\ncurrent runtime. Whenever you are inside the runtime context, methods such\nas [`tokio::spawn`] will use the runtime whose context you are inside.\n\n[timer]: crate::time\n[mod]: index.html\n[`new`]: method@Self::new\n[`Builder`]: struct@Builder\n[`Handle`]: struct@Handle\n[main]: macro@crate::main\n[`tokio::spawn`]: crate::spawn\n[`Arc::try_unwrap`]: std::sync::Arc::try_unwrap\n[Arc]: std::sync::Arc\n[`shutdown_background`]: method@Runtime::shutdown_background\n[`shutdown_timeout`]: method@Runtime::shutdown_timeout","links":{"`Handle::enter`":4268,"macro@crate::main":4361,"method@Runtime::shutdown_background":4274,"method@Self::new":4360,"crate::time":4277,"method@Runtime::shutdown_timeout":4275,"`Runtime::spawn`":4362,"struct@Builder":3938,"`Runtime::spawn_blocking`":4363,"std::sync::Arc":2509,"struct@Handle":4265,"`Runtime::enter`":1054,"crate::spawn":3799,"std::sync::Arc::try_unwrap":4364},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4366,4367,4368,4369,4370,4371,4372,4373,4374,4375,4376,4377,4378,4379,4380,4382,4384,4385,4386]}}},"5201":{"id":5201,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3439":{"id":3439,"crate_id":0,"name":"stderr","span":{"filename":"src/process/mod.rs","begin":[633,5],"end":[636,6]},"visibility":"public","docs":"Sets configuration for the child process's standard error (stderr) handle.\n\nDefaults to [`inherit`] when used with `spawn` or `status`, and\ndefaults to [`piped`] when used with `output`.\n\n[`inherit`]: std::process::Stdio::inherit\n[`piped`]: std::process::Stdio::piped\n\n# Examples\n\nBasic usage:\n\n```no_run\n# async fn test() { // allow using await\nuse tokio::process::Command;\nuse std::process::{Stdio};\n\nlet output = Command::new(\"ls\")\n        .stderr(Stdio::null())\n        .output().await.unwrap();\n# }\n```","links":{"std::process::Stdio::inherit":3435,"std::process::Stdio::piped":2989},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cfg",{"generic":"T"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Stdio","id":3437,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1677":{"id":1677,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6963":{"id":6963,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7290":{"id":7290,"crate_id":0,"name":"clone","span":{"filename":"src/time/error.rs","begin":[25,23],"end":[25,28]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Error","id":7260,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2004":{"id":2004,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"242":{"id":242,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3766":{"id":3766,"crate_id":0,"name":"abort","span":{"filename":"src/runtime/task/abort.rs","begin":[53,5],"end":[55,6]},"visibility":"public","docs":"Abort the task associated with the handle.\n\nAwaiting a cancelled task might complete as usual if the task was\nalready completed at the time it was cancelled, but most likely it\nwill fail with a [cancelled] `JoinError`.\n\nIf the task was already cancelled, such as by [`JoinHandle::abort`],\nthis method will do nothing.\n\nBe aware that tasks spawned using [`spawn_blocking`] cannot be aborted\nbecause they are not async. If you call `abort` on a `spawn_blocking`\ntask, then this *will not have any effect*, and the task will continue\nrunning normally. The exception is if the task has not started running\nyet; in that case, calling `abort` may prevent the task from starting.\n\nSee also [the module level docs] for more information on cancellation.\n\n[cancelled]: method@super::error::JoinError::is_cancelled\n[`JoinHandle::abort`]: method@super::JoinHandle::abort\n[the module level docs]: crate::task#cancellation\n[`spawn_blocking`]: crate::task::spawn_blocking","links":{"crate::task::spawn_blocking":379,"crate::task#cancellation":3687,"method@super::JoinHandle::abort":3767,"method@super::error::JoinError::is_cancelled":3688},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5855":{"id":5855,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[271,1],"end":[276,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4093":{"id":4093,"crate_id":0,"name":"trace","span":{"filename":"src/runtime/dump.rs","begin":[332,5],"end":[334,6]},"visibility":"public","docs":"A trace of this task's state.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Trace","id":4094,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2331":{"id":2331,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"569":{"id":569,"crate_id":0,"name":"poll_fill_buf","span":{"filename":"src/io/util/buf_writer.rs","begin":[280,5],"end":[282,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7617":{"id":7617,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6182":{"id":6182,"crate_id":0,"name":"OwnedSemaphorePermit","span":{"filename":"src/sync/semaphore.rs","begin":[455,1],"end":[458,2]},"visibility":"public","docs":"An owned permit from the semaphore.\n\nThis type is created by the [`acquire_owned`] method.\n\n[`acquire_owned`]: crate::sync::Semaphore::acquire_owned()","links":{"crate::sync::Semaphore::acquire_owned()":6187},"attrs":[{"other":"#[clippy::has_significant_drop]"},{"must_use":{"reason":null}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[6246,6247,6248,6249,6250,6251,6252,6253,6254,6255,6256,6257,6258,6259,6260,6261,6262,6264,6266]}}},"2658":{"id":2658,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/listener.rs","begin":[235,1],"end":[245,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixListener","id":2632,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[2656,2657],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"896":{"id":896,"crate_id":0,"name":"put_slice","span":{"filename":"src/io/read_buf.rs","begin":[250,5],"end":[274,6]},"visibility":"public","docs":"Appends data to the buffer, advancing the written position and possibly also the initialized position.\n\n# Panics\n\nPanics if `self.remaining()` is less than `buf.len()`.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4420":{"id":4420,"crate_id":0,"name":"spawn_blocking","span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[189,5],"end":[195,6]},"visibility":"public","docs":"Runs the provided function on a thread from a dedicated blocking thread pool.\n\nThis function _will_ be run on another thread.\n\nSee the [documentation in the non-local runtime][Runtime] for more\ninformation.\n\n[Runtime]: crate::runtime::Runtime::spawn_blocking\n\n# Examples\n\n```\nuse tokio::runtime::LocalRuntime;\n\n# fn dox() {\n// Create the runtime\nlet rt = LocalRuntime::new().unwrap();\n\n// Spawn a blocking function onto the runtime\nrt.spawn_blocking(|| {\n    println!(\"now running on a worker thread\");\n});\n# }\n```","links":{"crate::runtime::Runtime::spawn_blocking":4363},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["func",{"generic":"F"}]],"output":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"R"}}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6509":{"id":6509,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[171,1],"end":[171,87]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"write_guard_mapped::RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4747":{"id":4747,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[617,32],"end":[617,45]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#1248) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"runtime::RuntimeFlavor","name":"RuntimeFlavor","id":4280,"is_glob":false}}},"1223":{"id":1223,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6836":{"id":6836,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3312":{"id":3312,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2593,45],"end":[2593,49]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["hash_slice"],"trait":{"path":"Hash","id":2985,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[3311],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1550":{"id":1550,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_seek_ext.rs","begin":[96,1],"end":[96,50]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"S","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncSeek","id":199,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["seek","rewind","stream_position"],"trait":{"path":"AsyncSeekExt","id":238,"args":null},"for":{"generic":"S"},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5074":{"id":5074,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[289,21],"end":[289,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7163":{"id":7163,"crate_id":0,"name":null,"span":{"filename":"src/task/join_set.rs","begin":[597,1],"end":[601,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7162],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5401":{"id":5401,"crate_id":0,"name":"is_empty","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[526,5],"end":[528,6]},"visibility":"public","docs":"Checks if a channel is empty.\n\nThis method returns `true` if the channel has no messages.\n\n# Examples\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = mpsc::channel(10);\nassert!(rx.is_empty());\n\ntx.send(0).await.unwrap();\nassert!(!rx.is_empty());\n# }\n\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7490":{"id":7490,"crate_id":0,"name":null,"span":{"filename":"src/time/sleep.rs","begin":[223,14],"end":[223,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[7489],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3966":{"id":3966,"crate_id":0,"name":"event_interval","span":{"filename":"src/runtime/builder.rs","begin":[1229,5],"end":[1233,6]},"visibility":"public","docs":"Sets the number of scheduler ticks after which the scheduler will poll for\nexternal events (timers, I/O, and so on).\n\nA scheduler \"tick\" roughly corresponds to one `poll` invocation on a task.\n\nBy default, the event interval is `61` for all scheduler types.\n\nSetting the event interval determines the effective \"priority\" of delivering\nthese external events (which may wake up additional tasks), compared to\nexecuting tasks that are currently ready to run. A smaller value is useful\nwhen tasks frequently spend a long time in polling, or infrequently yield,\nwhich can result in overly long delays picking up I/O events. Conversely,\npicking up new events requires extra synchronization and syscall overhead,\nso if tasks generally complete their polling quickly, a higher event interval\nwill minimize that overhead while still keeping the scheduler responsive to\nevents.\n\n# Panics\n\nThis function will panic if 0 is passed as an argument.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n# use tokio::runtime;\n# pub fn main() {\nlet rt = runtime::Builder::new_multi_thread()\n    .event_interval(31)\n    .build();\n# }\n# }\n```","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["val",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2204":{"id":2204,"crate_id":0,"name":"keepalive","span":{"filename":"src/net/tcp/socket.rs","begin":[199,5],"end":[201,6]},"visibility":"public","docs":"Gets the value of the `SO_KEEPALIVE` option on this socket.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"bool"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5728":{"id":5728,"crate_id":0,"name":"try_map","span":{"filename":"src/sync/mutex.rs","begin":[918,5],"end":[935,6]},"visibility":"public","docs":"Attempts to make a new [`MappedMutexGuard`] for a component of the locked data. The\noriginal guard is returned if the closure returns `None`.\n\nThis operation cannot fail as the [`MutexGuard`] passed in already locked the mutex.\n\nThis is an associated function that needs to be used as `MutexGuard::try_map(...)`. A\nmethod would interfere with methods of the same name on the contents of the locked data.\n\n# Examples\n\n```\nuse tokio::sync::{Mutex, MutexGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet foo = Mutex::new(Foo(1));\n\n{\n    let mut mapped = MutexGuard::try_map(foo.lock().await, |f| Some(&mut f.0))\n        .expect(\"should not fail\");\n    *mapped = 2;\n}\n\nassert_eq!(Foo(2), *foo.lock().await);\n# }\n```\n\n[`MutexGuard`]: struct@MutexGuard\n[`MappedMutexGuard`]: struct@MappedMutexGuard","links":{"struct@MappedMutexGuard":5726,"struct@MutexGuard":5686},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"U"}}],"constraints":[]}}}}},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4293":{"id":4293,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"769":{"id":769,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/util/buf_reader.rs","begin":[262,5],"end":[268,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2531":{"id":2531,"crate_id":0,"name":"try_send_to","span":{"filename":"src/net/udp.rs","begin":[1272,5],"end":[1276,6]},"visibility":"public","docs":"Tries to send data on the socket to the given address, but if the send is\nblocked this will return right away.\n\nThis function is usually paired with `writable()`.\n\n# Returns\n\nIf successful, returns the number of bytes sent\n\nUsers should ensure that when the remote cannot receive, the\n[`ErrorKind::WouldBlock`] is properly handled. An error can also occur\nif the IP version of the socket does not match that of `target`.\n\n[`ErrorKind::WouldBlock`]: std::io::ErrorKind::WouldBlock\n\n# Example\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n\n    let dst = \"127.0.0.1:8081\".parse()?;\n\n    loop {\n        socket.writable().await?;\n\n        match socket.try_send_to(&b\"hello world\"[..], dst) {\n            Ok(sent) => {\n                println!(\"sent {} bytes\", sent);\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                // Writable false positive.\n                continue;\n            }\n            Err(e) => return Err(e.into()),\n        }\n    }\n\n    Ok(())\n}\n```","links":{"std::io::ErrorKind::WouldBlock":1116},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}],["target",{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4620":{"id":4620,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6382":{"id":6382,"crate_id":0,"name":"deref_mut","span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[194,5],"end":[196,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1096":{"id":1096,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6709":{"id":6709,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[382,1],"end":[386,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6708],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4947":{"id":4947,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"1423":{"id":1423,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3185":{"id":3185,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5274":{"id":5274,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3512":{"id":3512,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1504,1],"end":[1517,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[3510],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7036":{"id":7036,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"7363":{"id":7363,"crate_id":0,"name":"eq","span":{"filename":"src/time/instant.rs","begin":[33,27],"end":[33,36]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Instant","id":7328,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5601":{"id":5601,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2077":{"id":2077,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[207,1],"end":[207,44]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::async_buf_read::AsyncBufRead","name":"AsyncBufRead","id":538,"is_glob":false}}},"315":{"id":315,"crate_id":0,"name":"write","span":{"filename":"src/fs/open_options.rs","begin":[212,5],"end":[229,6]},"visibility":"public","docs":"Sets the option for write access.\n\nThis option, when true, will indicate that the file should be\n`write`-able if opened.\n\nThis is an async version of [`std::fs::OpenOptions::write`][std]\n\n[std]: std::fs::OpenOptions::write\n\n# Examples\n\n```no_run\nuse tokio::fs::OpenOptions;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let file = OpenOptions::new()\n        .write(true)\n        .open(\"foo.txt\")\n        .await?;\n\n    Ok(())\n}\n```","links":{"std::fs::OpenOptions::write":314},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["write",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4166":{"id":4166,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2404":{"id":2404,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split_owned.rs","begin":[452,1],"end":[458,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[2403],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"642":{"id":642,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/stream.rs","begin":[1027,1],"end":[1035,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[641],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6255":{"id":6255,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2731":{"id":2731,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"969":{"id":969,"crate_id":0,"name":null,"span":{"filename":"src/io/interest.rs","begin":[270,1],"end":[277,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"BitOr","id":970,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[967,968],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4493":{"id":4493,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4820":{"id":4820,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3058":{"id":3058,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/pipe.rs","begin":[833,1],"end":[837,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[3057],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1296":{"id":1296,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6582":{"id":6582,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5147":{"id":5147,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1623":{"id":1623,"crate_id":0,"name":"buffer","span":{"filename":"src/io/util/buf_reader.rs","begin":[87,5],"end":[89,6]},"visibility":"public","docs":"Returns a reference to the internally buffered data.\n\nUnlike `fill_buf`, this will not attempt to fill the buffer if it is empty.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5474":{"id":5474,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3712":{"id":3712,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/task/error.rs","begin":[136,5],"end":[152,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1950":{"id":1950,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7236":{"id":7236,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[278,36],"end":[278,45]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"crate::runtime::task::JoinError","name":"JoinError","id":3686,"is_glob":false}}},"7563":{"id":7563,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5801":{"id":5801,"crate_id":0,"name":"try_map","span":{"filename":"src/sync/mutex.rs","begin":[1232,5],"end":[1248,6]},"visibility":"public","docs":"Attempts to make a new [`MappedMutexGuard`] for a component of the locked data. The\noriginal guard is returned if the closure returns `None`.\n\nThis operation cannot fail as the [`MappedMutexGuard`] passed in already locked the mutex.\n\nThis is an associated function that needs to be used as `MappedMutexGuard::try_map(...)`. A\nmethod would interfere with methods of the same name on the contents of the locked data.\n\n[`MappedMutexGuard`]: struct@MappedMutexGuard","links":{"struct@MappedMutexGuard":5726},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"U"}}],"constraints":[]}}}}},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2277":{"id":2277,"crate_id":0,"name":"try_read","span":{"filename":"src/net/tcp/split.rs","begin":[209,5],"end":[211,6]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffer, returning how\nmany bytes were read.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: Self::readable()\n[`ready()`]: Self::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. If `n` is `0`, then it can indicate one of two scenarios:\n\n1. The stream's read half is closed and will no longer yield data.\n2. The specified buffer was 0 bytes in length.\n\nIf the stream is not ready to read data,\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::ready()":2280,"Self::readable()":2278},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4039":{"id":4039,"crate_id":0,"name":null,"span":{"filename":"src/runtime/builder.rs","begin":[164,21],"end":[164,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[4038],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6128":{"id":6128,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4366":{"id":4366,"crate_id":0,"name":null,"span":{"filename":"src/runtime/runtime.rs","begin":[131,1],"end":[498,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[4360,4264,4362,4363,3968,1054,4275,4274,4365],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"842":{"id":842,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split_owned.rs","begin":[372,1],"end":[407,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[837,838,839,840,841],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6455":{"id":6455,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"Deref","id":550,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Target","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Receiver","id":1075,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1073],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"P"}}}},"2931":{"id":2931,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1169":{"id":1169,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[933,1],"end":[937,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1168],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4693":{"id":4693,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram.rs","begin":[56,21],"end":[56,25]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6782":{"id":6782,"crate_id":0,"name":"borrow_and_update","span":{"filename":"src/sync/watch.rs","begin":[676,5],"end":[688,6]},"visibility":"public","docs":"Returns a reference to the most recently sent value and marks that value\nas seen.\n\nThis method marks the current value as seen. Subsequent calls to [`changed`]\nwill not return immediately until the [`Sender`] has modified the shared\nvalue again.\n\nOutstanding borrows hold a read lock on the inner value. This means that\nlong-lived borrows could cause the producer half to block. It is recommended\nto keep the borrow as short-lived as possible. Additionally, if you are\nrunning in an environment that allows `!Send` futures, you must ensure that\nthe returned `Ref` type is never held alive across an `.await` point,\notherwise, it can lead to a deadlock.\n\nThe priority policy of the lock is dependent on the underlying lock\nimplementation, and this type does not guarantee that any particular policy\nwill be used. In particular, a producer which is waiting to acquire the lock\nin `send` might or might not block concurrent calls to `borrow`, e.g.:\n\n<details><summary>Potential deadlock example</summary>\n\n```text\n// Task 1 (on thread A)                |  // Task 2 (on thread B)\nlet _ref1 = rx1.borrow_and_update();   |\n                                       |  // will block\n                                       |  let _ = tx.send(());\n// may deadlock                        |\nlet _ref2 = rx2.borrow_and_update();   |\n```\n</details>\n\nFor more information on when to use this method versus [`borrow`], see\n[here](self#borrow_and_update-versus-borrow).\n\n[`changed`]: Receiver::changed\n[`borrow`]: Receiver::borrow","links":{"Receiver::changed":6781,"`Sender`":6778,"Receiver::borrow":6784,"self#borrow_and_update-versus-borrow":6783},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1496":{"id":1496,"crate_id":0,"name":"ReadExact","span":{"filename":"src/io/util/read_exact.rs","begin":[27,1],"end":[41,2]},"visibility":"public","docs":"Creates a future which will read exactly enough bytes to fill `buf`,\nreturning an error if EOF is hit sooner.\n\nOn success the number of bytes is returned","links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"A","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"3258":{"id":3258,"crate_id":0,"name":"pipe_mode","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2457,5],"end":[2460,6]},"visibility":"public","docs":"The pipe mode.\n\nThe default pipe mode is [`PipeMode::Byte`]. See [`PipeMode`] for\ndocumentation of what each mode means.","links":{"`PipeMode`":3211,"`PipeMode::Byte`":3210},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["pipe_mode",{"resolved_path":{"path":"PipeMode","id":3211,"args":null}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7109":{"id":7109,"crate_id":0,"name":null,"span":{"filename":"src/task/task_local.rs","begin":[296,1],"end":[343,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'__pin","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"resolved_path":{"path":"$crate::__private::PinnedFieldsOf","id":1463,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"__Origin","id":7110,"args":{"angle_bracketed":{"args":[{"lifetime":"'__pin"},{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}}}],"constraints":[]}}}},"bounds":[{"trait_bound":{"trait":{"path":"$crate::__private::Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3585":{"id":3585,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1717,5],"end":[1717,30]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[3584],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1823":{"id":1823,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5347":{"id":5347,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7436":{"id":7436,"crate_id":0,"name":"poll_tick","span":{"filename":"src/time/interval.rs","begin":[457,5],"end":[489,6]},"visibility":"public","docs":"Polls for the next instant in the interval to be reached.\n\nThis method can return the following values:\n\n * `Poll::Pending` if the next instant has not yet been reached.\n * `Poll::Ready(instant)` if the next instant has been reached.\n\nWhen this method returns `Poll::Pending`, the current task is scheduled\nto receive a wakeup when the instant has elapsed. Note that on multiple\ncalls to `poll_tick`, only the [`Waker`](std::task::Waker) from the\n[`Context`] passed to the most recent call is scheduled to receive a\nwakeup.","links":{"`Context`":251,"std::task::Waker":1128},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Instant","id":7328,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5674":{"id":5674,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/mod.rs","begin":[130,5],"end":[130,22]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::unbounded::unbounded_channel","name":"unbounded_channel","id":5432,"is_glob":false}}},"388":{"id":388,"crate_id":0,"name":"DirEntry","span":{"filename":"src/fs/read_dir.rs","begin":[200,1],"end":[212,2]},"visibility":"public","docs":"Entries returned by the [`ReadDir`] stream.\n\n[`ReadDir`]: struct@ReadDir\n\nThis is a specialized version of [`std::fs::DirEntry`] for usage from the\nTokio runtime.\n\nAn instance of `DirEntry` represents an entry inside of a directory on the\nfilesystem. Each entry can be inspected via methods to learn about the full\npath or possibly other metadata through per-platform extension traits.","links":{"struct@ReadDir":386,"`std::fs::DirEntry`":414},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[416,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,441]}}},"6001":{"id":6001,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2477":{"id":2477,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"715":{"id":715,"crate_id":0,"name":null,"span":{"filename":"src/io/async_write.rs","begin":[219,1],"end":[251,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"DerefMut","id":549,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"qualified_path":{"name":"Target","args":null,"self_type":{"generic":"P"},"trait":{"path":"","id":550,"args":null}}},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"std::pin::Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"generic":"P"}}],"constraints":[]}}}},"items":[710,711,712,713,714],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6328":{"id":6328,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4566":{"id":4566,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[19,17],"end":[19,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2804":{"id":2804,"crate_id":0,"name":"writable","span":{"filename":"src/net/unix/split_owned.rs","begin":[311,5],"end":[313,6]},"visibility":"public","docs":"Waits for the socket to become writable.\n\nThis function is equivalent to `ready(Interest::WRITABLE)` and is usually\npaired with `try_write()`.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4893":{"id":4893,"crate_id":0,"name":null,"span":{"filename":"src/signal/windows.rs","begin":[278,1],"end":[338,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[4891,4892],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3131":{"id":3131,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1369":{"id":1369,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6655":{"id":6655,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6982":{"id":6982,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1696":{"id":1696,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_writer.rs","begin":[41,1],"end":[116,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[1689,1690,1691,1692,1693,1694,1695],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3458":{"id":3458,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5547":{"id":5547,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3785":{"id":3785,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/abort.rs","begin":[78,1],"end":[78,36]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7309":{"id":7309,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7636":{"id":7636,"crate_id":0,"name":"pin","span":{"filename":"src/macros/pin.rs","begin":[125,1],"end":[144,2]},"visibility":"public","docs":"Pins a value on the stack.\n\nCalls to `async fn` return anonymous [`Future`] values that are `!Unpin`.\nThese values must be pinned before they can be polled. Calling `.await` will\nhandle this, but consumes the future. If it is required to call `.await` on\na `&mut _` reference, the caller is responsible for pinning the future.\n\nPinning may be done by allocating with [`Box::pin`] or by using the stack\nwith the `pin!` macro.\n\nThe following will **fail to compile**:\n\n```compile_fail\nasync fn my_async_fn() {\n    // async logic here\n}\n\n#[tokio::main]\nasync fn main() {\n    let mut future = my_async_fn();\n    (&mut future).await;\n}\n```\n\nTo make this work requires pinning:\n\n```\nuse tokio::pin;\n\nasync fn my_async_fn() {\n    // async logic here\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet future = my_async_fn();\npin!(future);\n\n(&mut future).await;\n# }\n```\n\nPinning is useful when using `select!` and stream operators that require `T:\nStream + Unpin`.\n\n[`Future`]: trait@std::future::Future\n[`Box::pin`]: std::boxed::Box::pin\n\n# Usage\n\nThe `pin!` macro takes **identifiers** as arguments. It does **not** work\nwith expressions.\n\nThe following does not compile as an expression is passed to `pin!`.\n\n```compile_fail\nasync fn my_async_fn() {\n    // async logic here\n}\n\n#[tokio::main]\nasync fn main() {\n    let mut future = pin!(my_async_fn());\n    (&mut future).await;\n}\n```\n\n# Examples\n\nUsing with select:\n\n```\nuse tokio::{pin, select};\nuse tokio_stream::{self as stream, StreamExt};\n\nasync fn my_async_fn() {\n    // async logic here\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut stream = stream::iter(vec![1, 2, 3, 4]);\n\nlet future = my_async_fn();\npin!(future);\n\nloop {\n    select! {\n        _ = &mut future => {\n            // Stop looping `future` will be polled after completion\n            break;\n        }\n        Some(val) = stream.next() => {\n            println!(\"got value = {}\", val);\n        }\n    }\n}\n# }\n```\n\nBecause assigning to a variable followed by pinning is common, there is also\na variant of the macro that supports doing both in one go.\n\n```\nuse tokio::{pin, select};\n\nasync fn my_async_fn() {\n    // async logic here\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\npin! {\n    let future1 = my_async_fn();\n    let future2 = my_async_fn();\n}\n\nselect! {\n    _ = &mut future1 => {}\n    _ = &mut future2 => {}\n}\n# }\n```","links":{"std::boxed::Box::pin":7635,"trait@std::future::Future":520},"attrs":["macro_export"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"macro":"macro_rules! pin {\n    ($($x:ident),*) => { ... };\n    ($(\n            let $x:ident = $init:expr;\n    )*) => { ... };\n}"}},"5874":{"id":5874,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2350":{"id":2350,"crate_id":0,"name":"local_addr","span":{"filename":"src/net/tcp/split_owned.rs","begin":[328,5],"end":[330,6]},"visibility":"public","docs":"Returns the local address that this stream is bound to.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"588":{"id":588,"crate_id":0,"name":null,"span":{"filename":"src/io/async_read.rs","begin":[74,1],"end":[76,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"Box","id":542,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[587],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4112":{"id":4112,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/dump.rs","begin":[29,10],"end":[29,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6201":{"id":6201,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4439":{"id":4439,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2677":{"id":2677,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"915":{"id":915,"crate_id":0,"name":"advance_mut","span":{"filename":"src/io/read_buf.rs","begin":[285,5],"end":[290,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cnt",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6528":{"id":6528,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3004":{"id":3004,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1242":{"id":1242,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5093":{"id":5093,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3331":{"id":3331,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1569":{"id":1569,"crate_id":0,"name":"write_i16","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes a signed 16-bit integer in big-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_i16(&mut self, n: i16) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite signed 16-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_i16(193).await?;\nwriter.write_i16(-132).await?;\n\nassert_eq!(writer, b\"\\x00\\xc1\\xff\\x7c\");\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"i16"}]],"output":{"resolved_path":{"path":"WriteI16","id":1570,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6855":{"id":6855,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[1458,1],"end":[1465,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6854],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7182":{"id":7182,"crate_id":0,"name":"spawn_local_on","span":{"filename":"src/task/join_set.rs","begin":[829,5],"end":[837,6]},"visibility":"public","docs":"Spawn the provided task on the provided [`LocalSet`] with this builder's\nsettings, and store it in the [`JoinSet`].\n\n# Returns\n\nAn [`AbortHandle`] that can be used to remotely cancel the task.\n\n[`LocalSet`]: crate::task::LocalSet\n[`AbortHandle`]: crate::task::AbortHandle","links":{"crate::task::AbortHandle":3723,"crate::task::LocalSet":3939,"`JoinSet`":3724},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["future",{"generic":"F"}],["local_set",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}}}}]],"output":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Output","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5420":{"id":5420,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5747":{"id":5747,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3985":{"id":3985,"crate_id":0,"name":"metrics_poll_count_histogram_resolution","span":{"filename":"src/runtime/builder.rs","begin":[1603,9],"end":[1612,10]},"visibility":"public","docs":"Sets the histogram resolution for tracking the distribution of task\npoll times.\n\nThe resolution is the histogram's first bucket's range. When using a\nlinear histogram scale, each bucket will cover the same range. When\nusing a log scale, each bucket will cover a range twice as big as\nthe previous bucket. In the log case, the resolution represents the\nsmallest bucket range.\n\nNote that, when using log scale, the resolution is rounded up to the\nnearest power of 2 in nanoseconds.\n\n**Default:** 100 microseconds.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime;\nuse std::time::Duration;\n\n# #[allow(deprecated)]\nlet rt = runtime::Builder::new_multi_thread()\n    .enable_metrics_poll_time_histogram()\n    .metrics_poll_count_histogram_resolution(Duration::from_micros(100))\n    .build()\n    .unwrap();\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1598) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":{"since":null,"note":"use `metrics_poll_time_histogram_configuration`"},"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["resolution",{"resolved_path":{"path":"Duration","id":2215,"args":null}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2223":{"id":2223,"crate_id":0,"name":"device","span":{"filename":"src/net/tcp/socket.rs","begin":[726,5],"end":[728,6]},"visibility":"public","docs":"Gets the value for the `SO_BINDTODEVICE` option on this socket\n\nThis value gets the socket binded device's interface name.","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"android\"), span: src/net/tcp/socket.rs:721:15: 721:36 (#0) }, NameValue { name: \"target_os\", value: Some(\"fuchsia\"), span: src/net/tcp/socket.rs:721:38: 721:59 (#0) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/net/tcp/socket.rs:721:61: 721:80 (#0) }], src/net/tcp/socket.rs:721:14: 721:82 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u8"}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7509":{"id":7509,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4312":{"id":4312,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2550":{"id":2550,"crate_id":0,"name":"multicast_ttl_v4","span":{"filename":"src/net/udp.rs","begin":[1938,5],"end":[1940,6]},"visibility":"public","docs":"Gets the value of the `IP_MULTICAST_TTL` option for this socket.\n\nFor more information about this option, see [`set_multicast_ttl_v4`].\n\n[`set_multicast_ttl_v4`]: method@Self::set_multicast_ttl_v4","links":{"method@Self::set_multicast_ttl_v4":2549},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u32"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"788":{"id":788,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/util/empty.rs","begin":[105,5],"end":[109,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6074":{"id":6074,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6401":{"id":6401,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/read_guard.rs","begin":[33,1],"end":[150,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6399,6400],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4639":{"id":4639,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[143,19],"end":[143,24]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1115":{"id":1115,"crate_id":0,"name":"writable","span":{"filename":"src/io/async_fd.rs","begin":[751,5],"end":[753,6]},"visibility":"public","docs":"Waits for the file descriptor to become writable, returning a\n[`AsyncFdReadyGuard`] that must be dropped to resume write-readiness\npolling.\n\nThis method takes `&self`, so it is possible to call this method\nconcurrently with other methods on this struct. This method only\nprovides shared access to the inner IO resource when handling the\n[`AsyncFdReadyGuard`].\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`AsyncFdReadyGuard`":1117},"attrs":[{"other":"#[allow(clippy::needless_lifetimes)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2877":{"id":2877,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4966":{"id":4966,"crate_id":0,"name":"OwnedNotified","span":{"filename":"src/sync/notify.rs","begin":[404,1],"end":[416,2]},"visibility":"public","docs":"Future returned from [`Notify::notified_owned()`].\n\nThis future is fused, so once it has completed, any future calls to poll\nwill immediately return `Poll::Ready`.","links":{"`Notify::notified_owned()`":5904},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5980,5981,5984,5986]}}},"6728":{"id":6728,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1442":{"id":1442,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5293":{"id":5293,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1769":{"id":1769,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[357,1],"end":[357,56]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["read_until","read_line","split","fill_buf","consume","lines"],"trait":{"path":"AsyncBufReadExt","id":537,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"3531":{"id":3531,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1481,10],"end":[1481,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"process\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[3530],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7382":{"id":7382,"crate_id":0,"name":"Output","span":{"filename":"src/time/instant.rs","begin":[180,5],"end":[180,28]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Duration","id":2215,"args":null}},"default_unstable":null}}},"3858":{"id":3858,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2096":{"id":2096,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[279,38],"end":[279,47]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"split::WriteHalf","name":"WriteHalf","id":762,"is_glob":false}}},"334":{"id":334,"crate_id":0,"name":null,"span":{"filename":"src/fs/open_options.rs","begin":[105,1],"end":[564,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[212,313,315,321,323,320,326,309],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5620":{"id":5620,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[81,21],"end":[81,23]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5947":{"id":5947,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2423":{"id":2423,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4185":{"id":4185,"crate_id":0,"name":"frames","span":{"filename":"src/runtime/dump.rs","begin":[164,5],"end":[166,6]},"visibility":"public","docs":"Return the frames in this backtrace, innermost (in a task dump,\nlikely to be a leaf future's poll function) first.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"impl_trait":[{"trait_bound":{"trait":{"path":"Iterator","id":2149,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Item","args":null,"binding":{"equality":{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}}}}}}}]}}},"generic_params":[],"modifier":"none"}}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4512":{"id":4512,"crate_id":0,"name":"global_queue_depth","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[100,5],"end":[102,6]},"visibility":"public","docs":"Returns the number of tasks currently scheduled in the runtime's\nglobal queue.\n\nTasks that are spawned or notified from a non-runtime thread are\nscheduled using the runtime's global queue. This metric returns the\n**current** number of tasks pending in the global queue. As such, the\nreturned value may increase or decrease as new tasks are scheduled and\nprocessed.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.global_queue_depth();\nprintln!(\"{} tasks currently pending in the runtime's global queue\", n);\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2750":{"id":2750,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"988":{"id":988,"crate_id":0,"name":"is_readable","span":{"filename":"src/io/ready.rs","begin":[127,5],"end":[129,6]},"visibility":"public","docs":"Returns `true` if the value includes `readable`.\n\n# Examples\n\n```\nuse tokio::io::Ready;\n\nassert!(!Ready::EMPTY.is_readable());\nassert!(Ready::READABLE.is_readable());\nassert!(Ready::READ_CLOSED.is_readable());\nassert!(!Ready::WRITABLE.is_readable());\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6274":{"id":6274,"crate_id":0,"name":"OwnedRwLockReadGuard","span":{"filename":"src/sync/rwlock/owned_read_guard.rs","begin":[15,1],"end":[23,2]},"visibility":"public","docs":"Owned RAII structure used to release the shared read access of a lock when\ndropped.\n\nThis structure is created by the [`read_owned`] method on\n[`RwLock`].\n\n[`read_owned`]: method@crate::sync::RwLock::read_owned\n[`RwLock`]: struct@crate::sync::RwLock","links":{"method@crate::sync::RwLock::read_owned":6272,"struct@crate::sync::RwLock":6273},"attrs":[{"other":"#[clippy::has_significant_drop]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":{"generic":"T"},"is_synthetic":false}}}],"where_predicates":[]},"impls":[6278,6279,6280,6281,6282,6283,6284,6285,6286,6287,6288,6289,6290,6291,6292,6293,6294,6297,6299,6301,6303,6304,6305]}}},"6601":{"id":6601,"crate_id":0,"name":"from","span":{"filename":"src/sync/once_cell.rs","begin":[116,5],"end":[122,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["value",{"generic":"T"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3077":{"id":3077,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1315":{"id":1315,"crate_id":0,"name":"as_raw_handle","span":{"filename":"src/io/stderr.rs","begin":[117,9],"end":[119,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawHandle","id":290,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5166":{"id":5166,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6928":{"id":6928,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1642":{"id":1642,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7255":{"id":7255,"crate_id":0,"name":"resume","span":{"filename":"src/time/clock.rs","begin":[180,5],"end":[196,6]},"visibility":"public","docs":"Resumes time.\n\nClears the saved `Instant::now()` value. Subsequent calls to\n`Instant::now()` will return the value returned by the system call.\n\n# Panics\n\nPanics if time is not frozen or if called from outside of the Tokio\nruntime.","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"test-util\"), span: src/macros/cfg.rs:567:19: 567:40 (#4294) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"test-util\"))]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5493":{"id":5493,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[697,1],"end":[701,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5492],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1969":{"id":1969,"crate_id":0,"name":"poll_next_segment","span":{"filename":"src/io/util/split.rs","begin":[89,5],"end":[110,6]},"visibility":"public","docs":"Polls for the next segment in the stream.\n\nThis method returns:\n\n * `Poll::Pending` if the next segment is not yet available.\n * `Poll::Ready(Ok(Some(segment)))` if the next segment is available.\n * `Poll::Ready(Ok(None))` if there are no more segments in this stream.\n * `Poll::Ready(Err(err))` if an IO error occurred while reading the\n   next segment.\n\nWhen the method returns `Poll::Pending`, the `Waker` in the provided\n`Context` is scheduled to receive a wakeup when more bytes become\navailable on the underlying IO resource.\n\nNote that on multiple calls to `poll_next_segment`, only the `Waker`\nfrom the `Context` passed to the most recent call is scheduled to\nreceive a wakeup.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u8"}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"207":{"id":207,"crate_id":0,"name":"open","span":{"filename":"src/fs/file.rs","begin":[157,5],"end":[159,6]},"visibility":"public","docs":"Attempts to open a file in read-only mode.\n\nSee [`OpenOptions`] for more details.\n\n# Errors\n\nThis function will return an error if called from outside of the Tokio\nruntime or if path does not already exist. Other errors may also be\nreturned according to `OpenOptions::open`.\n\n# Examples\n\n```no_run\nuse tokio::fs::File;\nuse tokio::io::AsyncReadExt;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut file = File::open(\"foo.txt\").await?;\n\nlet mut contents = vec![];\nfile.read_to_end(&mut contents).await?;\n\nprintln!(\"len = {}\", contents.len());\n# Ok(())\n# }\n```\n\nThe [`read_to_end`] method is defined on the [`AsyncReadExt`] trait.\n\n[`read_to_end`]: fn@crate::io::AsyncReadExt::read_to_end\n[`AsyncReadExt`]: trait@crate::io::AsyncReadExt","links":{"trait@crate::io::AsyncReadExt":202,"fn@crate::io::AsyncReadExt::read_to_end":206,"`OpenOptions`":205},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"File","id":204,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3731":{"id":3731,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5820":{"id":5820,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[263,1],"end":[263,83]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'a"}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4058":{"id":4058,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"534":{"id":534,"crate_id":0,"name":"poll_fill_buf","span":{"filename":"src/io/async_buf_read.rs","begin":[45,5],"end":[45,93]},"visibility":"default","docs":"Attempts to return the contents of the internal buffer, filling it with more data\nfrom the inner reader if it is empty.\n\nOn success, returns `Poll::Ready(Ok(buf))`.\n\nIf no data is available for reading, the method returns\n`Poll::Pending` and arranges for the current task (via\n`cx.waker().wake_by_ref()`) to receive a notification when the object becomes\nreadable or is closed.\n\nThis function is a lower-level call. It needs to be paired with the\n[`consume`] method to function properly. When calling this\nmethod, none of the contents will be \"read\" in the sense that later\ncalling [`poll_read`] may return the same contents. As such, [`consume`] must\nbe called with the number of bytes that are consumed from this buffer to\nensure that the bytes are never returned twice.\n\nAn empty buffer returned indicates that the stream has reached EOF.\n\n[`poll_read`]: AsyncRead::poll_read\n[`consume`]: AsyncBufRead::consume","links":{"AsyncRead::poll_read":533,"AsyncBufRead::consume":532},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"2296":{"id":2296,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6147":{"id":6147,"crate_id":0,"name":null,"span":{"filename":"src/sync/batch_semaphore.rs","begin":[51,28],"end":[51,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4385":{"id":4385,"crate_id":0,"name":null,"span":{"filename":"src/runtime/runtime.rs","begin":[519,1],"end":[519,43]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"861":{"id":861,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[901,1],"end":[925,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[857,858,859,860],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4712":{"id":4712,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1188":{"id":1188,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2950":{"id":2950,"crate_id":0,"name":"uid","span":{"filename":"src/net/unix/ucred.rs","begin":[16,5],"end":[18,6]},"visibility":"public","docs":"Gets UID (user ID) of the process.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"unix::uid_t","id":2951,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6801":{"id":6801,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3277":{"id":3277,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1515":{"id":1515,"crate_id":0,"name":"read_i128","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an signed 128-bit integer in big-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_i128(&mut self) -> io::Result<i128>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead signed 128-bit big-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![\n    0x80, 0, 0, 0, 0, 0, 0, 0,\n    0, 0, 0, 0, 0, 0, 0, 0\n]);\n\nassert_eq!(i128::MIN, reader.read_i128().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadI128","id":1516,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5039":{"id":5039,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7128":{"id":7128,"crate_id":0,"name":"spawn_on","span":{"filename":"src/task/join_set.rs","begin":[161,5],"end":[168,6]},"visibility":"public","docs":"Spawn the provided task on the provided runtime and store it in this\n`JoinSet` returning an [`AbortHandle`] that can be used to remotely\ncancel the task.\n\nThe provided future will start running in the background immediately\nwhen this method is called, even if you don't await anything on this\n`JoinSet`.\n\n[`AbortHandle`]: crate::task::AbortHandle","links":{"crate::task::AbortHandle":3723},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["task",{"generic":"F"}],["handle",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Handle","id":4265,"args":null}}}}]],"output":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Output","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3604":{"id":3604,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7455":{"id":7455,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5693":{"id":5693,"crate_id":0,"name":"lock_owned","span":{"filename":"src/sync/mutex.rs","begin":[618,5],"end":[653,6]},"visibility":"public","docs":"Locks this mutex, causing the current task to yield until the lock has\nbeen acquired. When the lock has been acquired, this returns an\n[`OwnedMutexGuard`].\n\nIf the mutex is available to be acquired immediately, then this call\nwill typically not yield to the runtime. However, this is not guaranteed\nunder all circumstances.\n\nThis method is identical to [`Mutex::lock`], except that the returned\nguard references the `Mutex` with an [`Arc`] rather than by borrowing\nit. Therefore, the `Mutex` must be wrapped in an `Arc` to call this\nmethod, and the guard will live for the `'static` lifetime, as it keeps\nthe `Mutex` alive by holding an `Arc`.\n\n# Cancel safety\n\nThis method uses a queue to fairly distribute locks in the order they\nwere requested. Cancelling a call to `lock_owned` makes you lose your\nplace in the queue.\n\n# Examples\n\n```\nuse tokio::sync::Mutex;\nuse std::sync::Arc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mutex = Arc::new(Mutex::new(1));\n\nlet mut n = mutex.clone().lock_owned().await;\n*n = 2;\n# }\n```\n\n[`Arc`]: std::sync::Arc","links":{"std::sync::Arc":2509,"`OwnedMutexGuard`":5691,"`Mutex::lock`":5685},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2169":{"id":2169,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"407":{"id":407,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6020":{"id":6020,"crate_id":0,"name":"Empty","span":{"filename":"src/sync/oneshot.rs","begin":[354,9],"end":[354,14]},"visibility":"default","docs":"The send half of the channel has not yet sent a value.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"4258":{"id":4258,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"734":{"id":734,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/async_write.rs","begin":[361,5],"end":[367,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2496":{"id":2496,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/mod.rs","begin":[10,27],"end":[10,36]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"split::WriteHalf","name":"WriteHalf","id":816,"is_glob":false}}},"4585":{"id":4585,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2823":{"id":2823,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1061":{"id":1061,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"E","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"E"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6347":{"id":6347,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[442,5],"end":[444,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6674":{"id":6674,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[111,1],"end":[115,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6673],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4912":{"id":4912,"crate_id":0,"name":"ctrl_shutdown","span":{"filename":"src/signal/windows.rs","begin":[359,1],"end":[363,2]},"visibility":"public","docs":"Creates a new listener which receives \"ctrl-shutdown\" notifications sent to the\nprocess.\n\n# Examples\n\n```rust,no_run\nuse tokio::signal::windows::ctrl_shutdown;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    // A listener of CTRL-SHUTDOWN events.\n    let mut signal = ctrl_shutdown()?;\n\n    signal.recv().await;\n    println!(\"got CTRL-SHUTDOWN. Cleaning up before exiting\");\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1388":{"id":1388,"crate_id":0,"name":null,"span":{"filename":"src/io/split.rs","begin":[69,1],"end":[100,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1386,1387],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3150":{"id":3150,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[104,10],"end":[104,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[3149],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5239":{"id":5239,"crate_id":0,"name":"send","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1721,5],"end":[1728,6]},"visibility":"public","docs":"Sends a value using the reserved capacity.\n\nCapacity for the message has already been reserved. The message is sent\nto the receiver and the permit is consumed. The operation will succeed\neven if the receiver half has been closed. See [`Receiver::close`] for\nmore details on performing a clean shutdown.\n\n[`Receiver::close`]: Receiver::close\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(1);\n\n// Reserve capacity\nlet permit = tx.reserve().await.unwrap();\n\n// Trying to send directly on the `tx` will fail due to no\n// available capacity.\nassert!(tx.try_send(123).is_err());\n\n// Send a message on the permit\npermit.send(456);\n\n// The value sent on the permit is received\nassert_eq!(rx.recv().await.unwrap(), 456);\n# }\n```","links":{"Receiver::close":5225},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["value",{"generic":"T"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3477":{"id":3477,"crate_id":0,"name":"stderr","span":{"filename":"src/process/mod.rs","begin":[1212,5],"end":[1212,36]},"visibility":"public","docs":"The handle for reading from the child's standard error (stderr), if it\nhas been captured. You might find it helpful to do\n\n```no_run\n# let mut child = tokio::process::Command::new(\"echo\").spawn().unwrap();\nlet stderr = child.stderr.take().unwrap();\n```\n\nto avoid partially moving the `child` and thus blocking yourself from calling\nfunctions on `child` while using `stderr`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}}}],"constraints":[]}}}}}},"1715":{"id":1715,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7001":{"id":7001,"crate_id":0,"name":"block_on","span":{"filename":"src/task/local.rs","begin":[673,5],"end":[678,6]},"visibility":"public","docs":"Runs a future to completion on the provided runtime, driving any local\nfutures spawned on this task set on the current thread.\n\nThis runs the given future on the runtime, blocking until it is\ncomplete, and yielding its resolved result. Any tasks or timers which\nthe future spawns internally will be executed on the runtime. The future\nmay also call [`spawn_local`] to `spawn_local` additional local futures on the\ncurrent thread.\n\nThis method should not be called from an asynchronous context.\n\n# Panics\n\nThis function panics if the executor is at capacity, if the provided\nfuture panics, or if called within an asynchronous execution context.\n\n# Notes\n\nSince this function internally calls [`Runtime::block_on`], and drives\nfutures in the local task set inside that call to `block_on`, the local\nfutures may not use [in-place blocking]. If a blocking call needs to be\nissued from a local task, the [`spawn_blocking`] API may be used instead.\n\nFor example, this will panic:\n```should_panic,ignore-wasm\nuse tokio::runtime::Runtime;\nuse tokio::task;\n\nlet rt  = Runtime::new().unwrap();\nlet local = task::LocalSet::new();\nlocal.block_on(&rt, async {\n    let join = task::spawn_local(async {\n        let blocking_result = task::block_in_place(|| {\n            // ...\n        });\n        // ...\n    });\n    join.await.unwrap();\n})\n```\nThis, however, will not panic:\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Runtime;\nuse tokio::task;\n\nlet rt  = Runtime::new().unwrap();\nlet local = task::LocalSet::new();\nlocal.block_on(&rt, async {\n    let join = task::spawn_local(async {\n        let blocking_result = task::spawn_blocking(|| {\n            // ...\n        }).await;\n        // ...\n    });\n    join.await.unwrap();\n})\n# }\n```\n\n[`spawn_local`]: fn@spawn_local\n[`Runtime::block_on`]: method@crate::runtime::Runtime::block_on\n[in-place blocking]: fn@crate::task::block_in_place\n[`spawn_blocking`]: fn@crate::task::spawn_blocking","links":{"fn@crate::task::spawn_blocking":379,"fn@spawn_local":4422,"method@crate::runtime::Runtime::block_on":3968,"fn@crate::task::block_in_place":4276},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/task/local.rs:671:11: 671:25 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[attr = TrackCaller]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["rt",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"crate::runtime::Runtime","id":3112,"args":null}}}}],["future",{"generic":"F"}]],"output":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":520,"args":null}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7328":{"id":7328,"crate_id":0,"name":"Instant","span":{"filename":"src/time/instant.rs","begin":[34,1],"end":[36,2]},"visibility":"public","docs":"A measurement of a monotonically nondecreasing clock.\nOpaque and useful only with `Duration`.\n\nInstants are always guaranteed to be no less than any previously measured\ninstant when created, and are often useful for tasks such as measuring\nbenchmarks or timing how long an operation takes.\n\nNote, however, that instants are not guaranteed to be **steady**. In other\nwords, each tick of the underlying clock may not be the same length (e.g.\nsome seconds may be longer than others). An instant may jump forwards or\nexperience time dilation (slow down or speed up), but it will never go\nbackwards.\n\nInstants are opaque types that can only be compared to one another. There is\nno method to get \"the number of seconds\" from an instant. Instead, it only\nallows measuring the duration between two instants (or comparing two\ninstants).\n\nThe size of an `Instant` struct may vary depending on the target operating\nsystem.\n\n# Note\n\nThis type wraps the inner `std` variant and is used to align the Tokio\nclock for uses of `now()`. This can be useful for testing where you can\ntake advantage of `time::pause()` and `time::advance()`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[7339,7340,7341,7342,7343,7344,7345,7346,7347,7348,7349,7350,7351,7352,7353,7354,7355,7356,7357,7359,7360,7361,7362,7364,7366,7368,7370,7372,7374,7377,7380,7384,7387,7389,7392]}}},"5566":{"id":5566,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[38,1],"end":[46,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5565],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3804":{"id":3804,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"280":{"id":280,"crate_id":0,"name":null,"span":{"filename":"src/fs/file.rs","begin":[915,1],"end":[921,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"},{"other":"#[attr = CfgTrace([NameValue { name: \"unix\", value: None, span: src/fs/file.rs:914:7: 914:11 (#0) }])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[278],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4131":{"id":4131,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2369":{"id":2369,"crate_id":0,"name":"fmt","span":{"filename":"src/net/tcp/split_owned.rs","begin":[34,10],"end":[34,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"607":{"id":607,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/util/buf_stream.rs","begin":[152,5],"end":[158,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6220":{"id":6220,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2696":{"id":2696,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/socket.rs","begin":[248,1],"end":[252,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[2695],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"934":{"id":934,"crate_id":0,"name":"is_priority","span":{"filename":"src/io/interest.rs","begin":[149,5],"end":[151,6]},"visibility":"public","docs":"Returns true if the value includes priority interest.\n\n# Examples\n\n```\nuse tokio::io::Interest;\n\nassert!(!Interest::READABLE.is_priority());\nassert!(Interest::PRIORITY.is_priority());\n\nlet both = Interest::READABLE | Interest::PRIORITY;\nassert!(both.is_priority());\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/io/interest.rs:147:15: 147:34 (#0) }, NameValue { name: \"target_os\", value: Some(\"android\"), span: src/io/interest.rs:147:36: 147:57 (#0) }], src/io/interest.rs:147:14: 147:58 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(target_os = \"linux\", target_os = \"android\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4458":{"id":4458,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4785":{"id":4785,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3023":{"id":3023,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/pipe.rs","begin":[282,1],"end":[286,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[3022],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1261":{"id":1261,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6547":{"id":6547,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[1109,1],"end":[1116,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Default","id":193,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6546],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6874":{"id":6874,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3350":{"id":3350,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5112":{"id":5112,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[325,21],"end":[325,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[5111],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5439":{"id":5439,"crate_id":0,"name":"same_channel","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[661,5],"end":[663,6]},"visibility":"public","docs":"Returns `true` if senders belong to the same channel.\n\n# Examples\n\n```\nlet (tx, rx) = tokio::sync::mpsc::unbounded_channel::<()>();\nlet  tx2 = tx.clone();\nassert!(tx.same_channel(&tx2));\n\nlet (tx3, rx3) = tokio::sync::mpsc::unbounded_channel::<()>();\nassert!(!tx3.same_channel(&tx2));\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7201":{"id":7201,"crate_id":0,"name":null,"span":{"filename":"src/task/join_set.rs","begin":[844,1],"end":[851,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/task/join_set.rs:842:11: 842:25 (#0) }, NameValue { name: \"feature\", value: Some(\"tracing\"), span: src/task/join_set.rs:842:27: 842:46 (#0) }], src/task/join_set.rs:842:10: 842:47 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, feature = \"tracing\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[7200],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"153":{"id":153,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1915":{"id":1915,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7528":{"id":7528,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[90,21],"end":[90,28]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"test-util\"), span: src/macros/cfg.rs:567:19: 567:40 (#4308) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"test-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"clock::advance","name":"advance","id":7253,"is_glob":false}}},"4004":{"id":4004,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2242":{"id":2242,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"480":{"id":480,"crate_id":0,"name":"symlink_dir","span":{"filename":"src/fs/symlink_dir.rs","begin":[14,1],"end":[19,2]},"visibility":"public","docs":"Creates a new directory symlink on the filesystem.\n\nThe `link` path will be a directory symbolic link pointing to the `original`\npath.\n\nThis is an async version of [`std::os::windows::fs::symlink_dir`][std]\n\n[std]: https://doc.rust-lang.org/std/os/windows/fs/fn.symlink_dir.html","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["original",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}],["link",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}},{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5766":{"id":5766,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1005,1],"end":[1144,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5763,5764,5765],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6093":{"id":6093,"crate_id":0,"name":"is_empty","span":{"filename":"src/sync/oneshot.rs","begin":[1082,5],"end":[1102,6]},"visibility":"public","docs":"Checks if a channel is empty.\n\nThis method returns `true` if the channel has no messages.\n\nIt is not necessarily safe to poll an empty receiver, which may have\nalready yielded a value. Use [`is_terminated()`][Self::is_terminated]\nto check whether or not a receiver can be safely polled, instead.\n\n# Examples\n\nSending a value.\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = oneshot::channel();\nassert!(rx.is_empty());\n\ntx.send(0).unwrap();\nassert!(!rx.is_empty());\n\nlet _ = (&mut rx).await;\nassert!(rx.is_empty());\n# }\n```\n\nDropping the sender.\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = oneshot::channel::<()>();\n\n// A channel is empty if the sender is dropped.\ndrop(tx);\nassert!(rx.is_empty());\n\n// A closed channel still yields an error, however.\n(&mut rx).await.expect_err(\"should yield an error\");\nassert!(rx.is_empty());\n# }\n```\n\nTerminated channels are empty.\n\n```should_panic,ignore-wasm\nuse tokio::sync::oneshot;\n\n#[tokio::main]\nasync fn main() {\n    let (tx, mut rx) = oneshot::channel();\n    tx.send(0).unwrap();\n    let _ = (&mut rx).await;\n\n    // NB: an empty channel is not necessarily safe to poll!\n    assert!(rx.is_empty());\n    let _ = (&mut rx).await;\n}\n```","links":{"Self::is_terminated":6092},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4331":{"id":4331,"crate_id":0,"name":"is_missing_context","span":{"filename":"src/runtime/handle.rs","begin":[711,5],"end":[713,6]},"visibility":"public","docs":"Returns true if the call failed because there is currently no runtime in\nthe Tokio context.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"807":{"id":807,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/util/sink.rs","begin":[73,5],"end":[77,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2569":{"id":2569,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4658":{"id":4658,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2896":{"id":2896,"crate_id":0,"name":"try_read","span":{"filename":"src/net/unix/stream.rs","begin":[364,5],"end":[368,6]},"visibility":"public","docs":"Try to read data from the stream into the provided buffer, returning how\nmany bytes were read.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: UnixStream::readable()\n[`ready()`]: UnixStream::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. If `n` is `0`, then it can indicate one of two scenarios:\n\n1. The stream's read half is closed and will no longer yield data.\n2. The specified buffer was 0 bytes in length.\n\nIf the stream is not ready to read data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::UnixStream;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let dir = tempfile::tempdir().unwrap();\n    let bind_path = dir.path().join(\"bind_path\");\n    let stream = UnixStream::connect(bind_path).await?;\n\n    loop {\n        // Wait for the socket to be readable\n        stream.readable().await?;\n\n        // Creating the buffer **after** the `await` prevents it from\n        // being stored in the async task.\n        let mut buf = [0; 4096];\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match stream.try_read(&mut buf) {\n            Ok(0) => break,\n            Ok(n) => {\n                println!(\"read {} bytes\", n);\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"UnixStream::readable()":2894,"UnixStream::ready()":2708},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1134":{"id":1134,"crate_id":0,"name":"clear_ready","span":{"filename":"src/io/async_fd.rs","begin":[969,5],"end":[973,6]},"visibility":"public","docs":"Indicates to tokio that the file descriptor is no longer ready. All\ninternal readiness flags will be cleared, and tokio will wait for the\nnext edge-triggered readiness notification from the OS.\n\nThis function is commonly used with guards returned by [`AsyncFd::readable`] and\n[`AsyncFd::writable`].\n\nIt is critical that this function not be called unless your code\n_actually observes_ that the file descriptor is _not_ ready. Do not call\nit simply because, for example, a read succeeded; it should be called\nwhen a read is observed to block.\n\nThis method only clears readiness events that happened before the creation of this guard.\nIn other words, if the IO resource becomes ready between the creation of the guard and\nthis call to `clear_ready`, then the readiness is not actually cleared.","links":{"`AsyncFd::writable`":1115,"`AsyncFd::readable`":1114},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6420":{"id":6420,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/read_guard.rs","begin":[152,1],"end":[158,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Deref","id":550,"args":null},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6418,6419],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6747":{"id":6747,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4985":{"id":4985,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1461":{"id":1461,"crate_id":0,"name":null,"span":{"filename":"src/io/join.rs","begin":[22,14],"end":[22,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[1460],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7074":{"id":7074,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3550":{"id":3550,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1519,1],"end":[1532,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[3548],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5312":{"id":5312,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7401":{"id":7401,"crate_id":0,"name":"Delay","span":{"filename":"src/time/interval.rs","begin":[283,5],"end":[283,10]},"visibility":"default","docs":"Tick at multiples of `period` from when [`tick`] was called, rather than\nfrom `start`.\n\nWhen this strategy is used and [`Interval`] has missed a tick, instead\nof scheduling ticks to fire at multiples of `period` from `start` (the\ntime when the first tick was fired), it schedules all future ticks to\nhappen at a regular `period` from the point when [`tick`] was called.\nUnlike [`Burst`] and [`Skip`], ticks are not shortened, and they aren't\nguaranteed to happen at a multiple of `period` from `start` any longer.\n\nThis looks something like this:\n```text\nExpected ticks: |     1     |     2     |     3     |     4     |     5     |     6     |\nActual ticks:   | work -----|          delay          | work -----| work -----| work -----|\n```\n\nIn code:\n\n```\nuse tokio::time::{interval, Duration, MissedTickBehavior};\n# async fn task_that_takes_more_than_50_millis() {}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut interval = interval(Duration::from_millis(50));\ninterval.set_missed_tick_behavior(MissedTickBehavior::Delay);\n\ntask_that_takes_more_than_50_millis().await;\n// The `Interval` has missed a tick\n\n// Since we have exceeded our timeout, this will resolve immediately\ninterval.tick().await;\n\n// But this one, rather than also resolving immediately, as might happen\n// with the `Burst` or `Skip` behaviors, will not resolve until\n// 50ms after the call to `tick` up above. That is, in `tick`, when we\n// recognize that we missed a tick, we schedule the next tick to happen\n// 50ms (or whatever the `period` is) from right then, not from when\n// were *supposed* to tick\ninterval.tick().await;\n# }\n```\n\n[`Burst`]: MissedTickBehavior::Burst\n[`Skip`]: MissedTickBehavior::Skip\n[`tick`]: Interval::tick","links":{"Interval::tick":7399,"`Interval`":7394,"MissedTickBehavior::Burst":7396,"MissedTickBehavior::Skip":7402},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"5639":{"id":5639,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2115":{"id":2115,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[287,42],"end":[287,47]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::Chain","name":"Chain","id":575,"is_glob":false}}},"353":{"id":353,"crate_id":2,"name":"clone_to_uninit","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":{"feature":"clone_to_uninit","level":"unstable"},"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["dest",{"raw_pointer":{"is_mutable":true,"type":{"primitive":"u8"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3877":{"id":3877,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4204":{"id":4204,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2442":{"id":2442,"crate_id":0,"name":"try_read","span":{"filename":"src/net/tcp/stream.rs","begin":[623,5],"end":[629,6]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffer, returning how\nmany bytes were read.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: TcpStream::readable()\n[`ready()`]: TcpStream::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. If `n` is `0`, then it can indicate one of two scenarios:\n\n1. The stream's read half is closed and will no longer yield data.\n2. The specified buffer was 0 bytes in length.\n\nIf the stream is not ready to read data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\n    loop {\n        // Wait for the socket to be readable\n        stream.readable().await?;\n\n        // Creating the buffer **after** the `await` prevents it from\n        // being stored in the async task.\n        let mut buf = [0; 4096];\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match stream.try_read(&mut buf) {\n            Ok(0) => break,\n            Ok(n) => {\n                println!(\"read {} bytes\", n);\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"TcpStream::readable()":2440,"TcpStream::ready()":2279},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"680":{"id":680,"crate_id":0,"name":"start_seek","span":{"filename":"src/io/util/buf_stream.rs","begin":[180,5],"end":[182,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["position",{"resolved_path":{"path":"SeekFrom","id":256,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5966":{"id":5966,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6293":{"id":6293,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2769":{"id":2769,"crate_id":0,"name":"ReuniteError","span":{"filename":"src/net/unix/split_owned.rs","begin":[88,1],"end":[88,64]},"visibility":"public","docs":"Error indicating that two halves were not from the same socket, and thus could\nnot be reunited.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[2833,2834]},"generics":{"params":[],"where_predicates":[]},"impls":[2835,2836,2837,2838,2839,2840,2841,2842,2843,2844,2845,2846,2847,2848,2849,2850,2851,2853,2855,2856]}}},"1007":{"id":1007,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4531":{"id":4531,"crate_id":0,"name":"worker_steal_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[733,9],"end":[739,10]},"visibility":"public","docs":"Returns the number of tasks the given worker thread stole from\nanother worker thread.\n\nThis metric only applies to the **multi-threaded** runtime and will\nalways return `0` when using the current thread runtime.\n\nThe worker steal count starts at zero when the runtime is created and\nincreases by `N` each time the worker has processed its scheduled queue\nand successfully steals `N` more pending tasks from another worker.\n\nThe counter is monotonically increasing. It is never decremented or\nreset to zero.\n\n# Arguments\n\n`worker` is the index of the worker being queried. The given value must\nbe between 0 and `num_workers()`. The index uniquely identifies a single\nworker and will continue to identify the worker throughout the lifetime\nof the runtime instance.\n\n# Panics\n\nThe method panics when `worker` represents an invalid worker, i.e. is\ngreater than or equal to `num_workers()`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.worker_steal_count(0);\nprintln!(\"worker 0 has stolen {} tasks\", n);\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/metrics/runtime.rs:578:13: 578:27 (#0) }, NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/runtime/metrics/runtime.rs:579:13: 579:37 (#0) }], src/runtime/metrics/runtime.rs:577:15: 580:10 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, target_has_atomic = \"64\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["worker",{"primitive":"usize"}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4858":{"id":4858,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3096":{"id":3096,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/pipe.rs","begin":[1470,1],"end":[1474,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[3095],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1334":{"id":1334,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6620":{"id":6620,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6947":{"id":6947,"crate_id":0,"name":"made_progress","span":{"filename":"src/task/coop/mod.rs","begin":[273,9],"end":[275,10]},"visibility":"public","docs":"Signals that the task that obtained this `RestoreOnPending` was able to make\nprogress. This prevents the task budget from being restored to the value\nit had prior to obtaining this instance when it is dropped.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5185":{"id":5185,"crate_id":0,"name":"drop","span":{"filename":"src/sync/broadcast.rs","begin":[1156,5],"end":[1158,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1661":{"id":1661,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"RW"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3423":{"id":3423,"crate_id":0,"name":"as_std_mut","span":{"filename":"src/process/mod.rs","begin":[329,5],"end":[331,6]},"visibility":"public","docs":"Cheaply convert to a `&mut std::process::Command` for places where the type from the\nstandard library is expected.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"StdCommand","id":3415,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5512":{"id":5512,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3750":{"id":3750,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/task/id.rs","begin":[31,23],"end":[31,28]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"226":{"id":226,"crate_id":0,"name":"set_max_buf_size","span":{"filename":"src/fs/file.rs","begin":[586,5],"end":[588,6]},"visibility":"public","docs":"Set the maximum buffer size for the underlying [`AsyncRead`] / [`AsyncWrite`] operation.\n\nAlthough Tokio uses a sensible default value for this buffer size, this function would be\nuseful for changing that default depending on the situation.\n\n# Examples\n\n```no_run\nuse tokio::fs::File;\nuse tokio::io::AsyncWriteExt;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut file = File::open(\"foo.txt\").await?;\n\n// Set maximum buffer size to 8 MiB\nfile.set_max_buf_size(8 * 1024 * 1024);\n\nlet mut buf = vec![1; 1024 * 1024 * 1024];\n\n// Write the 1 GiB buffer in chunks up to 8 MiB each.\nfile.write_all(&mut buf).await?;\n# Ok(())\n# }\n```","links":{"`AsyncWrite`":225,"`AsyncRead`":224},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["max_buf_size",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1988":{"id":1988,"crate_id":0,"name":null,"span":{"filename":"src/io/util/split.rs","begin":[10,1],"end":[26,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'__pin","kind":{"lifetime":{"outlives":[]}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"resolved_path":{"path":"$crate::__private::PinnedFieldsOf","id":1463,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"__Origin","id":1989,"args":{"angle_bracketed":{"args":[{"lifetime":"'__pin"},{"type":{"generic":"R"}}],"constraints":[]}}}}}],"constraints":[]}}}},"bounds":[{"trait_bound":{"trait":{"path":"$crate::__private::Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7274":{"id":7274,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5839":{"id":5839,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2315":{"id":2315,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split.rs","begin":[278,1],"end":[368,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[2311,2310,2309,2312,2313,2314],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"553":{"id":553,"crate_id":0,"name":null,"span":{"filename":"src/io/async_buf_read.rs","begin":[99,1],"end":[109,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncBufRead","id":538,"args":null},"for":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}},"items":[551,552],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4077":{"id":4077,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6166":{"id":6166,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4404":{"id":4404,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2642":{"id":2642,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"7601":{"id":7601,"crate_id":0,"name":"as_socket","span":{"filename":"src/doc/os.rs","begin":[65,13],"end":[65,55]},"visibility":"default","docs":"See [`std::os::windows::io::AsSocket::as_socket`](https://doc.rust-lang.org/std/os/windows/io/trait.AsSocket.html#tymethod.as_socket)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedSocket","id":2196,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":false,"default_unstable":null}}},"6493":{"id":6493,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"Deref","id":550,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Target","args":null,"binding":{"equality":{"type":{"generic":"T"}}}}]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Receiver","id":1075,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1073],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"P"}}}},"2969":{"id":2969,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1207":{"id":1207,"crate_id":0,"name":"get_mut","span":{"filename":"src/io/async_fd.rs","begin":[1357,5],"end":[1359,6]},"visibility":"public","docs":"Returns a mutable reference to the inner [`AsyncFd`].","links":{"`AsyncFd`":512},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Inner"}}],"constraints":[]}}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4731":{"id":4731,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/mod.rs","begin":[26,25],"end":[26,39]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[allow(unreachable_pub)]"},{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1731) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"histogram::HistogramScale","name":"HistogramScale","id":3981,"is_glob":false}}},"6820":{"id":6820,"crate_id":0,"name":"send_modify","span":{"filename":"src/sync/watch.rs","begin":[1104,5],"end":[1112,6]},"visibility":"public","docs":"Modifies the watched value **unconditionally** in-place,\nnotifying all receivers.\n\nThis can be useful for modifying the watched value, without\nhaving to allocate a new instance. Additionally, this\nmethod permits sending values even when there are no receivers.\n\nPrefer to use the more versatile function [`Self::send_if_modified()`]\nif the value is only modified conditionally during the mutable borrow\nto prevent unneeded change notifications for unmodified values.\n\n# Panics\n\nThis function panics when the invocation of the `modify` closure panics.\nNo receivers are notified when panicking. All changes of the watched\nvalue applied by the closure before panicking will be visible in\nsubsequent calls to `borrow`.\n\n# Examples\n\n```\nuse tokio::sync::watch;\n\nstruct State {\n    counter: usize,\n}\nlet (state_tx, state_rx) = watch::channel(State { counter: 0 });\nstate_tx.send_modify(|state| state.counter += 1);\nassert_eq!(state_rx.borrow().counter, 1);\n```","links":{"`Self::send_if_modified()`":6819},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["modify",{"generic":"F"}]],"output":null,"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":null}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5058":{"id":5058,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3296":{"id":3296,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7147":{"id":7147,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5385":{"id":5385,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1861":{"id":1861,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7474":{"id":7474,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5712":{"id":5712,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3950":{"id":3950,"crate_id":0,"name":"name","span":{"filename":"src/runtime/builder.rs","begin":[621,5],"end":[626,6]},"visibility":"public","docs":"Sets the name of the runtime.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n# use tokio::runtime;\n\n# pub fn main() {\nlet rt = runtime::Builder::new_multi_thread()\n    .name(\"my-runtime\")\n    .build();\n# }\n# }\n```\n# Panics\n\nThis function will panic if an empty value is passed as an argument.\n","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["val",{"impl_trait":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"String","id":448,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl Into<String>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"String","id":448,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"426":{"id":426,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2188":{"id":2188,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/listener.rs","begin":[412,5],"end":[416,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"super::TcpListener","id":2154,"args":null}},"items":[2187],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6039":{"id":6039,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2515":{"id":2515,"crate_id":0,"name":"peer_addr","span":{"filename":"src/net/udp.rs","begin":[320,5],"end":[322,6]},"visibility":"public","docs":"Returns the socket address of the remote peer this socket was connected to.\n\n# Example\n\n```\nuse tokio::net::UdpSocket;\n\n# use std::{io, net::SocketAddr};\n# #[tokio::main]\n# async fn main() -> io::Result<()> {\n# if cfg!(miri) { return Ok(()); } // No UDP sockets in miri.\nlet addr = \"0.0.0.0:8080\".parse::<SocketAddr>().unwrap();\nlet peer = \"127.0.0.1:11100\".parse::<SocketAddr>().unwrap();\nlet sock = UdpSocket::bind(addr).await?;\nsock.connect(peer).await?;\nassert_eq!(peer, sock.peer_addr()?);\n#    Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"753":{"id":753,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/stdout.rs","begin":[230,5],"end":[235,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4277":{"id":4277,"crate_id":0,"name":"time","span":{"filename":"src/time/mod.rs","begin":[1,1],"end":[110,29]},"visibility":"public","docs":"Utilities for tracking time.\n\nThis module provides a number of types for executing code after a set period\nof time.\n\n* [`Sleep`] is a future that does no work and completes at a specific [`Instant`]\n  in time.\n\n* [`Interval`] is a stream yielding a value at a fixed period. It is\n  initialized with a [`Duration`] and repeatedly yields each time the duration\n  elapses.\n\n* [`Timeout`]: Wraps a future or stream, setting an upper bound to the amount\n  of time it is allowed to execute. If the future or stream does not\n  complete in time, then it is canceled and an error is returned.\n\nThese types are sufficient for handling a large number of scenarios\ninvolving time.\n\nThese types must be used from within the context of the [`Runtime`](crate::runtime::Runtime).\n\n# Examples\n\nWait 100ms and print \"100 ms have elapsed\"\n\n```\nuse std::time::Duration;\nuse tokio::time::sleep;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nsleep(Duration::from_millis(100)).await;\nprintln!(\"100 ms have elapsed\");\n# }\n```\n\nRequire that an operation takes no more than 1s.\n\n```\nuse tokio::time::{timeout, Duration};\n\nasync fn long_future() {\n    // do work here\n}\n\n# async fn dox() {\nlet res = timeout(Duration::from_secs(1), long_future()).await;\n\nif res.is_err() {\n    println!(\"operation timed out\");\n}\n# }\n```\n\nA simple example using [`interval`] to execute a task every two seconds.\n\nThe difference between [`interval`] and [`sleep`] is that an [`interval`]\nmeasures the time since the last tick, which means that `.tick().await` may\nwait for a shorter time than the duration specified for the interval\nif some time has passed between calls to `.tick().await`.\n\nIf the tick in the example below was replaced with [`sleep`], the task\nwould only be executed once every three seconds, and not every two\nseconds.\n\n```\nuse tokio::time;\n\nasync fn task_that_takes_a_second() {\n    println!(\"hello\");\n    time::sleep(time::Duration::from_secs(1)).await\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut interval = time::interval(time::Duration::from_secs(2));\nfor _i in 0..5 {\n    interval.tick().await;\n    task_that_takes_a_second().await;\n}\n# }\n```\n\n[`interval`]: crate::time::interval()\n[`sleep`]: sleep()","links":{"`Instant`":7328,"crate::runtime::Runtime":3112,"sleep()":7256,"`Timeout`":7497,"crate::time::interval()":7400,"`Duration`":2215},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:583:19: 583:35 (#4292) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[7325,7528,7529,7530,7531,7532,7533,7534,7535,7536,7537,7538,7539,7540,7541,7542],"is_stripped":false}}},"6366":{"id":6366,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":{"generic":"T"},"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4604":{"id":4604,"crate_id":0,"name":"default","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[41,5],"end":[43,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1080":{"id":1080,"crate_id":0,"name":"deref","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[197,5],"end":[199,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"E"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2842":{"id":2842,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4931":{"id":4931,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3169":{"id":3169,"crate_id":0,"name":"try_io","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1638,5],"end":[1644,6]},"visibility":"public","docs":"Tries to read or write from the pipe using a user-provided IO operation.\n\nIf the pipe is ready, the provided closure is called. The closure\nshould attempt to perform IO operation from the pipe by manually\ncalling the appropriate syscall. If the operation fails because the\npipe is not actually ready, then the closure should return a\n`WouldBlock` error and the readiness flag is cleared. The return value\nof the closure is then returned by `try_io`.\n\nIf the pipe is not ready, then the closure is not called\nand a `WouldBlock` error is returned.\n\nThe closure should only return a `WouldBlock` error if it has performed\nan IO operation on the pipe that failed due to the pipe not being\nready. Returning a `WouldBlock` error in any other situation will\nincorrectly clear the readiness flag, which can cause the pipe to\nbehave incorrectly.\n\nThe closure should not perform the IO operation using any of the methods\ndefined on the Tokio `NamedPipeClient` type, as this will mess with the\nreadiness flag and can cause the pipe to behave incorrectly.\n\nThis method is not intended to be used with combined interests.\nThe closure should perform only one type of IO operation, so it should not\nrequire more than one ready state. This method may panic or sleep forever\nif it is called with a combined interest.\n\nUsually, [`readable()`], [`writable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: NamedPipeClient::readable()\n[`writable()`]: NamedPipeClient::writable()\n[`ready()`]: NamedPipeClient::ready()","links":{"NamedPipeClient::readable()":3160,"NamedPipeClient::ready()":3159,"NamedPipeClient::writable()":3165},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnOnce() -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1407":{"id":1407,"crate_id":0,"name":null,"span":{"filename":"src/io/split.rs","begin":[156,1],"end":[160,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1406],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6693":{"id":6693,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7020":{"id":7020,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5258":{"id":5258,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[752,1],"end":[1627,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5229,5231,5232,5234,5237,5238,5227,5242,5246,5247,5241,5250,5251,5253,5255,5252,5256,5257],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1734":{"id":1734,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3496":{"id":3496,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5585":{"id":5585,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3823":{"id":3823,"crate_id":0,"name":"Output","span":{"filename":"src/runtime/task/join.rs","begin":[325,5],"end":[325,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"resolved_path":{"path":"JoinError","id":3686,"args":null}}}],"constraints":[]}}}},"default_unstable":null}}},"2061":{"id":2061,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[46,50],"end":[46,63]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"mem::SimplexStream","name":"SimplexStream","id":620,"is_glob":false}}},"7347":{"id":7347,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"299":{"id":299,"crate_id":0,"name":"FromRawHandle","span":{"filename":"src/doc/os.rs","begin":[24,9],"end":[27,10]},"visibility":"public","docs":"See [`std::os::windows::io::FromRawHandle`](https://doc.rust-lang.org/std/os/windows/io/trait.FromRawHandle.html)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":false,"items":[7596],"generics":{"params":[],"where_predicates":[]},"bounds":[],"implementations":[298]}}},"5912":{"id":5912,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2388":{"id":2388,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"626":{"id":626,"crate_id":0,"name":"poll_read","span":{"filename":"src/net/tcp/split.rs","begin":[371,5],"end":[377,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4150":{"id":4150,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[49,17],"end":[49,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[4149],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4477":{"id":4477,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2715":{"id":2715,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"953":{"id":953,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6566":{"id":6566,"crate_id":0,"name":"set","span":{"filename":"src/sync/once_cell.rs","begin":[310,5],"end":[335,6]},"visibility":"public","docs":"Sets the value of the `OnceCell` to the given value if the `OnceCell` is\nempty.\n\nIf the `OnceCell` already has a value, this call will fail with an\n[`SetError::AlreadyInitializedError`].\n\nIf the `OnceCell` is empty, but some other task is currently trying to\nset the value, this call will fail with [`SetError::InitializingError`].\n\n[`SetError::AlreadyInitializedError`]: crate::sync::SetError::AlreadyInitializedError\n[`SetError::InitializingError`]: crate::sync::SetError::InitializingError","links":{"crate::sync::SetError::InitializingError":6565,"crate::sync::SetError::AlreadyInitializedError":6564},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["value",{"generic":"T"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3042":{"id":3042,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1280":{"id":1280,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[1435,1],"end":[1439,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"io::Error","id":262,"args":null}},"items":[1279],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4804":{"id":4804,"crate_id":0,"name":null,"span":{"filename":"src/signal/unix.rs","begin":[78,30],"end":[78,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["hash_slice"],"trait":{"path":"Hash","id":2985,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[4803],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5131":{"id":5131,"crate_id":0,"name":"same_channel","span":{"filename":"src/sync/broadcast.rs","begin":[890,5],"end":[892,6]},"visibility":"public","docs":"Returns `true` if senders belong to the same channel.\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, _rx) = broadcast::channel::<()>(16);\nlet tx2 = tx.clone();\n\nassert!(tx.same_channel(&tx2));\n\nlet (tx3, _rx3) = broadcast::channel::<()>(16);\n\nassert!(!tx3.same_channel(&tx2));\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3369":{"id":3369,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2636,10],"end":[2636,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[3368],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1607":{"id":1607,"crate_id":0,"name":"Flush","span":{"filename":"src/io/util/flush.rs","begin":[10,1],"end":[24,2]},"visibility":"public","docs":"A future used to fully flush an I/O object.\n\nCreated by the [`AsyncWriteExt::flush`][flush] function.\n\n[flush]: crate::io::AsyncWriteExt::flush","links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"A","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"6893":{"id":6893,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[477,25],"end":[477,34]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"semaphore::Semaphore","name":"Semaphore","id":5895,"is_glob":false}}},"7220":{"id":7220,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3696":{"id":3696,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5458":{"id":5458,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"172":{"id":172,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5785":{"id":5785,"crate_id":0,"name":"drop","span":{"filename":"src/sync/mutex.rs","begin":[1147,5],"end":[1157,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4023":{"id":4023,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"499":{"id":499,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[254,1],"end":[254,38]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::remove_dir::remove_dir","name":"remove_dir","id":451,"is_glob":false}}},"2261":{"id":2261,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/socket.rs","begin":[1034,5],"end":[1038,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#476) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#476) }], src/macros/cfg.rs:42:26: 42:39 (#476)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#476) }], src/macros/cfg.rs:42:22: 42:49 (#476))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"IntoRawSocket","id":2262,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[2260],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6112":{"id":6112,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2588":{"id":2588,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/net/udp.rs","begin":[2331,9],"end":[2333,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"826":{"id":826,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/net/tcp/stream.rs","begin":[1503,5],"end":[1505,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4350":{"id":4350,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6439":{"id":6439,"crate_id":0,"name":"try_map","span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[222,5],"end":[243,6]},"visibility":"public","docs":"Attempts to make a new [`RwLockMappedWriteGuard`] for a component of\nthe locked data. The original guard is returned if the closure returns\n`None`.\n\nThis operation cannot fail as the `RwLockWriteGuard` passed in already\nlocked the data.\n\nThis is an associated function that needs to be\nused as `RwLockWriteGuard::try_map(...)`. A method would interfere with\nmethods of the same name on the contents of the locked data.\n\nThis is an asynchronous version of [`RwLockWriteGuard::try_map`] from\nthe [`parking_lot` crate].\n\n[`RwLockMappedWriteGuard`]: struct@crate::sync::RwLockMappedWriteGuard\n[`RwLockWriteGuard::try_map`]: https://docs.rs/lock_api/latest/lock_api/struct.RwLockWriteGuard.html#method.try_map\n[`parking_lot` crate]: https://crates.io/crates/parking_lot\n\n# Examples\n\n```\nuse tokio::sync::{RwLock, RwLockWriteGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = RwLock::new(Foo(1));\n\n{\n    let guard = lock.write().await;\n    let mut guard = RwLockWriteGuard::try_map(guard, |f| Some(&mut f.0)).expect(\"should not fail\");\n    *guard = 2;\n}\n\nassert_eq!(Foo(2), *lock.read().await);\n# }\n```","links":{"struct@crate::sync::RwLockMappedWriteGuard":6317},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"U"}}],"constraints":[]}}}}},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4677":{"id":4677,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1153":{"id":1153,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2915":{"id":2915,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/stream.rs","begin":[48,1],"end":[1013,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[2667,2893,2708,2894,2895,2896,2897,2898,2899,2900,2901,2902,2903,2904,2907,2908,2909,2910,2911,2912,2914,2705,2767],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6766":{"id":6766,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/watch.rs","begin":[358,14],"end":[358,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3242":{"id":3242,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1480":{"id":1480,"crate_id":0,"name":"Split","span":{"filename":"src/io/util/split.rs","begin":[10,1],"end":[26,2]},"visibility":"public","docs":"Splitter for the [`split`](crate::io::AsyncBufReadExt::split) method.\n\nA `Split` can be turned into a `Stream` with [`SplitStream`].\n\n[`SplitStream`]: https://docs.rs/tokio-stream/0.1/tokio_stream/wrappers/struct.SplitStream.html","links":{"crate::io::AsyncBufReadExt::split":1479},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"must_use":{"reason":"streams do nothing unless polled"}},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1968,1970,1971,1972,1973,1974,1975,1976,1977,1978,1979,1980,1981,1982,1983,1984,1985,1987,1988]}}},"5004":{"id":5004,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7093":{"id":7093,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5331":{"id":5331,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1748,1],"end":[1754,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5330],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1807":{"id":1807,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3569":{"id":3569,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1490,10],"end":[1490,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"process\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[3568],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7420":{"id":7420,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3896":{"id":3896,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/mod.rs","begin":[199,1],"end":[199,34]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/runtime/task/mod.rs:198:7: 198:21 (#0) }])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::abort::AbortHandle","name":"AbortHandle","id":3723,"is_glob":false}}},"5658":{"id":5658,"crate_id":0,"name":"clone","span":{"filename":"src/sync/mpsc/error.rs","begin":[123,29],"end":[123,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"372":{"id":372,"crate_id":0,"name":null,"span":{"filename":"src/fs/open_options.rs","begin":[87,17],"end":[87,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[371],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5985":{"id":5985,"crate_id":0,"name":"drop","span":{"filename":"src/sync/notify.rs","begin":[1094,5],"end":[1099,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2461":{"id":2461,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"699":{"id":699,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[212,5],"end":[212,25]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4223":{"id":4223,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4550":{"id":4550,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2788":{"id":2788,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6312":{"id":6312,"crate_id":0,"name":"write_owned","span":{"filename":"src/sync/rwlock.rs","begin":[916,5],"end":[960,6]},"visibility":"public","docs":" Locks this `RwLock` with exclusive write access, causing the current\n task to yield until the lock has been acquired.\n\n The calling task will yield while other writers or readers currently\n have access to the lock.\n\n This method is identical to [`RwLock::write`], except that the returned\n guard references the `RwLock` with an [`Arc`] rather than by borrowing\n it. Therefore, the `RwLock` must be wrapped in an `Arc` to call this\n method, and the guard will live for the `'static` lifetime, as it keeps\n the `RwLock` alive by holding an `Arc`.\n\n Returns an RAII guard which will drop the write access of this `RwLock`\n when dropped.\n\n # Cancel safety\n\n This method uses a queue to fairly distribute locks in the order they\n were requested. Cancelling a call to `write_owned` makes you lose your\n place in the queue.\n\n # Examples\n\n ```\n use std::sync::Arc;\n use tokio::sync::RwLock;\n\n # #[tokio::main(flavor = \"current_thread\")]\n # async fn main() {\n let lock = Arc::new(RwLock::new(1));\n\n let mut n = lock.write_owned().await;\n *n = 2;\n}\n ```","links":{"`Arc`":2509,"`RwLock::write`":6435},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4877":{"id":4877,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3115":{"id":3115,"crate_id":0,"name":"info","span":{"filename":"src/net/windows/named_pipe.rs","begin":[157,5],"end":[160,6]},"visibility":"public","docs":"Retrieves information about the named pipe the server is associated\nwith.\n\n```no_run\nuse tokio::net::windows::named_pipe::{PipeEnd, PipeMode, ServerOptions};\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-server-info\";\n\n# #[tokio::main] async fn main() -> std::io::Result<()> {\nlet server = ServerOptions::new()\n    .pipe_mode(PipeMode::Message)\n    .max_instances(5)\n    .create(PIPE_NAME)?;\n\nlet server_info = server.info()?;\n\nassert_eq!(server_info.end, PipeEnd::Server);\nassert_eq!(server_info.mode, PipeMode::Message);\nassert_eq!(server_info.max_instances, 5);\n# Ok(()) }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5204":{"id":5204,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3442":{"id":3442,"crate_id":0,"name":"gid","span":{"filename":"src/process/mod.rs","begin":[697,5],"end":[702,6]},"visibility":"public","docs":"Similar to `uid` but sets the group ID of the child process. This has\nthe same semantics as the `uid` field.","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"unix\", value: None, span: src/process/mod.rs:695:11: 695:15 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(unix))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["id",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1680":{"id":1680,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_stream.rs","begin":[9,1],"end":[23,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'__pin","kind":{"lifetime":{"outlives":[]}}},{"name":"RW","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"resolved_path":{"path":"$crate::__private::PinnedFieldsOf","id":1463,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"__Origin","id":1681,"args":{"angle_bracketed":{"args":[{"lifetime":"'__pin"},{"type":{"generic":"RW"}}],"constraints":[]}}}}}],"constraints":[]}}}},"bounds":[{"trait_bound":{"trait":{"path":"$crate::__private::Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6966":{"id":6966,"crate_id":0,"name":null,"span":{"filename":"src/task/coop/mod.rs","begin":[258,14],"end":[258,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[6965],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7293":{"id":7293,"crate_id":0,"name":"fmt","span":{"filename":"src/time/error.rs","begin":[91,5],"end":[100,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5531":{"id":5531,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2007":{"id":2007,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"245":{"id":245,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3769":{"id":3769,"crate_id":0,"name":"id","span":{"filename":"src/runtime/task/abort.rs","begin":[72,5],"end":[75,6]},"visibility":"public","docs":"Returns a [task ID] that uniquely identifies this task relative to other\ncurrently spawned tasks.\n\n[task ID]: crate::task::Id","links":{"crate::task::Id":3692},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"super::Id","id":3692,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5858":{"id":5858,"crate_id":0,"name":"Target","span":{"filename":"src/sync/mutex.rs","begin":[1374,5],"end":[1374,21]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"U"},"default_unstable":null}}},"4096":{"id":4096,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"572":{"id":572,"crate_id":0,"name":"poll_fill_buf","span":{"filename":"src/io/util/chain.rs","begin":[114,5],"end":[126,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2334":{"id":2334,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split.rs","begin":[48,10],"end":[48,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[2333],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7620":{"id":7620,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6185":{"id":6185,"crate_id":0,"name":"available_permits","span":{"filename":"src/sync/semaphore.rs","begin":[561,5],"end":[563,6]},"visibility":"public","docs":"Returns the current number of available permits.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2661":{"id":2661,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/net/unix/listener.rs","begin":[254,5],"end":[256,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"899":{"id":899,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4423":{"id":4423,"crate_id":0,"name":"enter","span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[305,5],"end":[307,6]},"visibility":"public","docs":"Enters the runtime context.\n\nThis allows you to construct types that must have an executor\navailable on creation such as [`Sleep`] or [`TcpStream`]. It will\nalso allow you to call methods such as [`tokio::spawn`].\n\nIf this is a handle to a [`LocalRuntime`], and this function is being invoked from the same\nthread that the runtime was created on, you will also be able to call\n[`tokio::task::spawn_local`].\n\n[`Sleep`]: struct@crate::time::Sleep\n[`TcpStream`]: struct@crate::net::TcpStream\n[`tokio::spawn`]: fn@crate::spawn\n[`LocalRuntime`]: struct@crate::runtime::LocalRuntime\n[`tokio::task::spawn_local`]: fn@crate::task::spawn_local\n\n# Example\n\n```\nuse tokio::runtime::LocalRuntime;\nuse tokio::task::JoinHandle;\n\nfn function_that_spawns(msg: String) -> JoinHandle<()> {\n    // Had we not used `rt.enter` below, this would panic.\n    tokio::spawn(async move {\n        println!(\"{}\", msg);\n    })\n}\n\nfn main() {\n    let rt = LocalRuntime::new().unwrap();\n\n    let s = \"Hello World!\".to_string();\n\n    // By entering the context, we tie `tokio::spawn` to this executor.\n    let _guard = rt.enter();\n    let handle = function_that_spawns(s);\n\n    // Wait for the task before we end the test.\n    rt.block_on(handle).unwrap();\n}\n```","links":{"fn@crate::spawn":3799,"struct@crate::net::TcpStream":634,"fn@crate::task::spawn_local":4422,"struct@crate::time::Sleep":4266,"struct@crate::runtime::LocalRuntime":3941},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4750":{"id":4750,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[620,43],"end":[620,55]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#1248) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"local_runtime::LocalOptions","name":"LocalOptions","id":3963,"is_glob":false}}},"1226":{"id":1226,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6839":{"id":6839,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3315":{"id":3315,"crate_id":0,"name":"PipeEnd","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2618,1],"end":[2631,2]},"visibility":"public","docs":"Indicates the end of a named pipe.","links":{},"attrs":["non_exhaustive"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[],"where_predicates":[]},"has_stripped_variants":false,"variants":[3313,3314],"impls":[3316,3317,3318,3319,3320,3321,3322,3323,3324,3325,3326,3327,3328,3329,3330,3331,3332,3333,3335,3337,3338,3339,3341,3342,3344]}}},"1553":{"id":1553,"crate_id":0,"name":"write_vectored","span":{"filename":"src/io/util/async_write_ext.rs","begin":[182,9],"end":[187,10]},"visibility":"default","docs":"Like [`write`], except that it writes from a slice of buffers.\n\nEquivalent to:\n\n```ignore\nasync fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> io::Result<usize>;\n```\n\nSee [`AsyncWrite::poll_write_vectored`] for more details.\n\n# Cancel safety\n\nThis method is cancel safe. If it is used as a branch in\n[`tokio::select!`](crate::select) and another branch completes\nfirst, then it is guaranteed that no data was\nwritten to this `AsyncWrite`.\n\n# Examples\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, AsyncWriteExt};\nuse tokio::fs::File;\nuse std::io::IoSlice;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut file = File::create(\"foo.txt\").await?;\n\n    let bufs: &[_] = &[\n        IoSlice::new(b\"hello\"),\n        IoSlice::new(b\" \"),\n        IoSlice::new(b\"world\"),\n    ];\n\n    file.write_vectored(&bufs).await?;\n    file.flush().await?;\n\n    Ok(())\n}\n# }\n```\n\n[`write`]: AsyncWriteExt::write","links":{"`AsyncWrite::poll_write_vectored`":694,"AsyncWriteExt::write":316,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}],["bufs",{"borrowed_ref":{"lifetime":"'a","is_mutable":false,"type":{"slice":{"resolved_path":{"path":"IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'b"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"WriteVectored","id":1554,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"lifetime":"'b"},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"'b","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5077":{"id":5077,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[289,32],"end":[289,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7166":{"id":7166,"crate_id":0,"name":"from_iter","span":{"filename":"src/task/join_set.rs","begin":[643,5],"end":[649,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["iter",{"generic":"I"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[{"name":"I","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"IntoIterator","id":3428,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Item","args":null,"binding":{"equality":{"type":{"generic":"F"}}}}]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5404":{"id":5404,"crate_id":0,"name":"capacity","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[591,5],"end":[593,6]},"visibility":"public","docs":"Returns the current capacity of the channel.\n\nThe capacity goes down when the sender sends a value by calling [`Sender::send`] or by reserving\ncapacity with [`Sender::reserve`]. The capacity goes up when values are received.\nThis is distinct from [`max_capacity`], which always returns buffer capacity initially\nspecified when calling [`channel`].\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel::<()>(5);\n\nassert_eq!(rx.capacity(), 5);\n\n// Making a reservation drops the capacity by one.\nlet permit = tx.reserve().await.unwrap();\nassert_eq!(rx.capacity(), 4);\nassert_eq!(rx.len(), 0);\n\n// Sending and receiving a value increases the capacity by one.\npermit.send(());\nassert_eq!(rx.len(), 1);\nrx.recv().await.unwrap();\nassert_eq!(rx.capacity(), 5);\n\n// Directly sending a message drops the capacity by one.\ntx.send(()).await.unwrap();\nassert_eq!(rx.capacity(), 4);\nassert_eq!(rx.len(), 1);\n\n// Receiving the message increases the capacity by one.\nrx.recv().await.unwrap();\nassert_eq!(rx.capacity(), 5);\nassert_eq!(rx.len(), 0);\n# }\n```\n[`capacity`]: Receiver::capacity\n[`max_capacity`]: Receiver::max_capacity","links":{"Receiver::max_capacity":5403,"`Sender::reserve`":5227,"`channel`":5223,"Receiver::capacity":5404,"`Sender::send`":5229},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7493":{"id":7493,"crate_id":0,"name":null,"span":{"filename":"src/time/sleep.rs","begin":[452,1],"end":[470,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Future","id":520,"args":null},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[7491,7492],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3969":{"id":3969,"crate_id":0,"name":"ShutdownRuntime","span":{"filename":"src/runtime/builder.rs","begin":[237,9],"end":[237,24]},"visibility":"default","docs":"The runtime should immediately shutdown if a spawned task panics.\n\nThe runtime will immediately shutdown even if the panicked task's\n[`JoinHandle`] is still available. All further spawned tasks will be\nimmediately dropped and call to [`Runtime::block_on`] will panic.\n\n# Examples\n\n```should_panic\nuse tokio::runtime::{self, UnhandledPanic};\n\n# pub fn main() {\nlet rt = runtime::Builder::new_current_thread()\n    .unhandled_panic(UnhandledPanic::ShutdownRuntime)\n    .build()\n    .unwrap();\n\nrt.spawn(async { panic!(\"boom\"); });\nrt.spawn(async {\n    // This task never completes.\n});\n\nrt.block_on(async {\n    // Do some work\n# loop { tokio::task::yield_now().await; }\n})\n# }\n```\n\n[`JoinHandle`]: struct@crate::task::JoinHandle","links":{"struct@crate::task::JoinHandle":3722,"`Runtime::block_on`":3968},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"2207":{"id":2207,"crate_id":0,"name":"set_reuseport","span":{"filename":"src/net/tcp/socket.rs","begin":[301,5],"end":[303,6]},"visibility":"public","docs":"Allows the socket to bind to an in-use port. Only available for unix systems\n(excluding Solaris, Illumos, and Cygwin).\n\nBehavior is platform specific. Refer to the target platform's\ndocumentation for more details.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpSocket;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let addr = \"127.0.0.1:8080\".parse().unwrap();\n\n    let socket = TcpSocket::new_v4()?;\n    socket.set_reuseport(true)?;\n    socket.bind(addr)?;\n\n    let listener = socket.listen(1024)?;\n    Ok(())\n}\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"unix\", value: None, span: src/net/tcp/socket.rs:285:9: 285:13 (#0) }, Not(NameValue { name: \"target_os\", value: Some(\"solaris\"), span: src/net/tcp/socket.rs:286:13: 286:34 (#0) }, src/net/tcp/socket.rs:286:12: 286:35 (#0)), Not(NameValue { name: \"target_os\", value: Some(\"illumos\"), span: src/net/tcp/socket.rs:287:13: 287:34 (#0) }, src/net/tcp/socket.rs:287:12: 287:35 (#0)), Not(NameValue { name: \"target_os\", value: Some(\"cygwin\"), span: src/net/tcp/socket.rs:288:13: 288:33 (#0) }, src/net/tcp/socket.rs:288:12: 288:34 (#0)), Not(NameValue { name: \"target_os\", value: Some(\"nuttx\"), span: src/net/tcp/socket.rs:289:13: 289:32 (#0) }, src/net/tcp/socket.rs:289:12: 289:33 (#0))], src/net/tcp/socket.rs:284:14: 290:6 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(unix, not(target_os = \"solaris\"), not(target_os = \"illumos\"), not(target_os = \"cygwin\"), not(target_os = \"nuttx\"))))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["reuseport",{"primitive":"bool"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5731":{"id":5731,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6058":{"id":6058,"crate_id":0,"name":"channel","span":{"filename":"src/sync/oneshot.rs","begin":[497,1],"end":[579,2]},"visibility":"public","docs":"Creates a new one-shot channel for sending single values across asynchronous\ntasks.\n\nThe function returns separate \"send\" and \"receive\" handles. The `Sender`\nhandle is used by the producer to send the value. The `Receiver` handle is\nused by the consumer to receive the value.\n\nEach handle can be used on separate tasks.\n\n# Examples\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = oneshot::channel();\n\ntokio::spawn(async move {\n    if let Err(_) = tx.send(3) {\n        println!(\"the receiver dropped\");\n    }\n});\n\nmatch rx.await {\n    Ok(v) => println!(\"got = {:?}\", v),\n    Err(_) => println!(\"the sender dropped\"),\n}\n# }\n```","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"tuple":[{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}]},"is_c_variadic":false},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4296":{"id":4296,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"772":{"id":772,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/util/buf_reader.rs","begin":[282,5],"end":[284,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2534":{"id":2534,"crate_id":0,"name":"try_io","span":{"filename":"src/net/udp.rs","begin":[1480,5],"end":[1488,6]},"visibility":"public","docs":"Tries to read or write from the socket using a user-provided IO operation.\n\nIf the socket is ready, the provided closure is called. The closure\nshould attempt to perform IO operation on the socket by manually\ncalling the appropriate syscall. If the operation fails because the\nsocket is not actually ready, then the closure should return a\n`WouldBlock` error and the readiness flag is cleared. The return value\nof the closure is then returned by `try_io`.\n\nIf the socket is not ready, then the closure is not called\nand a `WouldBlock` error is returned.\n\nThe closure should only return a `WouldBlock` error if it has performed\nan IO operation on the socket that failed due to the socket not being\nready. Returning a `WouldBlock` error in any other situation will\nincorrectly clear the readiness flag, which can cause the socket to\nbehave incorrectly.\n\nThe closure should not perform the IO operation using any of the methods\ndefined on the Tokio `UdpSocket` type, as this will mess with the\nreadiness flag and can cause the socket to behave incorrectly.\n\nThis method is not intended to be used with combined interests.\nThe closure should perform only one type of IO operation, so it should not\nrequire more than one ready state. This method may panic or sleep forever\nif it is called with a combined interest.\n\nUsually, [`readable()`], [`writable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: UdpSocket::readable()\n[`writable()`]: UdpSocket::writable()\n[`ready()`]: UdpSocket::ready()","links":{"UdpSocket::ready()":2516,"UdpSocket::writable()":2517,"UdpSocket::readable()":2522},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnOnce() -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4623":{"id":4623,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2861":{"id":2861,"crate_id":0,"name":"as_pathname","span":{"filename":"src/net/unix/socketaddr.rs","begin":[27,5],"end":[29,6]},"visibility":"public","docs":"Returns the contents of this address if it is a `pathname` address.\n\nDocumentation reflected in [`SocketAddr`].\n\n[`SocketAddr`]: std::os::unix::net::SocketAddr","links":{"std::os::unix::net::SocketAddr":2859},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1099":{"id":1099,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6385":{"id":6385,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[199,1],"end":[206,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[6384],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6712":{"id":6712,"crate_id":0,"name":"0","span":{"filename":"src/sync/watch.rs","begin":[339,29],"end":[339,34]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"generic":"T"}}},"4950":{"id":4950,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1426":{"id":1426,"crate_id":0,"name":null,"span":{"filename":"src/io/split.rs","begin":[152,1],"end":[152,46]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3188":{"id":3188,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5277":{"id":5277,"crate_id":0,"name":"clone","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1630,5],"end":[1634,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3515":{"id":3515,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1753":{"id":1753,"crate_id":0,"name":"copy","span":{"filename":"src/io/util/copy.rs","begin":[277,5],"end":[287,6]},"visibility":"public","docs":"Asynchronously copies the entire contents of a reader into a writer.\n\nThis function returns a future that will continuously read data from\n`reader` and then write it into `writer` in a streaming fashion until\n`reader` returns EOF or fails.\n\nOn success, the total number of bytes that were copied from `reader` to\n`writer` is returned.\n\nThis is an asynchronous version of [`std::io::copy`][std].\n\nA heap-allocated copy buffer with 8 KB is created to take data from the\nreader to the writer, check [`copy_buf`] if you want an alternative for\n[`AsyncBufRead`]. You can use `copy_buf` with [`BufReader`] to change the\nbuffer capacity.\n\n# When to use async alternatives instead of `SyncIoBridge`\n\nIf you are looking to use [`std::io::copy`] with a synchronous consumer\n(like a `hasher` or compressor), consider using async alternatives instead of\nwrapping the reader with [`SyncIoBridge`].\nSee the [`SyncIoBridge`] documentation for detailed examples and guidance.\n\n[std]: std::io::copy\n[`copy_buf`]: crate::io::copy_buf\n[`AsyncBufRead`]: crate::io::AsyncBufRead\n[`BufReader`]: crate::io::BufReader\n[`SyncIoBridge`]: https://docs.rs/tokio-util/latest/tokio_util/io/struct.SyncIoBridge.html\n\n# Errors\n\nThe returned future will return an error immediately if any call to\n`poll_read` or `poll_write` returns an error.\n\n# Examples\n\n```\nuse tokio::io;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut reader: &[u8] = b\"hello\";\nlet mut writer: Vec<u8> = vec![];\n\nio::copy(&mut reader, &mut writer).await?;\n\nassert_eq!(&b\"hello\"[..], &writer[..]);\n# Ok(())\n# }\n```","links":{"std::io::copy":1751,"crate::io::AsyncBufRead":538,"crate::io::BufReader":513,"`std::io::copy`":1751,"crate::io::copy_buf":1752},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#301) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["reader",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"R"}}}],["writer",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"W"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u64"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7039":{"id":7039,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7366":{"id":7366,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[33,38],"end":[33,48]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["lt","le","gt","ge","__chaining_lt","__chaining_le","__chaining_gt","__chaining_ge"],"trait":{"path":"PartialOrd","id":1023,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[7365],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5604":{"id":5604,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2080":{"id":2080,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[216,1],"end":[216,39]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::async_write::AsyncWrite","name":"AsyncWrite","id":225,"is_glob":false}}},"3842":{"id":3842,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4169":{"id":4169,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2407":{"id":2407,"crate_id":0,"name":"0","span":{"filename":"src/net/tcp/split_owned.rs","begin":[88,25],"end":[88,42]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}}}},"645":{"id":645,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/pipe.rs","begin":[1458,1],"end":[1468,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[644],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6258":{"id":6258,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2734":{"id":2734,"crate_id":0,"name":"as_ref","span":{"filename":"src/net/unix/split.rs","begin":[322,5],"end":[324,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"972":{"id":972,"crate_id":0,"name":null,"span":{"filename":"src/io/interest.rs","begin":[279,1],"end":[284,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"BitOrAssign","id":973,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[971],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4496":{"id":4496,"crate_id":0,"name":null,"span":{"filename":"src/runtime/id.rs","begin":[29,17],"end":[29,21]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4823":{"id":4823,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6585":{"id":6585,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1299":{"id":1299,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"6912":{"id":6912,"crate_id":0,"name":"consume_budget","span":{"filename":"src/task/coop/consume_budget.rs","begin":[25,1],"end":[39,2]},"visibility":"public","docs":"Consumes a unit of budget and returns the execution back to the Tokio\nruntime *if* the task's coop budget was exhausted.\n\nThe task will only yield if its entire coop budget has been exhausted.\nThis function can be used in order to insert optional yield points into long\ncomputations that do not use Tokio resources like sockets or semaphores,\nwithout redundantly yielding to the runtime each time.\n\n# Examples\n\nMake sure that a function which returns a sum of (potentially lots of)\niterated values is cooperative.\n\n```\nasync fn sum_iterator(input: &mut impl std::iter::Iterator<Item=i64>) -> i64 {\n    let mut sum: i64 = 0;\n    while let Some(i) = input.next() {\n        sum += i;\n        tokio::task::consume_budget().await\n    }\n    sum\n}\n```","links":{},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5150":{"id":5150,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1626":{"id":1626,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5477":{"id":5477,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3715":{"id":3715,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/error.rs","begin":[155,1],"end":[167,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[3714],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"191":{"id":191,"crate_id":0,"name":"default","span":{"filename":"src/fs/dir_builder.rs","begin":[10,17],"end":[10,24]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1953":{"id":1953,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7239":{"id":7239,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[284,5],"end":[284,26]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"spawn::spawn","name":"spawn","id":3799,"is_glob":false}}},"5804":{"id":5804,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2280":{"id":2280,"crate_id":0,"name":"ready","span":{"filename":"src/net/tcp/split.rs","begin":[165,5],"end":[167,6]},"visibility":"public","docs":"Waits for any of the requested ready states.\n\nThis function is usually paired with [`try_read()`]. It can be used instead\nof [`readable()`] to check the returned ready set for [`Ready::READABLE`]\nand [`Ready::READ_CLOSED`] events.\n\nThe function may complete without the socket being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\nThis function is equivalent to [`TcpStream::ready`].\n\n[`try_read()`]: Self::try_read\n[`readable()`]: Self::readable\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`Ready::READ_CLOSED`":982,"`Ready`":978,"`TcpStream::ready`":2279,"`Ready::READABLE`":980,"Self::try_read":2277,"Self::readable":2278},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"518":{"id":518,"crate_id":0,"name":"Future","span":{"filename":"src/future/maybe_done.rs","begin":[8,1],"end":[23,2]},"visibility":"default","docs":"A not-yet-completed future.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":{"struct":{"fields":[517],"has_stripped_fields":false}},"discriminant":null}}},"4042":{"id":4042,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[8,51],"end":[8,55]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"crate::runtime::task::trace::Root","name":"Root","id":3840,"is_glob":false}}},"6131":{"id":6131,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4369":{"id":4369,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"845":{"id":845,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/net/unix/stream.rs","begin":[1046,5],"end":[1052,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7566":{"id":7566,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6458":{"id":6458,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2934":{"id":2934,"crate_id":0,"name":"Error","span":{"filename":"src/net/unix/stream.rs","begin":[1016,5],"end":[1016,28]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Error","id":262,"args":null}},"default_unstable":null}}},"1172":{"id":1172,"crate_id":0,"name":"drop","span":{"filename":"src/io/async_fd.rs","begin":[948,5],"end":[950,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4696":{"id":4696,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram.rs","begin":[56,34],"end":[56,36]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6785":{"id":6785,"crate_id":0,"name":"Ref","span":{"filename":"src/sync/watch.rs","begin":[243,1],"end":[246,2]},"visibility":"public","docs":"Returns a reference to the inner value.\n\nOutstanding borrows hold a read lock on the inner value. This means that\nlong-lived borrows could cause the producer half to block. It is recommended\nto keep the borrow as short-lived as possible. Additionally, if you are\nrunning in an environment that allows `!Send` futures, you must ensure that\nthe returned `Ref` type is never held alive across an `.await` point,\notherwise, it can lead to a deadlock.\n\nThe priority policy of the lock is dependent on the underlying lock\nimplementation, and this type does not guarantee that any particular policy\nwill be used. In particular, a producer which is waiting to acquire the lock\nin `send` might or might not block concurrent calls to `borrow`, e.g.:\n\n<details><summary>Potential deadlock example</summary>\n\n```text\n// Task 1 (on thread A)    |  // Task 2 (on thread B)\nlet _ref1 = rx.borrow();   |\n                           |  // will block\n                           |  let _ = tx.send(());\n// may deadlock            |\nlet _ref2 = rx.borrow();   |\n```\n</details>","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6859,6860,6861,6862,6863,6864,6865,6866,6867,6868,6869,6870,6871,6872,6873,6874,6875,6876,6878,6881]}}},"5023":{"id":5023,"crate_id":0,"name":"Sender","span":{"filename":"src/sync/broadcast.rs","begin":[179,1],"end":[181,2]},"visibility":"public","docs":"Sending-half of the [`broadcast`] channel.\n\nMay be used from many threads. Messages can be sent with\n[`send`][Sender::send].\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx1) = broadcast::channel(16);\nlet mut rx2 = tx.subscribe();\n\ntokio::spawn(async move {\n    assert_eq!(rx1.recv().await.unwrap(), 10);\n    assert_eq!(rx1.recv().await.unwrap(), 20);\n});\n\ntokio::spawn(async move {\n    assert_eq!(rx2.recv().await.unwrap(), 10);\n    assert_eq!(rx2.recv().await.unwrap(), 20);\n});\n\ntx.send(10).unwrap();\ntx.send(20).unwrap();\n# }\n```\n\n[`broadcast`]: crate::sync::broadcast","links":{"crate::sync::broadcast":5121,"Sender::send":5022},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5135,5136,5137,5138,5139,5140,5141,5142,5143,5144,5145,5146,5147,5148,5149,5150,5151,5152,5153,5155,5157,5159]}}},"1499":{"id":1499,"crate_id":0,"name":"read_i8","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads a signed 8 bit integer from the underlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_i8(&mut self) -> io::Result<i8>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is cancel safe. If this method is used as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, it is guaranteed that no data were read.\n\n# Examples\n\nRead unsigned 8 bit integers from an `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![0x02, 0xfb]);\n\nassert_eq!(2, reader.read_i8().await?);\nassert_eq!(-5, reader.read_i8().await?);\n\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadI8","id":1500,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3261":{"id":3261,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7112":{"id":7112,"crate_id":0,"name":null,"span":{"filename":"src/task/task_local.rs","begin":[296,1],"end":[343,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"outlives":"'static"}],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[7111],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3588":{"id":3588,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1534,1],"end":[1547,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[3586],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1826":{"id":1826,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5350":{"id":5350,"crate_id":2,"name":"into_iter","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":{"feature":"const_iter","level":"unstable"},"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"generic":"I"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7439":{"id":7439,"crate_id":0,"name":"reset_after","span":{"filename":"src/time/interval.rs","begin":[584,5],"end":[586,6]},"visibility":"public","docs":"Resets the interval after the specified [`std::time::Duration`].\n\nThis method ignores [`MissedTickBehavior`] strategy.\n\nThis is equivalent to calling `reset_at(Instant::now() + after)`.\n\n# Examples\n\n```\nuse tokio::time;\n\nuse std::time::Duration;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet mut interval = time::interval(Duration::from_millis(100));\ninterval.tick().await;\n\ntime::sleep(Duration::from_millis(50)).await;\n\nlet after = Duration::from_millis(20);\ninterval.reset_after(after);\n\ninterval.tick().await;\ninterval.tick().await;\n\n// approximately 170ms have elapsed.\n# }\n```","links":{"`std::time::Duration`":2215,"`MissedTickBehavior`":7395},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["after",{"resolved_path":{"path":"Duration","id":2215,"args":null}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5677":{"id":5677,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/mod.rs","begin":[130,60],"end":[130,79]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::unbounded::WeakUnboundedSender","name":"WeakUnboundedSender","id":5440,"is_glob":false}}},"2153":{"id":2153,"crate_id":0,"name":"accept","span":{"filename":"src/net/tcp/listener.rs","begin":[162,5],"end":[171,6]},"visibility":"public","docs":"Accepts a new incoming connection from this listener.\n\nThis function will yield once a new TCP connection is established. When\nestablished, the corresponding [`TcpStream`] and the remote peer's\naddress will be returned.\n\n# Cancel safety\n\nThis method is cancel safe. If the method is used as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, then it is guaranteed that no new connections were\naccepted by this method.\n\n[`TcpStream`]: struct@crate::net::TcpStream\n\n# Examples\n\n```no_run\nuse tokio::net::TcpListener;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let listener = TcpListener::bind(\"127.0.0.1:8080\").await?;\n\n    match listener.accept().await {\n        Ok((_socket, addr)) => println!(\"new client: {:?}\", addr),\n        Err(e) => println!(\"couldn't get client: {:?}\", e),\n    }\n\n    Ok(())\n}\n```","links":{"crate::select":1471,"struct@crate::net::TcpStream":634},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"resolved_path":{"path":"TcpStream","id":634,"args":null}},{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4242":{"id":4242,"crate_id":0,"name":"id","span":{"filename":"src/runtime/task_hooks.rs","begin":[71,5],"end":[73,6]},"visibility":"public","docs":"Return the opaque ID of the task.","links":{},"attrs":[{"other":"#[attr = CfgAttrTrace]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"super::task::Id","id":3692,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2480":{"id":2480,"crate_id":0,"name":"try_from","span":{"filename":"src/net/tcp/stream.rs","begin":[1469,5],"end":[1471,6]},"visibility":"default","docs":"Consumes stream, returning the tokio I/O object.\n\nThis is equivalent to\n[`TcpStream::from_std(stream)`](TcpStream::from_std).","links":{"TcpStream::from_std":2435},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["stream",{"resolved_path":{"path":"std::net::TcpStream","id":1120,"args":null}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}},{"type":{"qualified_path":{"name":"Error","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":169,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"718":{"id":718,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[274,5],"end":[276,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6004":{"id":6004,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6331":{"id":6331,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1045":{"id":1045,"crate_id":0,"name":"register_borrowed","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[36,5],"end":[41,6]},"visibility":"default","docs":"Registers this AIO event source with Tokio's reactor.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["kq",{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}],["token",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2807":{"id":2807,"crate_id":0,"name":"peer_addr","span":{"filename":"src/net/unix/split_owned.rs","begin":[354,5],"end":[356,6]},"visibility":"public","docs":"Returns the socket address of the remote half of this connection.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4896":{"id":4896,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3134":{"id":3134,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1372":{"id":1372,"crate_id":0,"name":"fmt","span":{"filename":"src/io/stdout.rs","begin":[100,14],"end":[100,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6658":{"id":6658,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6985":{"id":6985,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5223":{"id":5223,"crate_id":0,"name":"channel","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[159,1],"end":[171,2]},"visibility":"public","docs":"Creates a bounded mpsc channel for communicating between asynchronous tasks\nwith backpressure.\n\nThe channel will buffer up to the provided number of messages.  Once the\nbuffer is full, attempts to send new messages will wait until a message is\nreceived from the channel. The provided buffer capacity must be at least 1.\n\nAll data sent on `Sender` will become available on `Receiver` in the same\norder as it was sent.\n\nThe `Sender` can be cloned to `send` to the same channel from multiple code\nlocations. Only one `Receiver` is supported.\n\nIf the `Receiver` is disconnected while trying to `send`, the `send` method\nwill return a `SendError`. Similarly, if `Sender` is disconnected while\ntrying to `recv`, the `recv` method will return `None`.\n\n# Panics\n\nPanics if the buffer capacity is 0, or too large. Currently the maximum\ncapacity is [`Semaphore::MAX_PERMITS`].\n\n[`Semaphore::MAX_PERMITS`]: crate::sync::Semaphore::MAX_PERMITS\n\n# Examples\n\n```rust\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(100);\n\ntokio::spawn(async move {\n    for i in 0..10 {\n        if let Err(_) = tx.send(i).await {\n            println!(\"receiver dropped\");\n            return;\n        }\n    }\n});\n\nwhile let Some(i) = rx.recv().await {\n     println!(\"got = {}\", i);\n}\n# }\n```","links":{"crate::sync::Semaphore::MAX_PERMITS":5427},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["buffer",{"primitive":"usize"}]],"output":{"tuple":[{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}]},"is_c_variadic":false},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1699":{"id":1699,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3461":{"id":3461,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5550":{"id":5550,"crate_id":0,"name":"eq","span":{"filename":"src/sync/mpsc/error.rs","begin":[7,10],"end":[7,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3788":{"id":3788,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/abort.rs","begin":[82,1],"end":[82,38]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"264":{"id":264,"crate_id":0,"name":"poll_flush","span":{"filename":"src/fs/file.rs","begin":[874,5],"end":[878,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7312":{"id":7312,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5877":{"id":5877,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2353":{"id":2353,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"591":{"id":591,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/async_read.rs","begin":[87,5],"end":[93,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6204":{"id":6204,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4442":{"id":4442,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[31,10],"end":[31,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2680":{"id":2680,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"918":{"id":918,"crate_id":0,"name":null,"span":{"filename":"src/io/read_buf.rs","begin":[279,1],"end":[304,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/io/read_buf.rs:277:7: 277:26 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":["has_remaining_mut","put","put_slice","put_bytes","put_u8","put_i8","put_u16","put_u16_le","put_u16_ne","put_i16","put_i16_le","put_i16_ne","put_u32","put_u32_le","put_u32_ne","put_i32","put_i32_le","put_i32_ne","put_u64","put_u64_le","put_u64_ne","put_i64","put_i64_le","put_i64_ne","put_u128","put_u128_le","put_u128_ne","put_i128","put_i128_le","put_i128_ne","put_uint","put_uint_le","put_uint_ne","put_int","put_int_le","put_int_ne","put_f32","put_f32_le","put_f32_ne","put_f64","put_f64_le","put_f64_ne","limit","writer","chain_mut"],"trait":{"path":"BufMut","id":919,"args":null},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[914,915,916],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6531":{"id":6531,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3007":{"id":3007,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1245":{"id":1245,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4769":{"id":4769,"crate_id":0,"name":"child","span":{"filename":"src/signal/unix.rs","begin":[125,5],"end":[127,6]},"visibility":"public","docs":"Represents the `SIGCHLD` signal.\n\nOn Unix systems this signal is sent when the status of a child process\nhas changed. By default, this signal is ignored.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6858":{"id":6858,"crate_id":0,"name":"has_changed","span":{"filename":"src/sync/watch.rs","begin":[291,5],"end":[293,6]},"visibility":"public","docs":"Indicates if the borrowed value is considered as _changed_ since the last\ntime it has been marked as seen.\n\nUnlike [`Receiver::has_changed()`], this method does not fail if the channel is closed.\n\nWhen borrowed from the [`Sender`] this function will always return `false`.\n\n# Examples\n\n```\nuse tokio::sync::watch;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = watch::channel(\"hello\");\n\ntx.send(\"goodbye\").unwrap();\n// The sender does never consider the value as changed.\nassert!(!tx.borrow().has_changed());\n\n// Drop the sender immediately, just for testing purposes.\ndrop(tx);\n\n// Even if the sender has already been dropped...\nassert!(rx.has_changed().is_err());\n// ...the modified value is still readable and detected as changed.\nassert_eq!(*rx.borrow(), \"goodbye\");\nassert!(rx.borrow().has_changed());\n\n// Read the changed value and mark it as seen.\n{\n    let received = rx.borrow_and_update();\n    assert_eq!(*received, \"goodbye\");\n    assert!(received.has_changed());\n    // Release the read lock when leaving this scope.\n}\n\n// Now the value has already been marked as seen and could\n// never be modified again (after the sender has been dropped).\nassert!(!rx.borrow().has_changed());\n# }\n```","links":{"`Sender`":6778,"`Receiver::has_changed()`":6786},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5096":{"id":5096,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3334":{"id":3334,"crate_id":0,"name":"fmt","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2616,10],"end":[2616,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7185":{"id":7185,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5423":{"id":5423,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"137":{"id":137,"crate_id":0,"name":"create","span":{"filename":"src/fs/dir_builder.rs","begin":[91,5],"end":[104,6]},"visibility":"public","docs":"Creates the specified directory with the configured options.\n\nIt is considered an error if the directory already exists unless\nrecursive mode is enabled.\n\nThis is an async version of [`std::fs::DirBuilder::create`].\n\n# Errors\n\nAn error will be returned under the following circumstances:\n\n* Path already points to an existing file.\n* Path already points to an existing directory and the mode is\n  non-recursive.\n* The calling process doesn't have permissions to create the directory\n  or its missing parents.\n* Other I/O error occurred.\n\n# Examples\n\n```no_run\nuse tokio::fs::DirBuilder;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    DirBuilder::new()\n        .recursive(true)\n        .create(\"/tmp/foo/bar/baz\")\n        .await?;\n\n    Ok(())\n}\n```","links":{"`std::fs::DirBuilder::create`":136},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5750":{"id":5750,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[964,1],"end":[976,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5749],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3988":{"id":3988,"crate_id":0,"name":"max_io_events_per_tick","span":{"filename":"src/runtime/builder.rs","begin":[1789,9],"end":[1792,10]},"visibility":"public","docs":"Enables the I/O driver and configures the max number of events to be\nprocessed per tick.\n\n# Examples\n\n```\nuse tokio::runtime;\n\nlet rt = runtime::Builder::new_current_thread()\n    .enable_io()\n    .max_io_events_per_tick(1024)\n    .build()\n    .unwrap();\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["capacity",{"primitive":"usize"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2226":{"id":2226,"crate_id":0,"name":"take_error","span":{"filename":"src/net/tcp/socket.rs","begin":[773,5],"end":[775,6]},"visibility":"public","docs":"Returns the value of the `SO_ERROR` option.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7512":{"id":7512,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4315":{"id":4315,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2553":{"id":2553,"crate_id":0,"name":"set_tclass_v6","span":{"filename":"src/net/udp.rs","begin":[2044,5],"end":[2046,6]},"visibility":"public","docs":"Sets the value for the `IPV6_TCLASS` option on this socket.\n\nSpecifies the traffic class field that is used in every packet\nsent from this socket.\n\n# Note\n\nThis may not have any effect on IPv4 sockets.","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"android\"), span: src/net/udp.rs:2020:9: 2020:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"dragonfly\"), span: src/net/udp.rs:2021:9: 2021:32 (#0) }, NameValue { name: \"target_os\", value: Some(\"freebsd\"), span: src/net/udp.rs:2022:9: 2022:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"fuchsia\"), span: src/net/udp.rs:2023:9: 2023:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/net/udp.rs:2024:9: 2024:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"macos\"), span: src/net/udp.rs:2025:9: 2025:28 (#0) }, NameValue { name: \"target_os\", value: Some(\"netbsd\"), span: src/net/udp.rs:2026:9: 2026:29 (#0) }, NameValue { name: \"target_os\", value: Some(\"openbsd\"), span: src/net/udp.rs:2027:9: 2027:30 (#0) }, NameValue { name: \"target_os\", value: Some(\"cygwin\"), span: src/net/udp.rs:2028:9: 2028:29 (#0) }], src/net/udp.rs:2019:14: 2029:6 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(target_os = \"android\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"fuchsia\", target_os = \"linux\", target_os = \"macos\", target_os = \"netbsd\", target_os = \"openbsd\", target_os = \"cygwin\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["tclass",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"791":{"id":791,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/util/empty.rs","begin":[124,5],"end":[133,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6077":{"id":6077,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6404":{"id":6404,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4642":{"id":4642,"crate_id":0,"name":"clone","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[143,32],"end":[143,37]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1118":{"id":1118,"crate_id":0,"name":"poll_read_ready","span":{"filename":"src/io/async_fd.rs","begin":[375,5],"end":[385,6]},"visibility":"public","docs":"Polls for read readiness.\n\nIf the file descriptor is not currently ready for reading, this method\nwill store a clone of the [`Waker`] from the provided [`Context`]. When the\nfile descriptor becomes ready for reading, [`Waker::wake`] will be called.\n\nNote that on multiple calls to [`poll_read_ready`] or\n[`poll_read_ready_mut`], only the `Waker` from the `Context` passed to the\nmost recent call is scheduled to receive a wakeup. (However,\n[`poll_write_ready`] retains a second, independent waker).\n\nThis method is intended for cases where creating and pinning a future\nvia [`readable`] is not feasible. Where possible, using [`readable`] is\npreferred, as this supports polling from multiple tasks at once.\n\nThis method takes `&self`, so it is possible to call this method\nconcurrently with other methods on this struct. This method only\nprovides shared access to the inner IO resource when handling the\n[`AsyncFdReadyGuard`].\n\n[`poll_read_ready`]: method@Self::poll_read_ready\n[`poll_read_ready_mut`]: method@Self::poll_read_ready_mut\n[`poll_write_ready`]: method@Self::poll_write_ready\n[`readable`]: method@Self::readable\n[`Context`]: struct@std::task::Context\n[`Waker`]: struct@std::task::Waker\n[`Waker::wake`]: method@std::task::Waker::wake","links":{"method@Self::poll_read_ready":1118,"struct@std::task::Waker":1128,"struct@std::task::Context":251,"method@Self::poll_write_ready":1119,"method@std::task::Waker::wake":1129,"`AsyncFdReadyGuard`":1117,"method@Self::poll_read_ready_mut":1130,"method@Self::readable":1114},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2880":{"id":2880,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6731":{"id":6731,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1445":{"id":1445,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"UnsafeUnpin","id":148,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7058":{"id":7058,"crate_id":0,"name":"LocalKey","span":{"filename":"src/task/task_local.rs","begin":[99,1],"end":[102,2]},"visibility":"public","docs":"A key for task-local data.\n\nThis type is generated by the [`task_local!`] macro.\n\nUnlike [`std::thread::LocalKey`], `tokio::task::LocalKey` will\n_not_ lazily initialize the value on first access. Instead, the\nvalue is first initialized when the future containing\nthe task-local is first polled by a futures executor, like Tokio.\n\n# Examples\n\n```\n# async fn dox() {\ntokio::task_local! {\n    static NUMBER: u32;\n}\n\nNUMBER.scope(1, async move {\n    assert_eq!(NUMBER.get(), 1);\n}).await;\n\nNUMBER.scope(2, async move {\n    assert_eq!(NUMBER.get(), 2);\n\n    NUMBER.scope(3, async move {\n        assert_eq!(NUMBER.get(), 3);\n    }).await;\n}).await;\n# }\n```\n\n[`std::thread::LocalKey`]: struct@std::thread::LocalKey\n[`task_local!`]: ../macro.task_local.html","links":{"struct@std::thread::LocalKey":7057},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"outlives":"'static"}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[7065,7068,7069,7070,7071,7072,7073,7074,7075,7076,7077,7078,7079,7080,7081,7082,7083,7084,7086]}}},"5296":{"id":5296,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1772":{"id":1772,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"3534":{"id":3534,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1599,1],"end":[1605,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Stdio","id":3437,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[3532,3533],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7385":{"id":7385,"crate_id":0,"name":"Output","span":{"filename":"src/time/instant.rs","begin":[188,5],"end":[188,27]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"default_unstable":null}}},"3861":{"id":3861,"crate_id":0,"name":"clone","span":{"filename":"src/runtime/task/trace/mod.rs","begin":[64,21],"end":[64,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2099":{"id":2099,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[286,9],"end":[286,13]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::copy","name":"copy","id":1753,"is_glob":false}}},"337":{"id":337,"crate_id":0,"name":null,"span":{"filename":"src/fs/open_options.rs","begin":[569,5],"end":[656,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"unix\", value: None, span: src/fs/open_options.rs:567:8: 567:12 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(unix))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[335,336],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5623":{"id":5623,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[81,32],"end":[81,36]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5950":{"id":5950,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[395,1],"end":[395,41]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2426":{"id":2426,"crate_id":0,"name":"fmt","span":{"filename":"src/net/tcp/split_owned.rs","begin":[87,10],"end":[87,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4188":{"id":4188,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4515":{"id":4515,"crate_id":0,"name":"worker_park_unpark_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[240,9],"end":[246,10]},"visibility":"public","docs":"Returns the total number of times the given worker thread has parked\nand unparked.\n\nThe worker park/unpark count starts at zero when the runtime is created\nand increases by one each time the worker parks the thread waiting for\nnew inbound events to process. This usually means the worker has processed\nall pending work and is currently idle. When new work becomes available,\nthe worker is unparked and the park/unpark count is again increased by one.\n\nAn odd count means that the worker is currently parked.\nAn even count means that the worker is currently active.\n\nThe counter is monotonically increasing. It is never decremented or\nreset to zero.\n\n# Arguments\n\n`worker` is the index of the worker being queried. The given value must\nbe between 0 and `num_workers()`. The index uniquely identifies a single\nworker and will continue to identify the worker throughout the lifetime\nof the runtime instance.\n\n# Panics\n\nThe method panics when `worker` represents an invalid worker, i.e. is\ngreater than or equal to `num_workers()`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\nlet n = metrics.worker_park_unpark_count(0);\n\nprintln!(\"worker 0 parked and unparked {} times\", n);\n\nif n % 2 == 0 {\n    println!(\"worker 0 is active\");\n} else {\n    println!(\"worker 0 is parked\");\n}\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/macros/cfg.rs:292:19: 292:43 (#1688) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(target_has_atomic = \"64\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["worker",{"primitive":"usize"}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2753":{"id":2753,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"991":{"id":991,"crate_id":0,"name":"is_write_closed","span":{"filename":"src/io/ready.rs","begin":[173,5],"end":[175,6]},"visibility":"public","docs":"Returns `true` if the value includes write-closed `readiness`.\n\n# Examples\n\n```\nuse tokio::io::Ready;\n\nassert!(!Ready::EMPTY.is_write_closed());\nassert!(!Ready::WRITABLE.is_write_closed());\nassert!(Ready::WRITE_CLOSED.is_write_closed());\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6277":{"id":6277,"crate_id":0,"name":"rwlock","span":{"filename":"src/sync/rwlock/owned_read_guard.rs","begin":[164,5],"end":[166,6]},"visibility":"public","docs":"Returns a reference to the original `Arc<RwLock>`.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::{RwLock, OwnedRwLockReadGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(Foo(1)));\n\nlet guard = lock.clone().read_owned().await;\nassert!(Arc::ptr_eq(&lock, OwnedRwLockReadGuard::rwlock(&guard)));\n\nlet guard = OwnedRwLockReadGuard::map(guard, |f| &f.0);\nassert!(Arc::ptr_eq(&lock, OwnedRwLockReadGuard::rwlock(&guard)));\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6604":{"id":6604,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[469,1],"end":[469,45]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3080":{"id":3080,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1318":{"id":1318,"crate_id":0,"name":null,"span":{"filename":"src/io/stderr.rs","begin":[122,5],"end":[126,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#219) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#219) }], src/macros/cfg.rs:42:26: 42:39 (#219)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#219) }], src/macros/cfg.rs:42:22: 42:49 (#219))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsHandle","id":296,"args":null},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[1317],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5169":{"id":5169,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6931":{"id":6931,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1972":{"id":1972,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"210":{"id":210,"crate_id":0,"name":"create","span":{"filename":"src/fs/file.rs","begin":[192,5],"end":[199,6]},"visibility":"public","docs":"Opens a file in write-only mode.\n\nThis function will create a file if it does not exist, and will truncate\nit if it does.\n\nSee [`OpenOptions`] for more details.\n\n# Errors\n\nResults in an error if called from outside of the Tokio runtime or if\nthe underlying [`create`] call results in an error.\n\n[`create`]: std::fs::File::create\n\n# Examples\n\n```no_run\nuse tokio::fs::File;\nuse tokio::io::AsyncWriteExt;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut file = File::create(\"foo.txt\").await?;\nfile.write_all(b\"hello, world!\").await?;\n# Ok(())\n# }\n```\n\nThe [`write_all`] method is defined on the [`AsyncWriteExt`] trait.\n\n[`write_all`]: fn@crate::io::AsyncWriteExt::write_all\n[`AsyncWriteExt`]: trait@crate::io::AsyncWriteExt","links":{"fn@crate::io::AsyncWriteExt::write_all":209,"trait@crate::io::AsyncWriteExt":203,"std::fs::File::create":208,"`OpenOptions`":205},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"File","id":204,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3734":{"id":3734,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5823":{"id":5823,"crate_id":0,"name":"Target","span":{"filename":"src/sync/mutex.rs","begin":[1266,5],"end":[1266,21]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"T"},"default_unstable":null}}},"4061":{"id":4061,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"537":{"id":537,"crate_id":0,"name":"AsyncBufReadExt","span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[12,5],"end":[354,6]},"visibility":"public","docs":"An extension trait which adds utility methods to [`AsyncBufRead`] types.\n\n[`AsyncBufRead`]: crate::io::AsyncBufRead","links":{"crate::io::AsyncBufRead":538},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#261) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":false,"items":[1472,1476,1479,1482,1481,1474],"generics":{"params":[],"where_predicates":[]},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}}],"implementations":[1487]}}},"2299":{"id":2299,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6150":{"id":6150,"crate_id":0,"name":null,"span":{"filename":"src/sync/batch_semaphore.rs","begin":[760,1],"end":[760,46]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4388":{"id":4388,"crate_id":0,"name":"MultiThread","span":{"filename":"src/runtime/runtime.rs","begin":[117,5],"end":[117,16]},"visibility":"default","docs":"The flavor that executes tasks across multiple threads.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"864":{"id":864,"crate_id":0,"name":"poll_flush","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1707,5],"end":[1709,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4715":{"id":4715,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1191":{"id":1191,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2953":{"id":2953,"crate_id":0,"name":"gid_t","span":{"filename":"src/net/unix/mod.rs","begin":[35,1],"end":[35,22]},"visibility":"public","docs":"A type representing group ID.","links":{},"attrs":[{"other":"#[allow(non_camel_case_types)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"type_alias":{"type":{"primitive":"u32"},"generics":{"params":[],"where_predicates":[]}}}},"6804":{"id":6804,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3280":{"id":3280,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2372,10],"end":[2372,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[3279],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5042":{"id":5042,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/broadcast.rs","begin":[274,14],"end":[274,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7131":{"id":7131,"crate_id":0,"name":"spawn_blocking","span":{"filename":"src/task/join_set.rs","begin":[254,5],"end":[261,6]},"visibility":"public","docs":"Spawn the blocking code on the blocking threadpool and store\nit in this `JoinSet`, returning an [`AbortHandle`] that can be\nused to remotely cancel the task.\n\n# Examples\n\nSpawn multiple blocking tasks and wait for them.\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::task::JoinSet;\n\n#[tokio::main]\nasync fn main() {\n    let mut set = JoinSet::new();\n\n    for i in 0..10 {\n        set.spawn_blocking(move || { i });\n    }\n\n    let mut seen = [false; 10];\n    while let Some(res) = set.join_next().await {\n        let idx = res.unwrap();\n        seen[idx] = true;\n    }\n\n    for i in 0..10 {\n        assert!(seen[i]);\n    }\n}\n# }\n```\n\n# Panics\n\nThis method panics if called outside of a Tokio runtime.\n\n[`AbortHandle`]: crate::task::AbortHandle","links":{"crate::task::AbortHandle":3723},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"T"}}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5369":{"id":5369,"crate_id":0,"name":"same_channel_as_sender","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1940,5],"end":[1944,6]},"visibility":"public","docs":"Returns `true` if this permit belongs to the same channel as the given [`Sender`].\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx) = mpsc::channel::<()>(1);\n\nlet permit = tx.clone().reserve_owned().await.unwrap();\nassert!(permit.same_channel_as_sender(&tx));\n\nlet (tx2, rx2) = mpsc::channel::<()>(1);\nassert!(!permit.same_channel_as_sender(&tx2));\n# }\n```","links":{"`Sender`":5224},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["sender",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3607":{"id":3607,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1499,10],"end":[1499,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"process\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[3606],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7458":{"id":7458,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5696":{"id":5696,"crate_id":0,"name":"get_mut","span":{"filename":"src/sync/mutex.rs","begin":[722,5],"end":[724,6]},"visibility":"public","docs":"Returns a mutable reference to the underlying data.\n\nSince this call borrows the `Mutex` mutably, no actual locking needs to\ntake place -- the mutable borrow statically guarantees no locks exist.\n\n# Examples\n\n```\nuse tokio::sync::Mutex;\n\nfn main() {\n    let mut mutex = Mutex::new(1);\n\n    let n = mutex.get_mut();\n    *n = 2;\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2172":{"id":2172,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"410":{"id":410,"crate_id":0,"name":"fmt","span":{"filename":"src/fs/read_dir.rs","begin":[62,10],"end":[62,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6023":{"id":6023,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4261":{"id":4261,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"737":{"id":737,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/async_write.rs","begin":[384,5],"end":[386,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2499":{"id":2499,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/mod.rs","begin":[13,54],"end":[13,66]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"split_owned::ReuniteError","name":"ReuniteError","id":2341,"is_glob":false}}},"4588":{"id":4588,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2826":{"id":2826,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1064":{"id":1064,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"E","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"E"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6350":{"id":6350,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[447,1],"end":[460,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6349],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6677":{"id":6677,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[123,1],"end":[123,33]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Eq","id":961,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4915":{"id":4915,"crate_id":0,"name":"recv","span":{"filename":"src/signal/windows.rs","begin":[401,5],"end":[404,6]},"visibility":"public","docs":"Receives the next signal notification event.\n\nAlthough this returns `Option<()>`, it will never actually return `None`.\nThis was accidentally exposed and would be a breaking change to be removed.\n\n# Examples\n\n```rust,no_run\nuse tokio::signal::windows::ctrl_shutdown;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    // A listener of CTRL-SHUTDOWN events.\n    let mut signal = ctrl_shutdown()?;\n\n    // Print whenever a CTRL-SHUTDOWN event is received.\n    signal.recv().await;\n    println!(\"got CTRL-SHUTDOWN. Cleaning up before exiting\");\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1391":{"id":1391,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3153":{"id":3153,"crate_id":0,"name":"as_handle","span":{"filename":"src/net/windows/named_pipe.rs","begin":[934,5],"end":[936,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedHandle","id":294,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5242":{"id":5242,"crate_id":0,"name":"reserve_many","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1177,5],"end":[1183,6]},"visibility":"public","docs":"Waits for channel capacity. Once capacity to send `n` messages is\navailable, it is reserved for the caller.\n\nIf the channel is full or if there are fewer than `n` permits available, the function waits\nfor the number of unreceived messages to become `n` less than the channel capacity.\nCapacity to send `n` message is then reserved for the caller.\n\nA [`PermitIterator`] is returned to track the reserved capacity.\nYou can call this [`Iterator`] until it is exhausted to\nget a [`Permit`] and then call [`Permit::send`]. This function is similar to\n[`try_reserve_many`] except it waits for the slots to become available.\n\nIf the channel is closed, the function returns a [`SendError`].\n\nDropping [`PermitIterator`] without consuming it entirely releases the remaining\npermits back to the channel.\n\n[`PermitIterator`]: PermitIterator\n[`Permit`]: Permit\n[`send`]: Permit::send\n[`try_reserve_many`]: Sender::try_reserve_many\n\n# Cancel safety\n\nThis channel uses a queue to ensure that calls to `send` and `reserve_many`\ncomplete in the order they were requested. Cancelling a call to\n`reserve_many` makes you lose your place in the queue.\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(2);\n\n// Reserve capacity\nlet mut permit = tx.reserve_many(2).await.unwrap();\n\n// Trying to send directly on the `tx` will fail due to no\n// available capacity.\nassert!(tx.try_send(123).is_err());\n\n// Sending with the permit iterator succeeds\npermit.next().unwrap().send(456);\npermit.next().unwrap().send(457);\n\n// The iterator should now be exhausted\nassert!(permit.next().is_none());\n\n// The value sent on the permit is received\nassert_eq!(rx.recv().await.unwrap(), 456);\nassert_eq!(rx.recv().await.unwrap(), 457);\n# }\n```","links":{"PermitIterator":5240,"Sender::try_reserve_many":5241,"Permit::send":5239,"`Iterator`":2149,"`Permit::send`":5239,"`SendError`":5230,"Permit":5228},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["n",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3480":{"id":3480,"crate_id":0,"name":"start_kill","span":{"filename":"src/process/mod.rs","begin":[1247,5],"end":[1252,6]},"visibility":"public","docs":"Attempts to force the child to exit, but does not wait for the request\nto take effect.\n\nOn Unix platforms, this is the equivalent to sending a `SIGKILL`. Note\nthat on Unix platforms it is possible for a zombie process to remain\nafter a kill is sent; to avoid this, the caller should ensure that either\n`child.wait().await` or `child.try_wait()` is invoked successfully.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1718":{"id":1718,"crate_id":0,"name":"fmt","span":{"filename":"src/io/util/buf_writer.rs","begin":[290,5],"end":[299,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7004":{"id":7004,"crate_id":0,"name":null,"span":{"filename":"src/task/local.rs","begin":[502,1],"end":[862,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[6997,6998,7000,7001,7002,7003],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5569":{"id":5569,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2045":{"id":2045,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[11,5],"end":[11,42]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"async_seek_ext::AsyncSeekExt","name":"AsyncSeekExt","id":238,"is_glob":false}}},"283":{"id":283,"crate_id":0,"name":null,"span":{"filename":"src/fs/file.rs","begin":[924,1],"end":[930,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"},{"other":"#[attr = CfgTrace([NameValue { name: \"unix\", value: None, span: src/fs/file.rs:923:7: 923:11 (#0) }])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"FromRawFd","id":284,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[282],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3807":{"id":3807,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5896":{"id":5896,"crate_id":0,"name":"notified","span":{"filename":"src/sync/notify.rs","begin":[562,5],"end":[572,6]},"visibility":"public","docs":"Wait for a notification.\n\nEquivalent to:\n\n```ignore\nasync fn notified(&self);\n```\n\nEach `Notify` value holds a single permit. If a permit is available from\nan earlier call to [`notify_one()`], then `notified().await` will complete\nimmediately, consuming that permit. Otherwise, `notified().await` waits\nfor a permit to be made available by the next call to `notify_one()`.\n\nThe `Notified` future is not guaranteed to receive wakeups from calls to\n`notify_one()` if it has not yet been polled. See the documentation for\n[`Notified::enable()`] for more details.\n\nThe `Notified` future is guaranteed to receive wakeups from\n`notify_waiters()` as soon as it has been created, even if it has not\nyet been polled.\n\n[`notify_one()`]: Notify::notify_one\n[`Notified::enable()`]: Notified::enable\n\n# Cancel safety\n\nThis method uses a queue to fairly distribute notifications in the order\nthey were requested. Cancelling a call to `notified` makes you lose your\nplace in the queue.\n\n# Examples\n\n```\nuse tokio::sync::Notify;\nuse std::sync::Arc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet notify = Arc::new(Notify::new());\nlet notify2 = notify.clone();\n\ntokio::spawn(async move {\n    notify2.notified().await;\n    println!(\"received notification\");\n});\n\nprintln!(\"sending notification\");\nnotify.notify_one();\n# }\n```","links":{"Notify::notify_one":5897,"Notified::enable":5901},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4134":{"id":4134,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2372":{"id":2372,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split_owned.rs","begin":[497,1],"end":[501,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpStream","id":634,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[2371],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"610":{"id":610,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_writer.rs","begin":[269,1],"end":[277,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[609],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6223":{"id":6223,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2699":{"id":2699,"crate_id":0,"name":"from_raw_fd","span":{"filename":"src/net/unix/socket.rs","begin":[261,5],"end":[266,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["fd",{"resolved_path":{"path":"RawFd","id":275,"args":null}}]],"output":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"937":{"id":937,"crate_id":0,"name":null,"span":{"filename":"src/io/interest.rs","begin":[31,1],"end":[268,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[925,926,927,928,929,930,931,932,933,934,935,936],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4461":{"id":4461,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4788":{"id":4788,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3026":{"id":3026,"crate_id":0,"name":"from_owned_fd","span":{"filename":"src/net/unix/pipe.rs","begin":[419,5],"end":[434,6]},"visibility":"public","docs":"Creates a new `Sender` from an [`OwnedFd`].\n\nThis function is intended to construct a pipe from an [`OwnedFd`] representing\nan anonymous pipe or a special FIFO file. It will check if the file descriptor\nis a pipe and has write access, set it in non-blocking mode and perform the\nconversion.\n\n# Errors\n\nFails with `io::ErrorKind::InvalidInput` if the file descriptor is not a pipe\nor it does not have write access. Also fails with any standard OS error if it\noccurs.\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"crate::runtime::Runtime::enter":1054,"`OwnedFd`":272},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["owned_fd",{"resolved_path":{"path":"OwnedFd","id":272,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Sender","id":856,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1264":{"id":1264,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6877":{"id":6877,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/watch.rs","begin":[242,10],"end":[242,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3353":{"id":3353,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1591":{"id":1591,"crate_id":0,"name":"write_u32_le","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an unsigned 32-bit integer in little-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_u32_le(&mut self, n: u32) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite unsigned 32-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_u32_le(267).await?;\nwriter.write_u32_le(1205419366).await?;\n\nassert_eq!(writer, b\"\\x0b\\x01\\x00\\x00\\x66\\x3d\\xd9\\x47\");\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"WriteU32Le","id":1592,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5115":{"id":5115,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[325,36],"end":[325,41]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[5114],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5442":{"id":5442,"crate_id":0,"name":"strong_count","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[677,5],"end":[679,6]},"visibility":"public","docs":"Returns the number of [`UnboundedSender`] handles.","links":{"`UnboundedSender`":5433},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7204":{"id":7204,"crate_id":0,"name":"name","span":{"filename":"src/task/builder.rs","begin":[74,5],"end":[76,6]},"visibility":"public","docs":"Assigns a name to the task which will be spawned.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["name",{"borrowed_ref":{"lifetime":"'a","is_mutable":false,"type":{"primitive":"str"}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"156":{"id":156,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1918":{"id":1918,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7531":{"id":7531,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[96,1],"end":[96,32]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::instant::Instant","name":"Instant","id":7328,"is_glob":false}}},"4007":{"id":4007,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2245":{"id":2245,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5769":{"id":5769,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6096":{"id":6096,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4334":{"id":4334,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"810":{"id":810,"crate_id":0,"name":"poll_write","span":{"filename":"src/net/tcp/split.rs","begin":[381,5],"end":[387,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2572":{"id":2572,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4661":{"id":4661,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2899":{"id":2899,"crate_id":0,"name":"writable","span":{"filename":"src/net/unix/stream.rs","begin":[577,5],"end":[580,6]},"visibility":"public","docs":"Waits for the socket to become writable.\n\nThis function is equivalent to `ready(Interest::WRITABLE)` and is usually\npaired with `try_write()`.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to write that fails with `WouldBlock` or\n`Poll::Pending`.\n\n# Examples\n\n```no_run\nuse tokio::net::UnixStream;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let dir = tempfile::tempdir().unwrap();\n    let bind_path = dir.path().join(\"bind_path\");\n    let stream = UnixStream::connect(bind_path).await?;\n\n    loop {\n        // Wait for the socket to be writable\n        stream.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match stream.try_write(b\"hello world\") {\n            Ok(n) => {\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1137":{"id":1137,"crate_id":0,"name":"clear_ready","span":{"filename":"src/io/async_fd.rs","begin":[1193,5],"end":[1197,6]},"visibility":"public","docs":"Indicates to tokio that the file descriptor is no longer ready. All\ninternal readiness flags will be cleared, and tokio will wait for the\nnext edge-triggered readiness notification from the OS.\n\nThis function is commonly used with guards returned by [`AsyncFd::readable_mut`] and\n[`AsyncFd::writable_mut`].\n\nIt is critical that this function not be called unless your code\n_actually observes_ that the file descriptor is _not_ ready. Do not call\nit simply because, for example, a read succeeded; it should be called\nwhen a read is observed to block.\n\nThis method only clears readiness events that happened before the creation of this guard.\nIn other words, if the IO resource becomes ready between the creation of the guard and\nthis call to `clear_ready`, then the readiness is not actually cleared.","links":{"`AsyncFd::readable_mut`":1139,"`AsyncFd::writable_mut`":1140},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6423":{"id":6423,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/rwlock/read_guard.rs","begin":[173,5],"end":[175,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6750":{"id":6750,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4988":{"id":4988,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3226":{"id":3226,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[1752,1],"end":[2366,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[3209,3212,3213,3214,3215,3216,3217,3218,3219,3220,3221,3222,3110,3224],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7077":{"id":7077,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3553":{"id":3553,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5315":{"id":5315,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7404":{"id":7404,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5642":{"id":5642,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2118":{"id":2118,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[287,70],"end":[287,75]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::Lines","name":"Lines","id":1486,"is_glob":false}}},"3880":{"id":3880,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4207":{"id":4207,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/dump.rs","begin":[156,17],"end":[156,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2445":{"id":2445,"crate_id":0,"name":"writable","span":{"filename":"src/net/tcp/stream.rs","begin":[834,5],"end":[837,6]},"visibility":"public","docs":"Waits for the socket to become writable.\n\nThis function is equivalent to `ready(Interest::WRITABLE)` and is usually\npaired with `try_write()`.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to write that fails with `WouldBlock` or\n`Poll::Pending`.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\n    loop {\n        // Wait for the socket to be writable\n        stream.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match stream.try_write(b\"hello world\") {\n            Ok(n) => {\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"683":{"id":683,"crate_id":0,"name":"start_seek","span":{"filename":"src/io/util/buf_writer.rs","begin":[227,5],"end":[233,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["pos",{"resolved_path":{"path":"SeekFrom","id":256,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5969":{"id":5969,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6296":{"id":6296,"crate_id":0,"name":"deref","span":{"filename":"src/sync/rwlock/owned_read_guard.rs","begin":[172,5],"end":[174,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"U"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2772":{"id":2772,"crate_id":0,"name":"ready","span":{"filename":"src/net/unix/split_owned.rs","begin":[134,5],"end":[136,6]},"visibility":"public","docs":"Waits for any of the requested ready states.\n\nThis function is usually paired with [`try_read()`]. It can be used instead\nof [`readable()`] to check the returned ready set for [`Ready::READABLE`]\nand [`Ready::READ_CLOSED`] events.\n\nThe function may complete without the socket being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\nThis function is equivalent to [`UnixStream::ready`].\n\n[`try_read()`]: Self::try_read\n[`readable()`]: Self::readable\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`Ready::READ_CLOSED`":982,"`Ready`":978,"`UnixStream::ready`":2708,"`Ready::READABLE`":980,"Self::try_read":2770,"Self::readable":2771},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1010":{"id":1010,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4534":{"id":4534,"crate_id":0,"name":"worker_local_schedule_count","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[865,9],"end":[871,10]},"visibility":"public","docs":"Returns the number of tasks scheduled from **within** the runtime on the\ngiven worker's local queue.\n\nThe local schedule count starts at zero when the runtime is created and\nincreases by one each time a task is woken from **inside** of the\nruntime on the given worker. This usually means that a task is spawned\nor notified from within a runtime thread and will be queued on the\nworker-local queue.\n\nThe counter is monotonically increasing. It is never decremented or\nreset to zero.\n\n# Arguments\n\n`worker` is the index of the worker being queried. The given value must\nbe between 0 and `num_workers()`. The index uniquely identifies a single\nworker and will continue to identify the worker throughout the lifetime\nof the runtime instance.\n\n# Panics\n\nThe method panics when `worker` represents an invalid worker, i.e. is\ngreater than or equal to `num_workers()`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.worker_local_schedule_count(0);\nprintln!(\"{} tasks were scheduled on the worker's local queue\", n);\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/metrics/runtime.rs:578:13: 578:27 (#0) }, NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/runtime/metrics/runtime.rs:579:13: 579:37 (#0) }], src/runtime/metrics/runtime.rs:577:15: 580:10 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, target_has_atomic = \"64\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["worker",{"primitive":"usize"}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4861":{"id":4861,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3099":{"id":3099,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/mod.rs","begin":[13,17],"end":[13,25]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"split::ReadHalf","name":"ReadHalf","id":637,"is_glob":false}}},"1337":{"id":1337,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6623":{"id":6623,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6950":{"id":6950,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5188":{"id":5188,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[1729,1],"end":[1733,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5187],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1664":{"id":1664,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"RW"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3426":{"id":3426,"crate_id":0,"name":"args","span":{"filename":"src/process/mod.rs","begin":[406,5],"end":[413,6]},"visibility":"public","docs":"Adds multiple arguments to pass to the program.\n\nTo pass a single argument see [`arg`].\n\n[`arg`]: method@Self::arg\n\n# Examples\n\nBasic usage:\n\n```no_run\n# async fn test() { // allow using await\nuse tokio::process::Command;\n\nlet output = Command::new(\"ls\")\n        .args(&[\"-l\", \"-a\"])\n        .output().await.unwrap();\n# }\n```","links":{"method@Self::arg":3427},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["args",{"generic":"I"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[{"name":"I","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"S","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"I"},"bounds":[{"trait_bound":{"trait":{"path":"IntoIterator","id":3428,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Item","args":null,"binding":{"equality":{"type":{"generic":"S"}}}}]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"S"},"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5515":{"id":5515,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3753":{"id":3753,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/id.rs","begin":[31,30],"end":[31,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["hash_slice"],"trait":{"path":"Hash","id":2985,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[3752],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"229":{"id":229,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7277":{"id":7277,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7604":{"id":7604,"crate_id":0,"name":"os","span":{"filename":"src/doc/os.rs","begin":[1,1],"end":[68,2]},"visibility":"public","docs":"See [`std::os`](https://doc.rust-lang.org/std/os/index.html).","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"feature\", value: Some(\"net\"), span: src/doc/mod.rs:46:11: 46:26 (#0) }, NameValue { name: \"feature\", value: Some(\"fs\"), span: src/doc/mod.rs:46:28: 46:42 (#0) }], src/doc/mod.rs:46:10: 46:43 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[7603],"is_stripped":false}}},"5842":{"id":5842,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":{"generic":"T"},"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2318":{"id":2318,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"556":{"id":556,"crate_id":0,"name":null,"span":{"filename":"src/io/async_buf_read.rs","begin":[111,1],"end":[121,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"slice":{"primitive":"u8"}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncBufRead","id":538,"args":null},"for":{"resolved_path":{"path":"io::Cursor","id":557,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[554,555],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4080":{"id":4080,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6169":{"id":6169,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4407":{"id":4407,"crate_id":0,"name":null,"span":{"filename":"src/runtime/runtime.rs","begin":[111,17],"end":[111,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"883":{"id":883,"crate_id":0,"name":"filled_mut","span":{"filename":"src/io/read_buf.rs","begin":[73,5],"end":[78,6]},"visibility":"public","docs":"Returns a mutable reference to the filled portion of the buffer.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2645":{"id":2645,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6496":{"id":6496,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2972":{"id":2972,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1210":{"id":1210,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[1177,1],"end":[1370,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"Inner","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"Inner"}}],"constraints":[]}}}},"items":[1137,1136,1203,1204,1205,1206,1207,1208,1209],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4734":{"id":4734,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/mod.rs","begin":[26,79],"end":[26,98]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[allow(unreachable_pub)]"},{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1731) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"histogram::LogHistogramBuilder","name":"LogHistogramBuilder","id":3982,"is_glob":false}}},"6823":{"id":6823,"crate_id":0,"name":"borrow","span":{"filename":"src/sync/watch.rs","begin":[1253,5],"end":[1260,6]},"visibility":"public","docs":"Returns a reference to the most recently sent value\n\nOutstanding borrows hold a read lock on the inner value. This means that\nlong-lived borrows could cause the producer half to block. It is recommended\nto keep the borrow as short-lived as possible. Additionally, if you are\nrunning in an environment that allows `!Send` futures, you must ensure that\nthe returned `Ref` type is never held alive across an `.await` point,\notherwise, it can lead to a deadlock.\n\n# Examples\n\n```\nuse tokio::sync::watch;\n\nlet (tx, _) = watch::channel(\"hello\");\nassert_eq!(*tx.borrow(), \"hello\");\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5061":{"id":5061,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3299":{"id":3299,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1537":{"id":1537,"crate_id":0,"name":"read_f32_le","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an 32-bit floating point type in little-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_f32_le(&mut self) -> io::Result<f32>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead 32-bit floating point type from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![0xff, 0xff, 0x7f, 0xff]);\n\nassert_eq!(f32::MIN, reader.read_f32_le().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadF32Le","id":1538,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7150":{"id":7150,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5388":{"id":5388,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1947,1],"end":[1957,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5387],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1864":{"id":1864,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7477":{"id":7477,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5715":{"id":5715,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3953":{"id":3953,"crate_id":0,"name":"thread_stack_size","span":{"filename":"src/runtime/builder.rs","begin":[680,5],"end":[683,6]},"visibility":"public","docs":"Sets the stack size (in bytes) for worker threads.\n\nThe actual stack size may be greater than this value if the platform\nspecifies minimal stack size.\n\nThe default stack size for spawned threads is 2 MiB, though this\nparticular stack size is subject to change in the future.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n# use tokio::runtime;\n\n# pub fn main() {\nlet rt = runtime::Builder::new_multi_thread()\n    .thread_stack_size(32 * 1024)\n    .build();\n# }\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["val",{"primitive":"usize"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"429":{"id":429,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2191":{"id":2191,"crate_id":0,"name":"as_raw_socket","span":{"filename":"src/net/tcp/listener.rs","begin":[449,9],"end":[451,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawSocket","id":2192,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4280":{"id":4280,"crate_id":0,"name":"RuntimeFlavor","span":{"filename":"src/runtime/runtime.rs","begin":[113,1],"end":[118,2]},"visibility":"public","docs":"The flavor of a `Runtime`.\n\nThis is the return type for [`Handle::runtime_flavor`](crate::runtime::Handle::runtime_flavor()).","links":{"crate::runtime::Handle::runtime_flavor()":4279},"attrs":["non_exhaustive"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"enum":{"generics":{"params":[],"where_predicates":[]},"has_stripped_variants":false,"variants":[4387,4388],"impls":[4389,4390,4391,4392,4393,4394,4395,4396,4397,4398,4399,4400,4401,4402,4403,4404,4406,4407,4409,4410]}}},"2518":{"id":2518,"crate_id":0,"name":"poll_send_ready","span":{"filename":"src/net/udp.rs","begin":[524,5],"end":[526,6]},"visibility":"public","docs":"Polls for write/send readiness.\n\nIf the udp stream is not currently ready for sending, this method will\nstore a clone of the `Waker` from the provided `Context`. When the udp\nstream becomes ready for sending, `Waker::wake` will be called on the\nwaker.\n\nNote that on multiple calls to `poll_send_ready` or `poll_send`, only\nthe `Waker` from the `Context` passed to the most recent call is\nscheduled to receive a wakeup. (However, `poll_recv_ready` retains a\nsecond, independent waker.)\n\nThis function is intended for cases where creating and pinning a future\nvia [`writable`] is not feasible. Where possible, using [`writable`] is\npreferred, as this supports polling from multiple tasks at once.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the udp stream is not ready for writing.\n* `Poll::Ready(Ok(()))` if the udp stream is ready for writing.\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n[`writable`]: method@Self::writable","links":{"method@Self::writable":2517},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"756":{"id":756,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/split.rs","begin":[121,5],"end":[127,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6042":{"id":6042,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/oneshot.rs","begin":[351,14],"end":[351,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6369":{"id":6369,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4607":{"id":4607,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[150,1],"end":[154,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[4606],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1083":{"id":1083,"crate_id":0,"name":null,"span":{"filename":"src/io/bsd/poll_aio.rs","begin":[202,1],"end":[206,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(target_os = \"freebsd\", feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"E","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AioSource","id":1049,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"DerefMut","id":549,"args":null},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[1082],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2845":{"id":2845,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4934":{"id":4934,"crate_id":0,"name":"fmt","span":{"filename":"src/signal/windows.rs","begin":[373,10],"end":[373,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3172":{"id":3172,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1410":{"id":1410,"crate_id":0,"name":null,"span":{"filename":"src/io/split.rs","begin":[102,1],"end":[108,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1409],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6696":{"id":6696,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7023":{"id":7023,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5261":{"id":5261,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1737":{"id":1737,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3499":{"id":3499,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5588":{"id":5588,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[27,10],"end":[27,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::PartialEq","id":966,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5587],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3826":{"id":3826,"crate_id":0,"name":"drop","span":{"filename":"src/runtime/task/join.rs","begin":[358,5],"end":[364,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2064":{"id":2064,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[70,20],"end":[70,24]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"sink::sink","name":"sink","id":1940,"is_glob":false}}},"302":{"id":302,"crate_id":0,"name":"hard_link","span":{"filename":"src/fs/hard_link.rs","begin":[39,1],"end":[44,2]},"visibility":"public","docs":"Creates a new hard link on the filesystem.\n\nThis is an async version of [`std::fs::hard_link`].\n\nThe `link` path will be a link pointing to the `original` path. Note that systems\noften require these two paths to both be located on the same filesystem.\n\n# Platform-specific behavior\n\nThis function currently corresponds to the `link` function on Unix\nand the `CreateHardLink` function on Windows.\nNote that, this [may change in the future][changes].\n\n[changes]: https://doc.rust-lang.org/std/io/index.html#platform-specific-behavior\n\n# Errors\n\nThis function will return an error in the following situations, but is not\nlimited to just these cases:\n\n* The `original` path is not a file or doesn't exist.\n\n# Examples\n\n```no_run\nuse tokio::fs;\n\n#[tokio::main]\nasync fn main() -> std::io::Result<()> {\n    fs::hard_link(\"a.txt\", \"b.txt\").await?; // Hard link a.txt to b.txt\n    Ok(())\n}\n```","links":{"`std::fs::hard_link`":301},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["original",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}],["link",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}},{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7350":{"id":7350,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5915":{"id":5915,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2391":{"id":2391,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"629":{"id":629,"crate_id":0,"name":"poll_read","span":{"filename":"src/net/tcp/split_owned.rs","begin":[334,5],"end":[340,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6242":{"id":6242,"crate_id":0,"name":"merge","span":{"filename":"src/sync/semaphore.rs","begin":[1168,5],"end":[1175,6]},"visibility":"public","docs":"Merge two [`OwnedSemaphorePermit`] instances together, consuming `other`\nwithout releasing the permits it holds.\n\nPermits held by both `self` and `other` are released when `self` drops.\n\n# Panics\n\nThis function panics if permits from different [`Semaphore`] instances\nare merged.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::Semaphore;\n\nlet sem = Arc::new(Semaphore::new(10));\nlet mut permit = sem.clone().try_acquire_owned().unwrap();\n\nfor _ in 0..9 {\n    let _permit = sem.clone().try_acquire_owned().unwrap();\n    // Merge individual permits into a single one.\n    permit.merge(_permit)\n}\n\nassert_eq!(sem.available_permits(), 0);\n\n// Release all permits in a single batch.\ndrop(permit);\n\nassert_eq!(sem.available_permits(), 10);\n```","links":{"`OwnedSemaphorePermit`":6182,"`Semaphore`":5895},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["other",{"generic":"Self"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4480":{"id":4480,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2718":{"id":2718,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"956":{"id":956,"crate_id":0,"name":"clone","span":{"filename":"src/io/interest.rs","begin":[28,10],"end":[28,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Interest","id":924,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6569":{"id":6569,"crate_id":0,"name":"get_or_try_init","span":{"filename":"src/sync/once_cell.rs","begin":[400,5],"end":[438,6]},"visibility":"public","docs":"Gets the value currently in the `OnceCell`, or initialize it with the\ngiven asynchronous operation.\n\nIf some other task is currently working on initializing the `OnceCell`,\nthis call will wait for that other task to finish, then return the value\nthat the other task produced.\n\nIf the provided operation returns an error, is cancelled or panics, the\ninitialization attempt is cancelled. If there are other tasks waiting\nfor the value to be initialized, one of them will start another attempt\nat initializing the value.\n\nThis will deadlock if `f` tries to initialize the cell recursively.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}},{"type":{"generic":"E"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"E","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"Fut","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"Fut"}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"Fut"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":{"angle_bracketed":{"args":[],"constraints":[{"name":"Output","args":null,"binding":{"equality":{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"E"}}],"constraints":[]}}}}}}}]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3045":{"id":3045,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"1283":{"id":1283,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[260,44],"end":[260,62]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"super::async_fd::AsyncFdTryNewError","name":"AsyncFdTryNewError","id":1124,"is_glob":false}}},"4807":{"id":4807,"crate_id":0,"name":null,"span":{"filename":"src/signal/unix.rs","begin":[78,36],"end":[78,45]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[4806],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5134":{"id":5134,"crate_id":0,"name":"weak_count","span":{"filename":"src/sync/broadcast.rs","begin":[948,5],"end":[950,6]},"visibility":"public","docs":"Returns the number of [`WeakSender`] handles.","links":{"`WeakSender`":5125},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3372":{"id":3372,"crate_id":0,"name":"named_pipe","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1,1],"end":[2699,2]},"visibility":"public","docs":"Tokio support for [Windows named pipes].\n\n[Windows named pipes]: https://docs.microsoft.com/en-us/windows/win32/ipc/named-pipes","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[649,652,3208,3253,3211,3315,3116],"is_stripped":false}}},"1610":{"id":1610,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"generic":"W"},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6896":{"id":6896,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[480,5],"end":[480,28]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"rwlock::RwLock","name":"RwLock","id":6273,"is_glob":false}}},"7223":{"id":7223,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3699":{"id":3699,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5461":{"id":5461,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5788":{"id":5788,"crate_id":0,"name":"deref","span":{"filename":"src/sync/mutex.rs","begin":[1162,5],"end":[1164,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"qualified_path":{"name":"Target","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":550,"args":null}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4026":{"id":4026,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"502":{"id":502,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[263,1],"end":[263,30]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::rename::rename","name":"rename","id":460,"is_glob":false}}},"2264":{"id":2264,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/socket.rs","begin":[1040,5],"end":[1044,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#476) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#476) }], src/macros/cfg.rs:42:26: 42:39 (#476)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#476) }], src/macros/cfg.rs:42:22: 42:49 (#476))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawSocket","id":2194,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[2263],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4353":{"id":4353,"crate_id":0,"name":"fmt","span":{"filename":"src/runtime/handle.rs","begin":[738,5],"end":[744,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2591":{"id":2591,"crate_id":0,"name":null,"span":{"filename":"src/net/udp.rs","begin":[2336,5],"end":[2340,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"super::UdpSocket","id":2510,"args":null}},"items":[2590],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"829":{"id":829,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/stream.rs","begin":[1486,1],"end":[1517,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[824,825,826,827,828],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6115":{"id":6115,"crate_id":0,"name":"drop","span":{"filename":"src/sync/oneshot.rs","begin":[1246,5],"end":[1265,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6442":{"id":6442,"crate_id":0,"name":"downgrade","span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[376,5],"end":[409,6]},"visibility":"public","docs":"Atomically downgrades a write lock into a read lock without allowing\nany writers to take exclusive access of the lock in the meantime.\n\n**Note:** This won't *necessarily* allow any additional readers to acquire\nlocks, since [`RwLock`] is fair and it is possible that a writer is next\nin line.\n\nReturns an RAII guard which will drop this read access of the `RwLock`\nwhen dropped.\n\n# Examples\n\n```\n# use tokio::sync::RwLock;\n# use std::sync::Arc;\n#\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(1));\n\nlet n = lock.write().await;\n\nlet cloned_lock = lock.clone();\nlet handle = tokio::spawn(async move {\n    *cloned_lock.write().await = 2;\n});\n\nlet n = n.downgrade();\nassert_eq!(*n, 1, \"downgrade is atomic\");\n\ndrop(n);\nhandle.await.unwrap();\nassert_eq!(*lock.read().await, 2, \"second writer obtained write lock\");\n# }\n```\n\n[`RwLock`]: struct@crate::sync::RwLock","links":{"struct@crate::sync::RwLock":6273},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4680":{"id":4680,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1156":{"id":1156,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2918":{"id":2918,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6769":{"id":6769,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[358,21],"end":[358,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[6768],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3245":{"id":3245,"crate_id":0,"name":"fmt","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1733,10],"end":[1733,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1483":{"id":1483,"crate_id":0,"name":"FillBuf","span":{"filename":"src/io/util/fill_buf.rs","begin":[10,1],"end":[19,2]},"visibility":"public","docs":"Future for the [`fill_buf`](crate::io::AsyncBufReadExt::fill_buf) method.","links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"5007":{"id":5007,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7096":{"id":7096,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"5334":{"id":5334,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1810":{"id":1810,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3572":{"id":3572,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1607,1],"end":[1613,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Stdio","id":3437,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[3570,3571],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7423":{"id":7423,"crate_id":0,"name":"clone","span":{"filename":"src/time/interval.rs","begin":[175,17],"end":[175,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5661":{"id":5661,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/error.rs","begin":[146,9],"end":[151,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2137":{"id":2137,"crate_id":0,"name":null,"span":{"filename":"src/net/addr.rs","begin":[90,1],"end":[90,40]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"for":{"tuple":[{"resolved_path":{"path":"std::net::IpAddr","id":2138,"args":null}},{"primitive":"u16"}]},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"375":{"id":375,"crate_id":0,"name":"default","span":{"filename":"src/fs/open_options.rs","begin":[856,5],"end":[858,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2464":{"id":2464,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"702":{"id":702,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/async_write.rs","begin":[212,5],"end":[212,25]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4226":{"id":4226,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4553":{"id":4553,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2791":{"id":2791,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1029":{"id":1029,"crate_id":0,"name":null,"span":{"filename":"src/io/ready.rs","begin":[273,1],"end":[280,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"BitOr","id":970,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[1027,1028],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6315":{"id":6315,"crate_id":0,"name":"map","span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[86,5],"end":[101,6]},"visibility":"public","docs":"Makes a new [`OwnedRwLockMappedWriteGuard`] for a component of the locked\ndata.\n\nThis operation cannot fail as the `OwnedRwLockWriteGuard` passed in\nalready locked the data.\n\nThis is an associated function that needs to be used as\n`OwnedRwLockWriteGuard::map(..)`. A method would interfere with methods\nof the same name on the contents of the locked data.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::{RwLock, OwnedRwLockWriteGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(Foo(1)));\n\n{\n    let lock = Arc::clone(&lock);\n    let mut mapped = OwnedRwLockWriteGuard::map(lock.write_owned().await, |f| &mut f.0);\n    *mapped = 2;\n}\n\nassert_eq!(Foo(2), *lock.read().await);\n# }\n```","links":{"`OwnedRwLockMappedWriteGuard`":6314},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6642":{"id":6642,"crate_id":0,"name":"const_new","span":{"filename":"src/sync/set_once.rs","begin":[190,5],"end":[196,6]},"visibility":"public","docs":"Creates a new empty `SetOnce` instance.\n\nEquivalent to `SetOnce::new`, except that it can be used in static\nvariables.\n\nWhen using the `tracing` [unstable feature], a `SetOnce` created with\n`const_new` will not be instrumented. As such, it will not be visible\nin [`tokio-console`]. Instead, [`SetOnce::new`] should be used to\ncreate an instrumented object if that is needed.\n\n# Example\n\n```\nuse tokio::sync::{SetOnce, SetOnceError};\n\nstatic ONCE: SetOnce<u32> = SetOnce::const_new();\n\nfn get_global_integer() -> Result<Option<&'static u32>, SetOnceError<u32>> {\n    ONCE.set(2)?;\n    Ok(ONCE.get())\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> Result<(), SetOnceError<u32>> {\nlet result = get_global_integer()?;\n\nassert_eq!(result, Some(&2));\nOk(())\n# }\n```\n\n[`tokio-console`]: https://github.com/tokio-rs/console\n[unstable feature]: crate#unstable-features","links":{"`SetOnce::new`":6641,"crate#unstable-features":3944},"attrs":[{"other":"#[attr = CfgTrace([Not(All([NameValue { name: \"loom\", value: None, span: src/sync/set_once.rs:189:19: 189:23 (#0) }, NameValue { name: \"test\", value: None, span: src/sync/set_once.rs:189:25: 189:29 (#0) }], src/sync/set_once.rs:189:18: 189:30 (#0)), src/sync/set_once.rs:189:14: 189:31 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4880":{"id":4880,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1356":{"id":1356,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3118":{"id":3118,"crate_id":0,"name":"ready","span":{"filename":"src/net/windows/named_pipe.rs","begin":[305,5],"end":[308,6]},"visibility":"public","docs":"Waits for any of the requested ready states.\n\nThis function is usually paired with `try_read()` or `try_write()`. It\ncan be used to concurrently read / write to the same pipe on a single\ntask without splitting the pipe.\n\nThe function may complete without the pipe being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\n# Examples\n\nConcurrently read and write to the pipe on the same task without\nsplitting.\n\n```no_run\nuse tokio::io::Interest;\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-server-ready\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let server = named_pipe::ServerOptions::new()\n        .create(PIPE_NAME)?;\n\n    loop {\n        let ready = server.ready(Interest::READABLE | Interest::WRITABLE).await?;\n\n        if ready.is_readable() {\n            let mut data = vec![0; 1024];\n            // Try to read data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match server.try_read(&mut data) {\n                Ok(n) => {\n                    println!(\"read {} bytes\", n);\n                }\n                Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n        }\n\n        if ready.is_writable() {\n            // Try to write data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match server.try_write(b\"hello world\") {\n                Ok(n) => {\n                    println!(\"write {} bytes\", n);\n                }\n                Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n        }\n    }\n}\n```","links":{"`Ready`":978},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5207":{"id":5207,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3445":{"id":3445,"crate_id":0,"name":"signal","span":{"filename":"src/signal/mod.rs","begin":[1,1],"end":[89,2]},"visibility":"public","docs":"Asynchronous signal handling for Tokio.\n\nNote that signal handling is in general a very tricky topic and should be\nused with great care. This crate attempts to implement 'best practice' for\nsignal handling, but it should be evaluated for your own applications' needs\nto see if it's suitable.\n\nThere are some fundamental limitations of this crate documented on the OS\nspecific structures, as well.\n\n# Examples\n\nPrint on \"ctrl-c\" notification.\n\n```rust,no_run\nuse tokio::signal;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    signal::ctrl_c().await?;\n    println!(\"ctrl-c received!\");\n    Ok(())\n}\n```\n\nWait for `SIGHUP` on Unix\n\n```rust,no_run\n# #[cfg(unix)] {\nuse tokio::signal::unix::{signal, SignalKind};\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    // An infinite stream of hangup signals.\n    let mut stream = signal(SignalKind::hangup())?;\n\n    // Print whenever a HUP signal is received\n    loop {\n        stream.recv().await;\n        println!(\"got signal HUP\");\n    }\n}\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"signal\"), span: src/macros/cfg.rs:426:19: 426:37 (#1814) },\nNot(NameValue { name: \"loom\", value: None, span: src/macros/cfg.rs:428:23: 428:27 (#1814) }, src/macros/cfg.rs:428:22: 428:28 (#1814)),\nNot(NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/macros/cfg.rs:429:23: 429:41 (#1814) }, src/macros/cfg.rs:429:22: 429:42 (#1814))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"signal\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[4838,4960,4962],"is_stripped":false}}},"1683":{"id":1683,"crate_id":0,"name":null,"span":{"filename":"src/io/util/buf_stream.rs","begin":[87,1],"end":[119,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"RW","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[1682],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7296":{"id":7296,"crate_id":0,"name":"Elapsed","span":{"filename":"src/time/error.rs","begin":[47,1],"end":[47,24]},"visibility":"public","docs":"Errors returned by `Timeout`.\n\nThis error is returned when a timeout expires before the function was able\nto finish.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[7297,7298,7299,7300,7301,7302,7303,7304,7305,7306,7307,7308,7309,7310,7311,7312,7313,7315,7316,7318,7319,7321,7322,7324]}}},"5534":{"id":5534,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2010":{"id":2010,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"248":{"id":248,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3772":{"id":3772,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5861":{"id":5861,"crate_id":0,"name":"deref_mut","span":{"filename":"src/sync/mutex.rs","begin":[1381,5],"end":[1383,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"qualified_path":{"name":"Target","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":550,"args":null}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4099":{"id":4099,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"575":{"id":575,"crate_id":0,"name":"Chain","span":{"filename":"src/io/util/chain.rs","begin":[9,1],"end":[20,2]},"visibility":"public","docs":"Stream for the [`chain`](super::AsyncReadExt::chain) method.","links":{"super::AsyncReadExt::chain":1489},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"must_use":{"reason":"streams do nothing unless polled"}},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1749,612,574]}}},"7623":{"id":7623,"crate_id":0,"name":"register","span":{"filename":"src/doc/mod.rs","begin":[25,5],"end":[32,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["_registry",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"mio::Registry","id":7624,"args":null}}}}],["_token",{"resolved_path":{"path":"mio::Token","id":7625,"args":null}}],["_interests",{"resolved_path":{"path":"mio::Interest","id":7626,"args":null}}]],"output":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6188":{"id":6188,"crate_id":0,"name":"forget","span":{"filename":"src/sync/semaphore.rs","begin":[1024,5],"end":[1026,6]},"visibility":"public","docs":"Forgets the permit **without** releasing it back to the semaphore.\nThis can be used to reduce the amount of permits available from a\nsemaphore.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::Semaphore;\n\nlet sem = Arc::new(Semaphore::new(10));\n{\n    let permit = sem.try_acquire_many(5).unwrap();\n    assert_eq!(sem.available_permits(), 5);\n    permit.forget();\n}\n\n// Since we forgot the permit, available permits won't go back to its initial value\n// even after the permit is dropped.\nassert_eq!(sem.available_permits(), 5);\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2664":{"id":2664,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/listener.rs","begin":[259,1],"end":[263,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsFd","id":281,"args":null},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[2663],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"902":{"id":902,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4426":{"id":4426,"crate_id":0,"name":"metrics","span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[381,5],"end":[383,6]},"visibility":"public","docs":"Returns a view that lets you get information about how the runtime\nis performing.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"crate::runtime::RuntimeMetrics","id":4284,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4753":{"id":4753,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[641,27],"end":[641,41]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1811) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"metrics::HistogramScale","name":"HistogramScale","id":3981,"is_glob":false}}},"6842":{"id":6842,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3318":{"id":3318,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1556":{"id":1556,"crate_id":0,"name":"write_buf","span":{"filename":"src/io/util/async_write_ext.rs","begin":[266,9],"end":[272,10]},"visibility":"default","docs":"Writes a buffer into this writer, advancing the buffer's internal\ncursor.\n\nEquivalent to:\n\n```ignore\nasync fn write_buf<B: Buf>(&mut self, buf: &mut B) -> io::Result<usize>;\n```\n\nThis function will attempt to write the entire contents of `buf`, but\nthe entire write may not succeed, or the write may also generate an\nerror. After the operation completes, the buffer's\ninternal cursor is advanced by the number of bytes written. A\nsubsequent call to `write_buf` using the **same** `buf` value will\nresume from the point that the first call to `write_buf` completed.\nA call to `write_buf` represents *at most one* attempt to write to any\nwrapped object.\n\n# Return\n\nIf the return value is `Ok(n)` then it must be guaranteed that `n <=\nbuf.len()`. A return value of `0` typically means that the\nunderlying object is no longer able to accept bytes and will likely\nnot be able to in the future as well, or that the buffer provided is\nempty.\n\n# Errors\n\nEach call to `write` may generate an I/O error indicating that the\noperation could not be completed. If an error is returned then no bytes\nin the buffer were written to this writer.\n\nIt is **not** considered an error if the entire buffer could not be\nwritten to this writer.\n\n# Cancel safety\n\nThis method is cancel safe. If it is used as a branch in\n[`tokio::select!`](crate::select) and another branch completes\nfirst, then it is guaranteed that no data was\nwritten to this `AsyncWrite`.\n\n# Examples\n\n[`File`] implements [`AsyncWrite`] and [`Cursor`]`<&[u8]>` implements [`Buf`]:\n\n[`File`]: crate::fs::File\n[`Buf`]: bytes::Buf\n[`Cursor`]: std::io::Cursor\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::io::{self, AsyncWriteExt};\nuse tokio::fs::File;\n\nuse bytes::Buf;\nuse std::io::Cursor;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let mut file = File::create(\"foo.txt\").await?;\n    let mut buffer = Cursor::new(b\"data to write\");\n\n    // Loop until the entire contents of the buffer are written to\n    // the file.\n    while buffer.has_remaining() {\n        // Writes some prefix of the byte string, not necessarily\n        // all of it.\n        file.write_buf(&mut buffer).await?;\n    }\n    file.flush().await?;\n\n    Ok(())\n}\n# }\n```","links":{"crate::select":1471,"crate::fs::File":204,"`AsyncWrite`":225,"bytes::Buf":1555,"std::io::Cursor":557},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}],["src",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"WriteBuf","id":1557,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"Self"}},{"type":{"generic":"B"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"B","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"B"},"bounds":[{"trait_bound":{"trait":{"path":"Buf","id":1555,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5080":{"id":5080,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/broadcast.rs","begin":[311,9],"end":[316,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5407":{"id":5407,"crate_id":0,"name":"sender_weak_count","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[737,5],"end":[739,6]},"visibility":"public","docs":"Returns the number of [`WeakSender`] handles.","links":{"`WeakSender`":5254},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7496":{"id":7496,"crate_id":0,"name":"into_inner","span":{"filename":"src/time/timeout.rs","begin":[200,5],"end":[202,6]},"visibility":"public","docs":"Consumes this timeout, returning the underlying value.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"generic":"T"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3972":{"id":3972,"crate_id":0,"name":"disable_lifo_slot","span":{"filename":"src/runtime/builder.rs","begin":[1346,9],"end":[1349,10]},"visibility":"public","docs":"Disables the LIFO task scheduler heuristic.\n\nThe multi-threaded scheduler includes a heuristic for optimizing\nmessage-passing patterns. This heuristic results in the **last**\nscheduled task being polled first.\n\nTo implement this heuristic, each worker thread has a slot which\nholds the task that should be polled next. However, this slot cannot\nbe stolen by other worker threads, which can result in lower total\nthroughput when tasks tend to have longer poll times.\n\nThis configuration option will disable this heuristic resulting in\nall scheduled tasks being pushed into the worker-local queue, which\nis stealable.\n\nConsider trying this option when the task \"scheduled\" time is high\nbut the runtime is underutilized. Use [tokio-rs/tokio-metrics] to\ncollect this data.\n\n# Unstable\n\nThis configuration option is considered a workaround for the LIFO\nslot not being stealable. When the slot becomes stealable, we will\nrevisit whether or not this option is necessary. See\nissue [tokio-rs/tokio#4941].\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime;\n\nlet rt = runtime::Builder::new_multi_thread()\n    .disable_lifo_slot()\n    .build()\n    .unwrap();\n# }\n```\n\n[tokio-rs/tokio-metrics]: https://github.com/tokio-rs/tokio-metrics\n[tokio-rs/tokio#4941]: https://github.com/tokio-rs/tokio/issues/4941","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:609:19: 609:33 (#1591) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2210":{"id":2210,"crate_id":0,"name":"send_buffer_size","span":{"filename":"src/net/tcp/socket.rs","begin":[382,5],"end":[384,6]},"visibility":"public","docs":"Returns the size of the TCP send buffer for this socket.\n\nOn most operating systems, this is the value of the `SO_SNDBUF` socket\noption.\n\nNote that if [`set_send_buffer_size`] has been called on this socket\npreviously, the value returned by this function may not be the same as\nthe argument provided to `set_send_buffer_size`. This is for the\nfollowing reasons:\n\n* Most operating systems have minimum and maximum allowed sizes for the\n  send buffer, and will clamp the provided value if it is below the\n  minimum or above the maximum. The minimum and maximum buffer sizes are\n  OS-dependent.\n* Linux will double the buffer size to account for internal bookkeeping\n  data, and returns the doubled value from `getsockopt(2)`. As per `man\n  7 socket`:\n  > Sets or gets the maximum socket send buffer in bytes. The\n  > kernel doubles this value (to allow space for bookkeeping\n  > overhead) when it is set using `setsockopt(2)`, and this doubled\n  > value is returned by `getsockopt(2)`.\n\n[`set_send_buffer_size`]: #method.set_send_buffer_size","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u32"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5734":{"id":5734,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6061":{"id":6061,"crate_id":0,"name":"close","span":{"filename":"src/sync/oneshot.rs","begin":[947,5],"end":[959,6]},"visibility":"public","docs":"Prevents the associated [`Sender`] handle from sending a value.\n\nAny `send` operation which happens after calling `close` is guaranteed\nto fail. After calling `close`, [`try_recv`] should be called to\nreceive a value if one was sent **before** the call to `close`\ncompleted.\n\nThis function is useful to perform a graceful shutdown and ensure that a\nvalue will not be sent into the channel and never received.\n\n`close` is no-op if a message is already received or the channel\nis already closed.\n\n[`Sender`]: Sender\n[`try_recv`]: Receiver::try_recv\n\n# Examples\n\nPrevent a value from being sent\n\n```\nuse tokio::sync::oneshot;\nuse tokio::sync::oneshot::error::TryRecvError;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = oneshot::channel();\n\nassert!(!tx.is_closed());\n\nrx.close();\n\nassert!(tx.is_closed());\nassert!(tx.send(\"never received\").is_err());\n\nmatch rx.try_recv() {\n    Err(TryRecvError::Closed) => {}\n    _ => unreachable!(),\n}\n# }\n```\n\nReceive a value sent **before** calling `close`\n\n```\nuse tokio::sync::oneshot;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = oneshot::channel();\n\nassert!(tx.send(\"will receive\").is_ok());\n\nrx.close();\n\nlet msg = rx.try_recv().unwrap();\nassert_eq!(msg, \"will receive\");\n# }\n```","links":{"Sender":6057,"Receiver::try_recv":6090},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4299":{"id":4299,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"775":{"id":775,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/util/buf_stream.rs","begin":[122,5],"end":[128,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2537":{"id":2537,"crate_id":0,"name":"peek","span":{"filename":"src/net/udp.rs","begin":[1569,5],"end":[1574,6]},"visibility":"public","docs":"Receives a single datagram from the connected address without removing it from the queue.\nOn success, returns the number of bytes read from whence the data came.\n\n# Notes\n\nOn Windows, if the data is larger than the buffer specified, the buffer\nis filled with the first part of the data, and peek returns the error\n`WSAEMSGSIZE(10040)`. The excess data is lost.\nMake sure to always use a sufficiently large buffer to hold the\nmaximum UDP packet size, which can be up to 65536 bytes in size.\n\nMacOS will return an error if you pass a zero-sized buffer.\n\nIf you're merely interested in learning the sender of the data at the head of the queue,\ntry [`peek_sender`].\n\nNote that the socket address **cannot** be implicitly trusted, because it is relatively\ntrivial to send a UDP datagram with a spoofed origin in a [packet injection attack].\nBecause UDP is stateless and does not validate the origin of a packet,\nthe attacker does not need to be able to intercept traffic in order to interfere.\nIt is important to be aware of this when designing your application-level protocol.\n\n# Examples\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n\n    let mut buf = vec![0u8; 32];\n    let len = socket.peek(&mut buf).await?;\n\n    println!(\"peeked {:?} bytes\", len);\n\n    Ok(())\n}\n```\n\n[`peek_sender`]: method@Self::peek_sender\n[packet injection attack]: https://en.wikipedia.org/wiki/Packet_injection","links":{"method@Self::peek_sender":2536},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4626":{"id":4626,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2864":{"id":2864,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/socketaddr.rs","begin":[12,1],"end":[48,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[2860,2861,2863],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1102":{"id":1102,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6388":{"id":6388,"crate_id":0,"name":"drop","span":{"filename":"src/sync/rwlock/owned_write_guard_mapped.rs","begin":[218,5],"end":[229,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6715":{"id":6715,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4953":{"id":4953,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1429":{"id":1429,"crate_id":0,"name":null,"span":{"filename":"src/io/split.rs","begin":[162,1],"end":[166,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1428],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3191":{"id":3191,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[977,10],"end":[977,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[3190],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5280":{"id":5280,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1637,1],"end":[1643,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5279],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3518":{"id":3518,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1756":{"id":1756,"crate_id":0,"name":"copy_bidirectional","span":{"filename":"src/io/util/copy_bidirectional.rs","begin":[75,1],"end":[87,2]},"visibility":"public","docs":"Copies data in both directions between `a` and `b`.\n\nThis function returns a future that will read from both streams,\nwriting any data read to the opposing stream.\nThis happens in both directions concurrently.\n\nIf an EOF is observed on one stream, [`shutdown()`] will be invoked on\nthe other, and reading from that stream will stop. Copying of data in\nthe other direction will continue.\n\nThe future will complete successfully once both directions of communication has been shut down.\nA direction is shut down when the reader reports EOF,\nat which point [`shutdown()`] is called on the corresponding writer. When finished,\nit will return a tuple of the number of bytes copied from a to b\nand the number of bytes copied from b to a, in that order.\n\nIt uses two 8 KB buffers for transferring bytes between `a` and `b` by default.\nTo set your own buffers sizes use [`copy_bidirectional_with_sizes()`].\n\n[`shutdown()`]: crate::io::AsyncWriteExt::shutdown\n\n# Errors\n\nThe future will immediately return an error if any IO operation on `a`\nor `b` returns an error. Some data read from either stream may be lost (not\nwritten to the other stream) in this case.\n\n# Return value\n\nReturns a tuple of bytes copied `a` to `b` and bytes copied `b` to `a`.","links":{"crate::io::AsyncWriteExt::shutdown":1608,"`copy_bidirectional_with_sizes()`":1755},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["a",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"A"}}}],["b",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"primitive":"u64"},{"primitive":"u64"}]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"A","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"B","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"A"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"B"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7042":{"id":7042,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7369":{"id":7369,"crate_id":0,"name":"hash","span":{"filename":"src/time/instant.rs","begin":[33,55],"end":[33,59]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["state",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"__H"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[{"name":"__H","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::hash::Hasher","id":2983,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5607":{"id":5607,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2083":{"id":2083,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[224,26],"end":[224,35]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[doc(no_inline)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"std::io::ErrorKind","name":"ErrorKind","id":328,"is_glob":false}}},"321":{"id":321,"crate_id":0,"name":"append","span":{"filename":"src/fs/open_options.rs","begin":[285,5],"end":[302,6]},"visibility":"public","docs":"Sets the option for the append mode.\n\nThis option, when true, means that writes will append to a file instead\nof overwriting previous contents.  Note that setting\n`.write(true).append(true)` has the same effect as setting only\n`.append(true)`.\n\nFor most filesystems, the operating system guarantees that all writes are\natomic: no writes get mangled because another process writes at the same\ntime.\n\nOne maybe obvious note when using append-mode: make sure that all data\nthat belongs together is written to the file in one operation. This\ncan be done by concatenating strings before passing them to [`write()`],\nor using a buffered writer (with a buffer of adequate size),\nand calling [`flush()`] when the message is complete.\n\nIf a file is opened with both read and append access, beware that after\nopening, and after every write, the position for reading may be set at the\nend of the file. So, before writing, save the current position (using\n[`seek`]`(`[`SeekFrom`]`::`[`Current`]`(0))`), and restore it before the next read.\n\nThis is an async version of [`std::fs::OpenOptions::append`][std]\n\n[std]: std::fs::OpenOptions::append\n\n## Note\n\nThis function doesn't create the file if it doesn't exist. Use the [`create`]\nmethod to do so.\n\n[`write()`]: crate::io::AsyncWriteExt::write\n[`flush()`]: crate::io::AsyncWriteExt::flush\n[`seek`]: crate::io::AsyncSeekExt::seek\n[`SeekFrom`]: std::io::SeekFrom\n[`Current`]: std::io::SeekFrom::Current\n[`create`]: OpenOptions::create\n\n# Examples\n\n```no_run\nuse tokio::fs::OpenOptions;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let file = OpenOptions::new()\n        .append(true)\n        .open(\"foo.txt\")\n        .await?;\n\n    Ok(())\n}\n```","links":{"OpenOptions::create":320,"std::io::SeekFrom::Current":318,"std::fs::OpenOptions::append":319,"crate::io::AsyncWriteExt::write":316,"crate::io::AsyncWriteExt::flush":200,"crate::io::AsyncSeekExt::seek":317,"std::io::SeekFrom":256},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["append",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3845":{"id":3845,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5934":{"id":5934,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4172":{"id":4172,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2410":{"id":2410,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"648":{"id":648,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[891,1],"end":[899,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[647],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6261":{"id":6261,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2737":{"id":2737,"crate_id":0,"name":"try_write","span":{"filename":"src/net/unix/split.rs","begin":[245,5],"end":[247,6]},"visibility":"public","docs":"Tries to write a buffer to the stream, returning how many bytes were\nwritten.\n\nThe function will attempt to write the entire contents of `buf`, but\nonly part of the buffer may be written.\n\nThis function is usually paired with `writable()`.\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the stream is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"975":{"id":975,"crate_id":0,"name":null,"span":{"filename":"src/io/interest.rs","begin":[286,1],"end":[345,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[974],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4499":{"id":4499,"crate_id":0,"name":"hash","span":{"filename":"src/runtime/id.rs","begin":[29,30],"end":[29,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["state",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"__H"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[{"name":"__H","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::hash::Hasher","id":2983,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4826":{"id":4826,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3064":{"id":3064,"crate_id":0,"name":"from_file_unchecked","span":{"filename":"src/net/unix/pipe.rs","begin":[1022,5],"end":[1024,6]},"visibility":"public","docs":"Creates a new `Receiver` from a [`File`] without checking pipe properties.\n\nThis function is intended to construct a pipe from a File representing\na special FIFO file. The conversion assumes nothing about the underlying\nfile; it is left up to the user to make sure it is opened with read access,\nrepresents a pipe and is set in non-blocking mode.\n\n# Examples\n\n```no_run\nuse tokio::net::unix::pipe;\nuse std::fs::OpenOptions;\nuse std::os::unix::fs::{FileTypeExt, OpenOptionsExt};\n# use std::error::Error;\n\nconst FIFO_NAME: &str = \"path/to/a/fifo\";\n\n# async fn dox() -> Result<(), Box<dyn Error>> {\nlet file = OpenOptions::new()\n    .read(true)\n    .custom_flags(libc::O_NONBLOCK)\n    .open(FIFO_NAME)?;\nif file.metadata()?.file_type().is_fifo() {\n    let rx = pipe::Receiver::from_file_unchecked(file)?;\n    /* use the Receiver */\n}\n# Ok(())\n# }\n```\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"crate::runtime::Runtime::enter":1054,"`File`":198},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["file",{"resolved_path":{"path":"File","id":198,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Receiver","id":646,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1302":{"id":1302,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6588":{"id":6588,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6915":{"id":6915,"crate_id":0,"name":"unconstrained","span":{"filename":"src/task/coop/unconstrained.rs","begin":[43,1],"end":[45,2]},"visibility":"public","docs":"Turn off cooperative scheduling for a future. The future will never be forced to yield by\nTokio. Using this exposes your service to starvation if the unconstrained future never yields\notherwise.\n\nSee also the usage example in the [task module](index.html#unconstrained).","links":{},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["inner",{"generic":"F"}]],"output":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5153":{"id":5153,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1629":{"id":1629,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5480":{"id":5480,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3718":{"id":3718,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/error.rs","begin":[171,1],"end":[181,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"JoinError","id":3686,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"io::Error","id":262,"args":null}},"items":[3717],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1956":{"id":1956,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7242":{"id":7242,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[305,21],"end":[305,32]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"local::spawn_local","name":"spawn_local","id":4422,"is_glob":false}}},"7569":{"id":7569,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4045":{"id":4045,"crate_id":0,"name":"dump","span":{"filename":"src/runtime/handle.rs","begin":[646,9],"end":[660,10]},"visibility":"public","docs":"Captures a snapshot of the runtime's state.\n\nIf you only want to capture a snapshot of a single future's state, you can use\n[`Trace::capture`][crate::runtime::dump::Trace].\n\nThis functionality is experimental, and comes with a number of\nrequirements and limitations.\n\n# Examples\n\nThis can be used to get call traces of each task in the runtime.\nCalls to `Handle::dump` should usually be enclosed in a\n[timeout][crate::time::timeout], so that dumping does not escalate a\nsingle blocked runtime thread into an entirely blocked runtime.\n\n```\n# use tokio::runtime::Runtime;\n# fn dox() {\n# let rt = Runtime::new().unwrap();\n# rt.spawn(async {\nuse tokio::runtime::Handle;\nuse tokio::time::{timeout, Duration};\n\n// Inside an async block or function.\nlet handle = Handle::current();\nif let Ok(dump) = timeout(Duration::from_secs(2), handle.dump()).await {\n    for (i, task) in dump.tasks().iter().enumerate() {\n        let trace = task.trace();\n        println!(\"TASK {i}:\");\n        println!(\"{trace}\\n\");\n    }\n}\n# });\n# }\n```\n\nThis produces highly detailed traces of tasks; e.g.:\n\n```plain\nTASK 0:\n╼ dump::main::{{closure}}::a::{{closure}} at /tokio/examples/dump.rs:18:20\n└╼ dump::main::{{closure}}::b::{{closure}} at /tokio/examples/dump.rs:23:20\n   └╼ dump::main::{{closure}}::c::{{closure}} at /tokio/examples/dump.rs:28:24\n      └╼ tokio::sync::barrier::Barrier::wait::{{closure}} at /tokio/tokio/src/sync/barrier.rs:129:10\n         └╼ <tokio::util::trace::InstrumentedAsyncOp<F> as core::future::future::Future>::poll at /tokio/tokio/src/util/trace.rs:77:46\n            └╼ tokio::sync::barrier::Barrier::wait_internal::{{closure}} at /tokio/tokio/src/sync/barrier.rs:183:36\n               └╼ tokio::sync::watch::Receiver<T>::changed::{{closure}} at /tokio/tokio/src/sync/watch.rs:604:55\n                  └╼ tokio::sync::watch::changed_impl::{{closure}} at /tokio/tokio/src/sync/watch.rs:755:18\n                     └╼ <tokio::sync::notify::Notified as core::future::future::Future>::poll at /tokio/tokio/src/sync/notify.rs:1103:9\n                        └╼ tokio::sync::notify::Notified::poll_notified at /tokio/tokio/src/sync/notify.rs:996:32\n```\n\n# Requirements\n\n## Debug Info Must Be Available\n\nTo produce task traces, the application must **not** be compiled\nwith `split debuginfo`. On Linux, including `debuginfo` within the\napplication binary is the (correct) default. You can further ensure\nthis behavior with the following directive in your `Cargo.toml`:\n\n```toml\n[profile.*]\nsplit-debuginfo = \"off\"\n```\n\n## Unstable Features\n\nThis functionality is **unstable**, and requires both the\n`--cfg tokio_unstable` and cargo feature `taskdump` to be set.\n\nYou can do this by setting the `RUSTFLAGS` environment variable\nbefore invoking `cargo`; e.g.:\n```bash\nRUSTFLAGS=\"--cfg tokio_unstable\" cargo run --example dump\n```\n\nOr by [configuring][cargo-config] `rustflags` in\n`.cargo/config.toml`:\n```text\n[build]\nrustflags = [\"--cfg\", \"tokio_unstable\"]\n```\n\n[cargo-config]:\n    https://doc.rust-lang.org/cargo/reference/config.html\n\n## Platform Requirements\n\nTask dumps are supported on Linux atop `aarch64`, `x86`, `x86_64` and `s390x`.\n\n## Current Thread Runtime Requirements\n\nOn the `current_thread` runtime, task dumps may only be requested\nfrom *within* the context of the runtime being dumped. Do not, for\nexample, await `Handle::dump()` on a different runtime.\n\n# Limitations\n\n## Performance\n\nAlthough enabling the `taskdump` feature imposes virtually no\nadditional runtime overhead, actually calling `Handle::dump` is\nexpensive. The runtime must synchronize and pause its workers, then\nre-poll every task in a special tracing mode. Avoid requesting dumps\noften.\n\n## Local Executors\n\nTasks managed by local executors (e.g., `FuturesUnordered` and\n[`LocalSet`][crate::task::LocalSet]) may not appear in task dumps.\n\n## Non-Termination When Workers Are Blocked\n\nThe future produced by `Handle::dump` may never produce `Ready` if\nanother runtime worker is blocked for more than 250ms. This may\noccur if a dump is requested during shutdown, or if another runtime\nworker is infinite looping or synchronously deadlocked. For these\nreasons, task dumping should usually be paired with an explicit\n[timeout][crate::time::timeout].","links":{"crate::runtime::dump::Trace":4094,"crate::time::timeout":4286,"crate::task::LocalSet":3939},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"crate::runtime::Dump","id":4046,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2283":{"id":2283,"crate_id":0,"name":"try_read_buf","span":{"filename":"src/net/tcp/split.rs","begin":[262,9],"end":[264,10]},"visibility":"public","docs":"Tries to read data from the stream into the provided buffer, advancing the\nbuffer's internal cursor, returning how many bytes were read.\n\nReceives any pending data from the socket but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read_buf()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: Self::readable()\n[`ready()`]: Self::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. `Ok(0)` indicates the stream's read half is closed\nand will no longer yield data. If the stream is not ready to read data\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::ready()":2280,"Self::readable()":2278},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#480) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"B"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"B","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"BufMut","id":919,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"521":{"id":521,"crate_id":0,"name":"Done","span":{"filename":"src/future/maybe_done.rs","begin":[8,1],"end":[23,2]},"visibility":"default","docs":"The output of the completed future.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":{"struct":{"fields":[519],"has_stripped_fields":false}},"discriminant":null}}},"5807":{"id":5807,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6134":{"id":6134,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4372":{"id":4372,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"848":{"id":848,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/net/unix/stream.rs","begin":[1062,5],"end":[1065,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6461":{"id":6461,"crate_id":0,"name":"deref","span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[415,5],"end":[417,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2937":{"id":2937,"crate_id":0,"name":"fmt","span":{"filename":"src/net/unix/stream.rs","begin":[1102,5],"end":[1104,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4699":{"id":4699,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram.rs","begin":[56,38],"end":[56,47]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[4698],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6788":{"id":6788,"crate_id":0,"name":"mark_unchanged","span":{"filename":"src/sync/watch.rs","begin":[768,5],"end":[771,6]},"visibility":"public","docs":"Marks the state as unchanged.\n\nThe current value will be considered seen by the receiver.\n\nThis is useful if you are not interested in the current value\nvisible in the receiver.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5026":{"id":5026,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3264":{"id":3264,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7115":{"id":7115,"crate_id":0,"name":null,"span":{"filename":"src/task/task_local.rs","begin":[389,1],"end":[416,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"outlives":"'static"}],"default":null,"is_synthetic":false}}},{"name":"F","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Future","id":520,"args":null},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[7113,7114],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3591":{"id":3591,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1829":{"id":1829,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5353":{"id":5353,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7442":{"id":7442,"crate_id":0,"name":"period","span":{"filename":"src/time/interval.rs","begin":[635,5],"end":[637,6]},"visibility":"public","docs":"Returns the period of the interval.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Duration","id":2215,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5680":{"id":5680,"crate_id":0,"name":"mpsc","span":{"filename":"src/sync/mpsc/mod.rs","begin":[1,1],"end":[146,39]},"visibility":"public","docs":"A multi-producer, single-consumer queue for sending values between\nasynchronous tasks.\n\nThis module provides two variants of the channel: bounded and unbounded. The\nbounded variant has a limit on the number of messages that the channel can\nstore, and if this limit is reached, trying to send another message will\nwait until a message is received from the channel. An unbounded channel has\nan infinite capacity, so the `send` method will always complete immediately.\nThis makes the [`UnboundedSender`] usable from both synchronous and\nasynchronous code.\n\nSimilar to the `mpsc` channels provided by `std`, the channel constructor\nfunctions provide separate send and receive handles, [`Sender`] and\n[`Receiver`] for the bounded channel, [`UnboundedSender`] and\n[`UnboundedReceiver`] for the unbounded channel. If there is no message to read,\nthe current task will be notified when a new value is sent. [`Sender`] and\n[`UnboundedSender`] allow sending values into the channel. If the bounded\nchannel is at capacity, the send is rejected and the task will be notified\nwhen additional capacity is available. In other words, the channel provides\nbackpressure.\n\nThis channel is also suitable for the single-producer single-consumer\nuse-case. (Unless you only need to send one message, in which case you\nshould use the [oneshot] channel.)\n\n# Disconnection\n\nWhen all [`Sender`] handles have been dropped, it is no longer\npossible to send values into the channel. This is considered the termination\nevent of the stream. Once all senders have been dropped and any remaining\nbuffered values have been received, `Receiver::recv` returns `None`\n(and `Receiver::poll_recv` returns `Poll::Ready(None)`).\n\nIf the [`Receiver`] handle is dropped, then messages can no longer\nbe read out of the channel. In this case, all further attempts to send will\nresult in an error. Additionally, all unread messages will be drained from the\nchannel and dropped.\n\n# Clean Shutdown\n\nWhen the [`Receiver`] is dropped, it is possible for unprocessed messages to\nremain in the channel. Instead, it is usually desirable to perform a \"clean\"\nshutdown. To do this, the receiver first calls `close`, which will prevent\nany further messages to be sent into the channel. Then, the receiver\nconsumes the channel to completion, at which point the receiver can be\ndropped.\n\n# Communicating between sync and async code\n\nWhen you want to communicate between synchronous and asynchronous code, there\nare two situations to consider:\n\n**Bounded channel**: If you need a bounded channel, you should use a bounded\nTokio `mpsc` channel for both directions of communication. Instead of calling\nthe async [`send`][bounded-send] or [`recv`][bounded-recv] methods, in\nsynchronous code you will need to use the [`blocking_send`][blocking-send] or\n[`blocking_recv`][blocking-recv] methods.\n\n**Unbounded channel**: You should use the kind of channel that matches where\nthe receiver is. So for sending a message _from async to sync_, you should\nuse [the standard library unbounded channel][std-unbounded] or\n[crossbeam][crossbeam-unbounded].  Similarly, for sending a message _from sync\nto async_, you should use an unbounded Tokio `mpsc` channel.\n\nPlease be aware that the above remarks were written with the `mpsc` channel\nin mind, but they can also be generalized to other kinds of channels. In\ngeneral, any channel method that isn't marked async can be called anywhere,\nincluding outside of the runtime. For example, sending a message on a\n[oneshot] channel from outside the runtime is perfectly fine.\n\n# Multiple runtimes\n\nThe `mpsc` channel is runtime agnostic. You can freely move it between\ndifferent instances of the Tokio runtime or even use it from non-Tokio\nruntimes.\n\nWhen used in a Tokio runtime, it participates in\n[cooperative scheduling](crate::task::coop#cooperative-scheduling) to avoid\nstarvation. This feature does not apply when used from non-Tokio runtimes.\n\nAs an exception, methods ending in `_timeout` are not runtime agnostic\nbecause they require access to the Tokio timer. See the documentation of\neach `*_timeout` method for more information on its use.\n\n# Allocation behavior\n\n<div class=\"warning\">The implementation details described in this section may change in future\nTokio releases.</div>\n\nThe mpsc channel stores elements in blocks. Blocks are organized in a linked list. Sending\npushes new elements onto the block at the front of the list, and receiving pops them off the\none at the back. A block can hold 32 messages on a 64-bit target and 16 messages on a 32-bit\ntarget. This number is independent of channel and message size. Each block also stores 4\npointer-sized values for bookkeeping (so on a 64-bit machine, each message has 1 byte of\noverhead).\n\nWhen all values in a block have been received, it becomes empty. It will then be freed, unless\nthe channel's first block (where newly-sent elements are being stored) has no next block. In\nthat case, the empty block is reused as the next block.\n\n[`Sender`]: crate::sync::mpsc::Sender\n[`Receiver`]: crate::sync::mpsc::Receiver\n[bounded-send]: crate::sync::mpsc::Sender::send()\n[bounded-recv]: crate::sync::mpsc::Receiver::recv()\n[blocking-send]: crate::sync::mpsc::Sender::blocking_send()\n[blocking-recv]: crate::sync::mpsc::Receiver::blocking_recv()\n[`UnboundedSender`]: crate::sync::mpsc::UnboundedSender\n[`UnboundedReceiver`]: crate::sync::mpsc::UnboundedReceiver\n[oneshot]: crate::sync::oneshot\n[`Handle::block_on`]: crate::runtime::Handle::block_on()\n[std-unbounded]: std::sync::mpsc::channel\n[crossbeam-unbounded]: https://docs.rs/crossbeam/*/crossbeam/channel/fn.unbounded.html\n[`send_timeout`]: crate::sync::mpsc::Sender::send_timeout","links":{"crate::task::coop#cooperative-scheduling":4759,"crate::sync::mpsc::Sender":5224,"crate::runtime::Handle::block_on()":4278,"crate::sync::mpsc::Receiver::recv()":5392,"crate::sync::mpsc::Sender::send_timeout":5234,"crate::sync::mpsc::UnboundedReceiver":5435,"crate::sync::mpsc::Receiver":5226,"crate::sync::oneshot":5678,"crate::sync::mpsc::Sender::blocking_send()":5237,"std::sync::mpsc::channel":5679,"crate::sync::mpsc::UnboundedSender":5433,"crate::sync::mpsc::Receiver::blocking_recv()":5236,"crate::sync::mpsc::Sender::send()":5229},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[5666,5667,5668,5669,5670,5671,5672,5673,5674,5675,5676,5677],"is_stripped":false}}},"2156":{"id":2156,"crate_id":0,"name":"bind","span":{"filename":"src/net/tcp/listener.rs","begin":[102,9],"end":[120,10]},"visibility":"public","docs":"Creates a new `TcpListener`, which will be bound to the specified address.\n\nThe returned listener is ready for accepting connections.\n\nBinding with a port number of 0 will request that the OS assigns a port\nto this listener. The port allocated can be queried via the `local_addr`\nmethod.\n\nThe address type can be any implementer of the [`ToSocketAddrs`] trait.\nIf `addr` yields multiple addresses, bind will be attempted with each of\nthe addresses until one succeeds and returns the listener. If none of\nthe addresses succeed in creating a listener, the error returned from\nthe last attempt (the last address) is returned.\n\nThis function sets the `SO_REUSEADDR` option on the socket on Unix.\n\nTo configure the socket before binding, you can use the [`TcpSocket`]\ntype.\n\n[`ToSocketAddrs`]: trait@crate::net::ToSocketAddrs\n[`TcpSocket`]: struct@crate::net::TcpSocket\n\n# Examples\n\n```no_run\nuse tokio::net::TcpListener;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let listener = TcpListener::bind(\"127.0.0.1:2345\").await?;\n\n    // use the listener\n\n    # let _ = listener;\n    Ok(())\n}\n```","links":{"struct@crate::net::TcpSocket":2155,"trait@crate::net::ToSocketAddrs":2128},"attrs":[{"other":"#[attr = CfgTrace([Not(All([NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/macros/cfg.rs:709:27: 709:45 (#468) }, NameValue { name: \"target_env\", value: Some(\"p1\"), span: src/macros/cfg.rs:709:47: 709:64 (#468) }], src/macros/cfg.rs:709:26: 709:65 (#468)), src/macros/cfg.rs:709:22: 709:66 (#468))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["addr",{"generic":"A"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"A","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"394":{"id":394,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4245":{"id":4245,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task_hooks.rs","begin":[68,1],"end":[80,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[4242,4243],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2483":{"id":2483,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/stream.rs","begin":[1519,1],"end":[1524,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[2482],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"721":{"id":721,"crate_id":0,"name":null,"span":{"filename":"src/io/async_write.rs","begin":[253,1],"end":[287,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u8"}}],"constraints":[]}}}},"items":[716,717,718,719,720],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6007":{"id":6007,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6334":{"id":6334,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1048":{"id":1048,"crate_id":0,"name":"Aio","span":{"filename":"src/io/bsd/poll_aio.rs","begin":[111,1],"end":[114,2]},"visibility":"public","docs":"Associates a POSIX AIO control block with the reactor that drives it.\n\n`Aio`'s wrapped type must implement [`AioSource`] to be driven\nby the reactor.\n\nThe wrapped source may be accessed through the `Aio` via the `Deref` and\n`DerefMut` traits.\n\n## Clearing readiness\n\nIf [`Aio::poll_ready`] returns ready, but the consumer determines that the\nSource is not completely ready and must return to the Pending state,\n[`Aio::clear_ready`] may be used.  This can be useful with\n[`lio_listio`], which may generate a kevent when only a portion of the\noperations have completed.\n\n## Platforms\n\nOnly FreeBSD implements POSIX AIO with kqueue notification, so\n`Aio` is only available for that operating system.\n\n[`lio_listio`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/lio_listio.html","links":{"`Aio::clear_ready`":1053,"`AioSource`":1049,"`Aio::poll_ready`":1052},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"E","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1074,1076,1077,1078,1081,1083,1085]}}},"2810":{"id":2810,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4899":{"id":4899,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"3137":{"id":3137,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1375":{"id":1375,"crate_id":0,"name":null,"span":{"filename":"src/io/stdout.rs","begin":[188,5],"end":[192,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-std\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawFd","id":277,"args":null},"for":{"resolved_path":{"path":"super::Stdout","id":755,"args":null}},"items":[1374],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6661":{"id":6661,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6988":{"id":6988,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5226":{"id":5226,"crate_id":0,"name":"Receiver","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[106,1],"end":[109,2]},"visibility":"public","docs":"Receives values from the associated `Sender`.\n\nInstances are created by the [`channel`] function.\n\nThis receiver can be turned into a `Stream` using [`ReceiverStream`].\n\n[`ReceiverStream`]: https://docs.rs/tokio-stream/0.1/tokio_stream/wrappers/struct.ReceiverStream.html","links":{"`channel`":5223},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[5408,5409,5410,5411,5412,5413,5414,5415,5416,5417,5418,5419,5420,5421,5422,5423,5425,5426]}}},"1702":{"id":1702,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"RefUnwindSafe","id":154,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3464":{"id":3464,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5553":{"id":5553,"crate_id":0,"name":"clone","span":{"filename":"src/sync/mpsc/error.rs","begin":[7,25],"end":[7,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3791":{"id":3791,"crate_id":0,"name":"drop","span":{"filename":"src/runtime/task/abort.rs","begin":[94,5],"end":[96,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"267":{"id":267,"crate_id":0,"name":"from","span":{"filename":"src/fs/file.rs","begin":[887,5],"end":[889,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["std",{"resolved_path":{"path":"StdFile","id":198,"args":null}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7315":{"id":7315,"crate_id":0,"name":null,"span":{"filename":"src/time/error.rs","begin":[46,10],"end":[46,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[7314],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5880":{"id":5880,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2356":{"id":2356,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"594":{"id":594,"crate_id":0,"name":null,"span":{"filename":"src/io/async_read.rs","begin":[96,1],"end":[109,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}},"items":[593],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6207":{"id":6207,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4445":{"id":4445,"crate_id":0,"name":null,"span":{"filename":"src/runtime/local_runtime/runtime.rs","begin":[386,1],"end":[397,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[4444],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2683":{"id":2683,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"921":{"id":921,"crate_id":0,"name":null,"span":{"filename":"src/io/read_buf.rs","begin":[306,1],"end":[314,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[920],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6534":{"id":6534,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3010":{"id":3010,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4772":{"id":4772,"crate_id":0,"name":"io","span":{"filename":"src/signal/unix.rs","begin":[174,5],"end":[176,6]},"visibility":"public","docs":"Represents the `SIGIO` signal.\n\nOn Unix systems this signal is sent when I/O operations are possible\non some file descriptor. By default, this signal is ignored.","links":{},"attrs":[{"other":"#[attr = CfgTrace([Not(NameValue { name: \"target_os\", value: Some(\"haiku\"), span: src/signal/unix.rs:169:15: 169:34 (#0) }, src/signal/unix.rs:169:14: 169:35 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6861":{"id":6861,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5099":{"id":5099,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3337":{"id":3337,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2616,17],"end":[2616,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[3336],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1575":{"id":1575,"crate_id":0,"name":"write_u64","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an unsigned 64-bit integer in big-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_u64(&mut self, n: u64) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite unsigned 64-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_u64(918733457491587).await?;\nwriter.write_u64(143).await?;\n\nassert_eq!(writer, b\"\\x00\\x03\\x43\\x95\\x4d\\x60\\x86\\x83\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x8f\");\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"u64"}]],"output":{"resolved_path":{"path":"WriteU64","id":1576,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7188":{"id":7188,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5426":{"id":5426,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/bounded.rs","begin":[750,1],"end":[750,33]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"140":{"id":140,"crate_id":0,"name":null,"span":{"filename":"src/fs/dir_builder.rs","begin":[110,5],"end":[128,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"unix\", value: None, span: src/fs/dir_builder.rs:108:8: 108:12 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(unix))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[139],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7515":{"id":7515,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5753":{"id":5753,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[978,1],"end":[983,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Deref","id":550,"args":null},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5751,5752],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3991":{"id":3991,"crate_id":0,"name":null,"span":{"filename":"src/runtime/builder.rs","begin":[1797,5],"end":[1819,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:583:19: 583:35 (#1604) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[3990],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2229":{"id":2229,"crate_id":0,"name":"listen","span":{"filename":"src/net/tcp/socket.rs","begin":[906,5],"end":[925,6]},"visibility":"public","docs":"Converts the socket into a `TcpListener`.\n\n`backlog` defines the maximum number of pending connections are queued\nby the operating system at any given time. Connection are removed from\nthe queue with [`TcpListener::accept`]. When the queue is full, the\noperating-system will start rejecting connections.\n\n[`TcpListener::accept`]: TcpListener::accept\n\nThis calls the `listen(2)` operating-system function, marking the socket\nas a passive socket. Behavior is platform specific. Refer to the target\nplatform's documentation for more details.\n\n# Examples\n\nCreate a `TcpListener`.\n\n```no_run\nuse tokio::net::TcpSocket;\n\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let addr = \"127.0.0.1:8080\".parse().unwrap();\n\n    let socket = TcpSocket::new_v4()?;\n    socket.bind(addr)?;\n\n    let listener = socket.listen(1024)?;\n# drop(listener);\n\n    Ok(())\n}\n```","links":{"TcpListener::accept":2153},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["backlog",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4318":{"id":4318,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"2556":{"id":2556,"crate_id":0,"name":"ttl","span":{"filename":"src/net/udp.rs","begin":[2067,5],"end":[2069,6]},"visibility":"public","docs":"Gets the value of the `IP_TTL` option for this socket.\n\nFor more information about this option, see [`set_ttl`].\n\n[`set_ttl`]: method@Self::set_ttl\n\n# Examples\n\n```no_run\nuse tokio::net::UdpSocket;\n# use std::io;\n\n# async fn dox() -> io::Result<()> {\nlet sock = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n\nprintln!(\"{:?}\", sock.ttl()?);\n# Ok(())\n# }\n```","links":{"method@Self::set_ttl":2555},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u32"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"794":{"id":794,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/util/mem.rs","begin":[146,5],"end":[152,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"std::io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}},{"type":{"resolved_path":{"path":"std::io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6080":{"id":6080,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6407":{"id":6407,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4645":{"id":4645,"crate_id":0,"name":"TooManyBuckets","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[264,5],"end":[267,6]},"visibility":"default","docs":"This histogram required more than the specified number of buckets","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":{"struct":{"fields":[4644],"has_stripped_fields":false}},"discriminant":null}}},"1121":{"id":1121,"crate_id":0,"name":"with_interest","span":{"filename":"src/io/async_fd.rs","begin":[243,5],"end":[248,6]},"visibility":"public","docs":"Creates an [`AsyncFd`] backed by (and taking ownership of) an object\nimplementing [`AsRawFd`], with a specific [`Interest`]. The backing\nfile descriptor is cached at the time of creation.\n\n# Panics\n\nThis function panics if there is no current reactor set, or if the `rt`\nfeature flag is not enabled.","links":{"`AsyncFd`":512,"`Interest`":924,"`AsRawFd`":277},"attrs":[{"other":"#[attr = Inline(Hint)]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["inner",{"generic":"T"}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"AsRawFd","id":277,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2883":{"id":2883,"crate_id":0,"name":"clone","span":{"filename":"src/net/unix/socketaddr.rs","begin":[9,10],"end":[9,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4972":{"id":4972,"crate_id":0,"name":"Barrier","span":{"filename":"src/sync/barrier.rs","begin":[42,1],"end":[48,2]},"visibility":"public","docs":"A barrier enables multiple tasks to synchronize the beginning of some computation.\n\n```\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nuse tokio::sync::Barrier;\nuse std::sync::Arc;\n\nlet mut handles = Vec::with_capacity(10);\nlet barrier = Arc::new(Barrier::new(10));\nfor _ in 0..10 {\n    let c = barrier.clone();\n    // The same messages will be printed together.\n    // You will NOT see any interleaving.\n    handles.push(tokio::spawn(async move {\n        println!(\"before wait\");\n        let wait_result = c.wait().await;\n        println!(\"after wait\");\n        wait_result\n    }));\n}\n\n// Will not resolve until all \"after wait\" messages have been printed\nlet mut num_leaders = 0;\nfor handle in handles {\n    let wait_result = handle.await.unwrap();\n    if wait_result.is_leader() {\n        num_leaders += 1;\n    }\n}\n\n// Exactly one barrier will resolve as the \"leader\"\nassert_eq!(num_leaders, 1);\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4977,4978,4979,4980,4981,4982,4983,4984,4985,4986,4987,4988,4989,4990,4991,4992,4993,4995]}}},"3210":{"id":3210,"crate_id":0,"name":"Byte","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2602,5],"end":[2602,9]},"visibility":"default","docs":"Data is written to the pipe as a stream of bytes. The pipe does not\ndistinguish bytes written during different write operations.\n\nCorresponds to [`PIPE_TYPE_BYTE`].\n\n[`PIPE_TYPE_BYTE`]: https://docs.rs/windows-sys/latest/windows_sys/Win32/System/Pipes/constant.PIPE_TYPE_BYTE.html","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"1448":{"id":1448,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_buf_read_ext.rs","begin":[357,1],"end":[357,56]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["read_until","read_line","split","fill_buf","consume","lines"],"trait":{"path":"AsyncBufReadExt","id":537,"args":null},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"6734":{"id":6734,"crate_id":0,"name":"eq","span":{"filename":"src/sync/watch.rs","begin":[338,14],"end":[338,23]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7061":{"id":7061,"crate_id":0,"name":"scope","span":{"filename":"src/task/task_local.rs","begin":[130,5],"end":[140,6]},"visibility":"public","docs":"Sets a value `T` as the task-local value for the future `F`.\n\nOn completion of `scope`, the task-local will be dropped.\n\n### Panics\n\nIf you poll the returned future inside a call to [`with`] or\n[`try_with`] on the same `LocalKey`, then the call to `poll` will panic.\n\n### Examples\n\n```\n# async fn dox() {\ntokio::task_local! {\n    static NUMBER: u32;\n}\n\nNUMBER.scope(1, async move {\n    println!(\"task local value: {}\", NUMBER.get());\n}).await;\n# }\n```\n\n[`with`]: fn@Self::with\n[`try_with`]: fn@Self::try_with","links":{"fn@Self::with":7059,"fn@Self::try_with":7060},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'static","is_mutable":false,"type":{"generic":"Self"}}}],["value",{"generic":"T"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5299":{"id":5299,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1775":{"id":1775,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3537":{"id":3537,"crate_id":0,"name":"as_fd","span":{"filename":"src/process/mod.rs","begin":[1656,5],"end":[1656,29]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5626":{"id":5626,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/error.rs","begin":[92,5],"end":[97,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7388":{"id":7388,"crate_id":0,"name":"sub_assign","span":{"filename":"src/time/instant.rs","begin":[196,5],"end":[198,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["rhs",{"resolved_path":{"path":"Duration","id":2215,"args":null}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2102":{"id":2102,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[286,66],"end":[286,74]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::copy_buf","name":"copy_buf","id":1752,"is_glob":false}}},"340":{"id":340,"crate_id":0,"name":"custom_flags","span":{"filename":"src/fs/open_options.rs","begin":[749,9],"end":[752,10]},"visibility":"public","docs":"Sets extra flags for the `dwFileFlags` argument to the call to\n[`CreateFile2`] to the specified value (or combines it with\n`attributes` and `security_qos_flags` to set the `dwFlagsAndAttributes`\nfor [`CreateFile`]).\n\nCustom flags can only set flags, not remove flags set by Rust's options.\nThis option overwrites any previously set custom flags.\n\n# Examples\n\n```no_run\nuse windows_sys::Win32::Storage::FileSystem::FILE_FLAG_DELETE_ON_CLOSE;\nuse tokio::fs::OpenOptions;\n\n# #[tokio::main]\n# async fn main() -> std::io::Result<()> {\nlet file = OpenOptions::new()\n    .create(true)\n    .write(true)\n    .custom_flags(FILE_FLAG_DELETE_ON_CLOSE)\n    .open(\"foo.txt\").await?;\n# Ok(())\n# }\n```\n\n[`CreateFile`]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea\n[`CreateFile2`]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfile2","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["flags",{"primitive":"u32"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5953":{"id":5953,"crate_id":0,"name":"poll","span":{"filename":"src/sync/notify.rs","begin":[1033,5],"end":[1035,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2429":{"id":2429,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split_owned.rs","begin":[90,1],"end":[97,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[2428],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"667":{"id":667,"crate_id":0,"name":null,"span":{"filename":"src/io/async_seek.rs","begin":[67,1],"end":[69,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"AsyncSeek","id":199,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncSeek","id":199,"args":null},"for":{"resolved_path":{"path":"Box","id":542,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[665,666],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4191":{"id":4191,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4518":{"id":4518,"crate_id":0,"name":"num_idle_blocking_threads","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[309,9],"end":[311,10]},"visibility":"public","docs":"Returns the number of idle threads, which have spawned by the runtime\nfor `spawn_blocking` calls.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Handle;\n\n#[tokio::main]\nasync fn main() {\n    let _ = tokio::task::spawn_blocking(move || {\n        // Stand-in for compute-heavy work or using synchronous APIs\n        1 + 1\n    }).await;\n    let metrics = Handle::current().metrics();\n\n    let n = metrics.num_idle_blocking_threads();\n    println!(\"Runtime has {} idle blocking thread pool threads\", n);\n}\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1689) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2756":{"id":2756,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"994":{"id":994,"crate_id":0,"name":null,"span":{"filename":"src/io/ready.rs","begin":[23,1],"end":[271,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[979,980,981,982,983,984,985,986,987,988,989,990,991,992,993],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6280":{"id":6280,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6607":{"id":6607,"crate_id":0,"name":"is_already_init_err","span":{"filename":"src/sync/once_cell.rs","begin":[498,5],"end":[503,6]},"visibility":"public","docs":"Whether `SetError` is `SetError::AlreadyInitializedError`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3083":{"id":3083,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"4845":{"id":4845,"crate_id":0,"name":null,"span":{"filename":"src/signal/windows.rs","begin":[69,1],"end":[130,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[4843,4844],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5172":{"id":5172,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1648":{"id":1648,"crate_id":0,"name":"from","span":{"filename":"src/io/util/buf_stream.rs","begin":[82,5],"end":[84,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["b",{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}}}],"constraints":[]}}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7261":{"id":7261,"crate_id":0,"name":"shutdown","span":{"filename":"src/time/error.rs","begin":[58,5],"end":[60,6]},"visibility":"public","docs":"Creates an error representing a shutdown timer.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Error","id":7260,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3737":{"id":3737,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1975":{"id":1975,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"213":{"id":213,"crate_id":0,"name":"options","span":{"filename":"src/fs/file.rs","begin":[268,5],"end":[270,6]},"visibility":"public","docs":"Returns a new [`OpenOptions`] object.\n\nThis function returns a new `OpenOptions` object that you can use to\nopen or create a file with specific options if `open()` or `create()`\nare not appropriate.\n\nIt is equivalent to `OpenOptions::new()`, but allows you to write more\nreadable code. Instead of\n`OpenOptions::new().append(true).open(\"example.log\")`,\nyou can write `File::options().append(true).open(\"example.log\")`. This\nalso avoids the need to import `OpenOptions`.\n\nSee the [`OpenOptions::new`] function for more details.\n\n# Examples\n\n```no_run\nuse tokio::fs::File;\nuse tokio::io::AsyncWriteExt;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut f = File::options().append(true).open(\"example.log\").await?;\nf.write_all(b\"new line\\n\").await?;\n# Ok(())\n# }\n```","links":{"`OpenOptions::new`":212,"`OpenOptions`":205},"attrs":[{"must_use":{"reason":null}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5499":{"id":5499,"crate_id":0,"name":"poll_recv","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[434,5],"end":[436,6]},"visibility":"public","docs":"Polls to receive the next message on this channel.\n\nThis method returns:\n\n * `Poll::Pending` if no messages are available but the channel is not\n   closed, or if a spurious failure happens.\n * `Poll::Ready(Some(message))` if a message is available.\n * `Poll::Ready(None)` if the channel has been closed and all messages\n   sent before it was closed have been received.\n\nWhen the method returns `Poll::Pending`, the `Waker` in the provided\n`Context` is scheduled to receive a wakeup when a message is sent on any\nreceiver, or when the channel is closed.  Note that on multiple calls to\n`poll_recv` or `poll_recv_many`, only the `Waker` from the `Context`\npassed to the most recent call is scheduled to receive a wakeup.\n\nIf this method returns `Poll::Pending` due to a spurious failure, then\nthe `Waker` will be notified when the situation causing the spurious\nfailure has been resolved. Note that receiving such a wakeup does not\nguarantee that the next call will succeed — it could fail with another\nspurious failure.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5826":{"id":5826,"crate_id":0,"name":"deref_mut","span":{"filename":"src/sync/mutex.rs","begin":[1273,5],"end":[1275,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"qualified_path":{"name":"Target","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":550,"args":null}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4064":{"id":4064,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"540":{"id":540,"crate_id":0,"name":"consume","span":{"filename":"src/io/async_buf_read.rs","begin":[78,5],"end":[78,28]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["amt",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2302":{"id":2302,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6153":{"id":6153,"crate_id":0,"name":"AcquireError","span":{"filename":"src/sync/batch_semaphore.rs","begin":[69,1],"end":[69,29]},"visibility":"public","docs":"Error returned from the [`Semaphore::acquire`] function.\n\nAn `acquire` operation can only fail if the semaphore has been\n[closed].\n\n[closed]: crate::sync::Semaphore::close\n[`Semaphore::acquire`]: crate::sync::Semaphore::acquire","links":{"crate::sync::Semaphore::acquire":6152,"crate::sync::Semaphore::close":6120},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[6154,6155,6156,6157,6158,6159,6160,6161,6162,6163,6164,6165,6166,6167,6168,6169,6170,6172,6174,6175]}}},"2629":{"id":2629,"crate_id":0,"name":"bind","span":{"filename":"src/net/unix/listener.rs","begin":[76,5],"end":[95,6]},"visibility":"public","docs":"Creates a new `UnixListener` bound to the specified path.\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"crate::runtime::Runtime::enter":1054},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"generic":"P"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"867":{"id":867,"crate_id":0,"name":"poll_write","span":{"filename":"src/process/mod.rs","begin":[1550,5],"end":[1556,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4391":{"id":4391,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6480":{"id":6480,"crate_id":0,"name":"try_map","span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[141,5],"end":[162,6]},"visibility":"public","docs":"Attempts to make a new [`RwLockMappedWriteGuard`] for a component of\nthe locked data. The original guard is returned if the closure returns\n`None`.\n\nThis operation cannot fail as the `RwLockMappedWriteGuard` passed in already\nlocked the data.\n\nThis is an associated function that needs to be\nused as `RwLockMappedWriteGuard::try_map(...)`. A method would interfere\nwith methods of the same name on the contents of the locked data.\n\nThis is an asynchronous version of [`RwLockWriteGuard::try_map`] from\nthe [`parking_lot` crate].\n\n[`RwLockWriteGuard::try_map`]: https://docs.rs/lock_api/latest/lock_api/struct.RwLockWriteGuard.html#method.try_map\n[`parking_lot` crate]: https://crates.io/crates/parking_lot\n\n# Examples\n\n```\nuse tokio::sync::{RwLock, RwLockWriteGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = RwLock::new(Foo(1));\n\n{\n    let guard = lock.write().await;\n    let mut guard = RwLockWriteGuard::try_map(guard, |f| Some(&mut f.0)).expect(\"should not fail\");\n    *guard = 2;\n}\n\nassert_eq!(Foo(2), *lock.read().await);\n# }\n```","links":{"`RwLockMappedWriteGuard`":6317},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"U"}}],"constraints":[]}}}}},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4718":{"id":4718,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1194":{"id":1194,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2956":{"id":2956,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/ucred.rs","begin":[14,1],"end":[34,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[2950,2952,2954],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6807":{"id":6807,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3283":{"id":3283,"crate_id":0,"name":"Message","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2612,5],"end":[2612,12]},"visibility":"default","docs":"Data is written to the pipe as a stream of messages. The pipe treats the\nbytes written during each write operation as a message unit. Any reading\non a named pipe returns [`ERROR_MORE_DATA`] when a message is not read\ncompletely.\n\nCorresponds to [`PIPE_TYPE_MESSAGE`].\n\n[`ERROR_MORE_DATA`]: https://docs.rs/windows-sys/latest/windows_sys/Win32/Foundation/constant.ERROR_MORE_DATA.html\n[`PIPE_TYPE_MESSAGE`]: https://docs.rs/windows-sys/latest/windows_sys/Win32/System/Pipes/constant.PIPE_TYPE_MESSAGE.html","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"1521":{"id":1521,"crate_id":0,"name":"read_u16_le","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an unsigned 16-bit integer in little-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_u16_le(&mut self) -> io::Result<u16>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead unsigned 16 bit little-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![2, 5, 3, 0]);\n\nassert_eq!(1282, reader.read_u16_le().await?);\nassert_eq!(3, reader.read_u16_le().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadU16Le","id":1522,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5045":{"id":5045,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[277,5],"end":[281,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5044],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7134":{"id":7134,"crate_id":0,"name":"join_next_with_id","span":{"filename":"src/task/join_set.rs","begin":[316,5],"end":[318,6]},"visibility":"public","docs":"Waits until one of the tasks in the set completes and returns its\noutput, along with the [task ID] of the completed task.\n\nReturns `None` if the set is empty.\n\nWhen this method returns an error, then the id of the task that failed can be accessed\nusing the [`JoinError::id`] method.\n\n# Cancel safety\n\nThis method is cancel safe. If `join_next_with_id` is used as a branch\nin `tokio::select!` and another branch completes first, it is\nguaranteed that no tasks were removed from this `JoinSet`.\n\n[task ID]: crate::task::Id\n[`JoinError::id`]: fn@crate::task::JoinError::id","links":{"crate::task::Id":3692,"fn@crate::task::JoinError::id":3693},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"resolved_path":{"path":"Id","id":3692,"args":null}},{"generic":"T"}]}},{"type":{"resolved_path":{"path":"JoinError","id":3686,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5372":{"id":5372,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1848":{"id":1848,"crate_id":0,"name":"new_unsplit","span":{"filename":"src/io/util/mem.rs","begin":[222,5],"end":[230,6]},"visibility":"public","docs":"Creates unidirectional buffer that acts like in memory pipe. To create split\nversion with separate reader and writer you can use [`simplex`] function.\n\nThe `max_buf_size` argument is the maximum amount of bytes that can be\nwritten to a buffer before it returns `Poll::Pending`.","links":{"`simplex`":1847},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["max_buf_size",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3610":{"id":3610,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1615,1],"end":[1621,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Stdio","id":3437,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[3608,3609],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7461":{"id":7461,"crate_id":0,"name":null,"span":{"filename":"src/time/interval.rs","begin":[385,10],"end":[385,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[7460],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3937":{"id":3937,"crate_id":0,"name":"new_current_thread","span":{"filename":"src/runtime/builder.rs","begin":[261,5],"end":[269,6]},"visibility":"public","docs":"Returns a new builder with the current thread scheduler selected.\n\nConfiguration methods can be chained on the return value.\n\nTo spawn non-`Send` tasks on the resulting runtime, combine it with a\n[`LocalSet`], or call [`build_local`] to create a [`LocalRuntime`].\n\n[`LocalSet`]: crate::task::LocalSet\n[`LocalRuntime`]: crate::runtime::LocalRuntime\n[`build_local`]: crate::runtime::Builder::build_local","links":{"crate::runtime::LocalRuntime":3941,"crate::task::LocalSet":3939,"crate::runtime::Builder::build_local":3940},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2175":{"id":2175,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5699":{"id":5699,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[327,1],"end":[793,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5688,5689,5685,5690,5692,5693,5695,5696,5697,5698],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6026":{"id":6026,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4264":{"id":4264,"crate_id":0,"name":"handle","span":{"filename":"src/runtime/runtime.rs","begin":[201,5],"end":[203,6]},"visibility":"public","docs":"Returns a handle to the runtime's spawner.\n\nThe returned handle can be used to spawn tasks that run on this runtime, and can\nbe cloned to allow moving the `Handle` to other threads.\n\nCalling [`Handle::block_on`] on a handle to a `current_thread` runtime is error-prone.\nRefer to the documentation of [`Handle::block_on`] for more.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::runtime::Runtime;\n\nlet rt = Runtime::new()\n    .unwrap();\n\nlet handle = rt.handle();\n\n// Use the handle...\n# }\n```","links":{"`Handle::block_on`":4278},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Handle","id":4265,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"740":{"id":740,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/async_write.rs","begin":[396,5],"end":[402,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4591":{"id":4591,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2829":{"id":2829,"crate_id":0,"name":"drop","span":{"filename":"src/net/unix/split_owned.rs","begin":[365,5],"end":[369,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1067":{"id":1067,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6680":{"id":6680,"crate_id":0,"name":"from","span":{"filename":"src/sync/set_once.rs","begin":[137,5],"end":[143,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["value",{"generic":"T"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4918":{"id":4918,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1394":{"id":1394,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"3156":{"id":3156,"crate_id":0,"name":"open","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2512,5],"end":[2516,6]},"visibility":"public","docs":"Opens the named pipe identified by `addr`.\n\nThis opens the client using [`CreateFile`] with the\n`dwCreationDisposition` option set to `OPEN_EXISTING`.\n\n[`CreateFile`]: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea\n\n# Errors\n\nThis errors if called outside of a [Tokio Runtime], or in a runtime that\nhas not [enabled I/O], or if any OS-specific I/O errors occur.\n\nThere are a few errors you need to take into account when creating a\nnamed pipe on the client side:\n\n* [`std::io::ErrorKind::NotFound`] - This indicates that the named pipe\n  does not exist. Presumably the server is not up.\n* [`ERROR_PIPE_BUSY`] - This error is raised when the named pipe exists,\n  but the server is not currently waiting for a connection. Please see the\n  examples for how to check for this error.\n\n[`ERROR_PIPE_BUSY`]: https://docs.rs/windows-sys/latest/windows_sys/Win32/Foundation/constant.ERROR_PIPE_BUSY.html\n[enabled I/O]: crate::runtime::Builder::enable_io\n[Tokio Runtime]: crate::runtime::Runtime\n\nA connect loop that waits until a pipe becomes available looks like\nthis:\n\n```no_run\nuse std::time::Duration;\nuse tokio::net::windows::named_pipe::ClientOptions;\nuse tokio::time;\nuse windows_sys::Win32::Foundation::ERROR_PIPE_BUSY;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\mynamedpipe\";\n\n# #[tokio::main] async fn main() -> std::io::Result<()> {\nlet client = loop {\n    match ClientOptions::new().open(PIPE_NAME) {\n        Ok(client) => break client,\n        Err(e) if e.raw_os_error() == Some(ERROR_PIPE_BUSY as i32) => (),\n        Err(e) => return Err(e),\n    }\n\n    time::sleep(Duration::from_millis(50)).await;\n};\n\n// use the connected client.\n# Ok(()) }\n```","links":{"crate::runtime::Runtime":3112,"crate::runtime::Builder::enable_io":3113,"`std::io::ErrorKind::NotFound`":329},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["addr",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<OsStr>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5245":{"id":5245,"crate_id":0,"name":"send","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1845,5],"end":[1852,6]},"visibility":"public","docs":"Sends a value using the reserved capacity.\n\nCapacity for the message has already been reserved. The message is sent\nto the receiver and the permit is consumed. The operation will succeed\neven if the receiver half has been closed. See [`Receiver::close`] for\nmore details on performing a clean shutdown.\n\nUnlike [`Permit::send`], this method returns the [`Sender`] from which\nthe `OwnedPermit` was reserved.\n\n[`Receiver::close`]: Receiver::close\n\n# Examples\n\n```\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(1);\n\n// Reserve capacity\nlet permit = tx.reserve_owned().await.unwrap();\n\n// Send a message on the permit, returning the sender.\nlet tx = permit.send(456);\n\n// The value sent on the permit is received\nassert_eq!(rx.recv().await.unwrap(), 456);\n\n// We may now reuse `tx` to send another message.\ntx.send(789).await.unwrap();\n# }\n```","links":{"Receiver::close":5225,"`Permit::send`":5239,"`Sender`":5224},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["value",{"generic":"T"}]],"output":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3483":{"id":3483,"crate_id":0,"name":"kill","span":{"filename":"src/process/mod.rs","begin":[1326,5],"end":[1330,6]},"visibility":"public","docs":"Forces the child to exit.\n\nThis is equivalent to sending a `SIGKILL` on unix platforms\nfollowed by [`wait`](Child::wait).\n\nNote: std version of [`Child::kill`](std::process::Child::kill) does not `wait`.\nFor an equivalent of `Child::kill` in the standard library,\nuse [`start_kill`](Child::start_kill).\n\n# Examples\n\nIf the child has to be killed remotely, it is possible to do it using\na combination of the select! macro and a `oneshot` channel. In the following\nexample, the child will run until completion unless a message is sent on\nthe `oneshot` channel. If that happens, the child is killed immediately\nusing the `.kill()` method.\n\n```no_run\nuse tokio::process::Command;\nuse tokio::sync::oneshot::channel;\n\n#[tokio::main]\nasync fn main() {\n    let (send, recv) = channel::<()>();\n    let mut child = Command::new(\"sleep\").arg(\"1\").spawn().unwrap();\n    tokio::spawn(async move { send.send(()) });\n    tokio::select! {\n        _ = child.wait() => {}\n        _ = recv => child.kill().await.expect(\"kill failed\"),\n    }\n}\n```\n\nYou can also interact with the child's standard I/O. For example, you can\nread its stdout while waiting for it to exit.\n\n```no_run\n# use std::process::Stdio;\n#\n# use tokio::io::AsyncReadExt;\n# use tokio::process::Command;\n# use tokio::sync::oneshot::channel;\n\n#[tokio::main]\nasync fn main() {\n    let (_tx, rx) = channel::<()>();\n\n    let mut child = Command::new(\"echo\")\n        .arg(\"Hello World!\")\n        .stdout(Stdio::piped())\n        .spawn()\n        .unwrap();\n\n    let mut stdout = child.stdout.take().expect(\"stdout is not captured\");\n\n    let read_stdout = tokio::spawn(async move {\n        let mut buff = Vec::new();\n        let _ = stdout.read_to_end(&mut buff).await;\n\n        buff\n    });\n\n    tokio::select! {\n        _ = child.wait() => {}\n        _ = rx => { child.kill().await.expect(\"kill failed\") },\n    }\n\n    let buff = read_stdout.await.unwrap();\n\n    assert_eq!(buff, b\"Hello World!\\n\");\n}\n```","links":{"Child::start_kill":3480,"Child::wait":3481,"std::process::Child::kill":3482},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7007":{"id":7007,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"7334":{"id":7334,"crate_id":0,"name":"checked_duration_since","span":{"filename":"src/time/instant.rs","begin":[93,5],"end":[95,6]},"visibility":"public","docs":"Returns the amount of time elapsed from another instant to this one, or\nNone if that instant is later than this one.\n\n# Examples\n\n```\nuse tokio::time::{Duration, Instant, sleep};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet now = Instant::now();\nsleep(Duration::new(1, 0)).await;\nlet new_now = Instant::now();\nprintln!(\"{:?}\", new_now.checked_duration_since(now));\nprintln!(\"{:?}\", now.checked_duration_since(new_now)); // None\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["earlier",{"resolved_path":{"path":"Instant","id":7328,"args":null}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Duration","id":2215,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5572":{"id":5572,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"UnwindSafe","id":152,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2048":{"id":2048,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[20,5],"end":[20,35]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"buf_stream::BufStream","name":"BufStream","id":568,"is_glob":false}}},"3810":{"id":3810,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"286":{"id":286,"crate_id":0,"name":"OwnedHandle","span":{"filename":"src/doc/os.rs","begin":[15,9],"end":[15,59]},"visibility":"public","docs":"See [`std::os::windows::io::OwnedHandle`](https://doc.rust-lang.org/std/os/windows/io/struct.OwnedHandle.html)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"type_alias":{"type":{"resolved_path":{"path":"crate::doc::NotDefinedHere","id":288,"args":null}},"generics":{"params":[],"where_predicates":[]}}}},"4137":{"id":4137,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2375":{"id":2375,"crate_id":0,"name":"reunite","span":{"filename":"src/net/tcp/split_owned.rs","begin":[349,5],"end":[351,6]},"visibility":"public","docs":"Attempts to put the two halves of a `TcpStream` back together and\nrecover the original socket. Succeeds only if the two halves\noriginated from the same call to [`into_split`].\n\n[`into_split`]: TcpStream::into_split()","links":{"TcpStream::into_split()":2339},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["other",{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpStream","id":634,"args":null}}},{"type":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"613":{"id":613,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/util/empty.rs","begin":[69,5],"end":[77,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6226":{"id":6226,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2702":{"id":2702,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/socket.rs","begin":[269,1],"end":[273,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"IntoRawFd","id":2259,"args":null},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[2701],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"940":{"id":940,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4464":{"id":4464,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4791":{"id":4791,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3029":{"id":3029,"crate_id":0,"name":"writable","span":{"filename":"src/net/unix/pipe.rs","begin":[564,5],"end":[567,6]},"visibility":"public","docs":"Waits for the pipe to become writable.\n\nThis function is equivalent to `ready(Interest::WRITABLE)` and is usually\npaired with [`try_write()`].\n\n[`try_write()`]: Self::try_write\n\n# Examples\n\n```no_run\nuse tokio::net::unix::pipe;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Open a writing end of a fifo\n    let tx = pipe::OpenOptions::new().open_sender(\"path/to/a/fifo\")?;\n\n    loop {\n        // Wait for the pipe to be writable\n        tx.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match tx.try_write(b\"hello world\") {\n            Ok(n) => {\n                break;\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"Self::try_write":3031},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1267":{"id":1267,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6880":{"id":6880,"crate_id":0,"name":"deref","span":{"filename":"src/sync/watch.rs","begin":[1472,5],"end":[1474,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3356":{"id":3356,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5118":{"id":5118,"crate_id":0,"name":null,"span":{"filename":"src/sync/broadcast.rs","begin":[362,5],"end":[362,47]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7207":{"id":7207,"crate_id":0,"name":"spawn_blocking","span":{"filename":"src/task/builder.rs","begin":[186,5],"end":[196,6]},"visibility":"public","docs":"Spawns blocking code on the blocking threadpool.\n\n# Panics\n\nThis method panics if called outside of a Tokio runtime.\n\nSee [`task::spawn_blocking`](crate::task::spawn_blocking)\nfor more details.","links":{"crate::task::spawn_blocking":379},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["function",{"generic":"Function"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Output"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"Function","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"Output","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Function"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[],"output":{"generic":"Output"}}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"Output"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5445":{"id":5445,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"159":{"id":159,"crate_id":2,"name":"borrow_mut","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":{"feature":"const_convert","level":"unstable"},"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1921":{"id":1921,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7534":{"id":7534,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[99,43],"end":[99,51]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"interval::Interval","name":"Interval","id":7394,"is_glob":false}}},"4010":{"id":4010,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2248":{"id":2248,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"486":{"id":486,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[221,1],"end":[221,38]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::create_dir::create_dir","name":"create_dir","id":124,"is_glob":false}}},"5772":{"id":5772,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6099":{"id":6099,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4337":{"id":4337,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"813":{"id":813,"crate_id":0,"name":"poll_flush","span":{"filename":"src/net/tcp/split.rs","begin":[402,5],"end":[405,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2575":{"id":2575,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4664":{"id":4664,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[261,10],"end":[261,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[4663],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2902":{"id":2902,"crate_id":0,"name":"try_write_vectored","span":{"filename":"src/net/unix/stream.rs","begin":[727,5],"end":[731,6]},"visibility":"public","docs":"Tries to write several buffers to the stream, returning how many bytes\nwere written.\n\nData is written from each buffer in order, with the final buffer read\nfrom possible being only partially consumed. This method behaves\nequivalently to a single call to [`try_write()`] with concatenated\nbuffers.\n\nThis function is usually paired with `writable()`.\n\n[`try_write()`]: UnixStream::try_write()\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the stream is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::UnixStream;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let dir = tempfile::tempdir().unwrap();\n    let bind_path = dir.path().join(\"bind_path\");\n    let stream = UnixStream::connect(bind_path).await?;\n\n    let bufs = [io::IoSlice::new(b\"hello \"), io::IoSlice::new(b\"world\")];\n\n    loop {\n        // Wait for the socket to be writable\n        stream.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match stream.try_write_vectored(&bufs) {\n            Ok(n) => {\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"UnixStream::try_write()":2901},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1140":{"id":1140,"crate_id":0,"name":"writable_mut","span":{"filename":"src/io/async_fd.rs","begin":[769,5],"end":[771,6]},"visibility":"public","docs":"Waits for the file descriptor to become writable, returning a\n[`AsyncFdReadyMutGuard`] that must be dropped to resume write-readiness\npolling.\n\nThis method takes `&mut self`, so it is possible to access the inner IO\nresource mutably when handling the [`AsyncFdReadyMutGuard`].\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read or write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`AsyncFdReadyMutGuard`":1131},"attrs":[{"other":"#[allow(clippy::needless_lifetimes)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6426":{"id":6426,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/read_guard.rs","begin":[178,1],"end":[191,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6425],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6753":{"id":6753,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4991":{"id":4991,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Barrier","id":4972,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3229":{"id":3229,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5318":{"id":5318,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3556":{"id":3556,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1794":{"id":1794,"crate_id":0,"name":"into_inner","span":{"filename":"src/io/util/lines.rs","begin":[89,5],"end":[91,6]},"visibility":"public","docs":"Unwraps this `Lines<R>`, returning the underlying reader.\n\nNote that any leftover data in the internal buffer is lost.\nTherefore, a following read from the underlying reader may lead to data loss.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"generic":"R"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7080":{"id":7080,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7407":{"id":7407,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5645":{"id":5645,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2121":{"id":2121,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[287,91],"end":[287,96]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::Split","name":"Split","id":1480,"is_glob":false}}},"359":{"id":359,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3883":{"id":3883,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4210":{"id":4210,"crate_id":0,"name":"resolve_backtraces","span":{"filename":"src/runtime/dump.rs","begin":[202,5],"end":[218,6]},"visibility":"public","docs":"Resolve and return a list of backtraces that are involved in polls in this trace.\n\nThe exact backtraces included here are unstable and might change in the future,\nbut you can expect one [`Backtrace`] for every call to\n[`poll`] to a bottom-level Tokio future - so if something like [`join!`] is\nused, there will be a backtrace for each future in the join.\n\n[`poll`]: std::future::Future::poll\n[`join!`]: macro@join","links":{"`Backtrace`":4184,"std::future::Future::poll":4211,"macro@join":4212},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2448":{"id":2448,"crate_id":0,"name":"try_write_vectored","span":{"filename":"src/net/tcp/stream.rs","begin":[982,5],"end":[988,6]},"visibility":"public","docs":"Tries to write several buffers to the stream, returning how many bytes\nwere written.\n\nData is written from each buffer in order, with the final buffer read\nfrom possibly being only partially consumed. This method behaves\nequivalently to a single call to [`try_write()`] with concatenated\nbuffers.\n\nThis function is usually paired with `writable()`.\n\n[`try_write()`]: TcpStream::try_write()\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the stream is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\nuse std::error::Error;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\n    let bufs = [io::IoSlice::new(b\"hello \"), io::IoSlice::new(b\"world\")];\n\n    loop {\n        // Wait for the socket to be writable\n        stream.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match stream.try_write_vectored(&bufs) {\n            Ok(n) => {\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"TcpStream::try_write()":2447},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"686":{"id":686,"crate_id":0,"name":"start_seek","span":{"filename":"src/io/util/empty.rs","begin":[138,5],"end":[140,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_position",{"resolved_path":{"path":"SeekFrom","id":256,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5972":{"id":5972,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6299":{"id":6299,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/owned_read_guard.rs","begin":[177,1],"end":[184,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[6298],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2775":{"id":2775,"crate_id":0,"name":"peer_addr","span":{"filename":"src/net/unix/split_owned.rs","begin":[235,5],"end":[237,6]},"visibility":"public","docs":"Returns the socket address of the remote half of this connection.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1013":{"id":1013,"crate_id":0,"name":"clone","span":{"filename":"src/io/ready.rs","begin":[20,10],"end":[20,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Ready","id":978,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4537":{"id":4537,"crate_id":0,"name":"worker_mean_poll_time","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[1021,9],"end":[1029,10]},"visibility":"public","docs":"Returns the mean duration of task polls, in nanoseconds.\n\nThis is an exponentially weighted moving average. Currently, this metric\nis only provided by the multi-threaded runtime.\n\n# Arguments\n\n`worker` is the index of the worker being queried. The given value must\nbe between 0 and `num_workers()`. The index uniquely identifies a single\nworker and will continue to identify the worker throughout the lifetime\nof the runtime instance.\n\n# Panics\n\nThe method panics when `worker` represents an invalid worker, i.e. is\ngreater than or equal to `num_workers()`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.worker_mean_poll_time(0);\nprintln!(\"worker 0 has a mean poll time of {:?}\", n);\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([All([NameValue { name: \"tokio_unstable\", value: None, span: src/runtime/metrics/runtime.rs:578:13: 578:27 (#0) }, NameValue { name: \"target_has_atomic\", value: Some(\"64\"), span: src/runtime/metrics/runtime.rs:579:13: 579:37 (#0) }], src/runtime/metrics/runtime.rs:577:15: 580:10 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, target_has_atomic = \"64\")))]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["worker",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"Duration","id":2215,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6626":{"id":6626,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3102":{"id":3102,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/mod.rs","begin":[16,38],"end":[16,52]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"split_owned::OwnedWriteHalf","name":"OwnedWriteHalf","id":843,"is_glob":false}}},"1340":{"id":1340,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6953":{"id":6953,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3429":{"id":3429,"crate_id":0,"name":"raw_arg","span":{"filename":"src/process/mod.rs","begin":[420,9],"end":[423,10]},"visibility":"public","docs":"Append literal text to the command line without any quoting or escaping.\n\nThis is useful for passing arguments to `cmd.exe /c`, which doesn't follow\n`CommandLineToArgvW` escaping rules.","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#610) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#610) }], src/macros/cfg.rs:42:26: 42:39 (#610)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#610) }], src/macros/cfg.rs:42:22: 42:49 (#610))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["text_to_append_as_is",{"generic":"S"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[{"name":"S","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1667":{"id":1667,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_seek_ext.rs","begin":[96,1],"end":[96,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"S","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"S"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncSeek","id":199,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["seek","rewind","stream_position"],"trait":{"path":"AsyncSeekExt","id":238,"args":null},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"S"}}}},"5191":{"id":5191,"crate_id":0,"name":"is_empty","span":{"filename":"src/sync/broadcast.rs","begin":[1229,5],"end":[1231,6]},"visibility":"public","docs":"Returns true if there aren't any messages in the channel that the [`Receiver`]\nhas yet to receive.\n\n[`Receiver`]: crate::sync::broadcast::Receiver\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx1) = broadcast::channel(16);\n\nassert!(rx1.is_empty());\n\ntx.send(10).unwrap();\ntx.send(20).unwrap();\n\nassert!(!rx1.is_empty());\nassert_eq!(rx1.recv().await.unwrap(), 10);\nassert_eq!(rx1.recv().await.unwrap(), 20);\nassert!(rx1.is_empty());\n# }\n```","links":{"crate::sync::broadcast::Receiver":5051},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5518":{"id":5518,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3756":{"id":3756,"crate_id":0,"name":"eq","span":{"filename":"src/runtime/task/id.rs","begin":[31,40],"end":[31,49]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"Id","id":3692,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"232":{"id":232,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1994":{"id":1994,"crate_id":0,"name":"set_limit","span":{"filename":"src/io/util/take.rs","begin":[45,5],"end":[47,6]},"visibility":"public","docs":"Sets the number of bytes that can be read before this instance will\nreturn EOF. This is the same as constructing a new `Take` instance, so\nthe amount of bytes read and the previous limit value don't matter when\ncalling this method.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["limit",{"primitive":"u64"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7280":{"id":7280,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5845":{"id":5845,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2321":{"id":2321,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"559":{"id":559,"crate_id":0,"name":"consume","span":{"filename":"src/io/join.rs","begin":[127,5],"end":[129,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["amt",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4083":{"id":4083,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6172":{"id":6172,"crate_id":0,"name":null,"span":{"filename":"src/sync/batch_semaphore.rs","begin":[68,10],"end":[68,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[6171],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4410":{"id":4410,"crate_id":0,"name":null,"span":{"filename":"src/runtime/runtime.rs","begin":[111,28],"end":[111,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"886":{"id":886,"crate_id":0,"name":"initialized_mut","span":{"filename":"src/io/read_buf.rs","begin":[103,5],"end":[108,6]},"visibility":"public","docs":"Returns a mutable reference to the initialized portion of the buffer.\n\nThis includes the filled portion.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2648":{"id":2648,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7607":{"id":7607,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6499":{"id":6499,"crate_id":0,"name":"deref","span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[171,5],"end":[173,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2975":{"id":2975,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/ucred.rs","begin":[4,10],"end":[4,14]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Copy","id":959,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1213":{"id":1213,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4737":{"id":4737,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[557,5],"end":[557,36]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#1248) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::builder::Builder","name":"Builder","id":3938,"is_glob":false}}},"6826":{"id":6826,"crate_id":0,"name":"receiver_count","span":{"filename":"src/sync/watch.rs","begin":[1414,5],"end":[1416,6]},"visibility":"public","docs":"Returns the number of receivers that currently exist.\n\n# Examples\n\n```\nuse tokio::sync::watch;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, rx1) = watch::channel(\"hello\");\n\nassert_eq!(1, tx.receiver_count());\n\nlet mut _rx2 = rx1.clone();\n\nassert_eq!(2, tx.receiver_count());\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5064":{"id":5064,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3302":{"id":3302,"crate_id":0,"name":"fmt","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2593,10],"end":[2593,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7153":{"id":7153,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1867":{"id":1867,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7480":{"id":7480,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5718":{"id":5718,"crate_id":0,"name":"from","span":{"filename":"src/sync/mutex.rs","begin":[796,5],"end":[798,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["s",{"generic":"T"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3956":{"id":3956,"crate_id":0,"name":"on_thread_park","span":{"filename":"src/runtime/builder.rs","begin":[815,5],"end":[821,6]},"visibility":"public","docs":"Executes function `f` just before a thread is parked (goes idle).\n`f` is called within the Tokio context, so functions like [`tokio::spawn`](crate::spawn)\ncan be called, and may result in this thread being unparked immediately.\n\nThis can be used to start work only when the executor is idle, or for bookkeeping\nand monitoring purposes.\n\nNote: There can only be one park callback for a runtime; calling this function\nmore than once replaces the last callback defined, rather than adding to it.\n\n# Examples\n\n## Multithreaded executor\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n# use std::sync::Arc;\n# use std::sync::atomic::{AtomicBool, Ordering};\n# use tokio::runtime;\n# use tokio::sync::Barrier;\n# pub fn main() {\nlet once = AtomicBool::new(true);\nlet barrier = Arc::new(Barrier::new(2));\n\nlet runtime = runtime::Builder::new_multi_thread()\n    .worker_threads(1)\n    .on_thread_park({\n        let barrier = barrier.clone();\n        move || {\n            let barrier = barrier.clone();\n            if once.swap(false, Ordering::Relaxed) {\n                tokio::spawn(async move { barrier.wait().await; });\n           }\n        }\n    })\n    .build()\n    .unwrap();\n\nruntime.block_on(async {\n   barrier.wait().await;\n})\n# }\n# }\n```\n## Current thread executor\n```\n# use std::sync::Arc;\n# use std::sync::atomic::{AtomicBool, Ordering};\n# use tokio::runtime;\n# use tokio::sync::Barrier;\n# pub fn main() {\nlet once = AtomicBool::new(true);\nlet barrier = Arc::new(Barrier::new(2));\n\nlet runtime = runtime::Builder::new_current_thread()\n    .on_thread_park({\n        let barrier = barrier.clone();\n        move || {\n            let barrier = barrier.clone();\n            if once.swap(false, Ordering::Relaxed) {\n                tokio::spawn(async move { barrier.wait().await; });\n           }\n        }\n    })\n    .build()\n    .unwrap();\n\nruntime.block_on(async {\n   barrier.wait().await;\n})\n# }\n```","links":{"crate::spawn":3799},"attrs":[{"other":"#[attr = CfgTrace([Not(NameValue { name: \"loom\", value: None, span: src/runtime/builder.rs:814:15: 814:19 (#0) }, src/runtime/builder.rs:814:14: 814:20 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["f",{"generic":"F"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Fn","id":3952,"args":{"parenthesized":{"inputs":[],"output":null}}},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"432":{"id":432,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2194":{"id":2194,"crate_id":0,"name":"AsRawSocket","span":{"filename":"src/doc/os.rs","begin":[33,9],"end":[36,10]},"visibility":"public","docs":"See [`std::os::windows::io::AsRawSocket`](https://doc.rust-lang.org/std/os/windows/io/trait.AsRawSocket.html)","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"trait":{"is_auto":false,"is_unsafe":false,"is_dyn_compatible":true,"items":[7597],"generics":{"params":[],"where_predicates":[]},"bounds":[],"implementations":[2193,2264,2491,2593]}}},"4283":{"id":4283,"crate_id":0,"name":"name","span":{"filename":"src/runtime/handle.rs","begin":[505,5],"end":[511,6]},"visibility":"public","docs":"Returns the name of the current `Runtime`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n#[tokio::main(flavor = \"current_thread\", name = \"my-runtime\")]\nasync fn main() {\n  println!(\"Current runtime name: {}\", Handle::current().name().unwrap());\n}\n```\n","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"primitive":"str"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2521":{"id":2521,"crate_id":0,"name":"try_send","span":{"filename":"src/net/udp.rs","begin":[654,5],"end":[658,6]},"visibility":"public","docs":"Tries to send data on the socket to the remote address to which it is\nconnected.\n\nWhen the socket buffer is full, `Err(io::ErrorKind::WouldBlock)` is\nreturned. This function is usually paired with `writable()`.\n\n# Returns\n\nIf successful, `Ok(n)` is returned, where `n` is the number of bytes\nsent. If the socket is not ready to send data,\n`Err(ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    // Bind a UDP socket\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n\n    // Connect to a peer\n    socket.connect(\"127.0.0.1:8081\").await?;\n\n    loop {\n        // Wait for the socket to be writable\n        socket.writable().await?;\n\n        // Try to send data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match socket.try_send(b\"hello world\") {\n            Ok(n) => {\n                break;\n            }\n            Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e);\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"759":{"id":759,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/split.rs","begin":[137,5],"end":[144,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6045":{"id":6045,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[351,25],"end":[351,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6372":{"id":6372,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2848":{"id":2848,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4937":{"id":4937,"crate_id":0,"name":"CtrlLogoff","span":{"filename":"src/signal/windows.rs","begin":[474,1],"end":[476,2]},"visibility":"public","docs":"Represents a listener which receives \"ctrl-logoff\" notifications sent to the process\nvia `SetConsoleCtrlHandler`.\n\nA notification to this process notifies *all* listeners listening for\nthis event. Moreover, the notifications **are coalesced** if they aren't processed\nquickly enough. This means that if two notifications are received back-to-back,\nthen the listener may only receive one item about the two notifications.","links":{},"attrs":[{"must_use":{"reason":"listeners do nothing unless polled"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4941,4942,4943,4944,4945,4946,4947,4948,4949,4950,4951,4952,4953,4954,4955,4956,4957,4959]}}},"3175":{"id":3175,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1413":{"id":1413,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6699":{"id":6699,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7026":{"id":7026,"crate_id":0,"name":"Output","span":{"filename":"src/task/local.rs","begin":[942,5],"end":[942,22]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"tuple":[]},"default_unstable":null}}},"5264":{"id":5264,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1740":{"id":1740,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3502":{"id":3502,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5591":{"id":5591,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[27,25],"end":[27,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::clone::Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5590],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3829":{"id":3829,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/join.rs","begin":[367,1],"end":[377,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[3828],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2067":{"id":2067,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[76,5],"end":[76,24]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"take::Take","name":"Take","id":583,"is_glob":false}}},"305":{"id":305,"crate_id":0,"name":"metadata","span":{"filename":"src/fs/metadata.rs","begin":[43,1],"end":[46,2]},"visibility":"public","docs":"Given a path, queries the file system to get information about a file,\ndirectory, etc.\n\nThis is an async version of [`std::fs::metadata`].\n\nThis function will traverse symbolic links to query information about the\ndestination file.\n\n# Platform-specific behavior\n\nThis function currently corresponds to the `stat` function on Unix and the\n`GetFileAttributesEx` function on Windows.  Note that, this [may change in\nthe future][changes].\n\n[changes]: https://doc.rust-lang.org/std/io/index.html#platform-specific-behavior\n\n# Errors\n\nThis function will return an error in the following situations, but is not\nlimited to just these cases:\n\n* The user lacks permissions to perform `metadata` call on `path`.\n* `path` does not exist.\n\n# Examples\n\n```rust,no_run\nuse tokio::fs;\n\n#[tokio::main]\nasync fn main() -> std::io::Result<()> {\n    let attr = fs::metadata(\"/some/file/path.txt\").await?;\n    // inspect attr ...\n    Ok(())\n}\n```","links":{"`std::fs::metadata`":304},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::fs::Metadata","id":218,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7353":{"id":7353,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5918":{"id":5918,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2394":{"id":2394,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"632":{"id":632,"crate_id":0,"name":"poll_read","span":{"filename":"src/net/tcp/stream.rs","begin":[1477,5],"end":[1483,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4156":{"id":4156,"crate_id":0,"name":"ip","span":{"filename":"src/runtime/dump.rs","begin":[134,5],"end":[136,6]},"visibility":"public","docs":"Return the instruction pointer of this frame.\n\nSee the ABI docs for your platform for the exact meaning.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"raw_pointer":{"is_mutable":true,"type":{"resolved_path":{"path":"std::ffi::c_void","id":3225,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6245":{"id":6245,"crate_id":0,"name":"num_permits","span":{"filename":"src/sync/semaphore.rs","begin":[1220,5],"end":[1222,6]},"visibility":"public","docs":"Returns the number of permits held by `self`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4483":{"id":4483,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2721":{"id":2721,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6572":{"id":6572,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[125,1],"end":[457,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6557,6558,6559,6560,6561,6562,6563,6566,6568,6569,6570,6571],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3048":{"id":3048,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1286":{"id":1286,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[260,105],"end":[260,115]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"super::async_fd::TryIoError","name":"TryIoError","id":1179,"is_glob":false}}},"4810":{"id":4810,"crate_id":0,"name":null,"span":{"filename":"src/signal/unix.rs","begin":[229,1],"end":[233,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"i32"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[4809],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5137":{"id":5137,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3375":{"id":3375,"crate_id":0,"name":null,"span":{"filename":"src/net/mod.rs","begin":[40,5],"end":[40,38]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:336:19: 336:34 (#464) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"lookup_host::lookup_host","name":"lookup_host","id":2127,"is_glob":false}}},"6899":{"id":6899,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[483,5],"end":[483,75]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"rwlock::owned_write_guard_mapped::OwnedRwLockMappedWriteGuard","name":"OwnedRwLockMappedWriteGuard","id":6314,"is_glob":false}}},"7226":{"id":7226,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3702":{"id":3702,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1940":{"id":1940,"crate_id":0,"name":"sink","span":{"filename":"src/io/util/sink.rs","begin":[48,5],"end":[50,6]},"visibility":"public","docs":"Creates an instance of an async writer which will successfully consume all\ndata.\n\nAll calls to [`poll_write`] on the returned instance will return\n`Poll::Ready(Ok(buf.len()))` and the contents of the buffer will not be\ninspected.\n\nThis is an asynchronous version of [`std::io::sink`][std].\n\n[`poll_write`]: crate::io::AsyncWrite::poll_write()\n[std]: std::io::sink\n\n# Examples\n\n```\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet buffer = vec![1, 2, 3, 5, 8];\nlet num_bytes = io::sink().write(&buffer).await?;\nassert_eq!(num_bytes, 5);\nOk(())\n# }\n```","links":{"crate::io::AsyncWrite::poll_write()":690,"std::io::sink":1961},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#392) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Sink","id":809,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"178":{"id":178,"crate_id":2,"name":"type_id","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"TypeId","id":179,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5464":{"id":5464,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[49,1],"end":[55,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5463],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5791":{"id":5791,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1167,1],"end":[1171,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"DerefMut","id":549,"args":null},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5790],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4029":{"id":4029,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"505":{"id":505,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[272,1],"end":[272,28]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::write::write","name":"write","id":469,"is_glob":false}}},"2267":{"id":2267,"crate_id":0,"name":"from_raw_socket","span":{"filename":"src/net/tcp/socket.rs","begin":[1059,9],"end":[1062,10]},"visibility":"default","docs":"Converts a `RawSocket` to a `TcpStream`.\n\n# Notes\n\nThe caller is responsible for ensuring that the socket is in\nnon-blocking mode.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["socket",{"resolved_path":{"path":"RawSocket","id":2192,"args":null}}]],"output":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6118":{"id":6118,"crate_id":0,"name":"poll","span":{"filename":"src/sync/oneshot.rs","begin":[1271,5],"end":[1296,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Self"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2594":{"id":2594,"crate_id":0,"name":"as_socket","span":{"filename":"src/net/udp.rs","begin":[2354,9],"end":[2356,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedSocket","id":2196,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"832":{"id":832,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/net/unix/split.rs","begin":[308,5],"end":[310,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6445":{"id":6445,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4683":{"id":4683,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1159":{"id":1159,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2921":{"id":2921,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5010":{"id":5010,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3248":{"id":3248,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[1733,17],"end":[1733,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[3247],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1486":{"id":1486,"crate_id":0,"name":"Lines","span":{"filename":"src/io/util/lines.rs","begin":[10,1],"end":[30,2]},"visibility":"public","docs":"Reads lines from an [`AsyncBufRead`].\n\nA `Lines` can be turned into a `Stream` with [`LinesStream`].\n\nThis type is usually created using the [`lines`] method.\n\n[`AsyncBufRead`]: crate::io::AsyncBufRead\n[`LinesStream`]: https://docs.rs/tokio-stream/0.1/tokio_stream/wrappers/struct.LinesStream.html\n[`lines`]: crate::io::AsyncBufReadExt::lines","links":{"crate::io::AsyncBufRead":538,"crate::io::AsyncBufReadExt::lines":1474},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"must_use":{"reason":"streams do nothing unless polled"}},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1795,1797,1798,1799,1800,1801,1802,1803,1804,1805,1806,1807,1808,1809,1810,1811,1812,1814,1815]}}},"6772":{"id":6772,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[369,5],"end":[369,32]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7099":{"id":7099,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5337":{"id":5337,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1813":{"id":1813,"crate_id":0,"name":"fmt","span":{"filename":"src/io/util/lines.rs","begin":[20,14],"end":[20,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3575":{"id":3575,"crate_id":0,"name":"as_fd","span":{"filename":"src/process/mod.rs","begin":[1657,5],"end":[1657,30]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7426":{"id":7426,"crate_id":0,"name":null,"span":{"filename":"src/time/interval.rs","begin":[175,30],"end":[175,39]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5664":{"id":5664,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[154,5],"end":[165,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"time\"), span: src/macros/cfg.rs:583:19: 583:35 (#2155) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Display","id":1268,"args":null},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5663],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5991":{"id":5991,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2467":{"id":2467,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"705":{"id":705,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[216,5],"end":[216,25]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4229":{"id":4229,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4556":{"id":4556,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2794":{"id":2794,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1032":{"id":1032,"crate_id":0,"name":"Output","span":{"filename":"src/io/ready.rs","begin":[290,5],"end":[290,25]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"resolved_path":{"path":"Ready","id":978,"args":null}},"default_unstable":null}}},"6318":{"id":6318,"crate_id":0,"name":"try_map","span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[210,5],"end":[231,6]},"visibility":"public","docs":"Attempts to make a new [`OwnedRwLockMappedWriteGuard`] for a component\nof the locked data. The original guard is returned if the closure\nreturns `None`.\n\nThis operation cannot fail as the `OwnedRwLockWriteGuard` passed in\nalready locked the data.\n\nThis is an associated function that needs to be\nused as `OwnedRwLockWriteGuard::try_map(...)`. A method would interfere\nwith methods of the same name on the contents of the locked data.\n\n[`RwLockMappedWriteGuard`]: struct@crate::sync::RwLockMappedWriteGuard\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::{RwLock, OwnedRwLockWriteGuard};\n\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\nstruct Foo(u32);\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(Foo(1)));\n\n{\n    let guard = Arc::clone(&lock).write_owned().await;\n    let mut guard = OwnedRwLockWriteGuard::try_map(guard, |f| Some(&mut f.0)).expect(\"should not fail\");\n    *guard = 2;\n}\n\nassert_eq!(Foo(2), *lock.read().await);\n# }\n```","links":{"`OwnedRwLockMappedWriteGuard`":6314,"struct@crate::sync::RwLockMappedWriteGuard":6317},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["this",{"generic":"Self"}],["f",{"generic":"F"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}}},{"type":{"generic":"Self"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"FnOnce","id":1147,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"U"}}}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6645":{"id":6645,"crate_id":0,"name":"initialized","span":{"filename":"src/sync/set_once.rs","begin":[250,5],"end":[254,6]},"visibility":"public","docs":"Returns `true` if the `SetOnce` currently contains a value, and `false`\notherwise.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3121":{"id":3121,"crate_id":0,"name":"try_read","span":{"filename":"src/net/windows/named_pipe.rs","begin":[457,5],"end":[461,6]},"visibility":"public","docs":"Tries to read data from the pipe into the provided buffer, returning how\nmany bytes were read.\n\nReceives any pending data from the pipe but does not wait for new data\nto arrive. On success, returns the number of bytes read. Because\n`try_read()` is non-blocking, the buffer does not have to be stored by\nthe async task and can exist entirely on the stack.\n\nUsually, [`readable()`] or [`ready()`] is used with this function.\n\n[`readable()`]: NamedPipeServer::readable()\n[`ready()`]: NamedPipeServer::ready()\n\n# Return\n\nIf data is successfully read, `Ok(n)` is returned, where `n` is the\nnumber of bytes read. If `n` is `0`, then it can indicate one of two scenarios:\n\n1. The pipe's read half is closed and will no longer yield data.\n2. The specified buffer was 0 bytes in length.\n\nIf the pipe is not ready to read data,\n`Err(io::ErrorKind::WouldBlock)` is returned.\n\n# Examples\n\n```no_run\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-server-try-read\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let server = named_pipe::ServerOptions::new()\n        .create(PIPE_NAME)?;\n\n    loop {\n        // Wait for the pipe to be readable\n        server.readable().await?;\n\n        // Creating the buffer **after** the `await` prevents it from\n        // being stored in the async task.\n        let mut buf = [0; 4096];\n\n        // Try to read data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match server.try_read(&mut buf) {\n            Ok(0) => break,\n            Ok(n) => {\n                println!(\"read {} bytes\", n);\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{"NamedPipeServer::ready()":3118,"NamedPipeServer::readable()":3119},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1359":{"id":1359,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4883":{"id":4883,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5210":{"id":5210,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6972":{"id":6972,"crate_id":0,"name":"Coop","span":{"filename":"src/task/coop/mod.rs","begin":[434,5],"end":[441,6]},"visibility":"public","docs":"Future wrapper to ensure cooperative scheduling created by [`cooperative`].","links":{"`cooperative`":6971},"attrs":[{"must_use":{"reason":"futures do nothing unless polled"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6973,6974,6975,6976,6977,6978,6979,6980,6981,6982,6983,6984,6985,6986,6987,6988,6989,6993]}}},"7299":{"id":7299,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5537":{"id":5537,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2013":{"id":2013,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3775":{"id":3775,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5864":{"id":5864,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1386,1],"end":[1390,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[5863],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4102":{"id":4102,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"578":{"id":578,"crate_id":0,"name":null,"span":{"filename":"src/io/util/empty.rs","begin":[80,1],"end":[90,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncBufRead","id":538,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[576,577],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2340":{"id":2340,"crate_id":0,"name":"reunite","span":{"filename":"src/net/tcp/split_owned.rs","begin":[107,5],"end":[109,6]},"visibility":"public","docs":"Attempts to put the two halves of a `TcpStream` back together and\nrecover the original socket. Succeeds only if the two halves\noriginated from the same call to [`into_split`].\n\n[`into_split`]: TcpStream::into_split()","links":{"TcpStream::into_split()":2339},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["other",{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpStream","id":634,"args":null}}},{"type":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6191":{"id":6191,"crate_id":0,"name":"acquire_many_owned","span":{"filename":"src/sync/semaphore.rs","begin":[857,5],"end":[877,6]},"visibility":"public","docs":"Acquires `n` permits from the semaphore.\n\nThe semaphore must be wrapped in an [`Arc`] to call this method.\nIf the semaphore has been closed, this returns an [`AcquireError`].\nOtherwise, this returns a [`OwnedSemaphorePermit`] representing the\nacquired permit.\n\n# Cancel safety\n\nThis method uses a queue to fairly distribute permits in the order they\nwere requested. Cancelling a call to `acquire_many_owned` makes you lose\nyour place in the queue.\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::Semaphore;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet semaphore = Arc::new(Semaphore::new(10));\nlet mut join_handles = Vec::new();\n\nfor _ in 0..5 {\n    let permit = semaphore.clone().acquire_many_owned(2).await.unwrap();\n    join_handles.push(tokio::spawn(async move {\n        // perform task...\n        // explicitly own `permit` in the task\n        drop(permit);\n    }));\n}\n\nfor handle in join_handles {\n    handle.await.unwrap();\n}\n# }\n```\n\n[`Arc`]: std::sync::Arc\n[`AcquireError`]: crate::sync::AcquireError\n[`OwnedSemaphorePermit`]: crate::sync::OwnedSemaphorePermit","links":{"std::sync::Arc":2509,"crate::sync::AcquireError":6153,"crate::sync::OwnedSemaphorePermit":6182},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}}],["n",{"primitive":"u32"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}}},{"type":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2667":{"id":2667,"crate_id":0,"name":"connect","span":{"filename":"src/net/unix/stream.rs","begin":[81,5],"end":[100,6]},"visibility":"public","docs":"Connects to the socket named by `path`.\n\nThis function will create a new Unix socket and connect to the path\nspecified, associating the returned stream with the default event loop's\nhandle.\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"crate::runtime::Runtime::enter":1054},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"generic":"P"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"P"},"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"905":{"id":905,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4429":{"id":4429,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6518":{"id":6518,"crate_id":0,"name":"const_new","span":{"filename":"src/sync/rwlock.rs","begin":[347,5],"end":[358,6]},"visibility":"public","docs":"Creates a new instance of an `RwLock<T>` which is unlocked.\n\nWhen using the `tracing` [unstable feature], a `RwLock` created with\n`const_new` will not be instrumented. As such, it will not be visible\nin [`tokio-console`]. Instead, [`RwLock::new`] should be used to create\nan instrumented object if that is needed.\n\n# Examples\n\n```\nuse tokio::sync::RwLock;\n\nstatic LOCK: RwLock<i32> = RwLock::const_new(5);\n```\n\n[`tokio-console`]: https://github.com/tokio-rs/console\n[unstable feature]: crate#unstable-features","links":{"`RwLock::new`":6516,"crate#unstable-features":3944},"attrs":[{"other":"#[attr = CfgTrace([Not(All([NameValue { name: \"loom\", value: None, span: src/sync/rwlock.rs:346:19: 346:23 (#0) }, NameValue { name: \"test\", value: None, span: src/sync/rwlock.rs:346:25: 346:29 (#0) }], src/sync/rwlock.rs:346:18: 346:30 (#0)), src/sync/rwlock.rs:346:14: 346:31 (#0))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["value",{"generic":"T"}]],"output":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4756":{"id":4756,"crate_id":0,"name":null,"span":{"filename":"src/runtime/mod.rs","begin":[641,81],"end":[641,100]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1811) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"metrics::LogHistogramBuilder","name":"LogHistogramBuilder","id":3982,"is_glob":false}}},"1232":{"id":1232,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2994":{"id":2994,"crate_id":0,"name":"open_receiver","span":{"filename":"src/net/unix/pipe.rs","begin":[229,5],"end":[232,6]},"visibility":"public","docs":"Creates a [`Receiver`] from a FIFO file with the options specified by `self`.\n\nThis function will open the FIFO file at the specified path, possibly\ncheck if it is a pipe, and associate the pipe with the default event\nloop for reading.\n\n# Errors\n\nIf the file type check fails, this function will fail with `io::ErrorKind::InvalidInput`.\nThis function may also fail with other standard OS errors.\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"`Receiver`":646,"crate::runtime::Runtime::enter":1054},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["path",{"generic":"P"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Receiver","id":646,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"P","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6845":{"id":6845,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3321":{"id":3321,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5083":{"id":5083,"crate_id":0,"name":"Empty","span":{"filename":"src/sync/broadcast.rs","begin":[331,9],"end":[331,14]},"visibility":"default","docs":"The channel is currently empty. There are still active\n[`Sender`] handles, so data may yet become available.\n\n[`Sender`]: crate::sync::broadcast::Sender","links":{"crate::sync::broadcast::Sender":5023},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"5410":{"id":5410,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"124":{"id":124,"crate_id":0,"name":"create_dir","span":{"filename":"src/fs/create_dir.rs","begin":[47,1],"end":[50,2]},"visibility":"public","docs":"Creates a new, empty directory at the provided path.\n\nThis is an async version of [`std::fs::create_dir`].\n\n# Platform-specific behavior\n\nThis function currently corresponds to the `mkdir` function on Unix\nand the `CreateDirectory` function on Windows.\nNote that, this [may change in the future][changes].\n\n[changes]: https://doc.rust-lang.org/std/io/index.html#platform-specific-behavior\n\n**NOTE**: If a parent of the given path doesn't exist, this function will\nreturn an error. To create a directory and all its missing parents at the\nsame time, use the [`create_dir_all`] function.\n\n# Errors\n\nThis function will return an error in the following situations, but is not\nlimited to just these cases:\n\n* User lacks permissions to create directory at `path`.\n* A parent of the given path doesn't exist. (To create a directory and all\n  its missing parents at the same time, use the [`create_dir_all`]\n  function.)\n* `path` already exists.\n\n[`create_dir_all`]: super::create_dir_all()\n\n# Examples\n\n```no_run\nuse tokio::fs;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    fs::create_dir(\"/some/dir\").await?;\n    Ok(())\n}\n```","links":{"super::create_dir_all()":123,"`std::fs::create_dir`":122},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5737":{"id":5737,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2213":{"id":2213,"crate_id":0,"name":"set_zero_linger","span":{"filename":"src/net/tcp/socket.rs","begin":[462,5],"end":[464,6]},"visibility":"public","docs":"Sets a linger duration of zero on this socket by setting the `SO_LINGER` option.\n\nThis causes the connection to be forcefully aborted (\"abortive close\") when the socket is\ndropped or closed. Instead of the normal TCP shutdown handshake (`FIN`/`ACK`), a TCP `RST`\n(reset) segment is sent to the peer, and the socket immediately discards any unsent data\nresiding in the socket send buffer. This prevents the socket from entering the `TIME_WAIT`\nstate after closing it.\n\nThis is a destructive action. Any data currently buffered by the OS but not yet transmitted\nwill be lost. The peer will likely receive a \"Connection Reset\" error rather than a clean\nend-of-stream.\n\nSee the documentation for [`set_linger`](Self::set_linger) for additional details on how\n`SO_LINGER` works.","links":{"Self::set_linger":2214},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"451":{"id":451,"crate_id":0,"name":"remove_dir","span":{"filename":"src/fs/remove_dir.rs","begin":[9,1],"end":[12,2]},"visibility":"public","docs":"Removes an existing, empty directory.\n\nThis is an async version of [`std::fs::remove_dir`].","links":{"`std::fs::remove_dir`":450},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6064":{"id":6064,"crate_id":0,"name":"poll_closed","span":{"filename":"src/sync/oneshot.rs","begin":[820,5],"end":[868,6]},"visibility":"public","docs":"Checks whether the `oneshot` channel has been closed, and if not, schedules the\n`Waker` in the provided `Context` to receive a notification when the channel is\nclosed.\n\nA [`Receiver`] is closed by either calling [`close`] explicitly, or when the\n[`Receiver`] value is dropped.\n\nNote that on multiple calls to poll, only the `Waker` from the `Context` passed\nto the most recent call will be scheduled to receive a wakeup.\n\n[`Receiver`]: struct@crate::sync::oneshot::Receiver\n[`close`]: fn@crate::sync::oneshot::Receiver::close\n\n# Return value\n\nThis function returns:\n\n * `Poll::Pending` if the channel is still open.\n * `Poll::Ready(())` if the channel is closed.\n\n# Examples\n\n```\nuse tokio::sync::oneshot;\n\nuse std::future::poll_fn;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (mut tx, mut rx) = oneshot::channel::<()>();\n\ntokio::spawn(async move {\n    rx.close();\n});\n\npoll_fn(|cx| tx.poll_closed(cx)).await;\n\nprintln!(\"the receiver dropped\");\n# }\n```","links":{"fn@crate::sync::oneshot::Receiver::close":6061,"struct@crate::sync::oneshot::Receiver":6056},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4302":{"id":4302,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"778":{"id":778,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/util/buf_stream.rs","begin":[142,5],"end":[144,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2540":{"id":2540,"crate_id":0,"name":"try_peek_sender","span":{"filename":"src/net/udp.rs","begin":[1877,5],"end":[1881,6]},"visibility":"public","docs":"Try to retrieve the sender of the data at the head of the input queue.\n\nWhen there is no pending data, `Err(io::ErrorKind::WouldBlock)` is\nreturned. This function is usually paired with `readable()`.\n\nNote that the socket address **cannot** be implicitly trusted, because it is relatively\ntrivial to send a UDP datagram with a spoofed origin in a [packet injection attack].\nBecause UDP is stateless and does not validate the origin of a packet,\nthe attacker does not need to be able to intercept traffic in order to interfere.\nIt is important to be aware of this when designing your application-level protocol.\n\n[packet injection attack]: https://en.wikipedia.org/wiki/Packet_injection","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4629":{"id":4629,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2867":{"id":2867,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6391":{"id":6391,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock.rs","begin":[185,1],"end":[190,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"owned_write_guard_mapped::OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6718":{"id":6718,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4956":{"id":4956,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3194":{"id":3194,"crate_id":0,"name":"as_handle","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1723,5],"end":[1725,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedHandle","id":294,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5283":{"id":5283,"crate_id":0,"name":"strong_count","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1670,5],"end":[1672,6]},"visibility":"public","docs":"Returns the number of [`Sender`] handles.","links":{"`Sender`":5224},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3521":{"id":3521,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7045":{"id":7045,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LocalEnterGuard","id":6999,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7372":{"id":7372,"crate_id":0,"name":null,"span":{"filename":"src/time/instant.rs","begin":[153,1],"end":[157,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Instant","id":7331,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[7371],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5610":{"id":5610,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":5398,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2086":{"id":2086,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[231,9],"end":[231,36]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"feature\", value: Some(\"net\"), span: src/macros/cfg.rs:347:17: 347:32 (#196) }, All([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:349:21: 349:35 (#196) }, NameValue { name: \"feature\", value: Some(\"io-uring\"), span: src/macros/cfg.rs:350:21: 350:41 (#196) }, NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:351:21: 351:35 (#196) }, NameValue { name: \"feature\", value: Some(\"fs\"), span: src/macros/cfg.rs:352:21: 352:35 (#196) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/macros/cfg.rs:353:21: 353:40 (#196) }], src/macros/cfg.rs:348:20: 354:18 (#196))], src/macros/cfg.rs:346:22: 355:14 (#196))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(feature = \"net\", all(tokio_unstable, feature = \"io-uring\", feature = \"rt\", feature = \"fs\", target_os = \"linux\"))))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"interest::Interest","name":"Interest","id":924,"is_glob":false}}},"3848":{"id":3848,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5937":{"id":5937,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4175":{"id":4175,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2413":{"id":2413,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2341,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"651":{"id":651,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[1680,1],"end":[1688,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[650],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6264":{"id":6264,"crate_id":0,"name":null,"span":{"filename":"src/sync/semaphore.rs","begin":[454,10],"end":[454,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[6263],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2740":{"id":2740,"crate_id":0,"name":"try_write_vectored","span":{"filename":"src/net/unix/split.rs","begin":[266,5],"end":[268,6]},"visibility":"public","docs":"Tries to write several buffers to the stream, returning how many bytes\nwere written.\n\nData is written from each buffer in order, with the final buffer read\nfrom possible being only partially consumed. This method behaves\nequivalently to a single call to [`try_write()`] with concatenated\nbuffers.\n\nThis function is usually paired with `writable()`.\n\n[`try_write()`]: Self::try_write()\n\n# Return\n\nIf data is successfully written, `Ok(n)` is returned, where `n` is the\nnumber of bytes written. If the stream is not ready to write data,\n`Err(io::ErrorKind::WouldBlock)` is returned.","links":{"Self::try_write()":2737},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"978":{"id":978,"crate_id":0,"name":"Ready","span":{"filename":"src/io/ready.rs","begin":[21,1],"end":[21,25]},"visibility":"public","docs":"Describes the readiness state of an I/O resources.\n\n`Ready` tracks which operation an I/O resource is ready to perform.","links":{},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1014,1015,1016,1018,1019,1022,1025,1029,1031,1034,1038,1041]}}},"4502":{"id":4502,"crate_id":0,"name":null,"span":{"filename":"src/runtime/id.rs","begin":[29,40],"end":[29,49]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4829":{"id":4829,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Signal","id":4814,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3067":{"id":3067,"crate_id":0,"name":"ready","span":{"filename":"src/net/unix/pipe.rs","begin":[1067,5],"end":[1070,6]},"visibility":"public","docs":"Waits for any of the requested ready states.\n\nThis function can be used instead of [`readable()`] to check the returned\nready set for [`Ready::READABLE`] and [`Ready::READ_CLOSED`] events.\n\nThe function may complete without the pipe being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\n[`readable()`]: Self::readable\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to read that fails with `WouldBlock` or\n`Poll::Pending`.","links":{"`Ready`":978,"`Ready::READABLE`":980,"Self::readable":3066,"`Ready::READ_CLOSED`":982},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1305":{"id":1305,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Stderr","id":750,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6591":{"id":6591,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[76,1],"end":[80,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6590],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6918":{"id":6918,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Sync","id":144,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5156":{"id":5156,"crate_id":0,"name":"drop","span":{"filename":"src/sync/broadcast.rs","begin":[1098,5],"end":[1102,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1632":{"id":1632,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"BufReader","id":513,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"5483":{"id":5483,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakUnboundedSender","id":5440,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7245":{"id":7245,"crate_id":0,"name":null,"span":{"filename":"src/task/mod.rs","begin":[308,5],"end":[308,34]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"task_local::LocalKey","name":"LocalKey","id":7058,"is_glob":false}}},"1959":{"id":1959,"crate_id":0,"name":"fmt","span":{"filename":"src/io/util/sink.rs","begin":[81,5],"end":[83,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7572":{"id":7572,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"RngSeed","id":3974,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4048":{"id":4048,"crate_id":0,"name":"Tasks","span":{"filename":"src/runtime/dump.rs","begin":[22,1],"end":[24,2]},"visibility":"public","docs":"Snapshots of tasks.\n\nSee [`Handle::dump`][crate::runtime::Handle::dump].","links":{"crate::runtime::Handle::dump":4045},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4071,4072,4073,4074,4075,4076,4077,4078,4079,4080,4081,4082,4083,4084,4085,4086,4087,4089]}}},"2286":{"id":2286,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split.rs","begin":[55,1],"end":[276,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[2274,2276,2280,2278,2277,2281,2283,2284,2285],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"524":{"id":524,"crate_id":0,"name":"maybe_done","span":{"filename":"src/future/maybe_done.rs","begin":[26,1],"end":[30,2]},"visibility":"public","docs":"Wraps a future into a `MaybeDone`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["future",{"generic":"F"}]],"output":{"resolved_path":{"path":"MaybeDone","id":523,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"IntoFuture","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":525,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"IntoFuture","id":525,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5810":{"id":5810,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6137":{"id":6137,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryAcquireError","id":6124,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4375":{"id":4375,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Runtime","id":3112,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"851":{"id":851,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/net/unix/pipe.rs","begin":[812,5],"end":[818,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4702":{"id":4702,"crate_id":0,"name":"log","span":{"filename":"src/runtime/metrics/histogram.rs","begin":[91,9],"end":[95,10]},"visibility":"public","docs":"Creates a log-scaled bucketed histogram\n\nSee [`LogHistogramBuilder`] for information about configuration & defaults","links":{"`LogHistogramBuilder`":3982},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["configuration",{"impl_trait":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[{"name":"impl Into<LogHistogram>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2940":{"id":2940,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/stream.rs","begin":[1107,1],"end":[1111,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[2939],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1178":{"id":1178,"crate_id":0,"name":"ready","span":{"filename":"src/io/async_fd.rs","begin":[1089,5],"end":[1094,6]},"visibility":"public","docs":"Get the [`Ready`] value associated with this guard.\n\nThis method will return the empty readiness state if\n[`AsyncFdReadyGuard::clear_ready`] has been called on\nthe guard.\n\n[`Ready`]: crate::io::Ready","links":{"crate::io::Ready":978,"`AsyncFdReadyGuard::clear_ready`":1134},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Ready","id":978,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6464":{"id":6464,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/write_guard.rs","begin":[420,1],"end":[424,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"DerefMut","id":549,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6463],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6791":{"id":6791,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[576,1],"end":[959,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Receiver","id":6780,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6784,6782,6786,6787,6788,6781,6789,6790],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5029":{"id":5029,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"SendError","id":5024,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1505":{"id":1505,"crate_id":0,"name":"read_u32","span":{"filename":"src/io/util/async_read_ext.rs","begin":[330,9],"end":[1304,10]},"visibility":"default","docs":"Reads an unsigned 32-bit integer in big-endian order from the\nunderlying reader.\n\nEquivalent to:\n\n```ignore\nasync fn read_u32(&mut self) -> io::Result<u32>;\n```\n\nIt is recommended to use a buffered reader to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncReadExt::read_exact`].\n\n[`AsyncReadExt::read_exact`]: AsyncReadExt::read_exact\n\n# Cancel safety\n\nThis method is not cancel safe. If the method is used as a\nbranch in [`tokio::select!`](crate::select) and another\nbranch completes first, then some data may be lost.\n\n# Examples\n\nRead unsigned 32-bit big-endian integers from a `AsyncRead`:\n\n```rust\nuse tokio::io::{self, AsyncReadExt};\n\nuse std::io::Cursor;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut reader = Cursor::new(vec![0x00, 0x00, 0x01, 0x0b]);\n\nassert_eq!(267, reader.read_u32().await?);\nOk(())\n# }\n```","links":{"AsyncReadExt::read_exact":1495,"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"ReadU32","id":1506,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3267":{"id":3267,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"ClientOptions","id":3253,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3594":{"id":3594,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"ChildStderr","id":658,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1832":{"id":1832,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5356":{"id":5356,"crate_id":0,"name":"size_hint","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[1770,5],"end":[1773,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"tuple":[{"primitive":"usize"},{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7445":{"id":7445,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Interval","id":7394,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2159":{"id":2159,"crate_id":0,"name":"from_std","span":{"filename":"src/net/tcp/listener.rs","begin":[243,5],"end":[249,6]},"visibility":"public","docs":"Creates new `TcpListener` from a `std::net::TcpListener`.\n\nThis function is intended to be used to wrap a TCP listener from the\nstandard library in the Tokio equivalent.\n\nThis API is typically paired with the `socket2` crate and the `Socket`\ntype to build up and customize a listener before it's shipped off to the\nbacking event loop. This allows configuration of options like\n`SO_REUSEPORT`, binding to multiple addresses, etc.\n\n# Notes\n\nThe caller is responsible for ensuring that the listener is in\nnon-blocking mode. Otherwise all I/O operations on the listener\nwill block the thread, which will cause unexpected behavior.\nNon-blocking mode can be set using [`set_nonblocking`].\n\nPassing a listener in blocking mode is always erroneous,\nand the behavior in that case may change in the future.\nFor example, it could panic.\n\n[`set_nonblocking`]: std::net::TcpListener::set_nonblocking\n\n# Examples\n\n```rust,no_run\nuse std::error::Error;\nuse tokio::net::TcpListener;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let std_listener = std::net::TcpListener::bind(\"127.0.0.1:0\")?;\n    std_listener.set_nonblocking(true)?;\n    let listener = TcpListener::from_std(std_listener)?;\n    Ok(())\n}\n```\n\n# Panics\n\nThis function panics if it is not called from within a runtime with\nIO enabled.\n\nThe runtime is usually set implicitly when this function is called\nfrom a future driven by a tokio runtime, otherwise runtime can be set\nexplicitly with [`Runtime::enter`](crate::runtime::Runtime::enter) function.","links":{"std::net::TcpListener::set_nonblocking":2158,"crate::runtime::Runtime::enter":1054},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["listener",{"resolved_path":{"path":"net::TcpListener","id":2160,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"397":{"id":397,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"ReadDir","id":386,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4248":{"id":4248,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"TaskMeta","id":3959,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2486":{"id":2486,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/net/tcp/stream.rs","begin":[1538,9],"end":[1540,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"724":{"id":724,"crate_id":0,"name":"is_write_vectored","span":{"filename":"src/io/async_write.rs","begin":[309,5],"end":[311,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6010":{"id":6010,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[347,14],"end":[347,19]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[6009],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6337":{"id":6337,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Display","id":1268,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"ToString","id":1269,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockWriteGuard","id":6313,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1266],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2813":{"id":2813,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4575":{"id":4575,"crate_id":0,"name":"max_value","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[76,5],"end":[78,6]},"visibility":"public","docs":"The maximum value that can be stored before truncation in this histogram","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"u64"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4902":{"id":4902,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"CtrlClose","id":4889,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3140":{"id":3140,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"NamedPipeServer","id":649,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1378":{"id":1378,"crate_id":0,"name":"as_raw_handle","span":{"filename":"src/io/stdout.rs","begin":[205,9],"end":[207,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawHandle","id":290,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6664":{"id":6664,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6991":{"id":6991,"crate_id":0,"name":"Output","span":{"filename":"src/task/coop/mod.rs","begin":[444,9],"end":[444,33]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"F"},"trait":{"path":"Future","id":520,"args":null}}},"default_unstable":null}}},"5229":{"id":5229,"crate_id":0,"name":"send","span":{"filename":"src/sync/mpsc/bounded.rs","begin":[816,5],"end":[824,6]},"visibility":"public","docs":"Sends a value, waiting until there is capacity.\n\nA successful send occurs when it is determined that the other end of the\nchannel has not hung up already. An unsuccessful send would be one where\nthe corresponding receiver has already been closed. Note that a return\nvalue of `Err` means that the data will never be received, but a return\nvalue of `Ok` does not mean that the data will be received. It is\npossible for the corresponding receiver to hang up immediately after\nthis function returns `Ok`.\n\n# Errors\n\nIf the receive half of the channel is closed, either due to [`close`]\nbeing called or the [`Receiver`] handle dropping, the function returns\nan error. The error includes the value passed to `send`.\n\n[`close`]: Receiver::close\n[`Receiver`]: Receiver\n\n# Cancel safety\n\nIf `send` is used as a branch in [`tokio::select!`](crate::select) and\nanother branch completes first, then it is guaranteed\nthat the message was not sent. **However, in that case, the message\nis dropped and will be lost.**\n\nTo avoid losing messages, use [`reserve`](Self::reserve) to reserve\ncapacity, then use the returned [`Permit`] to send the message.\n\nThis channel uses a queue to ensure that calls to `send` and `reserve`\ncomplete in the order they were requested.  Cancelling a call to\n`send` makes you lose your place in the queue.\n\n# Examples\n\nIn the following example, each call to `send` will block until the\npreviously sent value was received.\n\n```rust\nuse tokio::sync::mpsc;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = mpsc::channel(1);\n\ntokio::spawn(async move {\n    for i in 0..10 {\n        if let Err(_) = tx.send(i).await {\n            println!(\"receiver dropped\");\n            return;\n        }\n    }\n});\n\nwhile let Some(i) = rx.recv().await {\n    println!(\"got = {}\", i);\n}\n# }\n```","links":{"Receiver::close":5225,"`Permit`":5228,"Receiver":5226,"crate::select":1471,"Self::reserve":5227},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["value",{"generic":"T"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1705":{"id":1705,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_seek_ext.rs","begin":[96,1],"end":[96,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"S","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"S"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncSeek","id":199,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["seek","rewind","stream_position"],"trait":{"path":"AsyncSeekExt","id":238,"args":null},"for":{"resolved_path":{"path":"BufWriter","id":514,"args":{"angle_bracketed":{"args":[{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"S"}}}},"3467":{"id":3467,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Command","id":3420,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5556":{"id":5556,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mpsc/error.rs","begin":[11,5],"end":[13,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3794":{"id":3794,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/abort.rs","begin":[99,1],"end":[105,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[3793],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"270":{"id":270,"crate_id":0,"name":null,"span":{"filename":"src/fs/file.rs","begin":[892,1],"end":[898,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[269],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7318":{"id":7318,"crate_id":0,"name":null,"span":{"filename":"src/time/error.rs","begin":[46,17],"end":[46,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["ne"],"trait":{"path":"PartialEq","id":966,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[7317],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5883":{"id":5883,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2359":{"id":2359,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_read_ext.rs","begin":[1454,1],"end":[1454,50]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["chain","read","read_buf","read_exact","read_u8","read_i8","read_u16","read_i16","read_u32","read_i32","read_u64","read_i64","read_u128","read_i128","read_f32","read_f64","read_u16_le","read_i16_le","read_u32_le","read_i32_le","read_u64_le","read_i64_le","read_u128_le","read_i128_le","read_f32_le","read_f64_le","read_to_end","read_to_string","take"],"trait":{"path":"AsyncReadExt","id":202,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":631,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"R"}}}},"597":{"id":597,"crate_id":0,"name":"poll_read","span":{"filename":"src/io/stdin.rs","begin":[91,5],"end":[97,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4121":{"id":4121,"crate_id":0,"name":"BacktraceSymbol","span":{"filename":"src/runtime/dump.rs","begin":[50,1],"end":[57,2]},"visibility":"public","docs":"A backtrace symbol.\n\nThis struct provides accessors for backtrace symbols, similar to [`backtrace::BacktraceSymbol`].","links":{"`backtrace::BacktraceSymbol`":4120},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4128,4129,4130,4131,4132,4133,4134,4135,4136,4137,4138,4139,4140,4141,4142,4143,4144,4145,4146,4148,4150]}}},"6210":{"id":6210,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"924":{"id":924,"crate_id":0,"name":"Interest","span":{"filename":"src/io/interest.rs","begin":[29,1],"end":[29,28]},"visibility":"public","docs":"Readiness event interest.\n\nSpecifies the readiness events the caller is interested in when awaiting on\nI/O resource readiness states.","links":{},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"net\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,957,958,960,962,965,969,972,975]}}},"2686":{"id":2686,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6537":{"id":6537,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLock","id":6273,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3013":{"id":3013,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OpenOptions","id":2996,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1251":{"id":1251,"crate_id":0,"name":null,"span":{"filename":"src/io/async_fd.rs","begin":[1406,1],"end":[1415,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[1250],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4775":{"id":4775,"crate_id":0,"name":"terminate","span":{"filename":"src/signal/unix.rs","begin":[200,5],"end":[202,6]},"visibility":"public","docs":"Represents the `SIGTERM` signal.\n\nOn Unix systems this signal is sent to issue a shutdown of the\nprocess. By default, the process is terminated by this signal.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":true,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6864":{"id":6864,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Ref","id":6785,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5102":{"id":5102,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3340":{"id":3340,"crate_id":0,"name":"eq","span":{"filename":"src/net/windows/named_pipe.rs","begin":[2616,30],"end":[2616,39]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["other",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7191":{"id":7191,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Builder","id":7125,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"143":{"id":143,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"DirBuilder","id":131,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7518":{"id":7518,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5756":{"id":5756,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mutex.rs","begin":[992,5],"end":[994,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3994":{"id":3994,"crate_id":0,"name":"start_paused","span":{"filename":"src/runtime/builder.rs","begin":[1865,9],"end":[1868,10]},"visibility":"public","docs":"Controls if the runtime's clock starts paused or advancing.\n\nPausing time requires the current-thread runtime; construction of\nthe runtime will panic otherwise.\n\n# Examples\n\n```\nuse tokio::runtime;\n\nlet rt = runtime::Builder::new_current_thread()\n    .enable_time()\n    .start_paused(true)\n    .build()\n    .unwrap();\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["start_paused",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2232":{"id":2232,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/socket.rs","begin":[96,1],"end":[977,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"TcpSocket","id":2155,"args":null}},"items":[2201,2202,2203,2204,2205,2206,2207,2208,2209,2210,2211,2212,2214,2213,2216,2217,2218,2220,2219,2222,2221,2223,2224,2225,2226,2227,2228,2229,2231],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4321":{"id":4321,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"EnterGuard","id":4269,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2559":{"id":2559,"crate_id":0,"name":"device","span":{"filename":"src/net/udp.rs","begin":[2224,5],"end":[2226,6]},"visibility":"public","docs":"Gets the value for the `SO_BINDTODEVICE` option on this socket\n\nThis value gets the socket-bound device's interface name.","links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"android\"), span: src/net/udp.rs:2219:15: 2219:36 (#0) }, NameValue { name: \"target_os\", value: Some(\"fuchsia\"), span: src/net/udp.rs:2219:38: 2219:59 (#0) }, NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/net/udp.rs:2219:61: 2219:80 (#0) }], src/net/udp.rs:2219:14: 2219:82 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u8"}}],"constraints":[]}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"797":{"id":797,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/util/mem.rs","begin":[167,5],"end":[172,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[allow(unused_mut)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"task::Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6083":{"id":6083,"crate_id":0,"name":null,"span":{"filename":"src/sync/oneshot.rs","begin":[221,10],"end":[221,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6082],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6410":{"id":6410,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RwLockReadGuard","id":6398,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4648":{"id":4648,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1124":{"id":1124,"crate_id":0,"name":"AsyncFdTryNewError","span":{"filename":"src/io/async_fd.rs","begin":[1401,1],"end":[1404,2]},"visibility":"public","docs":"Error returned by [`try_new`] or [`try_with_interest`].\n\n[`try_new`]: AsyncFd::try_new\n[`try_with_interest`]: AsyncFd::try_with_interest","links":{"AsyncFd::try_with_interest":1123,"AsyncFd::try_new":1125},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1251,1252,1253,1254,1255,1256,1257,1258,1259,1260,1261,1262,1263,1264,1265,1267,1270,1271,1273,1275,1278,1280]}}},"2886":{"id":2886,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/socketaddr.rs","begin":[50,1],"end":[54,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[2885],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4975":{"id":4975,"crate_id":0,"name":"BarrierWaitResult","span":{"filename":"src/sync/barrier.rs","begin":[203,1],"end":[203,36]},"visibility":"public","docs":"A `BarrierWaitResult` is returned by `wait` when all tasks in the `Barrier` have rendezvoused.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[],"where_predicates":[]},"impls":[4997,4998,4999,5000,5001,5002,5003,5004,5005,5006,5007,5008,5009,5010,5011,5012,5013,5014,5015,5017,5019]}}},"3213":{"id":3213,"crate_id":0,"name":"access_inbound","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1885,5],"end":[1888,6]},"visibility":"public","docs":"The flow of data in the pipe goes from client to server only.\n\nThis corresponds to setting [`PIPE_ACCESS_INBOUND`].\n\n[`PIPE_ACCESS_INBOUND`]: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_access_inbound\n\n# Errors\n\nServer side prevents connecting by denying inbound access, client errors\nwith [`std::io::ErrorKind::PermissionDenied`] when attempting to create\nthe connection.\n\n```\nuse std::io;\nuse tokio::net::windows::named_pipe::{ClientOptions, ServerOptions};\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-access-inbound-err1\";\n\n# #[tokio::main] async fn main() -> io::Result<()> {\nlet _server = ServerOptions::new()\n    .access_inbound(false)\n    .create(PIPE_NAME)?;\n\nlet e = ClientOptions::new()\n    .open(PIPE_NAME)\n    .unwrap_err();\n\nassert_eq!(e.kind(), io::ErrorKind::PermissionDenied);\n# Ok(()) }\n```\n\nDisabling writing allows a client to connect, but errors with\n[`std::io::ErrorKind::PermissionDenied`] if a write is attempted.\n\n```\nuse std::io;\nuse tokio::io::AsyncWriteExt;\nuse tokio::net::windows::named_pipe::{ClientOptions, ServerOptions};\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-access-inbound-err2\";\n\n# #[tokio::main] async fn main() -> io::Result<()> {\nlet server = ServerOptions::new()\n    .access_inbound(false)\n    .create(PIPE_NAME)?;\n\nlet mut client = ClientOptions::new()\n    .write(false)\n    .open(PIPE_NAME)?;\n\nserver.connect().await?;\n\nlet e = client.write(b\"ping\").await.unwrap_err();\nassert_eq!(e.kind(), io::ErrorKind::PermissionDenied);\n# Ok(()) }\n```\n\n# Examples\n\nA unidirectional named pipe that only supports server-to-client\ncommunication.\n\n```\nuse std::io;\nuse tokio::io::{AsyncReadExt, AsyncWriteExt};\nuse tokio::net::windows::named_pipe::{ClientOptions, ServerOptions};\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-access-inbound\";\n\n# #[tokio::main] async fn main() -> io::Result<()> {\nlet mut server = ServerOptions::new()\n    .access_inbound(false)\n    .create(PIPE_NAME)?;\n\nlet mut client = ClientOptions::new()\n    .write(false)\n    .open(PIPE_NAME)?;\n\nserver.connect().await?;\n\nlet write = server.write_all(b\"ping\");\n\nlet mut buf = [0u8; 4];\nlet read = client.read_exact(&mut buf);\n\nlet ((), read) = tokio::try_join!(write, read)?;\n\nassert_eq!(read, 4);\nassert_eq!(&buf[..], b\"ping\");\n# Ok(()) }\n```","links":{"`std::io::ErrorKind::PermissionDenied`":330},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["allowed",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1451":{"id":1451,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Join","id":561,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}},{"type":{"generic":"W"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6737":{"id":6737,"crate_id":0,"name":"clone","span":{"filename":"src/sync/watch.rs","begin":[338,29],"end":[338,34]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7064":{"id":7064,"crate_id":0,"name":"AccessError","span":{"filename":"src/task/task_local.rs","begin":[445,1],"end":[447,2]},"visibility":"public","docs":"An error returned by [`LocalKey::try_with`](method@LocalKey::try_with).","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[]}}},"5302":{"id":5302,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1778":{"id":1778,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3540":{"id":3540,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1715,5],"end":[1715,29]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(windows))]"},{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawHandle","id":292,"args":null},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[3539],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5629":{"id":5629,"crate_id":0,"name":"0","span":{"filename":"src/sync/mpsc/error.rs","begin":[128,17],"end":[128,18]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"generic":"T"}}},"3867":{"id":3867,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/trace/mod.rs","begin":[334,1],"end":[362,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Future","id":520,"args":null},"for":{"resolved_path":{"path":"Root","id":3840,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[3865,3866],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2105":{"id":2105,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[286,91],"end":[286,97]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#226) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"util::repeat","name":"repeat","id":1913,"is_glob":false}}},"343":{"id":343,"crate_id":0,"name":null,"span":{"filename":"src/fs/open_options.rs","begin":[660,5],"end":[840,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#67) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#67) }], src/macros/cfg.rs:42:26: 42:39 (#67)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#67) }], src/macros/cfg.rs:42:22: 42:49 (#67))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"OpenOptions","id":205,"args":null}},"items":[338,339,340,341,342],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7391":{"id":7391,"crate_id":0,"name":"fmt","span":{"filename":"src/time/instant.rs","begin":[202,5],"end":[204,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["fmt",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5956":{"id":5956,"crate_id":0,"name":null,"span":{"filename":"src/sync/notify.rs","begin":[1038,1],"end":[1045,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["drop","pin_drop"],"trait":{"path":"Drop","id":1174,"args":null},"for":{"resolved_path":{"path":"Notified","id":4964,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[5955],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4194":{"id":4194,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Backtrace","id":4184,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"670":{"id":670,"crate_id":0,"name":null,"span":{"filename":"src/io/async_seek.rs","begin":[71,1],"end":[73,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"AsyncSeek","id":199,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncSeek","id":199,"args":null},"for":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}},"items":[668,669],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4521":{"id":4521,"crate_id":0,"name":"worker_local_queue_depth","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[397,9],"end":[399,10]},"visibility":"public","docs":"Returns the number of tasks currently scheduled in the given worker's\nlocal queue.\n\nTasks that are spawned or notified from within a runtime thread are\nscheduled using that worker's local queue. This metric returns the\n**current** number of tasks pending in the worker's local queue. As\nsuch, the returned value may increase or decrease as new tasks are\nscheduled and processed.\n\n# Arguments\n\n`worker` is the index of the worker being queried. The given value must\nbe between 0 and `num_workers()`. The index uniquely identifies a single\nworker and will continue to identify the worker throughout the lifetime\nof the runtime instance.\n\n# Panics\n\nThe method panics when `worker` represents an invalid worker, i.e. is\ngreater than or equal to `num_workers()`.\n\n# Examples\n\n```\nuse tokio::runtime::Handle;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet metrics = Handle::current().metrics();\n\nlet n = metrics.worker_local_queue_depth(0);\nprintln!(\"{} tasks currently pending in worker 0's local queue\", n);\n# }\n```","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:281:19: 281:33 (#1689) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["worker",{"primitive":"usize"}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2759":{"id":2759,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"997":{"id":997,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6283":{"id":6283,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":{"generic":"T"},"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"6610":{"id":6610,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3086":{"id":3086,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Receiver","id":646,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1324":{"id":1324,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Stdin","id":599,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4848":{"id":4848,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"CtrlC","id":4841,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5175":{"id":5175,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WeakSender","id":5125,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6937":{"id":6937,"crate_id":0,"name":null,"span":{"filename":"src/task/coop/unconstrained.rs","begin":[16,1],"end":[35,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Future","id":520,"args":null},"for":{"resolved_path":{"path":"Unconstrained","id":6916,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[6935,6936],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7264":{"id":7264,"crate_id":0,"name":"is_at_capacity","span":{"filename":"src/time/error.rs","begin":[73,5],"end":[75,6]},"visibility":"public","docs":"Returns `true` if the error was caused by the timer being at capacity.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"bool"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3740":{"id":3740,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1978":{"id":1978,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Split","id":1480,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"216":{"id":216,"crate_id":0,"name":"set_len","span":{"filename":"src/fs/file.rs","begin":[390,5],"end":[432,6]},"visibility":"public","docs":"Truncates or extends the underlying file, updating the size of this file to become size.\n\nIf the size is less than the current file's size, then the file will be\nshrunk. If it is greater than the current file's size, then the file\nwill be extended to size and have all of the intermediate data filled in\nwith 0s.\n\n# Errors\n\nThis function will return an error if the file is not opened for\nwriting.\n\n# Examples\n\n```no_run\nuse tokio::fs::File;\nuse tokio::io::AsyncWriteExt;\n\n# async fn dox() -> std::io::Result<()> {\nlet mut file = File::create(\"foo.txt\").await?;\nfile.write_all(b\"hello, world!\").await?;\nfile.set_len(10).await?;\n# Ok(())\n# }\n```\n\nThe [`write_all`] method is defined on the [`AsyncWriteExt`] trait.\n\n[`write_all`]: fn@crate::io::AsyncWriteExt::write_all\n[`AsyncWriteExt`]: trait@crate::io::AsyncWriteExt","links":{"fn@crate::io::AsyncWriteExt::write_all":209,"trait@crate::io::AsyncWriteExt":203},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["size",{"primitive":"u64"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5502":{"id":5502,"crate_id":0,"name":"blocking_recv_many","span":{"filename":"src/sync/mpsc/unbounded.rs","begin":[331,5],"end":[333,6]},"visibility":"public","docs":"Variant of [`Self::recv_many`] for blocking contexts.\n\nThe same conditions as in [`Self::blocking_recv`] apply.","links":{"`Self::blocking_recv`":5501,"`Self::recv_many`":5498},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/sync/mpsc/unbounded.rs:329:11: 329:27 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[attr = TrackCaller]"},{"other":"#[doc(alias = \"recv_many_blocking\")]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["buffer",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}}],["limit",{"primitive":"usize"}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5829":{"id":5829,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[1278,1],"end":[1282,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}},{"trait_bound":{"trait":{"path":"fmt::Debug","id":190,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"MappedMutexGuard","id":5726,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5828],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4067":{"id":4067,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[13,10],"end":[13,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(tokio_unstable, feature = \"taskdump\", feature = \"rt\", target_os = \"linux\", any(target_arch = \"aarch64\", target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"s390x\"))))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Dump","id":4046,"args":null}},"items":[4066],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"543":{"id":543,"crate_id":0,"name":"poll_fill_buf","span":{"filename":"src/io/async_buf_read.rs","begin":[82,5],"end":[82,28]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2305":{"id":2305,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/split.rs","begin":[32,10],"end":[32,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"ReadHalf","id":628,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[2304],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6156":{"id":6156,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4394":{"id":4394,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"RuntimeFlavor","id":4280,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"870":{"id":870,"crate_id":0,"name":"poll_write_vectored","span":{"filename":"src/process/mod.rs","begin":[1566,5],"end":[1572,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["bufs",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"io::IoSlice","id":261,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}},{"type":{"resolved_path":{"path":"io::Error","id":262,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6483":{"id":6483,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4721":{"id":4721,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"HistogramConfiguration","id":3984,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1197":{"id":1197,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyGuard","id":1117,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2959":{"id":2959,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6810":{"id":6810,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/watch.rs","begin":[184,10],"end":[184,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3286":{"id":3286,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5048":{"id":5048,"crate_id":0,"name":"0","span":{"filename":"src/sync/broadcast.rs","begin":[307,16],"end":[307,19]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct_field":{"primitive":"u64"}}},"7137":{"id":7137,"crate_id":0,"name":"abort_all","span":{"filename":"src/task/join_set.rs","begin":[463,5],"end":[465,6]},"visibility":"public","docs":"Aborts all tasks on this `JoinSet`.\n\nThis does not remove the tasks from the `JoinSet`. To wait for the tasks to complete\ncancellation, you should call `join_next` in a loop until the `JoinSet` is empty.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5375":{"id":5375,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OwnedPermit","id":5244,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1851":{"id":1851,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"SimplexStream","id":620,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3613":{"id":3613,"crate_id":0,"name":"as_fd","span":{"filename":"src/process/mod.rs","begin":[1658,5],"end":[1658,30]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"BorrowedFd","id":279,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3940":{"id":3940,"crate_id":0,"name":"build_local","span":{"filename":"src/runtime/builder.rs","begin":[1104,5],"end":[1110,6]},"visibility":"public","docs":"Creates the configured [`LocalRuntime`].\n\nThe returned [`LocalRuntime`] instance is ready to spawn tasks.\n\n# Panics\n\nThis will panic if the runtime is configured with [`new_multi_thread()`].\n\n[`new_multi_thread()`]: Builder::new_multi_thread\n\n# Examples\n\n```\nuse tokio::runtime::{Builder, LocalOptions};\n\nlet rt = Builder::new_current_thread()\n    .build_local(LocalOptions::default())\n    .unwrap();\n\nrt.spawn_local(async {\n    println!(\"Hello from the Tokio runtime\");\n});\n```","links":{"Builder::new_multi_thread":3936,"`LocalRuntime`":3941},"attrs":[{"other":"#[allow(unused_variables, unreachable_patterns)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["options",{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2178":{"id":2178,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"416":{"id":416,"crate_id":0,"name":null,"span":{"filename":"src/fs/read_dir.rs","begin":[164,5],"end":[186,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"unix\", value: None, span: src/fs/read_dir.rs:160:8: 160:12 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(unix))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[415],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5702":{"id":5702,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6029":{"id":6029,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2505":{"id":2505,"crate_id":0,"name":"recv_from","span":{"filename":"src/net/udp.rs","begin":[1326,5],"end":[1333,6]},"visibility":"public","docs":"Receives a single datagram message on the socket. On success, returns\nthe number of bytes read and the origin.\n\nThe function must be called with valid byte array `buf` of sufficient\nsize to hold the message bytes. If a message is too long to fit in the\nsupplied buffer, excess bytes may be discarded.\n\n# Cancel safety\n\nThis method is cancel safe. If `recv_from` is used as a branch in\n[`tokio::select!`](crate::select) and another branch\ncompletes first, it is guaranteed that no messages were received on this\nsocket.\n\n# Example\n\n```no_run\nuse tokio::net::UdpSocket;\nuse std::io;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let socket = UdpSocket::bind(\"127.0.0.1:8080\").await?;\n\n    let mut buf = vec![0u8; 32];\n    let (len, addr) = socket.recv_from(&mut buf).await?;\n\n    println!(\"received {:?} bytes from {:?}\", len, addr);\n\n    Ok(())\n}\n```\n\n# Notes\nNote that the socket address **cannot** be implicitly trusted, because it is relatively\ntrivial to send a UDP datagram with a spoofed origin in a [packet injection attack].\nBecause UDP is stateless and does not validate the origin of a packet,\nthe attacker does not need to be able to intercept traffic in order to interfere.\nIt is important to be aware of this when designing your application-level protocol.\n\n[packet injection attack]: https://en.wikipedia.org/wiki/Packet_injection","links":{"crate::select":1471},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[{"primitive":"usize"},{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"743":{"id":743,"crate_id":0,"name":"poll_flush","span":{"filename":"src/io/async_write.rs","begin":[419,5],"end":[421,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["_",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4267":{"id":4267,"crate_id":0,"name":"current","span":{"filename":"src/runtime/handle.rs","begin":[144,5],"end":[148,6]},"visibility":"public","docs":"Returns a `Handle` view over the currently running `Runtime`.\n\n# Panics\n\nThis will panic if called outside the context of a Tokio runtime. That means that you must\ncall this on one of the threads **being run by the runtime**, or from a thread with an active\n`EnterGuard`. Calling this from within a thread created by `std::thread::spawn` (for example)\nwill cause a panic unless that thread has an active `EnterGuard`.\n\n# Examples\n\nThis can be used to obtain the handle of the surrounding runtime from an async\nblock or function running on that runtime.\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n# use std::thread;\n# use tokio::runtime::Runtime;\n# fn dox() {\n# let rt = Runtime::new().unwrap();\n# rt.spawn(async {\nuse tokio::runtime::Handle;\n\n// Inside an async block or function.\nlet handle = Handle::current();\nhandle.spawn(async {\n    println!(\"now running in the existing Runtime\");\n});\n\n# let handle =\nthread::spawn(move || {\n    // Notice that the handle is created outside of this thread and then moved in\n    handle.spawn(async { /* ... */ });\n    // This next line would cause a panic because we haven't entered the runtime\n    // and created an EnterGuard\n    // let handle2 = Handle::current(); // panic\n    // So we create a guard here with Handle::enter();\n    let _guard = handle.enter();\n    // Now we can call Handle::current();\n    let handle2 = Handle::current();\n});\n# handle.join().unwrap();\n# });\n# }\n# }\n```","links":{},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4594":{"id":4594,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"LogHistogram","id":3978,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2832":{"id":2832,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split_owned.rs","begin":[415,1],"end":[419,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":843,"args":null}},"items":[2831],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1070":{"id":1070,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Aio","id":1048,"args":{"angle_bracketed":{"args":[{"type":{"generic":"E"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6683":{"id":6683,"crate_id":0,"name":null,"span":{"filename":"src/sync/set_once.rs","begin":[371,1],"end":[371,44]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"SetOnce","id":6640,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4921":{"id":4921,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"CtrlShutdown","id":4913,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1397":{"id":1397,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":602,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3159":{"id":3159,"crate_id":0,"name":"ready","span":{"filename":"src/net/windows/named_pipe.rs","begin":[1100,5],"end":[1103,6]},"visibility":"public","docs":"Waits for any of the requested ready states.\n\nThis function is usually paired with `try_read()` or `try_write()`. It\ncan be used to concurrently read / write to the same pipe on a single\ntask without splitting the pipe.\n\nThe function may complete without the pipe being ready. This is a\nfalse-positive and attempting an operation will return with\n`io::ErrorKind::WouldBlock`. The function can also return with an empty\n[`Ready`] set, so you should always check the returned value and possibly\nwait again if the requested states are not set.\n\n# Examples\n\nConcurrently read and write to the pipe on the same task without\nsplitting.\n\n```no_run\nuse tokio::io::Interest;\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-client-ready\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let client = named_pipe::ClientOptions::new().open(PIPE_NAME)?;\n\n    loop {\n        let ready = client.ready(Interest::READABLE | Interest::WRITABLE).await?;\n\n        if ready.is_readable() {\n            let mut data = vec![0; 1024];\n            // Try to read data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match client.try_read(&mut data) {\n                Ok(n) => {\n                    println!(\"read {} bytes\", n);\n                }\n                Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n        }\n\n        if ready.is_writable() {\n            // Try to write data, this may still fail with `WouldBlock`\n            // if the readiness event is a false positive.\n            match client.try_write(b\"hello world\") {\n                Ok(n) => {\n                    println!(\"write {} bytes\", n);\n                }\n                Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                    continue;\n                }\n                Err(e) => {\n                    return Err(e.into());\n                }\n            }\n        }\n    }\n}\n```","links":{"`Ready`":978},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Ready","id":978,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5248":{"id":5248,"crate_id":0,"name":"Full","span":{"filename":"src/sync/mpsc/error.rs","begin":[31,5],"end":[31,12]},"visibility":"default","docs":"The data could not be sent on the channel because the channel is\ncurrently full and sending would require blocking.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":{"tuple":[5563]},"discriminant":null}}},"3486":{"id":3486,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1215,1],"end":[1475,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Child","id":3419,"args":null}},"items":[3478,3479,3480,3483,3481,3484,3485],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1724":{"id":1724,"crate_id":0,"name":"get_ref","span":{"filename":"src/io/util/chain.rs","begin":[40,5],"end":[42,6]},"visibility":"public","docs":"Gets references to the underlying readers in this `Chain`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"tuple":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}},{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"U"}}}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7010":{"id":7010,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7337":{"id":7337,"crate_id":0,"name":"checked_add","span":{"filename":"src/time/instant.rs","begin":[141,5],"end":[143,6]},"visibility":"public","docs":"Returns `Some(t)` where `t` is the time `self + duration` if `t` can be\nrepresented as `Instant` (which means it's inside the bounds of the\nunderlying data structure), `None` otherwise.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["duration",{"resolved_path":{"path":"Duration","id":2215,"args":null}}]],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Instant","id":7328,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5575":{"id":5575,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2051":{"id":2051,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mod.rs","begin":[29,5],"end":[29,24]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#260) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"copy::copy","name":"copy","id":1753,"is_glob":false}}},"289":{"id":289,"crate_id":0,"name":"as_raw_handle","span":{"filename":"src/fs/file.rs","begin":[942,9],"end":[944,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawHandle","id":290,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3813":{"id":3813,"crate_id":2,"name":"IntoFuture","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"F"},"default_unstable":null}}},"5902":{"id":5902,"crate_id":0,"name":"new","span":{"filename":"src/sync/notify.rs","begin":[480,5],"end":[485,6]},"visibility":"public","docs":"Create a new `Notify`, initialized without a permit.\n\n# Examples\n\n```\nuse tokio::sync::Notify;\n\nlet notify = Notify::new();\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4140":{"id":4140,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BacktraceSymbol","id":4121,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"616":{"id":616,"crate_id":0,"name":null,"span":{"filename":"src/io/util/mem.rs","begin":[120,1],"end":[134,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"io-util\"))]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},"items":[615],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2378":{"id":2378,"crate_id":0,"name":"writable","span":{"filename":"src/net/tcp/split_owned.rs","begin":[399,5],"end":[401,6]},"visibility":"public","docs":"Waits for the socket to become writable.\n\nThis function is equivalent to `ready(Interest::WRITABLE)` and is usually\npaired with `try_write()`.\n\n# Cancel safety\n\nThis method is cancel safe. Once a readiness event occurs, the method\nwill continue to return immediately until the readiness event is\nconsumed by an attempt to write that fails with `WouldBlock` or\n`Poll::Pending`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6229":{"id":6229,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SemaphorePermit","id":6181,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2705":{"id":2705,"crate_id":0,"name":"split","span":{"filename":"src/net/unix/stream.rs","begin":[995,5],"end":[997,6]},"visibility":"public","docs":"Splits a `UnixStream` into a read half and a write half, which can be used\nto read and write the stream concurrently.\n\nThis method is more efficient than [`into_split`], but the halves cannot be\nmoved into independently spawned tasks.\n\n[`into_split`]: Self::into_split()","links":{"Self::into_split()":2767},"attrs":[{"other":"#[allow(clippy::needless_lifetimes)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":"'a","is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"tuple":[{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}}]},"is_c_variadic":false},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"943":{"id":943,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4467":{"id":4467,"crate_id":0,"name":null,"span":{"filename":"src/runtime/local_runtime/options.rs","begin":[13,10],"end":[13,17]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"LocalOptions","id":3963,"args":null}},"items":[4466],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6556":{"id":6556,"crate_id":0,"name":"OnceCell","span":{"filename":"src/sync/once_cell.rs","begin":[70,1],"end":[74,2]},"visibility":"public","docs":"A thread-safe cell that can be written to only once.\n\nA `OnceCell` is typically used for global variables that need to be\ninitialized once on first use, but need no further changes. The `OnceCell`\nin Tokio allows the initialization procedure to be asynchronous.\n\n# Examples\n\n```\nuse tokio::sync::OnceCell;\n\nasync fn some_computation() -> u32 {\n    1 + 1\n}\n\nstatic ONCE: OnceCell<u32> = OnceCell::const_new();\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet result = ONCE.get_or_init(some_computation).await;\nassert_eq!(*result, 2);\n# }\n```\n\nIt is often useful to write a wrapper method for accessing the value.\n\n```\nuse tokio::sync::OnceCell;\n\nstatic ONCE: OnceCell<u32> = OnceCell::const_new();\n\nasync fn get_global_integer() -> &'static u32 {\n    ONCE.get_or_init(|| async {\n        1 + 1\n    }).await\n}\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet result = get_global_integer().await;\nassert_eq!(*result, 2);\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[6572,6573,6574,6575,6576,6577,6578,6579,6580,6581,6582,6583,6584,6585,6586,6587,6588,6589,6591,6593,6595,6597,6598,6600,6602,6603,6604]}}},"4794":{"id":4794,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"SignalKind","id":4764,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3032":{"id":3032,"crate_id":0,"name":"poll_write_ready","span":{"filename":"src/net/unix/pipe.rs","begin":[596,5],"end":[598,6]},"visibility":"public","docs":"Polls for write readiness.\n\nIf the pipe is not currently ready for writing, this method will\nstore a clone of the `Waker` from the provided `Context`. When the pipe\nbecomes ready for writing, `Waker::wake` will be called on the waker.\n\nNote that on multiple calls to `poll_write_ready` or `poll_write`, only\nthe `Waker` from the `Context` passed to the most recent call is\nscheduled to receive a wakeup.\n\nThis function is intended for cases where creating and pinning a future\nvia [`writable`] is not feasible. Where possible, using [`writable`] is\npreferred, as this supports polling from multiple tasks at once.\n\n[`writable`]: Self::writable\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the pipe is not ready for writing.\n* `Poll::Ready(Ok(()))` if the pipe is ready for writing.\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.","links":{"Self::writable":3029},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1270":{"id":1270,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"AsyncFdTryNewError","id":1124,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6883":{"id":6883,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[459,32],"end":[459,49]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"barrier::BarrierWaitResult","name":"BarrierWaitResult","id":4975,"is_glob":false}}},"3359":{"id":3359,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"PipeInfo","id":3116,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1597":{"id":1597,"crate_id":0,"name":"write_i64_le","span":{"filename":"src/io/util/async_write_ext.rs","begin":[394,9],"end":[1236,10]},"visibility":"default","docs":"Writes an signed 64-bit integer in little-endian order to the\nunderlying writer.\n\nEquivalent to:\n\n```ignore\nasync fn write_i64_le(&mut self, n: i64) -> io::Result<()>;\n```\n\nIt is recommended to use a buffered writer to avoid excessive\nsyscalls.\n\n# Errors\n\nThis method returns the same errors as [`AsyncWriteExt::write_all`].\n\n[`AsyncWriteExt::write_all`]: AsyncWriteExt::write_all\n\n# Examples\n\nWrite signed 64-bit integers to a `AsyncWrite`:\n\n```rust\nuse tokio::io::{self, AsyncWriteExt};\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() -> io::Result<()> {\nlet mut writer = Vec::new();\n\nwriter.write_i64_le(i64::MIN).await?;\nwriter.write_i64_le(i64::MAX).await?;\n\nassert_eq!(writer, b\"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x80\\xff\\xff\\xff\\xff\\xff\\xff\\xff\\x7f\");\nOk(())\n# }\n```","links":{"AsyncWriteExt::write_all":209},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["n",{"primitive":"i64"}]],"output":{"resolved_path":{"path":"WriteI64Le","id":1598,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5121":{"id":5121,"crate_id":0,"name":"broadcast","span":{"filename":"src/sync/broadcast.rs","begin":[1,1],"end":[1797,2]},"visibility":"public","docs":"A multi-producer, multi-consumer broadcast queue. Each sent value is seen by\nall consumers.\n\nA [`Sender`] is used to broadcast values to **all** connected [`Receiver`]\nvalues. [`Sender`] handles are clone-able, allowing concurrent send and\nreceive actions. [`Sender`] and [`Receiver`] are both `Send` and `Sync` as\nlong as `T` is `Send`.\n\nWhen a value is sent, **all** [`Receiver`] handles are notified and will\nreceive the value. The value is stored once inside the channel and cloned on\ndemand for each receiver. Once all receivers have received a clone of the\nvalue, the value is released from the channel.\n\nA channel is created by calling [`channel`], specifying the maximum number\nof messages the channel can retain at any given time.\n\nNew [`Receiver`] handles are created by calling [`Sender::subscribe`]. The\nreturned [`Receiver`] will receive values sent **after** the call to\n`subscribe`.\n\nThis channel is also suitable for the single-producer multi-consumer\nuse-case, where a single sender broadcasts values to many receivers.\n\n## Lagging\n\nAs sent messages must be retained until **all** [`Receiver`] handles receive\na clone, broadcast channels are susceptible to the \"slow receiver\" problem.\nIn this case, all but one receiver are able to receive values at the rate\nthey are sent. Because one receiver is stalled, the channel starts to fill\nup.\n\nThis broadcast channel implementation handles this case by setting a hard\nupper bound on the number of values the channel may retain at any given\ntime. This upper bound is passed to the [`channel`] function as an argument.\nThe provided capacity is rounded **up** to the next power of two; that\nrounded size is the number of messages the ring buffer can hold, and is what\nlag detection is based on. For example, `channel(3)` allocates a buffer of\nlength 4, so a receiver only lags once it falls more than 4 messages behind\nthe sender.\n\nIf a value is sent when the channel is at capacity, the oldest value\ncurrently held by the channel is overwritten. This frees up space for the\nnew value. Any receiver that has not yet seen the overwritten value will\nreturn [`RecvError::Lagged`] the next time [`recv`] (or\n[`try_recv`](Receiver::try_recv)) is called. The error carries the number of\nmessages that were dropped before the receiver's cursor and are therefore\nno longer available.\n\nReturning [`RecvError::Lagged`] does **not** close or disconnect the\nreceiver. The lagging receiver's internal cursor is advanced to the oldest\nvalue still retained by the channel. The **next** successful call to\n[`recv`] / [`try_recv`](Receiver::try_recv) returns that oldest retained\nvalue (unless further sends overwrite it again before the receiver reads\nit). Subsequent receives then continue in send order from there.\n\nThis behavior enables a receiver to detect when it has lagged so far behind\nthat data has been dropped. The caller may decide how to respond to this:\neither by aborting its task or by tolerating lost messages and resuming\nconsumption of the channel.\n\n## Closing\n\nWhen **all** [`Sender`] handles have been dropped, no new values may be\nsent. At this point, the channel is \"closed\". Once a receiver has received\nall values retained by the channel, the next call to [`recv`] will return\nwith [`RecvError::Closed`].\n\nWhen a [`Receiver`] handle is dropped, any messages not read by the receiver\nwill be marked as read. If this receiver was the only one not to have read\nthat message, the message will be dropped at this point.\n\n[`Sender`]: crate::sync::broadcast::Sender\n[`Sender::subscribe`]: crate::sync::broadcast::Sender::subscribe\n[`Receiver`]: crate::sync::broadcast::Receiver\n[`channel`]: crate::sync::broadcast::channel\n[`RecvError::Lagged`]: crate::sync::broadcast::error::RecvError::Lagged\n[`RecvError::Closed`]: crate::sync::broadcast::error::RecvError::Closed\n[`recv`]: crate::sync::broadcast::Receiver::recv\n\n# Examples\n\nBasic usage\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx1) = broadcast::channel(16);\nlet mut rx2 = tx.subscribe();\n\ntokio::spawn(async move {\n    assert_eq!(rx1.recv().await.unwrap(), 10);\n    assert_eq!(rx1.recv().await.unwrap(), 20);\n});\n\ntokio::spawn(async move {\n    assert_eq!(rx2.recv().await.unwrap(), 10);\n    assert_eq!(rx2.recv().await.unwrap(), 20);\n});\n\ntx.send(10).unwrap();\ntx.send(20).unwrap();\n# }\n```\n\nHandling lag\n\n```\nuse tokio::sync::broadcast;\nuse tokio::sync::broadcast::error::RecvError;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\n// Capacity 2 → ring buffer of length 2.\nlet (tx, mut rx) = broadcast::channel(2);\n\ntx.send(10).unwrap();\ntx.send(20).unwrap();\n// Overwrites 10; receiver has not read it yet.\ntx.send(30).unwrap();\n\n// One message (10) was dropped; cursor moves to the oldest retained value (20).\nassert!(matches!(rx.recv().await, Err(RecvError::Lagged(1))));\n\n// At this point, we can abort or continue with lost messages.\n// Continuing resumes from the oldest retained message.\nassert_eq!(20, rx.recv().await.unwrap());\nassert_eq!(30, rx.recv().await.unwrap());\n# }\n```","links":{"crate::sync::broadcast::error::RecvError::Lagged":5050,"Receiver::try_recv":5086,"crate::sync::broadcast::error::RecvError::Closed":5047,"crate::sync::broadcast::channel":5122,"crate::sync::broadcast::Sender":5023,"crate::sync::broadcast::Receiver::recv":5049,"crate::sync::broadcast::Receiver":5051,"crate::sync::broadcast::Sender::subscribe":5124},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[5119,5023,5125,5051,5122],"is_stripped":false}}},"7210":{"id":7210,"crate_id":0,"name":"spawn_local_on","span":{"filename":"src/task/builder.rs","begin":[160,5],"end":[175,6]},"visibility":"public","docs":"Spawns `!Send` a task on the provided [`LocalSet`] with this builder's\nsettings.\n\nSee [`LocalSet::spawn_local`] for more details.\n\n[`LocalSet::spawn_local`]: crate::task::LocalSet::spawn_local\n[`LocalSet`]: crate::task::LocalSet","links":{"crate::task::LocalSet":3939,"crate::task::LocalSet::spawn_local":7000},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["future",{"generic":"Fut"}],["local_set",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"JoinHandle","id":3722,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Fut"},"trait":{"path":"","id":520,"args":null}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"Fut","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Fut"},"bounds":[{"trait_bound":{"trait":{"path":"Future","id":520,"args":null},"generic_params":[],"modifier":"none"}},{"outlives":"'static"}],"generic_params":[]}},{"bound_predicate":{"type":{"qualified_path":{"name":"Output","args":null,"self_type":{"generic":"Fut"},"trait":{"path":"","id":520,"args":null}}},"bounds":[{"outlives":"'static"}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5448":{"id":5448,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnsafeUnpin","id":148,"args":null},"for":{"resolved_path":{"path":"UnboundedSender","id":5433,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3686":{"id":3686,"crate_id":0,"name":"JoinError","span":{"filename":"src/runtime/task/error.rs","begin":[9,5],"end":[12,6]},"visibility":"public","docs":"Task failed to execute to completion.","links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#1271) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[3694,3695,3696,3697,3698,3699,3700,3701,3702,3703,3704,3705,3706,3707,3708,3709,3710,3711,3713,3715,3716,3718]}}},"1924":{"id":1924,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Repeat","id":623,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7537":{"id":7537,"crate_id":0,"name":null,"span":{"filename":"src/time/mod.rs","begin":[102,24],"end":[102,35]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"sleep::sleep_until","name":"sleep_until","id":7463,"is_glob":false}}},"4013":{"id":4013,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Builder","id":3938,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2251":{"id":2251,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/net/tcp/socket.rs","begin":[1000,9],"end":[1002,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"489":{"id":489,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[230,1],"end":[230,26]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::file::File","name":"File","id":204,"is_glob":false}}},"5775":{"id":5775,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedMutexGuard","id":5691,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6102":{"id":6102,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"Receiver","id":6056,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4340":{"id":4340,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"TryCurrentError","id":4271,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"816":{"id":816,"crate_id":0,"name":"WriteHalf","span":{"filename":"src/net/tcp/split.rs","begin":[49,1],"end":[49,41]},"visibility":"public","docs":"Borrowed write half of a [`TcpStream`], created by [`split`].\n\nNote that in the [`AsyncWrite`] implementation of this type, [`poll_shutdown`] will\nshut down the TCP stream in the write direction.\n\nWriting to an `WriteHalf` is usually done using the convenience methods found\non the [`AsyncWriteExt`] trait.\n\n[`TcpStream`]: TcpStream\n[`split`]: TcpStream::split()\n[`AsyncWrite`]: trait@crate::io::AsyncWrite\n[`poll_shutdown`]: fn@crate::io::AsyncWrite::poll_shutdown\n[`AsyncWriteExt`]: trait@crate::io::AsyncWriteExt","links":{"TcpStream::split()":2272,"trait@crate::io::AsyncWrite":225,"trait@crate::io::AsyncWriteExt":203,"TcpStream":634,"fn@crate::io::AsyncWrite::poll_shutdown":692},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"tuple":[null]},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"impls":[2315,2316,2317,2318,2319,2320,2321,2322,2323,2324,2325,2326,2327,2328,2329,2330,2331,2332,2334,815,2336]}}},"2578":{"id":2578,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UdpSocket","id":2510,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4667":{"id":4667,"crate_id":0,"name":null,"span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[279,1],"end":[279,48]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(tokio_unstable))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"InvalidHistogramConfiguration","id":4616,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1143":{"id":1143,"crate_id":0,"name":"async_io","span":{"filename":"src/io/async_fd.rs","begin":[850,5],"end":[858,6]},"visibility":"public","docs":"Reads or writes from the file descriptor using a user-provided IO operation.\n\nThe `async_io` method is a convenience utility that waits for the file\ndescriptor to become ready, and then executes the provided IO operation.\nSince file descriptors may be marked ready spuriously, the closure will\nbe called repeatedly until it returns something other than a\n[`WouldBlock`] error. This is done using the following loop:\n\n```no_run\n# use std::io::{self, Result};\n# struct Dox<T> { inner: T }\n# impl<T> Dox<T> {\n#     async fn writable(&self) -> Result<&Self> {\n#         Ok(self)\n#     }\n#     fn try_io<R>(&self, _: impl FnMut(&T) -> Result<R>) -> Result<Result<R>> {\n#         panic!()\n#     }\nasync fn async_io<R>(&self, mut f: impl FnMut(&T) -> io::Result<R>) -> io::Result<R> {\n    loop {\n        // or `readable` if called with the read interest.\n        let guard = self.writable().await?;\n\n        match guard.try_io(&mut f) {\n            Ok(result) => return result,\n            Err(_would_block) => continue,\n        }\n    }\n}\n# }\n```\n\nThe closure should only return a [`WouldBlock`] error if it has performed\nan IO operation on the file descriptor that failed due to the file descriptor not being\nready. Returning a [`WouldBlock`] error in any other situation will\nincorrectly clear the readiness flag, which can cause the file descriptor to\nbehave incorrectly.\n\nThe closure should not perform the IO operation using any of the methods\ndefined on the Tokio [`AsyncFd`] type, as this will mess with the\nreadiness flag and can cause the file descriptor to behave incorrectly.\n\nThis method is not intended to be used with combined interests.\nThe closure should perform only one type of IO operation, so it should not\nrequire more than one ready state. This method may panic or sleep forever\nif it is called with a combined interest.\n\n# Examples\n\nThis example sends some bytes on the inner [`std::net::UdpSocket`]. The `async_io`\nmethod waits for readiness, and retries if the send operation does block. This example\nis equivalent to the one given for [`try_io`].\n\n```no_run\nuse tokio::io::{Interest, unix::AsyncFd};\n\nuse std::io;\nuse std::net::UdpSocket;\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let socket = UdpSocket::bind(\"0.0.0.0:8080\")?;\n    socket.set_nonblocking(true)?;\n    let async_fd = AsyncFd::new(socket)?;\n\n    let written = async_fd\n        .async_io(Interest::WRITABLE, |inner| inner.send(&[1, 2]))\n        .await?;\n\n    println!(\"wrote {written} bytes\");\n\n    Ok(())\n}\n```\n\n[`try_io`]: AsyncFdReadyGuard::try_io\n[`WouldBlock`]: std::io::ErrorKind::WouldBlock","links":{"`AsyncFd`":512,"AsyncFdReadyGuard::try_io":1142,"std::io::ErrorKind::WouldBlock":1116,"`std::net::UdpSocket`":1141},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["interest",{"resolved_path":{"path":"Interest","id":924,"args":null}}],["f",{"impl_trait":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"impl FnMut(&T) -> io::Result<R>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"FnMut","id":1144,"args":{"parenthesized":{"inputs":[{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"T"}}}],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}}}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6756":{"id":6756,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"CloneToUninit","id":356,"args":null},"for":{"resolved_path":{"path":"RecvError","id":6746,"args":null}},"items":[353],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4994":{"id":4994,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/barrier.rs","begin":[41,10],"end":[41,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3232":{"id":3232,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"ServerOptions","id":3208,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5321":{"id":5321,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Permit","id":5228,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3559":{"id":3559,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1797":{"id":1797,"crate_id":0,"name":null,"span":{"filename":"src/io/util/lines.rs","begin":[94,1],"end":[135,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncBufRead","id":538,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Lines","id":1486,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[1796],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7083":{"id":7083,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"LocalKey","id":7058,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7410":{"id":7410,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5648":{"id":5648,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendTimeoutError","id":5235,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3886":{"id":3886,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"TraceMeta","id":3871,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"362":{"id":362,"crate_id":3,"name":"Owned","span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"assoc_type":{"generics":{"params":[],"where_predicates":[]},"bounds":[],"type":{"generic":"T"},"default_unstable":null}}},"5975":{"id":5975,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OwnedNotified","id":4966,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2451":{"id":2451,"crate_id":0,"name":"set_nodelay","span":{"filename":"src/net/tcp/stream.rs","begin":[1178,5],"end":[1180,6]},"visibility":"public","docs":"Sets the value of the `TCP_NODELAY` option on this socket.\n\nIf set, this option disables the Nagle algorithm. This means that\nsegments are always sent as soon as possible, even if there is only a\nsmall amount of data. When not set, data is buffered until there is a\nsufficient amount to send out, thereby avoiding the frequent sending of\nsmall packets.\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\n\n# async fn dox() -> Result<(), Box<dyn std::error::Error>> {\nlet stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n\nstream.set_nodelay(true)?;\n# Ok(())\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["nodelay",{"primitive":"bool"}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6302":{"id":6302,"crate_id":0,"name":"drop","span":{"filename":"src/sync/rwlock/owned_read_guard.rs","begin":[196,5],"end":[207,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2778":{"id":2778,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"OwnedReadHalf","id":640,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1016":{"id":1016,"crate_id":0,"name":null,"span":{"filename":"src/io/ready.rs","begin":[20,23],"end":[20,32]},"visibility":"default","docs":null,"links":{},"attrs":["automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"Ready","id":978,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4540":{"id":4540,"crate_id":0,"name":"schedule_latency_histogram_bucket_range","span":{"filename":"src/runtime/metrics/runtime.rs","begin":[1137,9],"end":[1151,10]},"visibility":"public","docs":"Returns the range of task schedule latencies tracked by the given bucket.\n\nThis value is configured by calling\n[`metrics_schedule_latency_histogram_configuration()`] when building the runtime.\n\n# Panics\n\nThe method panics if `bucket` represents an invalid bucket index, i.e.\nis greater than or equal to `schedule_latency_histogram_num_buckets()`.\n\n# Examples\n\n```\nuse tokio::runtime::{self, Handle};\n\nfn main() {\n    runtime::Builder::new_current_thread()\n        .enable_metrics_schedule_latency_histogram()\n        .build()\n        .unwrap()\n        .block_on(async {\n            let metrics = Handle::current().metrics();\n            let buckets = metrics.schedule_latency_histogram_num_buckets();\n\n            for i in 0..buckets {\n                let range = metrics.schedule_latency_histogram_bucket_range(i);\n                println!(\"Histogram bucket {} range: {:?}\", i, range);\n            }\n        });\n}\n```\n\n[`metrics_schedule_latency_histogram_configuration()`]: crate::runtime::Builder::metrics_schedule_latency_histogram_configuration","links":{"crate::runtime::Builder::metrics_schedule_latency_histogram_configuration":3996},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"schedule-latency\"), span: src/runtime/metrics/runtime.rs:1033:12: 1033:40 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"schedule-latency\"))]"},{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["bucket",{"primitive":"usize"}]],"output":{"resolved_path":{"path":"Range","id":4525,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Duration","id":2215,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4867":{"id":4867,"crate_id":0,"name":"poll_recv","span":{"filename":"src/signal/windows.rs","begin":[206,5],"end":[208,6]},"visibility":"public","docs":"Polls to receive the next signal notification event, outside of an\n`async` context.\n\nAlthough this returns `Option<()>`, it will never actually return `None`.\nThis was accidentally exposed and would be a breaking change to be removed.\n\n# Examples\n\nPolling from a manually implemented future\n\n```rust,no_run\nuse std::pin::Pin;\nuse std::future::Future;\nuse std::task::{Context, Poll};\nuse tokio::signal::windows::CtrlBreak;\n\nstruct MyFuture {\n    ctrl_break: CtrlBreak,\n}\n\nimpl Future for MyFuture {\n    type Output = Option<()>;\n\n    fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {\n        println!(\"polling MyFuture\");\n        self.ctrl_break.poll_recv(cx)\n    }\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3105":{"id":3105,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/mod.rs","begin":[25,1],"end":[25,22]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"ucred::UCred","name":"UCred","id":2913,"is_glob":false}}},"1343":{"id":1343,"crate_id":0,"name":"as_raw_fd","span":{"filename":"src/io/stdin.rs","begin":[62,9],"end":[64,10]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"RawFd","id":275,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6629":{"id":6629,"crate_id":0,"name":null,"span":{"filename":"src/sync/once_cell.rs","begin":[474,17],"end":[474,26]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"$crate::cmp::PartialEq","id":966,"args":null},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"SetError","id":6567,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6956":{"id":6956,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RestoreOnPending","id":6946,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3432":{"id":3432,"crate_id":0,"name":"env_remove","span":{"filename":"src/process/mod.rs","begin":[504,5],"end":[507,6]},"visibility":"public","docs":"Removes an environment variable mapping.\n\n# Examples\n\nBasic usage:\n\n```no_run\n# async fn test() { // allow using await\nuse tokio::process::Command;\n\nlet output = Command::new(\"ls\")\n        .env_remove(\"PATH\")\n        .output().await.unwrap();\n# }\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["key",{"generic":"K"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Command","id":3420,"args":null}}}},"is_c_variadic":false},"generics":{"params":[{"name":"K","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OsStr","id":3223,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1670":{"id":1670,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"BufStream","id":568,"args":{"angle_bracketed":{"args":[{"type":{"generic":"RW"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5194":{"id":5194,"crate_id":0,"name":"sender_weak_count","span":{"filename":"src/sync/broadcast.rs","begin":[1370,5],"end":[1372,6]},"visibility":"public","docs":"Returns the number of [`WeakSender`] handles.","links":{"`WeakSender`":5125},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"primitive":"usize"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5521":{"id":5521,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnboundedReceiver","id":5435,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"3759":{"id":3759,"crate_id":0,"name":null,"span":{"filename":"src/runtime/task/id.rs","begin":[31,51],"end":[31,61]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["lt","le","gt","ge","__chaining_lt","__chaining_le","__chaining_gt","__chaining_ge"],"trait":{"path":"PartialOrd","id":1023,"args":null},"for":{"resolved_path":{"path":"Id","id":3692,"args":null}},"items":[3758],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"235":{"id":235,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"1997":{"id":1997,"crate_id":0,"name":"get_pin_mut","span":{"filename":"src/io/util/take.rs","begin":[68,5],"end":[70,6]},"visibility":"public","docs":"Gets a pinned mutable reference to the underlying reader.\n\nCare should be taken to avoid modifying the internal I/O state of the\nunderlying reader as doing so may corrupt the internal limit of this\n`Take`.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"R"}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7283":{"id":7283,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"Error","id":7260,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5848":{"id":5848,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedMappedMutexGuard","id":5762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2324":{"id":2324,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"WriteHalf","id":816,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"562":{"id":562,"crate_id":0,"name":"poll_fill_buf","span":{"filename":"src/io/util/buf_reader.rs","begin":[123,5],"end":[138,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4086":{"id":4086,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Tasks","id":4048,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6175":{"id":6175,"crate_id":0,"name":null,"span":{"filename":"src/sync/batch_semaphore.rs","begin":[732,1],"end":[732,43]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["source","type_id","description","cause","provide"],"trait":{"path":"Error","id":1277,"args":null},"for":{"resolved_path":{"path":"AcquireError","id":6153,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7610":{"id":7610,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"889":{"id":889,"crate_id":0,"name":"unfilled_mut","span":{"filename":"src/io/read_buf.rs","begin":[137,5],"end":[139,6]},"visibility":"public","docs":"Returns a mutable reference to the unfilled part of the buffer without ensuring that it has been fully\ninitialized.\n\n# Safety\n\nThe caller must not de-initialize portions of the buffer that have already been initialized.\nThis includes any bytes in the region marked as uninitialized by `ReadBuf`.","links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"resolved_path":{"path":"MaybeUninit","id":880,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u8"}}],"constraints":[]}}}}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":true,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2651":{"id":2651,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"UnixListener","id":2628,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6502":{"id":6502,"crate_id":0,"name":null,"span":{"filename":"src/sync/rwlock/write_guard_mapped.rs","begin":[176,1],"end":[180,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"DerefMut","id":549,"args":null},"for":{"resolved_path":{"path":"RwLockMappedWriteGuard","id":6317,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6501],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2978":{"id":2978,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/ucred.rs","begin":[4,23],"end":[4,25]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"UCred","id":2913,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1216":{"id":1216,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"AsyncFdReadyMutGuard","id":1131,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4740":{"id":4740,"crate_id":0,"name":"worker_index","span":{"filename":"src/runtime/mod.rs","begin":[595,9],"end":[597,10]},"visibility":"public","docs":"Returns the index of the current worker thread, if called from a\nruntime worker thread.\n\nThe returned value is a 0-based index matching the worker indices\nused by [`RuntimeMetrics`] methods such as\n[`worker_total_busy_duration`](RuntimeMetrics::worker_total_busy_duration).\n\nReturns `None` when called from outside a runtime worker thread\n(for example, from a blocking thread or a non-Tokio thread). On the\nmulti-thread runtime, the thread that calls [`Runtime::block_on`] is\nnot a worker thread, so this also returns `None` there.\n\nFor the current-thread runtime and [`LocalRuntime`], this always\nreturns `Some(0)` (including inside `block_on`, since the calling\nthread *is* the worker thread).\n\nNote that the result may change across `.await` points, as the\ntask may be moved to a different worker thread by the scheduler.\n\n# Examples\n\n```\n# #[cfg(not(target_family = \"wasm\"))]\n# {\n#[tokio::main(flavor = \"multi_thread\", worker_threads = 4)]\nasync fn main() {\n    let index = tokio::spawn(async {\n        tokio::runtime::worker_index()\n    }).await.unwrap();\n    println!(\"Task ran on worker {:?}\", index);\n}\n# }\n```","links":{"`LocalRuntime`":3941,"RuntimeMetrics::worker_total_busy_duration":4513,"`RuntimeMetrics`":4284,"`Runtime::block_on`":3968},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"tokio_unstable\", value: None, span: src/macros/cfg.rs:609:19: 609:33 (#1609) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(tokio_unstable))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6829":{"id":6829,"crate_id":0,"name":null,"span":{"filename":"src/sync/watch.rs","begin":[1024,1],"end":[1456,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Sender","id":6778,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[6817,6822,6820,6819,6821,6823,6824,6825,6818,6826,6827,6828],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5067":{"id":5067,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5052,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1543":{"id":1543,"crate_id":0,"name":"ReadToString","span":{"filename":"src/io/util/read_to_string.rs","begin":[13,1],"end":[31,2]},"visibility":"public","docs":"Future for the [`read_to_string`](super::AsyncReadExt::read_to_string) method.","links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"R","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"3305":{"id":3305,"crate_id":0,"name":null,"span":{"filename":"src/net/windows/named_pipe.rs","begin":[2593,17],"end":[2593,22]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"net\")))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["clone_from"],"trait":{"path":"Clone","id":355,"args":null},"for":{"resolved_path":{"path":"PipeMode","id":3211,"args":null}},"items":[3304],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7156":{"id":7156,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinSet","id":3724,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5394":{"id":5394,"crate_id":0,"name":"Empty","span":{"filename":"src/sync/mpsc/error.rs","begin":[85,5],"end":[85,10]},"visibility":"default","docs":"This **channel** is currently empty, but the **Sender**(s) have not yet\ndisconnected, so data may yet become available.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"1870":{"id":1870,"crate_id":0,"name":"duplex","span":{"filename":"src/io/util/mem.rs","begin":[104,1],"end":[118,2]},"visibility":"public","docs":"Create a new pair of `DuplexStream`s that act like a pair of connected sockets.\n\nThe `max_buf_size` argument is the maximum amount of bytes that can be\nwritten to a side before the write returns `Poll::Pending`.","links":{},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["max_buf_size",{"primitive":"usize"}]],"output":{"tuple":[{"resolved_path":{"path":"DuplexStream","id":617,"args":null}},{"resolved_path":{"path":"DuplexStream","id":617,"args":null}}]},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7483":{"id":7483,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sleep","id":4266,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5721":{"id":5721,"crate_id":0,"name":null,"span":{"filename":"src/sync/mutex.rs","begin":[801,1],"end":[808,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Default","id":193,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Default","id":193,"args":null},"for":{"resolved_path":{"path":"Mutex","id":5687,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5720],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3959":{"id":3959,"crate_id":0,"name":"TaskMeta","span":{"filename":"src/runtime/task_hooks.rs","begin":[59,1],"end":[66,2]},"visibility":"public","docs":"Task metadata supplied to user-provided hooks for task events.\n\n**Note**: This is an [unstable API][unstable]. The public API of this type\nmay break in 1.x releases. See [the documentation on unstable\nfeatures][unstable] for details.\n\n[unstable]: crate#unstable-features","links":{"crate#unstable-features":3944},"attrs":[{"other":"#[allow(missing_debug_implementations)]"},{"other":"#[attr = CfgAttrTrace]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"impls":[4245,4246,4247,4248,4249,4250,4251,4252,4253,4254,4255,4256,4257,4258,4259,4260,4261]}}},"435":{"id":435,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryInto","id":173,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"DirEntry","id":388,"args":null}},"items":[168,170],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2197":{"id":2197,"crate_id":0,"name":null,"span":{"filename":"src/net/tcp/listener.rs","begin":[454,5],"end":[458,6]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"net\"))]"},{"other":"#[attr = CfgTrace([Any([All([NameValue { name: \"doc\", value: None, span: src/macros/cfg.rs:42:27: 42:30 (#471) }, NameValue { name: \"docsrs\", value: None, span: src/macros/cfg.rs:42:32: 42:38 (#471) }], src/macros/cfg.rs:42:26: 42:39 (#471)), NameValue { name: \"windows\", value: None, span: src/macros/cfg.rs:42:41: 42:48 (#471) }], src/macros/cfg.rs:42:22: 42:49 (#471))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(windows))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsSocket","id":2198,"args":null},"for":{"resolved_path":{"path":"TcpListener","id":2154,"args":null}},"items":[2195],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6048":{"id":6048,"crate_id":0,"name":"clone","span":{"filename":"src/sync/oneshot.rs","begin":[351,36],"end":[351,41]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"TryRecvError","id":6022,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2524":{"id":2524,"crate_id":0,"name":"poll_recv","span":{"filename":"src/net/udp.rs","begin":[820,5],"end":[837,6]},"visibility":"public","docs":"Attempts to receive a single datagram message on the socket from the remote\naddress to which it is `connect`ed.\n\nThe [`connect`] method will connect this socket to a remote address. This method\nresolves to an error if the socket is not connected.\n\nNote that on multiple calls to a `poll_*` method in the `recv` direction, only the\n`Waker` from the `Context` passed to the most recent call will be scheduled to\nreceive a wakeup.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the socket is not ready to read\n* `Poll::Ready(Ok(()))` reads data `ReadBuf` if the socket is ready\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n[`connect`]: method@Self::connect","links":{"method@Self::connect":2506},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"762":{"id":762,"crate_id":0,"name":"WriteHalf","span":{"filename":"src/io/split.rs","begin":[23,5],"end":[25,6]},"visibility":"public","docs":"The writable half of a value returned from [`split`](split()).","links":{"split()":1385},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"io-util\"), span: src/macros/cfg.rs:243:19: 243:38 (#227) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"io-util\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[1410,1411,1412,1413,1414,1415,1416,1417,1418,1419,1420,1421,1422,1423,1424,1425,761,1426,1427,1429]}}},"4286":{"id":4286,"crate_id":0,"name":"timeout","span":{"filename":"src/time/timeout.rs","begin":[86,1],"end":[98,2]},"visibility":"public","docs":"Requires a `Future` to complete before the specified duration has elapsed.\n\nIf the future completes before the duration has elapsed, then the completed\nvalue is returned. Otherwise, an error is returned and the future is\ncanceled.\n\nNote that the future is polled before the timeout is checked, so if the future\ndoes not yield during execution then it is possible for the future to complete\nand exceed the timeout _without_ returning an error.\n\nThis function returns a future whose return type is [`Result`]`<T,`[`Elapsed`]`>`, where `T` is the\nreturn type of the provided future.\n\nIf the provided future completes immediately, then the future returned from\nthis function is guaranteed to complete immediately with an [`Ok`] variant\nno matter the provided duration.\n\n[`Ok`]: std::result::Result::Ok\n[`Result`]: std::result::Result\n[`Elapsed`]: crate::time::error::Elapsed\n\n# Cancellation\n\nCancelling a timeout is done by dropping the future. No additional cleanup\nor other work is required.\n\nThe original future may be obtained by calling [`Timeout::into_inner`]. This\nconsumes the `Timeout`.\n\n# Examples\n\nCreate a new `Timeout` set to expire in 10 milliseconds.\n\n```rust\nuse tokio::time::timeout;\nuse tokio::sync::oneshot;\n\nuse std::time::Duration;\n\n# async fn dox() {\nlet (tx, rx) = oneshot::channel();\n# tx.send(()).unwrap();\n\n// Wrap the future with a `Timeout` set to expire in 10 milliseconds.\nif let Err(_) = timeout(Duration::from_millis(10), rx).await {\n    println!(\"did not receive value within 10 ms\");\n}\n# }\n```\n\n# Panics\n\nThis function panics if there is no current timer set.\n\nIt can be triggered when [`Builder::enable_time`] or\n[`Builder::enable_all`] are not included in the builder.\n\nIt can also panic whenever a timer is created outside of a\nTokio runtime. That is why `rt.block_on(sleep(...))` will panic,\nsince the function is executed outside of the runtime.\nWhereas `rt.block_on(async {sleep(...).await})` doesn't panic.\nAnd this is because wrapping the function on an async makes it lazy,\nand so gets executed inside the runtime successfully without\npanicking.\n\n[`Builder::enable_time`]: crate::runtime::Builder::enable_time\n[`Builder::enable_all`]: crate::runtime::Builder::enable_all","links":{"std::result::Result":171,"crate::runtime::Builder::enable_all":3942,"crate::runtime::Builder::enable_time":3990,"crate::time::error::Elapsed":7296,"std::result::Result::Ok":7495,"`Timeout::into_inner`":7496},"attrs":[{"other":"#[attr = TrackCaller]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["duration",{"resolved_path":{"path":"crate::time::Duration","id":2215,"args":null}}],["future",{"generic":"F"}]],"output":{"resolved_path":{"path":"Timeout","id":7497,"args":{"angle_bracketed":{"args":[{"type":{"qualified_path":{"name":"IntoFuture","args":null,"self_type":{"generic":"F"},"trait":{"path":"","id":525,"args":null}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"IntoFuture","id":525,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6375":{"id":6375,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"OwnedRwLockMappedWriteGuard","id":6314,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4613":{"id":4613,"crate_id":0,"name":"max_error","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[175,5],"end":[184,6]},"visibility":"public","docs":"Set the precision for this histogram\n\nThis function determines the smallest value of `p` that would satisfy the requested precision\nsuch that `2^-p` is less than `precision`. To set `p` directly, use\n[`LogHistogramBuilder::precision_exact`].\n\nPrecision controls the size of the \"bucket groups\" (consecutive buckets with identical\nranges). When `p` is 0, each bucket will be twice the size of the previous bucket. To match\nthe behavior of the legacy log histogram implementation, use `builder.precision_exact(0)`.\n\nThe default value is 25% (2^-2)\n\nThe highest supported precision is `0.0977%` `(2^-10)`. Provided values\nless than this will be truncated.\n\n# Panics\n- `max_error` <= 0\n- `max_error` >= 1","links":{"`LogHistogramBuilder::precision_exact`":4614},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["max_error",{"primitive":"f64"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1089":{"id":1089,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"AioEvent","id":1057,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2851":{"id":2851,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"ReuniteError","id":2769,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4940":{"id":4940,"crate_id":0,"name":"poll_recv","span":{"filename":"src/signal/windows.rs","begin":[535,5],"end":[537,6]},"visibility":"public","docs":"Polls to receive the next signal notification event, outside of an\n`async` context.\n\nAlthough this returns `Option<()>`, it will never actually return `None`.\nThis was accidentally exposed and would be a breaking change to be removed.\n\n# Examples\n\nPolling from a manually implemented future\n\n```rust,no_run\nuse std::pin::Pin;\nuse std::future::Future;\nuse std::task::{Context, Poll};\nuse tokio::signal::windows::CtrlLogoff;\n\nstruct MyFuture {\n    ctrl_logoff: CtrlLogoff,\n}\n\nimpl Future for MyFuture {\n    type Output = Option<()>;\n\n    fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {\n        println!(\"polling MyFuture\");\n        self.ctrl_logoff.poll_recv(cx)\n    }\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3178":{"id":3178,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"NamedPipeClient","id":652,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1416":{"id":1416,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":762,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"6702":{"id":6702,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/set_once.rs","begin":[379,10],"end":[379,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7029":{"id":7029,"crate_id":0,"name":"default","span":{"filename":"src/task/local.rs","begin":[971,5],"end":[973,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"LocalSet","id":3939,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5267":{"id":5267,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":5224,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1743":{"id":1743,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"U"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5594":{"id":5594,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/error.rs","begin":[48,1],"end":[55,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"sync\"))]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"TrySendError","id":5233,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[5593],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7356":{"id":7356,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Instant","id":7328,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5921":{"id":5921,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Notify","id":5900,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2397":{"id":2397,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"OwnedWriteHalf","id":823,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"635":{"id":635,"crate_id":0,"name":"poll_read","span":{"filename":"src/net/unix/split.rs","begin":[282,5],"end":[288,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4159":{"id":4159,"crate_id":0,"name":null,"span":{"filename":"src/runtime/dump.rs","begin":[118,1],"end":[151,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"BacktraceFrame","id":4155,"args":null}},"items":[4156,4157,4158],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6248":{"id":6248,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"OwnedSemaphorePermit","id":6182,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4486":{"id":4486,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Id","id":4281,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2724":{"id":2724,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadHalf","id":637,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"962":{"id":962,"crate_id":0,"name":null,"span":{"filename":"src/io/interest.rs","begin":[28,27],"end":[28,36]},"visibility":"default","docs":null,"links":{},"attrs":["automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"StructuralPartialEq","id":963,"args":null},"for":{"resolved_path":{"path":"Interest","id":924,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6575":{"id":6575,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Unpin","id":150,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"OnceCell","id":6556,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3051":{"id":3051,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Sender","id":856,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6902":{"id":6902,"crate_id":0,"name":null,"span":{"filename":"src/sync/mod.rs","begin":[486,5],"end":[486,64]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"sync\"), span: src/macros/cfg.rs:464:19: 464:35 (#1855) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"sync\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"rwlock::write_guard_mapped::RwLockMappedWriteGuard","name":"RwLockMappedWriteGuard","id":6317,"is_glob":false}}},"5140":{"id":5140,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"Sender","id":5023,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3378":{"id":3378,"crate_id":0,"name":null,"span":{"filename":"src/net/mod.rs","begin":[46,9],"end":[46,40]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([Not(All([NameValue { name: \"target_os\", value: Some(\"wasi\"), span: src/macros/cfg.rs:709:27: 709:45 (#496) }, NameValue { name: \"target_env\", value: Some(\"p1\"), span: src/macros/cfg.rs:709:47: 709:64 (#496) }], src/macros/cfg.rs:709:26: 709:65 (#496)), src/macros/cfg.rs:709:22: 709:66 (#496))])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"tcp::socket::TcpSocket","name":"TcpSocket","id":2155,"is_glob":false}}},"7229":{"id":7229,"crate_id":0,"name":"default","span":{"filename":"src/task/builder.rs","begin":[61,10],"end":[61,17]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"Builder","id":7175,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3705":{"id":3705,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"JoinError","id":3686,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1943":{"id":1943,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Sink","id":809,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5794":{"id":5794,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/mutex.rs","begin":[1180,5],"end":[1182,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4032":{"id":4032,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"UnhandledPanic","id":3971,"args":null}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"508":{"id":508,"crate_id":0,"name":null,"span":{"filename":"src/fs/mod.rs","begin":[287,5],"end":[287,36]},"visibility":"public","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"unix\", value: None, span: src/fs/mod.rs:284:8: 284:12 (#0) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(unix))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::symlink::symlink","name":"symlink","id":478,"is_glob":false}}},"7556":{"id":7556,"crate_id":0,"name":"from_bytes","span":{"filename":"src/util/rand/rt_unstable.rs","begin":[15,5],"end":[19,6]},"visibility":"public","docs":"Generates a seed from the provided byte slice.\n\n# Example\n\n```\n# use tokio::runtime::RngSeed;\nlet seed = RngSeed::from_bytes(b\"make me a seed\");\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["bytes",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6121":{"id":6121,"crate_id":0,"name":"Closed","span":{"filename":"src/sync/batch_semaphore.rs","begin":[56,5],"end":[56,11]},"visibility":"default","docs":"The semaphore has been [closed] and cannot issue new permits.\n\n[closed]: crate::sync::Semaphore::close","links":{"crate::sync::Semaphore::close":6120},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"variant":{"kind":"plain","discriminant":null}}},"835":{"id":835,"crate_id":0,"name":null,"span":{"filename":"src/net/unix/split.rs","begin":[291,1],"end":[319,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(unix, feature = \"net\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["poll_write_vectored","is_write_vectored"],"trait":{"path":"AsyncWrite","id":225,"args":null},"for":{"resolved_path":{"path":"WriteHalf","id":836,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}},"items":[830,831,832,833,834],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"6448":{"id":6448,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"RwLockWriteGuard","id":6436,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":true,"is_synthetic":true,"blanket_impl":null}}},"4686":{"id":4686,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"HistogramScale","id":3981,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1162":{"id":1162,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AsyncFd","id":512,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2924":{"id":2924,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"UnixStream","id":643,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"5013":{"id":5013,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Clone","id":355,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":["clone_into"],"trait":{"path":"ToOwned","id":366,"args":null},"for":{"resolved_path":{"path":"BarrierWaitResult","id":4975,"args":null}},"items":[362,363,364],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1489":{"id":1489,"crate_id":0,"name":"chain","span":{"filename":"src/io/util/async_read_ext.rs","begin":[98,9],"end":[104,10]},"visibility":"default","docs":"Creates a new `AsyncRead` instance that chains this stream with\n`next`.\n\nThe returned `AsyncRead` instance will first read all bytes from this object\nuntil EOF is encountered. Afterwards the output is equivalent to the\noutput of `next`.\n\n# Examples\n\n[`File`][crate::fs::File]s implement `AsyncRead`:\n\n```no_run\n# #[cfg(not(target_family = \"wasm\"))]\n# {\nuse tokio::fs::File;\nuse tokio::io::{self, AsyncReadExt};\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let f1 = File::open(\"foo.txt\").await?;\n    let f2 = File::open(\"bar.txt\").await?;\n\n    let mut handle = f1.chain(f2);\n    let mut buffer = String::new();\n\n    // read the value into a String. We could use any AsyncRead\n    // method here, this is just one example.\n    handle.read_to_string(&mut buffer).await?;\n    Ok(())\n}\n# }\n```","links":{"crate::fs::File":204},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}],["next",{"generic":"R"}]],"output":{"resolved_path":{"path":"Chain","id":575,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}},{"type":{"generic":"R"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"R","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"Self"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}},{"bound_predicate":{"type":{"generic":"R"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncRead","id":224,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7102":{"id":7102,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TaskLocalFuture","id":7062,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"5340":{"id":5340,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"RefUnwindSafe","id":154,"args":null},"for":{"resolved_path":{"path":"PermitIterator","id":5240,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3578":{"id":3578,"crate_id":0,"name":null,"span":{"filename":"src/process/mod.rs","begin":[1716,5],"end":[1716,30]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(windows))]"},{"other":"#[doc(cfg(feature = \"process\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsRawHandle","id":292,"args":null},"for":{"resolved_path":{"path":"ChildStdout","id":655,"args":null}},"items":[3577],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"7429":{"id":7429,"crate_id":0,"name":null,"span":{"filename":"src/time/interval.rs","begin":[175,41],"end":[175,43]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"time\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":["assert_receiver_is_total_eq","assert_fields_are_eq"],"trait":{"path":"Eq","id":961,"args":null},"for":{"resolved_path":{"path":"MissedTickBehavior","id":7395,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5667":{"id":5667,"crate_id":0,"name":null,"span":{"filename":"src/sync/mpsc/mod.rs","begin":[121,5],"end":[121,12]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"self::bounded::channel","name":"channel","id":5223,"is_glob":false}}},"2143":{"id":2143,"crate_id":0,"name":null,"span":{"filename":"src/net/addr.rs","begin":[132,1],"end":[132,40]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"ToSocketAddrs","id":2128,"args":null},"for":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"resolved_path":{"path":"std::net::SocketAddr","id":2132,"args":null}}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"381":{"id":381,"crate_id":0,"name":"read","span":{"filename":"src/fs/read.rs","begin":[56,1],"end":[89,2]},"visibility":"public","docs":"Reads the entire contents of a file into a bytes vector.\n\nThis is an async version of [`std::fs::read`].\n\nThis is a convenience function for using [`File::open`] and [`read_to_end`]\nwith fewer imports and without an intermediate variable. It pre-allocates a\nbuffer based on the file size when available, so it is generally faster than\nreading into a vector created with `Vec::new()`.\n\nThis operation is implemented by running the equivalent blocking operation\non a separate thread pool using [`spawn_blocking`].\n\n[`File::open`]: super::File::open\n[`read_to_end`]: crate::io::AsyncReadExt::read_to_end\n[`spawn_blocking`]: crate::task::spawn_blocking\n\n# Errors\n\nThis function will return an error if `path` does not already exist.\nOther errors may also be returned according to [`OpenOptions::open`].\n\n[`OpenOptions::open`]: super::OpenOptions::open\n\nIt will also return an error if it encounters while reading an error\nof a kind other than [`ErrorKind::Interrupted`].\n\n[`ErrorKind::Interrupted`]: std::io::ErrorKind::Interrupted\n\n# io_uring support\n\nOn Linux, you can also use io_uring for executing system calls. To enable\nio_uring, you need to specify the `--cfg tokio_unstable` flag at compile time,\nenable the io-uring cargo feature, and set the `Builder::enable_io_uring`\nruntime option.\n\nSupport for io_uring is currently experimental, so its behavior may change\nor it may be removed in future versions.\n\n# Examples\n\n```no_run\nuse tokio::fs;\nuse std::net::SocketAddr;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error + 'static>> {\n    let contents = fs::read(\"address.txt\").await?;\n    let foo: SocketAddr = String::from_utf8_lossy(&contents).parse()?;\n    Ok(())\n}\n```","links":{"crate::io::AsyncReadExt::read_to_end":206,"`std::fs::read`":378,"super::File::open":207,"crate::task::spawn_blocking":379,"super::OpenOptions::open":309,"std::io::ErrorKind::Interrupted":380},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Vec","id":382,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"u8"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5994":{"id":5994,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"RecvError","id":5989,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2470":{"id":2470,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"TcpStream","id":634,"args":null}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"708":{"id":708,"crate_id":0,"name":"poll_shutdown","span":{"filename":"src/io/async_write.rs","begin":[216,5],"end":[216,25]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4232":{"id":4232,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[325,1],"end":[325,32]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["instrument","in_current_span"],"trait":{"path":"Instrument","id":183,"args":null},"for":{"resolved_path":{"path":"Trace","id":4094,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4559":{"id":4559,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"RuntimeMetrics","id":4284,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2797":{"id":2797,"crate_id":0,"name":"as_ref","span":{"filename":"src/net/unix/split_owned.rs","begin":[410,5],"end":[412,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"resolved_path":{"path":"UnixStream","id":643,"args":null}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6321":{"id":6321,"crate_id":0,"name":"downgrade","span":{"filename":"src/sync/rwlock/owned_write_guard.rs","begin":[359,5],"end":[392,6]},"visibility":"public","docs":"Atomically downgrades a write lock into a read lock without allowing\nany writers to take exclusive access of the lock in the meantime.\n\n**Note:** This won't *necessarily* allow any additional readers to acquire\nlocks, since [`RwLock`] is fair and it is possible that a writer is next\nin line.\n\nReturns an RAII guard which will drop this read access of the `RwLock`\nwhen dropped.\n\n# Examples\n\n```\n# use tokio::sync::RwLock;\n# use std::sync::Arc;\n#\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(1));\n\nlet n = lock.clone().write_owned().await;\n\nlet cloned_lock = lock.clone();\nlet handle = tokio::spawn(async move {\n    *cloned_lock.write_owned().await = 2;\n});\n\nlet n = n.downgrade();\nassert_eq!(*n, 1, \"downgrade is atomic\");\n\ndrop(n);\nhandle.await.unwrap();\nassert_eq!(*lock.read().await, 2, \"second writer obtained write lock\");\n# }\n```","links":{"`RwLock`":6273},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"generic":"Self"}]],"output":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6648":{"id":6648,"crate_id":0,"name":"set","span":{"filename":"src/sync/set_once.rs","begin":[280,5],"end":[307,6]},"visibility":"public","docs":"Sets the value of the `SetOnce` to the given value if the `SetOnce` is\nempty.\n\nIf the `SetOnce` already has a value, this call will fail with an\n[`SetOnceError`].\n\n[`SetOnceError`]: crate::sync::SetOnceError","links":{"crate::sync::SetOnceError":6647},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["value",{"generic":"T"}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}},{"type":{"resolved_path":{"path":"SetOnceError","id":6647,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3124":{"id":3124,"crate_id":0,"name":"writable","span":{"filename":"src/net/windows/named_pipe.rs","begin":[662,5],"end":[665,6]},"visibility":"public","docs":"Waits for the pipe to become writable.\n\nThis function is equivalent to `ready(Interest::WRITABLE)` and is usually\npaired with `try_write()`.\n\n# Examples\n\n```no_run\nuse tokio::net::windows::named_pipe;\nuse std::error::Error;\nuse std::io;\n\nconst PIPE_NAME: &str = r\"\\\\.\\pipe\\tokio-named-pipe-server-writable\";\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    let server = named_pipe::ServerOptions::new()\n        .create(PIPE_NAME)?;\n\n    loop {\n        // Wait for the pipe to be writable\n        server.writable().await?;\n\n        // Try to write data, this may still fail with `WouldBlock`\n        // if the readiness event is a false positive.\n        match server.try_write(b\"hello world\") {\n            Ok(n) => {\n                break;\n            }\n            Err(e) if e.kind() == io::ErrorKind::WouldBlock => {\n                continue;\n            }\n            Err(e) => {\n                return Err(e.into());\n            }\n        }\n    }\n\n    Ok(())\n}\n```","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"1362":{"id":1362,"crate_id":0,"name":null,"span":{"filename":"src/io/util/async_write_ext.rs","begin":[1332,1],"end":[1332,52]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"W","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"W"},"bounds":[{"trait_bound":{"trait":{"path":"AsyncWrite","id":225,"args":null},"generic_params":[],"modifier":"none"}},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":["write","write_vectored","write_buf","write_all_buf","write_all","write_u8","write_i8","write_u16","write_i16","write_u32","write_i32","write_u64","write_i64","write_u128","write_i128","write_f32","write_f64","write_u16_le","write_i16_le","write_u32_le","write_i32_le","write_u64_le","write_i64_le","write_u128_le","write_i128_le","write_f32_le","write_f64_le","flush","shutdown"],"trait":{"path":"AsyncWriteExt","id":203,"args":null},"for":{"resolved_path":{"path":"Stdout","id":755,"args":null}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"W"}}}},"4886":{"id":4886,"crate_id":0,"name":null,"span":{"filename":"src/signal/windows.rs","begin":[144,10],"end":[144,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"CtrlBreak","id":4865,"args":null}},"items":[4885],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"5213":{"id":5213,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"outlives":"'static"},{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Any","id":181,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5051,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[178],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6975":{"id":6975,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"F","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"F"},"bounds":[{"trait_bound":{"trait":{"path":"Freeze","id":146,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Freeze","id":146,"args":null},"for":{"resolved_path":{"path":"Coop","id":6972,"args":{"angle_bracketed":{"args":[{"type":{"generic":"F"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1689":{"id":1689,"crate_id":0,"name":"new","span":{"filename":"src/io/util/buf_writer.rs","begin":[44,5],"end":[46,6]},"visibility":"public","docs":"Creates a new `BufWriter` with a default buffer capacity. The default is currently 8 KB,\nbut may change in the future.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["inner",{"generic":"W"}]],"output":{"generic":"Self"},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7302":{"id":7302,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Elapsed","id":7296,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"5540":{"id":5540,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":5230,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2016":{"id":2016,"crate_id":0,"name":null,"span":{"filename":"/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-0.1.44/src/instrument.rs","begin":[393,1],"end":[393,36]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":["with_subscriber","with_current_subscriber"],"trait":{"path":"WithSubscriber","id":185,"args":null},"for":{"resolved_path":{"path":"Take","id":583,"args":{"angle_bracketed":{"args":[{"type":{"generic":"R"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"254":{"id":254,"crate_id":0,"name":null,"span":{"filename":"src/fs/file.rs","begin":[596,1],"end":[661,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"fs\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"AsyncRead","id":224,"args":null},"for":{"resolved_path":{"path":"File","id":204,"args":null}},"items":[249],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"3778":{"id":3778,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"AbortHandle","id":3723,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"7629":{"id":7629,"crate_id":0,"name":null,"span":{"filename":"src/doc/mod.rs","begin":[24,1],"end":[44,2]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"net\"), span: src/doc/mod.rs:23:7: 23:22 (#0) }])]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Source","id":1047,"args":null},"for":{"resolved_path":{"path":"NotDefinedHere","id":288,"args":null}},"items":[7623,7627,7628],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"4105":{"id":4105,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"Task","id":4070,"args":null}},"items":[163],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"581":{"id":581,"crate_id":0,"name":"consume","span":{"filename":"src/io/util/take.rs","begin":[121,5],"end":[127,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["amt",{"primitive":"usize"}]],"output":null,"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2343":{"id":2343,"crate_id":0,"name":"peek","span":{"filename":"src/net/tcp/split_owned.rs","begin":[192,5],"end":[195,6]},"visibility":"public","docs":"Receives data on the socket from the remote address to which it is\nconnected, without removing that data from the queue. On success,\nreturns the number of bytes peeked.\n\nSee the [`TcpStream::peek`] level documentation for more details.\n\n[`TcpStream::peek`]: TcpStream::peek\n\n# Examples\n\n```no_run\nuse tokio::net::TcpStream;\nuse tokio::io::AsyncReadExt;\nuse std::error::Error;\n\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn Error>> {\n    // Connect to a peer\n    let stream = TcpStream::connect(\"127.0.0.1:8080\").await?;\n    let (mut read_half, _) = stream.into_split();\n\n    let mut b1 = [0; 10];\n    let mut b2 = [0; 10];\n\n    // Peek at the data\n    let n = read_half.peek(&mut b1).await?;\n\n    // Read the data\n    assert_eq!(n, read_half.read(&mut b2[..n]).await?);\n    assert_eq!(&b1[..n], &b2[..n]);\n\n    Ok(())\n}\n```\n\nThe [`read`] method is defined on the [`AsyncReadExt`] trait.\n\n[`read`]: fn@crate::io::AsyncReadExt::read\n[`AsyncReadExt`]: trait@crate::io::AsyncReadExt","links":{"fn@crate::io::AsyncReadExt::read":1484,"TcpStream::peek":2275,"trait@crate::io::AsyncReadExt":202},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6194":{"id":6194,"crate_id":0,"name":null,"span":{"filename":"src/sync/semaphore.rs","begin":[475,1],"end":[1000,2]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":null,"for":{"resolved_path":{"path":"Semaphore","id":5895,"args":null}},"items":[5427,6189,6190,6185,6183,6184,6152,6179,6123,6180,6187,6191,6192,6193,6120,6186],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"2670":{"id":2670,"crate_id":0,"name":"new_datagram","span":{"filename":"src/net/unix/socket.rs","begin":[107,5],"end":[109,6]},"visibility":"public","docs":"Creates a new Unix datagram socket.\n\nCalls `socket(2)` with `AF_UNIX` and `SOCK_DGRAM`.\n\n# Returns\n\nOn success, the newly created [`UnixSocket`] is returned. If an error is\nencountered, it is returned instead.","links":{"`UnixSocket`":2669},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"UnixSocket","id":2669,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"908":{"id":908,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4432":{"id":4432,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Unpin","id":150,"args":null},"for":{"resolved_path":{"path":"LocalRuntime","id":3941,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"6521":{"id":6521,"crate_id":0,"name":"try_read_owned","span":{"filename":"src/sync/rwlock.rs","begin":[725,5],"end":[750,6]},"visibility":"public","docs":"Attempts to acquire this `RwLock` with shared read access.\n\nIf the access couldn't be acquired immediately, returns [`TryLockError`].\nOtherwise, an RAII guard is returned which will release read access\nwhen dropped.\n\nThis method is identical to [`RwLock::try_read`], except that the\nreturned guard references the `RwLock` with an [`Arc`] rather than by\nborrowing it. Therefore, the `RwLock` must be wrapped in an `Arc` to\ncall this method, and the guard will live for the `'static` lifetime,\nas it keeps the `RwLock` alive by holding an `Arc`.\n\n[`TryLockError`]: TryLockError\n\n# Examples\n\n```\nuse std::sync::Arc;\nuse tokio::sync::RwLock;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet lock = Arc::new(RwLock::new(1));\nlet c_lock = lock.clone();\n\nlet v = lock.try_read_owned().unwrap();\nassert_eq!(*v, 1);\n\ntokio::spawn(async move {\n    // While main has an active read lock, we acquire one too.\n    let n = c_lock.read_owned().await;\n    assert_eq!(*n, 1);\n}).await.expect(\"The spawned task has panicked\");\n\n// Drop the guard when spawned task finishes.\ndrop(v);\n# }\n```","links":{"TryLockError":5694,"`RwLock::try_read`":5868,"`Arc`":2509},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Arc","id":2509,"args":{"angle_bracketed":{"args":[{"type":{"generic":"Self"}}],"constraints":[]}}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"OwnedRwLockReadGuard","id":6274,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}}},{"type":{"resolved_path":{"path":"TryLockError","id":5694,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4759":{"id":4759,"crate_id":0,"name":"coop","span":{"filename":"src/task/coop/mod.rs","begin":[1,1],"end":[573,2]},"visibility":"public","docs":"Utilities for improved cooperative scheduling.\n\n### Cooperative scheduling\n\nA single call to [`poll`] on a top-level task may potentially do a lot of\nwork before it returns `Poll::Pending`. If a task runs for a long period of\ntime without yielding back to the executor, it can starve other tasks\nwaiting on that executor to execute them, or drive underlying resources.\nSince Rust does not have a runtime, it is difficult to forcibly preempt a\nlong-running task. Instead, this module provides an opt-in mechanism for\nfutures to collaborate with the executor to avoid starvation.\n\nConsider a future like this one:\n\n```\n# use tokio_stream::{Stream, StreamExt};\nasync fn drop_all<I: Stream + Unpin>(mut input: I) {\n    while let Some(_) = input.next().await {}\n}\n```\n\nIt may look harmless, but consider what happens under heavy load if the\ninput stream is _always_ ready. If we spawn `drop_all`, the task will never\nyield, and will starve other tasks and resources on the same executor.\n\nTo account for this, Tokio has explicit yield points in a number of library\nfunctions, which force tasks to return to the executor periodically.\n\n\n#### unconstrained\n\nIf necessary, [`task::unconstrained`] lets you opt a future out of Tokio's cooperative\nscheduling. When a future is wrapped with `unconstrained`, it will never be forced to yield to\nTokio. For example:\n\n```\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nuse tokio::{task, sync::mpsc};\n\nlet fut = async {\n    let (tx, mut rx) = mpsc::unbounded_channel();\n\n    for i in 0..1000 {\n        let _ = tx.send(());\n        // This will always be ready. If coop was in effect, this code would be forced to yield\n        // periodically. However, if left unconstrained, then this code will never yield.\n        rx.recv().await;\n    }\n};\n\ntask::coop::unconstrained(fut).await;\n# }\n```\n[`poll`]: method@std::future::Future::poll\n[`task::unconstrained`]: crate::task::unconstrained()","links":{"method@std::future::Future::poll":4211,"crate::task::unconstrained()":6915},"attrs":[{"other":"#[attr = CfgTrace([NameValue { name: \"feature\", value: Some(\"rt\"), span: src/macros/cfg.rs:480:19: 480:33 (#4204) }])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(feature = \"rt\"))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"module":{"is_crate":false,"items":[6939,6940,6941,6942,6946,6945,6972,6971],"is_stripped":false}}},"1235":{"id":1235,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"TryIoError","id":1179,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"2997":{"id":2997,"crate_id":0,"name":"read_write","span":{"filename":"src/net/unix/pipe.rs","begin":[173,5],"end":[176,6]},"visibility":"public","docs":"Sets the option for read-write access.\n\nThis option, when true, will indicate that a FIFO file will be opened\nin read-write access mode. This operation is not defined by the POSIX\nstandard and is only guaranteed to work on Linux.\n\n# Examples\n\nOpening a [`Sender`] even if there are no open reading ends:\n\n```ignore\nuse tokio::net::unix::pipe;\n\nlet tx = pipe::OpenOptions::new()\n    .read_write(true)\n    .open_sender(\"path/to/a/fifo\");\n```\n\nOpening a resilient [`Receiver`] i.e. a reading pipe end which will not\nfail with [`UnexpectedEof`] during reading if all writing ends of the\npipe close the FIFO file.\n\n[`UnexpectedEof`]: std::io::ErrorKind::UnexpectedEof\n\n```ignore\nuse tokio::net::unix::pipe;\n\nlet tx = pipe::OpenOptions::new()\n    .read_write(true)\n    .open_receiver(\"path/to/a/fifo\");\n```","links":{"`Sender`":856,"`Receiver`":646,"std::io::ErrorKind::UnexpectedEof":1494},"attrs":[{"other":"#[attr = CfgTrace([Any([NameValue { name: \"target_os\", value: Some(\"linux\"), span: src/net/unix/pipe.rs:171:15: 171:34 (#0) }, NameValue { name: \"target_os\", value: Some(\"android\"), span: src/net/unix/pipe.rs:171:36: 171:57 (#0) }], src/net/unix/pipe.rs:171:14: 171:58 (#0))])]"},{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(any(target_os = \"linux\", target_os = \"android\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}],["value",{"primitive":"bool"}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"6848":{"id":6848,"crate_id":0,"name":"fmt","span":{"filename":"src/sync/watch.rs","begin":[196,10],"end":[196,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[attr = Inline(Hint)]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["f",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"$crate::fmt::Formatter","id":187,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"$crate::fmt::Result","id":188,"args":null}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3324":{"id":3324,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"BorrowMut","id":161,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"PipeEnd","id":3315,"args":null}},"items":[159],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1562":{"id":1562,"crate_id":0,"name":"WriteAll","span":{"filename":"src/io/util/write_all.rs","begin":[11,1],"end":[21,2]},"visibility":"public","docs":null,"links":{},"attrs":[{"must_use":{"reason":"futures do nothing unless you `.await` or poll them"}}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}},{"name":"W","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"impls":[]}}},"5086":{"id":5086,"crate_id":0,"name":"try_recv","span":{"filename":"src/sync/broadcast.rs","begin":[1549,5],"end":[1552,6]},"visibility":"public","docs":"Attempts to return a pending value on this receiver without awaiting.\n\nThis is useful for a flavor of \"optimistic check\" before deciding to\nawait on a receiver.\n\nCompared with [`recv`], this function has three failure cases instead of two\n(one for closed, one for an empty buffer, one for a lagging receiver).\n\n`Err(TryRecvError::Closed)` is returned when all `Sender` halves have\ndropped, indicating that no further values can be sent on the channel.\n\nIf the [`Receiver`] handle falls behind, once the channel is full, newly\nsent values overwrite old values in the ring buffer. The next call to\n[`try_recv`] then returns `Err(TryRecvError::Lagged(n))`, where `n` is\nthe number of overwritten messages the receiver missed. The receiver\nstays subscribed; its internal cursor is advanced to the oldest value\nstill held by the channel. A subsequent call to [`try_recv`] returns\nthat value, unless further sends overwrite it before the receiver reads\nit. If there are no values to receive, `Err(TryRecvError::Empty)` is\nreturned. See [lagging](self#lagging) for details.\n\n[`recv`]: crate::sync::broadcast::Receiver::recv\n[`try_recv`]: crate::sync::broadcast::Receiver::try_recv\n[`Receiver`]: crate::sync::broadcast::Receiver\n\n# Examples\n\n```\nuse tokio::sync::broadcast;\n\n# #[tokio::main(flavor = \"current_thread\")]\n# async fn main() {\nlet (tx, mut rx) = broadcast::channel(16);\n\nassert!(rx.try_recv().is_err());\n\ntx.send(10).unwrap();\n\nlet value = rx.try_recv().unwrap();\nassert_eq!(10, value);\n# }\n```","links":{"crate::sync::broadcast::Receiver::try_recv":5086,"self#lagging":5121,"crate::sync::broadcast::Receiver::recv":5049,"crate::sync::broadcast::Receiver":5051},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"Result","id":171,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}},{"type":{"resolved_path":{"path":"TryRecvError","id":5088,"args":null}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"7175":{"id":7175,"crate_id":0,"name":"Builder","span":{"filename":"src/task/builder.rs","begin":[63,1],"end":[65,2]},"visibility":"public","docs":"Factory which is used to configure the properties of a new task.\n\n**Note**: This is an [unstable API][unstable]. The public API of this type\nmay break in 1.x releases. See [the documentation on unstable\nfeatures][unstable] for details.\n\nMethods can be chained in order to configure it.\n\nCurrently, there is only one configuration option:\n\n- [`name`], which specifies an associated name for\n  the task\n\nThere are three types of task that can be spawned from a Builder:\n- [`spawn_local`] for executing not [`Send`] futures\n- [`spawn`] for executing [`Send`] futures on the runtime\n- [`spawn_blocking`] for executing blocking code in the\n  blocking thread pool.\n\n## Example\n\n```no_run\nuse tokio::net::{TcpListener, TcpStream};\n\nuse std::io;\n\nasync fn process(socket: TcpStream) {\n    // ...\n# drop(socket);\n}\n\n#[tokio::main]\nasync fn main() -> io::Result<()> {\n    let listener = TcpListener::bind(\"127.0.0.1:8080\").await?;\n\n    loop {\n        let (socket, _) = listener.accept().await?;\n\n        tokio::task::Builder::new()\n            .name(\"tcp connection handler\")\n            .spawn(async move {\n                // Process each socket concurrently.\n                process(socket).await\n            })?;\n    }\n}\n```\n[unstable]: crate#unstable-features\n[`name`]: Builder::name\n[`spawn_local`]: Builder::spawn_local\n[`spawn`]: Builder::spawn\n[`spawn_blocking`]: Builder::spawn_blocking","links":{"`Send`":142,"crate#unstable-features":3944,"Builder::spawn_blocking":7207,"Builder::name":7204,"Builder::spawn_local":7205,"Builder::spawn":7206},"attrs":[{"other":"#[attr = CfgAttrTrace]"},{"other":"#[doc(cfg(all(tokio_unstable, feature = \"tracing\")))]"}],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[{"name":"'a","kind":{"lifetime":{"outlives":[]}}}],"where_predicates":[]},"impls":[7212,7213,7214,7215,7216,7217,7218,7219,7220,7221,7222,7223,7224,7225,7226,7227,7228,7230,7232]}}},"5413":{"id":5413,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"Receiver","id":5226,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"7502":{"id":7502,"crate_id":0,"name":"get_mut","span":{"filename":"src/time/timeout.rs","begin":[195,5],"end":[197,6]},"visibility":"public","docs":"Gets a mutable reference to the underlying value in this timeout.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"T"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"3978":{"id":3978,"crate_id":0,"name":"LogHistogram","span":{"filename":"src/runtime/metrics/histogram/h2_histogram.rs","begin":[27,1],"end":[38,2]},"visibility":"public","docs":"Log Histogram\n\nThis implements an [H2 Histogram](https://iop.systems/blog/h2-histogram/), a histogram similar\nto HdrHistogram, but with better performance. It guarantees an error bound of `2^-p`.\n\nUnlike a traditional H2 histogram this has two small changes:\n1. The 0th bucket runs for `0..min_value`. This allows truncating a large number of buckets that\n   would cover extremely short timescales that customers usually don't care about.\n2. The final bucket runs all the way to `u64::MAX` — traditional H2 histograms would truncate\n   or reject these values.\n\nFor information about the default configuration, see [`LogHistogramBuilder`].","links":{"`LogHistogramBuilder`":3982},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"struct":{"kind":{"plain":{"fields":[],"has_stripped_fields":true}},"generics":{"params":[],"where_predicates":[]},"impls":[4576,4577,4578,4579,4580,4581,4582,4583,4584,4585,4586,4587,4588,4589,4590,4591,4592,4593,4594,4596,4597,4599,4600,4602,4603,4605,4607]}}},"2216":{"id":2216,"crate_id":0,"name":"linger","span":{"filename":"src/net/tcp/socket.rs","begin":[473,5],"end":[475,6]},"visibility":"public","docs":"Reads the linger duration for this socket by getting the `SO_LINGER`\noption.\n\nFor more information about this option, see [`set_zero_linger`] and [`set_linger`].\n\n[`set_linger`]: TcpSocket::set_linger\n[`set_zero_linger`]: TcpSocket::set_zero_linger","links":{"TcpSocket::set_zero_linger":2213,"TcpSocket::set_linger":2214},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Option","id":391,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"Duration","id":2215,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"454":{"id":454,"crate_id":0,"name":"remove_dir_all","span":{"filename":"src/fs/remove_dir_all.rs","begin":[11,1],"end":[14,2]},"visibility":"public","docs":"Removes a directory at this path, after removing all its contents. Use carefully!\n\nThis is an async version of [`std::fs::remove_dir_all`][std]\n\n[std]: fn@std::fs::remove_dir_all","links":{"fn@std::fs::remove_dir_all":453},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["path",{"impl_trait":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}]}]],"output":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"tuple":[]}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[{"name":"impl AsRef<Path>","kind":{"type":{"bounds":[{"trait_bound":{"trait":{"path":"AsRef","id":117,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"std::path::Path","id":118,"args":null}}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"default":null,"is_synthetic":true}}}],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":true,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5740":{"id":5740,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"MutexGuard","id":5686,"args":{"angle_bracketed":{"args":[{"lifetime":"'a"},{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"6067":{"id":6067,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Sync","id":144,"args":null},"for":{"resolved_path":{"path":"Sender","id":6057,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"4305":{"id":4305,"crate_id":0,"name":null,"span":{"filename":"src/runtime/handle.rs","begin":[10,10],"end":[10,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(feature = \"rt\"))]"},{"other":"#[doc(cfg(feature = \"rt\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"Handle","id":4265,"args":null}},"items":[4304],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"781":{"id":781,"crate_id":0,"name":"poll_write","span":{"filename":"src/io/util/buf_writer.rs","begin":[119,5],"end":[134,6]},"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"resolved_path":{"path":"Pin","id":250,"args":{"angle_bracketed":{"args":[{"type":{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"generic":"Self"}}}}],"constraints":[]}}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"slice":{"primitive":"u8"}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"primitive":"usize"}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"2543":{"id":2543,"crate_id":0,"name":"poll_peek_from","span":{"filename":"src/net/udp.rs","begin":[1760,5],"end":[1781,6]},"visibility":"public","docs":"Receives data from the socket, without removing it from the input queue.\nOn success, returns the sending address of the datagram.\n\n# Notes\n\nNote that on multiple calls to a `poll_*` method in the `recv` direction, only the\n`Waker` from the `Context` passed to the most recent call will be scheduled to\nreceive a wakeup\n\nOn Windows, if the data is larger than the buffer specified, the buffer\nis filled with the first part of the data, and peek returns the error\n`WSAEMSGSIZE(10040)`. The excess data is lost.\nMake sure to always use a sufficiently large buffer to hold the\nmaximum UDP packet size, which can be up to 65536 bytes in size.\n\nMacOS will return an error if you pass a zero-sized buffer.\n\nIf you're merely interested in learning the sender of the data at the head of the queue,\ntry [`poll_peek_sender`].\n\nNote that the socket address **cannot** be implicitly trusted, because it is relatively\ntrivial to send a UDP datagram with a spoofed origin in a [packet injection attack].\nBecause UDP is stateless and does not validate the origin of a packet,\nthe attacker does not need to be able to intercept traffic in order to interfere.\nIt is important to be aware of this when designing your application-level protocol.\n\n# Return value\n\nThe function returns:\n\n* `Poll::Pending` if the socket is not ready to read\n* `Poll::Ready(Ok(addr))` reads data from `addr` into `ReadBuf` if the socket is ready\n* `Poll::Ready(Err(e))` if an error is encountered.\n\n# Errors\n\nThis function may encounter any standard I/O error except `WouldBlock`.\n\n[`poll_peek_sender`]: method@Self::poll_peek_sender\n[packet injection attack]: https://en.wikipedia.org/wiki/Packet_injection","links":{"method@Self::poll_peek_sender":2538},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}],["cx",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"Context","id":251,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}],["buf",{"borrowed_ref":{"lifetime":null,"is_mutable":true,"type":{"resolved_path":{"path":"ReadBuf","id":252,"args":{"angle_bracketed":{"args":[{"lifetime":"'_"}],"constraints":[]}}}}}}]],"output":{"resolved_path":{"path":"Poll","id":253,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"io::Result","id":119,"args":{"angle_bracketed":{"args":[{"type":{"resolved_path":{"path":"SocketAddr","id":2132,"args":null}}}],"constraints":[]}}}}}],"constraints":[]}}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"4632":{"id":4632,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}},{"name":"U","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"U"},"bounds":[{"trait_bound":{"trait":{"path":"Into","id":165,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"TryFrom","id":169,"args":{"angle_bracketed":{"args":[{"type":{"generic":"U"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"LogHistogramBuilder","id":3982,"args":null}},"items":[174,176],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"2870":{"id":2870,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"UnwindSafe","id":152,"args":null},"for":{"resolved_path":{"path":"SocketAddr","id":2631,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"1108":{"id":1108,"crate_id":0,"name":null,"span":{"filename":"src/io/mod.rs","begin":[251,43],"end":[251,52]},"visibility":"public","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"use":{"source":"poll_aio::AioSource","name":"AioSource","id":1049,"is_glob":false}}},"6721":{"id":6721,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Sized","id":157,"args":null},"generic_params":[],"modifier":"maybe"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Borrow","id":158,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"SendError","id":6713,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[155],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"4959":{"id":4959,"crate_id":0,"name":null,"span":{"filename":"src/signal/windows.rs","begin":[473,10],"end":[473,15]},"visibility":"default","docs":null,"links":{},"attrs":[{"other":"#[doc(cfg(all(windows, feature = \"signal\")))]"},{"other":"#[doc(cfg(feature = \"signal\"))]"},"automatically_derived"],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Debug","id":190,"args":null},"for":{"resolved_path":{"path":"CtrlLogoff","id":4937,"args":null}},"items":[4958],"is_negative":false,"is_synthetic":false,"blanket_impl":null}}},"1435":{"id":1435,"crate_id":0,"name":"reader","span":{"filename":"src/io/join.rs","begin":[43,5],"end":[45,6]},"visibility":"public","docs":"Returns a reference to the inner reader.","links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"function":{"sig":{"inputs":[["self",{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"Self"}}}]],"output":{"borrowed_ref":{"lifetime":null,"is_mutable":false,"type":{"generic":"R"}}},"is_c_variadic":false},"generics":{"params":[],"where_predicates":[]},"header":{"is_const":false,"is_unsafe":false,"is_async":false,"abi":"Rust"},"has_body":true,"default_unstable":null}}},"5286":{"id":5286,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[{"bound_predicate":{"type":{"generic":"T"},"bounds":[{"trait_bound":{"trait":{"path":"Send","id":142,"args":null},"generic_params":[],"modifier":"none"}}],"generic_params":[]}}]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"WeakSender","id":5254,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}},"3524":{"id":3524,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[{"name":"T","kind":{"type":{"bounds":[],"default":null,"is_synthetic":false}}}],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"From","id":162,"args":{"angle_bracketed":{"args":[{"type":{"generic":"T"}}],"constraints":[]}}},"for":{"resolved_path":{"path":"ChildStdin","id":873,"args":null}},"items":[166],"is_negative":false,"is_synthetic":false,"blanket_impl":{"generic":"T"}}}},"1762":{"id":1762,"crate_id":0,"name":null,"span":null,"visibility":"default","docs":null,"links":{},"attrs":[],"deprecation":null,"stability":null,"const_stability":null,"inner":{"impl":{"is_unsafe":false,"generics":{"params":[],"where_predicates":[]},"provided_trait_methods":[],"trait":{"path":"Send","id":142,"args":null},"for":{"resolved_path":{"path":"Empty","id":579,"args":null}},"items":[],"is_negative":false,"is_synthetic":true,"blanket_impl":null}}}},"paths":{"10899":{"crate_id":40,"path":["object","read","macho","load_command","LoadCommandIterator"],"kind":"struct"},"9137":{"crate_id":16,"path":["gimli","common","LineEncoding"],"kind":"struct"},"11226":{"crate_id":41,"path":["memchr","arch","all","twoway","SuffixOrdering"],"kind":"enum"},"9464":{"crate_id":17,"path":["object","read","coff","symbol","SymbolIterator"],"kind":"struct"},"7702":{"crate_id":31,"path":["mio","net","uds","listener","UnixListener"],"kind":"struct"},"8029":{"crate_id":1,"path":["std","sync","mpmc","list","Channel"],"kind":"struct"},"9791":{"crate_id":17,"path":["object","pe","ImageAlphaRuntimeFunctionEntry"],"kind":"struct"},"10118":{"crate_id":27,"path":["libc","unix","linux_like","linux","fanotify_event_metadata"],"kind":"struct"},"8356":{"crate_id":2,"path":["core","str","IsNotEmpty"],"kind":"struct"},"8683":{"crate_id":3,"path":["alloc","collections","btree","map","entry","OccupiedEntry"],"kind":"struct"},"10445":{"crate_id":33,"path":["io_uring","sys","__IncompleteArrayField"],"kind":"struct"},"10772":{"crate_id":40,"path":["object","read","util","DebugByte"],"kind":"struct"},"9010":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","cpu_set_t"],"kind":"struct"},"3724":{"crate_id":0,"path":["tokio","task","join_set","JoinSet"],"kind":"struct"},"9337":{"crate_id":16,"path":["gimli","read","op","EvaluationResult"],"kind":"enum"},"11099":{"crate_id":40,"path":["object","pe","AnonObjectHeaderBigobj"],"kind":"struct"},"11426":{"crate_id":1,"path":["std","i64"],"kind":"primitive"},"9664":{"crate_id":17,"path":["object","macho","DyldCacheSlideInfo2"],"kind":"struct"},"7902":{"crate_id":1,"path":["std","random","SystemRng"],"kind":"struct"},"9991":{"crate_id":27,"path":["libc","unix","servent"],"kind":"struct"},"8229":{"crate_id":2,"path":["core","fmt","FormattingOptions"],"kind":"struct"},"10318":{"crate_id":2,"path":["core","fmt","builders","DebugStruct"],"kind":"struct"},"8556":{"crate_id":2,"path":["core","str","pattern","MultiCharEqPattern"],"kind":"struct"},"10645":{"crate_id":39,"path":["gimli","read","aranges","ArangeHeaderIter"],"kind":"struct"},"8883":{"crate_id":5,"path":["libc","unix","linux_like","linux","epoll_params"],"kind":"struct"},"5359":{"crate_id":2,"path":["core","iter","traits","exact_size","ExactSizeIterator"],"kind":"trait"},"10972":{"crate_id":40,"path":["object","read","Import"],"kind":"struct"},"9210":{"crate_id":16,"path":["gimli","endianity","LittleEndian"],"kind":"struct"},"5686":{"crate_id":0,"path":["tokio","sync","mutex","MutexGuard"],"kind":"struct"},"11299":{"crate_id":45,"path":["signal_hook_registry","ActionId"],"kind":"struct"},"9537":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldRelocation"],"kind":"struct"},"7775":{"crate_id":2,"path":["core","option","OptionFlatten"],"kind":"struct"},"8102":{"crate_id":2,"path":["core","io","borrowed_buf","BorrowedCursor"],"kind":"struct"},"9864":{"crate_id":18,"path":["memchr","arch","all","rabinkarp","FinderRev"],"kind":"struct"},"10191":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","fanotify_event_info_error"],"kind":"struct"},"8429":{"crate_id":2,"path":["core","io","error","OsFunctions"],"kind":"struct"},"8756":{"crate_id":5,"path":["libc","unix","linger"],"kind":"struct"},"10518":{"crate_id":39,"path":["gimli","common","DebugInfoOffset"],"kind":"struct"},"10845":{"crate_id":40,"path":["object","read","elf","relocation","Crel"],"kind":"struct"},"9083":{"crate_id":10,"path":["hashbrown","raw","RawIntoIter"],"kind":"struct"},"9410":{"crate_id":17,"path":["object","read","read_cache","ReadCache"],"kind":"struct"},"7648":{"crate_id":3,"path":["alloc","collections","vec_deque","VecDeque"],"kind":"struct"},"11172":{"crate_id":40,"path":["object","xcoff","CsectAux32"],"kind":"struct"},"9737":{"crate_id":17,"path":["object","pe","ImageOptionalHeader64"],"kind":"struct"},"7975":{"crate_id":1,"path":["std","sys","os_str","bytes","Slice"],"kind":"struct"},"10064":{"crate_id":27,"path":["libc","unix","linux_like","linux","posix_spawnattr_t"],"kind":"struct"},"8302":{"crate_id":2,"path":["core","slice","iter","Split"],"kind":"struct"},"10391":{"crate_id":33,"path":["io_uring","sys","io_uring_buf"],"kind":"struct"},"8629":{"crate_id":3,"path":["alloc","collections","btree","node","marker","Immut"],"kind":"struct"},"8956":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","ptrace_syscall_info"],"kind":"struct"},"10718":{"crate_id":39,"path":["gimli","read","unit","DebugInfo"],"kind":"struct"},"5432":{"crate_id":0,"path":["tokio","sync","mpsc","unbounded","unbounded_channel"],"kind":"function"},"146":{"crate_id":2,"path":["core","marker","Freeze"],"kind":"trait"},"9283":{"crate_id":16,"path":["gimli","read","line","LineInstructions"],"kind":"struct"},"11045":{"crate_id":40,"path":["object","macho","SubUmbrellaCommand"],"kind":"struct"},"9610":{"crate_id":17,"path":["object","read","FileKind"],"kind":"enum"},"7848":{"crate_id":1,"path":["std","collections","hash","set","OccupiedEntry"],"kind":"struct"},"11372":{"crate_id":9,"path":["adler2"],"kind":"module"},"8175":{"crate_id":2,"path":["core","num","niche_types","I32NotAllOnes"],"kind":"struct"},"9937":{"crate_id":24,"path":["parking_lot_core","parking_lot","UnparkToken"],"kind":"struct"},"10264":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","__c_anonymous_ifr_ifru"],"kind":"union"},"8502":{"crate_id":2,"path":["core","intrinsics","fallback","DisjointBitOr"],"kind":"trait"},"10591":{"crate_id":39,"path":["gimli","read","cfi","DebugFrame"],"kind":"struct"},"8829":{"crate_id":5,"path":["libc","unix","linux_like","linux","uinput_ff_upload"],"kind":"struct"},"10918":{"crate_id":40,"path":["object","read","pe","section","PeSegmentIterator"],"kind":"struct"},"9156":{"crate_id":16,"path":["gimli","common","DebugRngListsIndex"],"kind":"struct"},"5632":{"crate_id":0,"path":["tokio","sync","mpsc","error","SendTimeoutError","Closed"],"kind":"variant"},"3870":{"crate_id":0,"path":["tokio","runtime","task","trace","trace_with"],"kind":"function"},"7394":{"crate_id":0,"path":["tokio","time","interval","Interval"],"kind":"struct"},"11245":{"crate_id":41,"path":["memchr","arch","all","memchr","ThreeIter"],"kind":"struct"},"7721":{"crate_id":2,"path":["core","sync","atomic","Ordering"],"kind":"enum"},"9483":{"crate_id":17,"path":["object","read","elf","symbol","ElfSymbolTable"],"kind":"struct"},"9810":{"crate_id":17,"path":["object","xcoff","SectionHeader32"],"kind":"struct"},"8048":{"crate_id":1,"path":["std","thread","spawnhook","ChildSpawnHooks"],"kind":"struct"},"8375":{"crate_id":2,"path":["core","core_arch","x86","__m512i"],"kind":"struct"},"10137":{"crate_id":27,"path":["libc","unix","linux_like","linux","dmabuf_cmsg"],"kind":"struct"},"10464":{"crate_id":34,"path":["bitflags","parser","ParseHex"],"kind":"trait"},"8702":{"crate_id":3,"path":["alloc","collections","btree","borrow","DormantMutRef"],"kind":"struct"},"9029":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","rlimit64"],"kind":"struct"},"10791":{"crate_id":40,"path":["object","read","any","SymbolTableInternal"],"kind":"enum"},"11118":{"crate_id":40,"path":["object","pe","ImageThunkData32"],"kind":"struct"},"9356":{"crate_id":16,"path":["gimli","read","rnglists","RangeListsFormat"],"kind":"enum"},"7594":{"crate_id":0,"path":["tokio","stream"],"kind":"module"},"4070":{"crate_id":0,"path":["tokio","runtime","dump","Task"],"kind":"struct"},"9683":{"crate_id":17,"path":["object","macho","FvmlibCommand"],"kind":"struct"},"7921":{"crate_id":1,"path":["std","sync","mpsc","RecvError"],"kind":"struct"},"873":{"crate_id":0,"path":["tokio","process","ChildStdin"],"kind":"struct"},"10010":{"crate_id":27,"path":["libc","unix","linux_like","in_pktinfo"],"kind":"struct"},"8248":{"crate_id":2,"path":["core","num","imp","fmt","Formatted"],"kind":"struct"},"10337":{"crate_id":31,"path":["mio","event","event","fmt","EventDetails"],"kind":"struct"},"8575":{"crate_id":2,"path":["core","core_simd","to_bytes","sealed","Sealed"],"kind":"trait"},"5051":{"crate_id":0,"path":["tokio","sync","broadcast","Receiver"],"kind":"struct"},"10664":{"crate_id":39,"path":["gimli","read","line","IncompleteLineProgram"],"kind":"struct"},"8902":{"crate_id":5,"path":["libc","unix","linux_like","linux","xdp_desc"],"kind":"struct"},"10991":{"crate_id":40,"path":["object","elf","CompressionHeader32"],"kind":"struct"},"9229":{"crate_id":16,"path":["gimli","read","cfi","CieOrFde"],"kind":"enum"},"419":{"crate_id":1,"path":["std","ffi","os_str","OsString"],"kind":"struct"},"7794":{"crate_id":3,"path":["alloc","vec","peek_mut","PeekMut"],"kind":"struct"},"9556":{"crate_id":17,"path":["object","read","macho","section","MachOSectionIterator"],"kind":"struct"},"11318":{"crate_id":2,"path":["core","intrinsics","transmute"],"kind":"function"},"9883":{"crate_id":18,"path":["memchr","memmem","searcher","SearcherRevKind"],"kind":"enum"},"8121":{"crate_id":1,"path":["std","os","unix","fs","PermissionsExt"],"kind":"trait"},"8448":{"crate_id":2,"path":["core","slice","iter","GenericSplitN"],"kind":"struct"},"10210":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","flock"],"kind":"struct"},"10537":{"crate_id":39,"path":["gimli","common","UnitSectionOffset"],"kind":"enum"},"8775":{"crate_id":5,"path":["libc","unix","linux_like","tm"],"kind":"struct"},"9102":{"crate_id":10,"path":["hashbrown","map","OccupiedEntry"],"kind":"struct"},"10864":{"crate_id":40,"path":["object","read","elf","version","VernauxIterator"],"kind":"struct"},"292":{"crate_id":0,"path":["tokio","doc","os","windows","io","AsRawHandle"],"kind":"trait"},"9429":{"crate_id":17,"path":["object","read","any","SectionIterator"],"kind":"struct"},"7667":{"crate_id":33,"path":["io_uring","types"],"kind":"module"},"11191":{"crate_id":40,"path":["object","read","traits","ObjectSymbolTable"],"kind":"trait"},"9756":{"crate_id":17,"path":["object","pe","ImageRelocation"],"kind":"struct"},"7994":{"crate_id":1,"path":["std","backtrace_rs","symbolize","Symbol"],"kind":"struct"},"10083":{"crate_id":27,"path":["libc","unix","linux_like","linux","ptp_extts_event"],"kind":"struct"},"8321":{"crate_id":2,"path":["core","str","iter","SplitNInternal"],"kind":"struct"},"8648":{"crate_id":3,"path":["alloc","collections","btree","navigate","LazyLeafRange"],"kind":"struct"},"10410":{"crate_id":33,"path":["io_uring","types","TimeoutFlags"],"kind":"struct"},"10737":{"crate_id":39,"path":["gimli","read","util","ArrayLike"],"kind":"trait"},"8975":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","msqid_ds"],"kind":"struct"},"165":{"crate_id":2,"path":["core","convert","Into"],"kind":"trait"},"9302":{"crate_id":16,"path":["gimli","read","lookup","PubSetIter"],"kind":"struct"},"11064":{"crate_id":40,"path":["object","macho","FilesetEntryCommand"],"kind":"struct"},"11391":{"crate_id":29,"path":["tracing_core"],"kind":"module"},"7867":{"crate_id":1,"path":["std","io","buffered","IntoInnerError"],"kind":"struct"},"9629":{"crate_id":17,"path":["object","elf","FileHeader32"],"kind":"struct"},"9956":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","netlink","can_berr_counter"],"kind":"struct"},"8194":{"crate_id":2,"path":["core","marker","variance","PhantomCovariantLifetime"],"kind":"struct"},"10283":{"crate_id":29,"path":["tracing_core","dispatcher","Dispatch"],"kind":"struct"},"8521":{"crate_id":2,"path":["core","convert","num","BoundedCastFromInt"],"kind":"trait"},"1473":{"crate_id":0,"path":["tokio","io","util","read_until","ReadUntil"],"kind":"struct"},"10610":{"crate_id":39,"path":["gimli","read","cfi","UnwindTable"],"kind":"struct"},"8848":{"crate_id":5,"path":["libc","unix","linux_like","linux","open_how"],"kind":"struct"},"10937":{"crate_id":40,"path":["object","read","pe","resource","ResourceDirectoryTable"],"kind":"struct"},"9175":{"crate_id":16,"path":["gimli","arch","PowerPc64"],"kind":"struct"},"2127":{"crate_id":0,"path":["tokio","net","lookup_host","lookup_host"],"kind":"function"},"11264":{"crate_id":41,"path":["memchr","memmem","searcher","Searcher"],"kind":"struct"},"9502":{"crate_id":17,"path":["object","read","elf","note","GnuProperty"],"kind":"struct"},"7740":{"crate_id":2,"path":["core","hint","spin_loop"],"kind":"function"},"8067":{"crate_id":2,"path":["core","iter","adapters","peekable","Peekable"],"kind":"struct"},"9829":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldCacheMappingVersion"],"kind":"enum"},"10156":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket_bd_header_u"],"kind":"union"},"8394":{"crate_id":2,"path":["core","mem","type_info","DynTrait"],"kind":"struct"},"8721":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","j1939","j1939_filter"],"kind":"struct"},"10483":{"crate_id":36,"path":["backtrace","backtrace","libunwind","Bomb"],"kind":"struct"},"10810":{"crate_id":40,"path":["object","read","coff","file","CoffFile"],"kind":"struct"},"9048":{"crate_id":8,"path":["miniz_oxide","MZError"],"kind":"enum"},"238":{"crate_id":0,"path":["tokio","io","util","async_seek_ext","AsyncSeekExt"],"kind":"trait"},"9375":{"crate_id":16,"path":["gimli","read","unit","EntriesTree"],"kind":"struct"},"11137":{"crate_id":40,"path":["object","pe","ImageEpilogueDynamicRelocationHeader"],"kind":"struct"},"9702":{"crate_id":17,"path":["object","macho","TwolevelHintsCommand"],"kind":"struct"},"7940":{"crate_id":1,"path":["std","sync","nonpoison","WouldBlock"],"kind":"struct"},"10029":{"crate_id":27,"path":["libc","unix","linux_like","linux","signalfd_siginfo"],"kind":"struct"},"8267":{"crate_id":2,"path":["core","ffi","va_list","VaListInner"],"kind":"struct"},"10356":{"crate_id":33,"path":["io_uring","squeue","Entry128"],"kind":"struct"},"8594":{"crate_id":3,"path":["alloc","collections","binary_heap","drop","DropGuard"],"kind":"struct"},"10683":{"crate_id":39,"path":["gimli","read","macros","MacroUnitHeader"],"kind":"struct"},"8921":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_thrspy"],"kind":"struct"},"11010":{"crate_id":40,"path":["object","elf","Verneed"],"kind":"struct"},"9248":{"crate_id":16,"path":["gimli","read","dwarf","DwarfSections"],"kind":"struct"},"9575":{"crate_id":17,"path":["object","read","pe","export","ExportTarget"],"kind":"enum"},"7813":{"crate_id":28,"path":["tracing","instrument","Instrumented"],"kind":"struct"},"11337":{"crate_id":2,"path":["core","mem","drop"],"kind":"function"},"8140":{"crate_id":1,"path":["std","std_float","StdFloat"],"kind":"trait"},"9902":{"crate_id":21,"path":["parking_lot","raw_rwlock","RawRwLock"],"kind":"struct"},"4616":{"crate_id":0,"path":["tokio","runtime","metrics","histogram","h2_histogram","InvalidHistogramConfiguration"],"kind":"enum"},"10229":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","user_fpregs_struct"],"kind":"struct"},"8467":{"crate_id":2,"path":["core","fmt","Binary"],"kind":"trait"},"8794":{"crate_id":5,"path":["libc","unix","linux_like","statx_timestamp"],"kind":"struct"},"10556":{"crate_id":39,"path":["gimli","constants","DwForm"],"kind":"struct"},"10883":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldCacheRelocationIteratorVersion"],"kind":"enum"},"9121":{"crate_id":13,"path":["rustc_demangle","v0","Demangle"],"kind":"struct"},"9448":{"crate_id":17,"path":["object","read","archive","ArchiveFile"],"kind":"struct"},"7686":{"crate_id":2,"path":["core","option","IntoIter"],"kind":"struct"},"11210":{"crate_id":40,"path":["object","read","xcoff","section","SectionHeader"],"kind":"trait"},"9775":{"crate_id":17,"path":["object","pe","ImageLoadConfigCodeIntegrity"],"kind":"struct"},"8013":{"crate_id":1,"path":["std","sys","io","kernel_copy","linux","SpliceMode"],"kind":"enum"},"8340":{"crate_id":2,"path":["core","str","pattern","MultiCharEqSearcher"],"kind":"struct"},"10102":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_freq"],"kind":"struct"},"10429":{"crate_id":33,"path":["io_uring","opcode","WriteFixed"],"kind":"struct"},"8667":{"crate_id":3,"path":["alloc","ffi","c_str","IntoStringError"],"kind":"struct"},"8994":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","mcontext_t"],"kind":"struct"},"10756":{"crate_id":40,"path":["object","common","RelocationFlags"],"kind":"enum"},"11083":{"crate_id":40,"path":["object","macho","ScatteredRelocationInfo"],"kind":"struct"},"9321":{"crate_id":16,"path":["gimli","read","names","NameHashIter"],"kind":"struct"},"511":{"crate_id":0,"path":["tokio","net","unix","pipe"],"kind":"module"},"9648":{"crate_id":17,"path":["object","elf","Dyn32"],"kind":"struct"},"7886":{"crate_id":1,"path":["std","path","Prefix"],"kind":"enum"},"6124":{"crate_id":0,"path":["tokio","sync","batch_semaphore","TryAcquireError"],"kind":"enum"},"11410":{"crate_id":1,"path":["std","bool"],"kind":"primitive"},"9975":{"crate_id":27,"path":["libc","new","glibc","sysdeps","unix","linux","net","route","rtentry"],"kind":"struct"},"8213":{"crate_id":2,"path":["core","char","decode","DecodeUtf16Error"],"kind":"struct"},"10302":{"crate_id":29,"path":["tracing_core","event","Event"],"kind":"struct"},"8540":{"crate_id":2,"path":["core","ops","range","OneSidedRangeBound"],"kind":"enum"},"6778":{"crate_id":0,"path":["tokio","sync","watch","Sender"],"kind":"struct"},"10629":{"crate_id":39,"path":["gimli","read","endian_slice","EndianSlice"],"kind":"struct"},"8867":{"crate_id":5,"path":["libc","unix","linux_like","linux","tls12_crypto_info_sm4_ccm"],"kind":"struct"},"10956":{"crate_id":40,"path":["object","read","xcoff","comdat","XcoffComdatSectionIterator"],"kind":"struct"},"9194":{"crate_id":16,"path":["gimli","constants","DwCc"],"kind":"struct"},"11283":{"crate_id":42,"path":["miniz_oxide","MZFlush"],"kind":"enum"},"7759":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","ENOSYS"],"kind":"constant"},"9521":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldFile"],"kind":"struct"},"384":{"crate_id":1,"path":["std","fs","read_dir"],"kind":"function"},"9848":{"crate_id":18,"path":["memchr","arch","x86_64","avx2","packedpair","Finder"],"kind":"struct"},"8086":{"crate_id":2,"path":["core","iter","traits","accum","Product"],"kind":"trait"},"8413":{"crate_id":2,"path":["core","mem","type_info","Abi"],"kind":"enum"},"10175":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","mallinfo"],"kind":"struct"},"4889":{"crate_id":0,"path":["tokio","signal","windows","CtrlClose"],"kind":"struct"},"10502":{"crate_id":38,"path":["addr2line","lookup","SimpleLookup"],"kind":"struct"},"8740":{"crate_id":5,"path":["libc","new","linux_uapi","linux","netlink","nl_mmap_req"],"kind":"struct"},"9067":{"crate_id":10,"path":["hashbrown","map","HashMap"],"kind":"struct"},"10829":{"crate_id":40,"path":["object","read","coff","import","ImportObjectData"],"kind":"struct"},"11156":{"crate_id":40,"path":["object","pe","ImageSeparateDebugHeader"],"kind":"struct"},"9394":{"crate_id":17,"path":["object","common","FileFlags"],"kind":"enum"},"9721":{"crate_id":17,"path":["object","macho","DataInCodeEntry"],"kind":"struct"},"7959":{"crate_id":1,"path":["std","sys","env","common","Env"],"kind":"struct"},"10048":{"crate_id":27,"path":["libc","unix","linux_like","linux","input_keymap_entry"],"kind":"struct"},"8286":{"crate_id":2,"path":["core","range","iter","RangeIter"],"kind":"struct"},"10375":{"crate_id":33,"path":["io_uring","sys","io_uring_sqe__bindgen_ty_6__bindgen_ty_2"],"kind":"struct"},"8613":{"crate_id":3,"path":["alloc","rc","UniqueRcUninit"],"kind":"struct"},"10702":{"crate_id":39,"path":["gimli","read","pubtypes","PubTypesEntry"],"kind":"struct"},"8940":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","__timeval"],"kind":"struct"},"130":{"crate_id":1,"path":["std","fs","DirBuilder"],"kind":"struct"},"9267":{"crate_id":16,"path":["gimli","read","abbrev","Attributes"],"kind":"enum"},"11029":{"crate_id":40,"path":["object","macho","FatArch32"],"kind":"struct"},"3981":{"crate_id":0,"path":["tokio","runtime","metrics","histogram","HistogramScale"],"kind":"enum"},"457":{"crate_id":0,"path":["tokio","fs","remove_file","remove_file"],"kind":"function"},"7832":{"crate_id":1,"path":["std","collections","hash","map","IterMut"],"kind":"struct"},"9594":{"crate_id":17,"path":["object","read","xcoff","section","XcoffSectionIterator"],"kind":"struct"},"11356":{"crate_id":28,"path":["tracing","dispatcher"],"kind":"module"},"9921":{"crate_id":22,"path":["lock_api","rwlock","RwLock"],"kind":"struct"},"8159":{"crate_id":2,"path":["core","num","wrapping","Wrapping"],"kind":"struct"},"8486":{"crate_id":2,"path":["core","ops","bit","Shr"],"kind":"trait"},"10248":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","Elf64_Phdr"],"kind":"struct"},"10575":{"crate_id":39,"path":["gimli","constants","DwLnct"],"kind":"struct"},"8813":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket_hdr_v1"],"kind":"struct"},"10902":{"crate_id":40,"path":["object","read","macho","segment","MachOSegmentIterator"],"kind":"struct"},"7378":{"crate_id":2,"path":["core","ops","arith","Add"],"kind":"trait"},"9140":{"crate_id":16,"path":["gimli","common","DebugAddrOffset"],"kind":"struct"},"11229":{"crate_id":41,"path":["memchr","arch","x86_64","avx2","memchr","Two"],"kind":"struct"},"9467":{"crate_id":17,"path":["object","read","coff","symbol","CoffSymbol"],"kind":"struct"},"7705":{"crate_id":27,"path":["libc","unix","getsockopt"],"kind":"function"},"8032":{"crate_id":1,"path":["std","sync","lazy_lock","force_mut","really_init_mut","PoisonOnPanic"],"kind":"struct"},"9794":{"crate_id":17,"path":["object","pe","ImageEnclaveConfig64"],"kind":"struct"},"10121":{"crate_id":27,"path":["libc","unix","linux_like","linux","ptp_clock_caps"],"kind":"struct"},"8359":{"crate_id":2,"path":["core","wtf8","Wtf8CodePoints"],"kind":"struct"},"8686":{"crate_id":3,"path":["alloc","collections","btree","map","CursorMut"],"kind":"struct"},"10448":{"crate_id":33,"path":["io_uring","sys","io_uring_buf_ring__bindgen_ty_1__bindgen_ty_2"],"kind":"struct"},"10775":{"crate_id":40,"path":["object","read","util","StringTable"],"kind":"struct"},"9013":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","Elf32_Ehdr"],"kind":"struct"},"203":{"crate_id":0,"path":["tokio","io","util","async_write_ext","AsyncWriteExt"],"kind":"trait"},"9340":{"crate_id":16,"path":["gimli","read","op","Evaluation"],"kind":"struct"},"11102":{"crate_id":40,"path":["object","pe","ImageSymbolBytes"],"kind":"struct"},"11429":{"crate_id":1,"path":["std","u16"],"kind":"primitive"},"9667":{"crate_id":17,"path":["object","macho","DyldCacheSlideInfo5"],"kind":"struct"},"7905":{"crate_id":1,"path":["std","sync","mpmc","context","Inner"],"kind":"struct"},"9994":{"crate_id":27,"path":["libc","unix","FILE"],"kind":"enum"},"8232":{"crate_id":2,"path":["core","str","error","ParseBoolError"],"kind":"struct"},"10321":{"crate_id":29,"path":["tracing_core","sealed","Sealed"],"kind":"trait"},"8559":{"crate_id":2,"path":["core","core_simd","swizzle","rotate_elements_left","Rotate"],"kind":"struct"},"10648":{"crate_id":39,"path":["gimli","read","aranges","ArangeEntry"],"kind":"struct"},"8886":{"crate_id":5,"path":["libc","unix","linux_like","linux","pthread_condattr_t"],"kind":"struct"},"10975":{"crate_id":40,"path":["object","read","RelocationTarget"],"kind":"enum"},"9213":{"crate_id":16,"path":["gimli","read","util","sealed","CapacityFull"],"kind":"struct"},"11302":{"crate_id":45,"path":["signal_hook_registry","SignalData"],"kind":"struct"},"9540":{"crate_id":17,"path":["object","read","macho","exports_trie","ExportSymbol"],"kind":"struct"},"7778":{"crate_id":2,"path":["core","sync","atomic","Ordering","Release"],"kind":"variant"},"8105":{"crate_id":1,"path":["std","io","FromEndianBytes"],"kind":"trait"},"9867":{"crate_id":18,"path":["memchr","arch","generic","memchr","Three"],"kind":"struct"},"1057":{"crate_id":0,"path":["tokio","io","bsd","poll_aio","AioEvent"],"kind":"struct"},"10194":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","fpos64_t"],"kind":"struct"},"8432":{"crate_id":2,"path":["core","iter","adapters","by_ref_sized","ByRefSized"],"kind":"struct"},"8759":{"crate_id":5,"path":["libc","unix","tms"],"kind":"struct"},"10521":{"crate_id":39,"path":["gimli","common","LocationListsOffset"],"kind":"struct"},"5235":{"crate_id":0,"path":["tokio","sync","mpsc","error","SendTimeoutError"],"kind":"enum"},"10848":{"crate_id":40,"path":["object","read","elf","relocation","CrelIterator"],"kind":"struct"},"9086":{"crate_id":10,"path":["hashbrown","map","IntoValues"],"kind":"struct"},"9413":{"crate_id":17,"path":["object","read","symbol_map","SymbolMap"],"kind":"struct"},"7651":{"crate_id":20,"path":["pin_project_lite","pin_project"],"kind":"macro"},"11175":{"crate_id":40,"path":["object","xcoff","FunAux64"],"kind":"struct"},"9740":{"crate_id":17,"path":["object","pe","ImageRomHeaders"],"kind":"struct"},"7978":{"crate_id":1,"path":["std","sys","process","unix","common","Stdio"],"kind":"enum"},"10067":{"crate_id":27,"path":["libc","unix","linux_like","linux","fanotify_response"],"kind":"struct"},"8305":{"crate_id":2,"path":["core","slice","iter","Windows"],"kind":"struct"},"10394":{"crate_id":33,"path":["io_uring","sys","io_uring_buf_reg"],"kind":"struct"},"8632":{"crate_id":3,"path":["alloc","boxed","iter","BoxedArrayIntoIter"],"kind":"struct"},"8959":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","tcp_info"],"kind":"struct"},"10721":{"crate_id":39,"path":["gimli","read","unit","UnitHeader"],"kind":"struct"},"5435":{"crate_id":0,"path":["tokio","sync","mpsc","unbounded","UnboundedReceiver"],"kind":"struct"},"11048":{"crate_id":40,"path":["object","macho","DylinkerCommand"],"kind":"struct"},"9286":{"crate_id":16,"path":["gimli","read","line","LineSequence"],"kind":"struct"},"5762":{"crate_id":0,"path":["tokio","sync","mutex","OwnedMappedMutexGuard"],"kind":"struct"},"9613":{"crate_id":17,"path":["object","read","SymbolIndex"],"kind":"struct"},"7851":{"crate_id":1,"path":["std","env","VarsOs"],"kind":"struct"},"11375":{"crate_id":12,"path":["std_detect"],"kind":"module"},"8178":{"crate_id":2,"path":["core","num","niche_types","NonZeroCharInner"],"kind":"struct"},"9940":{"crate_id":25,"path":["smallvec","CollectionAllocErr"],"kind":"enum"},"10267":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","ifconf"],"kind":"struct"},"8505":{"crate_id":2,"path":["core","marker","ConstParamTy_"],"kind":"trait"},"10594":{"crate_id":39,"path":["gimli","read","cfi","EhHdrTableIter"],"kind":"struct"},"8832":{"crate_id":5,"path":["libc","unix","linux_like","linux","__c_anonymous__kernel_fsid_t"],"kind":"struct"},"10921":{"crate_id":40,"path":["object","read","pe","section","PeSection"],"kind":"struct"},"9159":{"crate_id":16,"path":["gimli","common","DebugStrOffsetsIndex"],"kind":"struct"},"11248":{"crate_id":41,"path":["memchr","arch","generic","memchr","One"],"kind":"struct"},"7724":{"crate_id":2,"path":["core","sync","atomic","AtomicUsize"],"kind":"type_alias"},"9486":{"crate_id":17,"path":["object","read","elf","relocation","RelocationSections"],"kind":"struct"},"9813":{"crate_id":17,"path":["object","xcoff","Symbol32"],"kind":"struct"},"8051":{"crate_id":1,"path":["std","backtrace_rs","symbolize","gimli","Cache"],"kind":"struct"},"8378":{"crate_id":2,"path":["core","core_arch","x86","__m128bh"],"kind":"struct"},"10140":{"crate_id":27,"path":["libc","unix","linux_like","linux","pthread_cond_t"],"kind":"struct"},"10467":{"crate_id":35,"path":["slab","Iter"],"kind":"struct"},"8705":{"crate_id":3,"path":["alloc","collections","btree","node","marker","Owned"],"kind":"enum"},"3419":{"crate_id":0,"path":["tokio","process","Child"],"kind":"struct"},"9032":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","dirent64"],"kind":"struct"},"10794":{"crate_id":40,"path":["object","read","any","Symbol"],"kind":"struct"},"11121":{"crate_id":40,"path":["object","pe","ImageImportDescriptor"],"kind":"struct"},"9359":{"crate_id":16,"path":["gimli","read","rnglists","RngListIter"],"kind":"struct"},"549":{"crate_id":2,"path":["core","ops","deref","DerefMut"],"kind":"trait"},"9686":{"crate_id":17,"path":["object","macho","DylibUseCommand"],"kind":"struct"},"7924":{"crate_id":1,"path":["std","sync","mpsc","Sender"],"kind":"struct"},"10013":{"crate_id":27,"path":["libc","unix","linux_like","arpreq"],"kind":"struct"},"8251":{"crate_id":2,"path":["core","error","Source"],"kind":"struct"},"10340":{"crate_id":32,"path":["bytes","buf","take","Take"],"kind":"struct"},"8578":{"crate_id":2,"path":["core","core_simd","simd","num","float","SimdFloat"],"kind":"trait"},"10667":{"crate_id":39,"path":["gimli","read","line","FileEntryFormat"],"kind":"struct"},"8905":{"crate_id":5,"path":["libc","unix","linux_like","linux","mount_attr"],"kind":"struct"},"3619":{"crate_id":0,"path":["tokio","process"],"kind":"module"},"10994":{"crate_id":40,"path":["object","elf","Sym64"],"kind":"struct"},"9232":{"crate_id":16,"path":["gimli","read","cfi","AugmentationData"],"kind":"struct"},"422":{"crate_id":1,"path":["std","fs","FileType"],"kind":"struct"},"7797":{"crate_id":3,"path":["alloc","vec","Recyclable"],"kind":"trait"},"9559":{"crate_id":17,"path":["object","read","macho","symbol","SymbolTable"],"kind":"struct"},"11321":{"crate_id":3,"path":["alloc","alloc","alloc"],"kind":"function"},"9886":{"crate_id":18,"path":["memchr","memmem","Finder"],"kind":"struct"},"8124":{"crate_id":1,"path":["std","os","unix","fs","DirEntryExt2"],"kind":"trait"},"8451":{"crate_id":2,"path":["core","slice","iter","SplitNMut"],"kind":"struct"},"10213":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","stack_t"],"kind":"struct"},"10540":{"crate_id":39,"path":["gimli","common","DwarfFileType"],"kind":"enum"},"8778":{"crate_id":5,"path":["libc","unix","linux_like","lconv"],"kind":"struct"},"5254":{"crate_id":0,"path":["tokio","sync","mpsc","bounded","WeakSender"],"kind":"struct"},"9105":{"crate_id":10,"path":["hashbrown","map","VacantEntryRef"],"kind":"struct"},"10867":{"crate_id":40,"path":["object","read","elf","attributes","AttributesSubsection"],"kind":"struct"},"11194":{"crate_id":40,"path":["object","read","coff","symbol","ImageSymbol"],"kind":"trait"},"9432":{"crate_id":17,"path":["object","read","any","ComdatIterator"],"kind":"struct"},"7670":{"crate_id":27,"path":["libc","unix","linux_like","statx"],"kind":"function"},"9759":{"crate_id":17,"path":["object","pe","ImageArchiveMemberHeader"],"kind":"struct"},"7997":{"crate_id":1,"path":["std","backtrace_rs","types","BytesOrWideString"],"kind":"enum"},"10086":{"crate_id":27,"path":["libc","unix","linux_like","linux","sctp_sndinfo"],"kind":"struct"},"8324":{"crate_id":2,"path":["core","str","iter","MatchIndicesInternal"],"kind":"struct"},"8651":{"crate_id":3,"path":["alloc","collections","btree","set","Range"],"kind":"struct"},"10413":{"crate_id":33,"path":["io_uring","types","_","InternalBitFlags"],"kind":"struct"},"10740":{"crate_id":39,"path":["gimli","read","cfi","UnwindOffset"],"kind":"trait"},"8978":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","sigaction"],"kind":"struct"},"3692":{"crate_id":0,"path":["tokio","runtime","task","id","Id"],"kind":"struct"},"9305":{"crate_id":16,"path":["gimli","read","lookup","PubSetHeader"],"kind":"struct"},"11067":{"crate_id":40,"path":["object","macho","VersionMinCommand"],"kind":"struct"},"11394":{"crate_id":32,"path":["bytes"],"kind":"module"},"7870":{"crate_id":1,"path":["std","io","stdio","StdinLock"],"kind":"struct"},"9632":{"crate_id":17,"path":["object","elf","SectionHeader32"],"kind":"struct"},"9959":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","can_frame"],"kind":"struct"},"8197":{"crate_id":2,"path":["core","marker","variance","PhantomCovariant"],"kind":"struct"},"10286":{"crate_id":29,"path":["tracing_core","callsite","Identifier"],"kind":"struct"},"8524":{"crate_id":2,"path":["core","ops","coroutine","Coroutine"],"kind":"trait"},"10613":{"crate_id":39,"path":["gimli","read","cfi","UnwindTableRow"],"kind":"struct"},"8851":{"crate_id":5,"path":["libc","unix","linux_like","linux","ptp_sys_offset_extended"],"kind":"struct"},"10940":{"crate_id":40,"path":["object","read","pe","resource","ResourceNameOrId"],"kind":"enum"},"9178":{"crate_id":16,"path":["gimli","constants","DwUt"],"kind":"struct"},"11267":{"crate_id":41,"path":["memchr","memmem","FindIter"],"kind":"struct"},"9505":{"crate_id":17,"path":["object","read","elf","version","VersionIndex"],"kind":"struct"},"7743":{"crate_id":2,"path":["core","hash","macros","Hash"],"kind":"proc_derive"},"8070":{"crate_id":2,"path":["core","iter","adapters","map_while","MapWhile"],"kind":"struct"},"9832":{"crate_id":18,"path":["memchr","arch","all","memchr","One"],"kind":"struct"},"10159":{"crate_id":27,"path":["libc","unix","linux_like","linux","iwreq_data"],"kind":"union"},"8397":{"crate_id":2,"path":["core","mem","type_info","Struct"],"kind":"struct"},"8724":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","netlink","can_clock"],"kind":"struct"},"10486":{"crate_id":36,"path":["backtrace","lock","LockGuard"],"kind":"struct"},"10813":{"crate_id":40,"path":["object","read","coff","section","CoffSegmentIterator"],"kind":"struct"},"9051":{"crate_id":9,"path":["adler2","Adler32"],"kind":"struct"},"9378":{"crate_id":16,"path":["gimli","read","unit","DebugTypes"],"kind":"struct"},"11140":{"crate_id":40,"path":["object","pe","ImageHotPatchInfo"],"kind":"struct"},"568":{"crate_id":0,"path":["tokio","io","util","buf_stream","BufStream"],"kind":"struct"},"9705":{"crate_id":17,"path":["object","macho","UuidCommand"],"kind":"struct"},"6181":{"crate_id":0,"path":["tokio","sync","semaphore","SemaphorePermit"],"kind":"struct"},"7943":{"crate_id":1,"path":["std","sync","nonpoison","mutex","MutexGuard"],"kind":"struct"},"10032":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket_auxdata"],"kind":"struct"},"8270":{"crate_id":2,"path":["core","io","io_slice","repr","IoSlice"],"kind":"struct"},"10359":{"crate_id":33,"path":["io_uring","squeue","PushError"],"kind":"struct"},"8597":{"crate_id":3,"path":["alloc","collections","btree","map","drop","DropGuard"],"kind":"struct"},"10686":{"crate_id":39,"path":["gimli","read","macros","MacroIter"],"kind":"struct"},"8924":{"crate_id":5,"path":["libc","unix","linux_like","linux","af_alg_iv"],"kind":"struct"},"11013":{"crate_id":40,"path":["object","elf","NoteHeader64"],"kind":"struct"},"9251":{"crate_id":16,"path":["gimli","read","dwarf","DwarfPackage"],"kind":"struct"},"11340":{"crate_id":2,"path":["core","pin"],"kind":"module"},"9578":{"crate_id":17,"path":["object","read","pe","import","ImportDescriptorIterator"],"kind":"struct"},"7816":{"crate_id":2,"path":["core","fmt","Error"],"kind":"struct"},"8143":{"crate_id":2,"path":["core","num","imp","bignum","Big32x40"],"kind":"struct"},"9905":{"crate_id":22,"path":["lock_api","rwlock","RawRwLockDowngrade"],"kind":"trait"},"10232":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","not_x32","statvfs"],"kind":"struct"},"8470":{"crate_id":2,"path":["core","fmt","UpperHex"],"kind":"trait"},"8797":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket_versions"],"kind":"enum"},"10559":{"crate_id":39,"path":["gimli","constants","DwDs"],"kind":"struct"},"3511":{"crate_id":1,"path":["std","process","ChildStdin"],"kind":"struct"},"10886":{"crate_id":40,"path":["object","read","macho","dyld_cache","RelocationStateV3"],"kind":"enum"},"9124":{"crate_id":13,"path":["rustc_demangle","Demangle"],"kind":"struct"},"9451":{"crate_id":17,"path":["object","read","archive","ArchiveMember"],"kind":"struct"},"7689":{"crate_id":1,"path":["std","os","unix","prelude"],"kind":"module"},"11213":{"crate_id":40,"path":["object","read","xcoff","symbol","CsectAux"],"kind":"trait"},"9778":{"crate_id":17,"path":["object","pe","ImageDynamicRelocation64"],"kind":"struct"},"8016":{"crate_id":1,"path":["std","sync","mpmc","counter","Sender"],"kind":"struct"},"8343":{"crate_id":2,"path":["core","str","pattern","CharSliceSearcher"],"kind":"struct"},"10105":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_missed"],"kind":"struct"},"10432":{"crate_id":33,"path":["io_uring","opcode","SyncFileRange"],"kind":"struct"},"6908":{"crate_id":1,"path":["std","thread","functions","spawn"],"kind":"function"},"8670":{"crate_id":3,"path":["alloc","wtf8","Wtf8Buf"],"kind":"struct"},"3384":{"crate_id":0,"path":["tokio","net"],"kind":"module"},"8997":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","ptrace_rseq_configuration"],"kind":"struct"},"7235":{"crate_id":0,"path":["tokio","task","futures"],"kind":"module"},"10759":{"crate_id":40,"path":["object","endian","BigEndian"],"kind":"struct"},"187":{"crate_id":2,"path":["core","fmt","Formatter"],"kind":"struct"},"9324":{"crate_id":16,"path":["gimli","read","names","NameEntry"],"kind":"struct"},"11086":{"crate_id":40,"path":["object","pe","ImageVxdHeader"],"kind":"struct"},"514":{"crate_id":0,"path":["tokio","io","util","buf_writer","BufWriter"],"kind":"struct"},"9651":{"crate_id":17,"path":["object","elf","Verdef"],"kind":"struct"},"7889":{"crate_id":1,"path":["std","path","Component"],"kind":"enum"},"11413":{"crate_id":1,"path":["std","unit"],"kind":"primitive"},"9978":{"crate_id":27,"path":["libc","unix","utimbuf"],"kind":"struct"},"8216":{"crate_id":2,"path":["core","ffi","c_str","FromBytesWithNulError"],"kind":"enum"},"10305":{"crate_id":29,"path":["tracing_core","field","HexBytes"],"kind":"struct"},"8543":{"crate_id":2,"path":["core","cell","CloneFromCell"],"kind":"trait"},"10632":{"crate_id":39,"path":["gimli","read","endian_slice","DebugByte"],"kind":"struct"},"8870":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_param"],"kind":"struct"},"10959":{"crate_id":40,"path":["object","read","traits","NoDynamicRelocationIterator"],"kind":"struct"},"9197":{"crate_id":16,"path":["gimli","constants","DwDsc"],"kind":"struct"},"2149":{"crate_id":2,"path":["core","iter","traits","iterator","Iterator"],"kind":"trait"},"11286":{"crate_id":42,"path":["miniz_oxide","DataFormat"],"kind":"enum"},"7762":{"crate_id":2,"path":["core","cell","Cell"],"kind":"struct"},"9524":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldCacheMappingSlice"],"kind":"enum"},"4238":{"crate_id":0,"path":["tokio","runtime","dump"],"kind":"module"},"9851":{"crate_id":18,"path":["memchr","arch","x86_64","sse2","memchr","Three"],"kind":"struct"},"8089":{"crate_id":1,"path":["std","os","unix","net","ancillary","ScmRights"],"kind":"struct"},"8416":{"crate_id":2,"path":["core","error","tags","Ref"],"kind":"struct"},"10178":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","regex_t"],"kind":"struct"},"10505":{"crate_id":38,"path":["addr2line","unit","SupUnits"],"kind":"struct"},"8743":{"crate_id":5,"path":["libc","new","linux_uapi","linux","pidfd","pidfd_info"],"kind":"struct"},"9070":{"crate_id":10,"path":["hashbrown","map","Values"],"kind":"struct"},"10832":{"crate_id":40,"path":["object","read","elf","segment","ElfSegmentIterator"],"kind":"struct"},"11159":{"crate_id":40,"path":["object","pe","ImportObjectHeader"],"kind":"struct"},"9397":{"crate_id":17,"path":["object","common","SectionFlags"],"kind":"enum"},"9724":{"crate_id":17,"path":["object","macho","Nlist32"],"kind":"struct"},"7962":{"crate_id":1,"path":["std","sys","fs","unix","dir","Dir"],"kind":"struct"},"10051":{"crate_id":27,"path":["libc","unix","linux_like","linux","ff_trigger"],"kind":"struct"},"8289":{"crate_id":2,"path":["core","result","IntoIter"],"kind":"struct"},"10378":{"crate_id":33,"path":["io_uring","sys","io_cqring_offsets"],"kind":"struct"},"8616":{"crate_id":3,"path":["alloc","string","Drain"],"kind":"struct"},"10705":{"crate_id":39,"path":["gimli","read","rnglists","DebugRanges"],"kind":"struct"},"8943":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","cmsghdr"],"kind":"struct"},"11032":{"crate_id":40,"path":["object","macho","MachHeader64"],"kind":"struct"},"9270":{"crate_id":16,"path":["gimli","read","aranges","ArangeHeaderIter"],"kind":"struct"},"3984":{"crate_id":0,"path":["tokio","runtime","metrics","histogram","HistogramConfiguration"],"kind":"struct"},"460":{"crate_id":0,"path":["tokio","fs","rename","rename"],"kind":"function"},"7835":{"crate_id":1,"path":["std","collections","hash","map","IntoKeys"],"kind":"struct"},"9597":{"crate_id":17,"path":["object","read","xcoff","symbol","SymbolTable"],"kind":"struct"},"11359":{"crate_id":40,"path":["object","elf","PT_LOAD"],"kind":"constant"},"9924":{"crate_id":22,"path":["lock_api","rwlock","RwLockUpgradableReadGuard"],"kind":"struct"},"8162":{"crate_id":2,"path":["core","num","niche_types","NonZeroU16Inner"],"kind":"struct"},"8489":{"crate_id":2,"path":["core","mem","maybe_uninit","Guard"],"kind":"struct"},"10251":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","__c_anonymous_elf32_rel"],"kind":"struct"},"10578":{"crate_id":39,"path":["gimli","constants","DwRle"],"kind":"struct"},"8816":{"crate_id":5,"path":["libc","unix","linux_like","linux","input_id"],"kind":"struct"},"9143":{"crate_id":16,"path":["gimli","common","DebugArangesOffset"],"kind":"struct"},"7381":{"crate_id":2,"path":["core","ops","arith","AddAssign"],"kind":"trait"},"10905":{"crate_id":40,"path":["object","read","macho","section","MachOSectionIterator"],"kind":"struct"},"11232":{"crate_id":41,"path":["memchr","arch","x86_64","sse2","memchr","One"],"kind":"struct"},"9470":{"crate_id":17,"path":["object","read","coff","comdat","CoffComdat"],"kind":"struct"},"7708":{"crate_id":27,"path":["libc","unix","linux_like","linux","arch","generic","SO_PEERCRED"],"kind":"constant"},"4184":{"crate_id":0,"path":["tokio","runtime","dump","Backtrace"],"kind":"struct"},"8035":{"crate_id":1,"path":["std","sys","fs","unix","DirStream"],"kind":"struct"},"6273":{"crate_id":0,"path":["tokio","sync","rwlock","RwLock"],"kind":"struct"},"9797":{"crate_id":17,"path":["object","pe","ImageCoffSymbolsHeader"],"kind":"struct"},"10124":{"crate_id":27,"path":["libc","unix","linux_like","linux","xdp_mmap_offsets"],"kind":"struct"},"8362":{"crate_id":2,"path":["core","future","pending","Pending"],"kind":"struct"},"4838":{"crate_id":0,"path":["tokio","signal","unix"],"kind":"module"},"8689":{"crate_id":3,"path":["alloc","collections","btree","set","entry","OccupiedEntry"],"kind":"struct"},"10451":{"crate_id":33,"path":["io_uring","types","CancelBuilder"],"kind":"struct"},"10778":{"crate_id":40,"path":["object","read","any","SegmentIterator"],"kind":"struct"},"7254":{"crate_id":0,"path":["tokio","time","clock","pause"],"kind":"function"},"9016":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","Elf64_Sym"],"kind":"struct"},"9343":{"crate_id":16,"path":["gimli","read","pubnames","PubNamesSetIter"],"kind":"struct"},"11105":{"crate_id":40,"path":["object","pe","ImageAuxSymbolTokenDef"],"kind":"struct"},"11432":{"crate_id":1,"path":["std","u128"],"kind":"primitive"},"9670":{"crate_id":17,"path":["object","macho","DyldSubCacheEntryV2"],"kind":"struct"},"7908":{"crate_id":1,"path":["std","sync","mpmc","list","ListToken"],"kind":"struct"},"9997":{"crate_id":27,"path":["libc","unix","linux_like","ip_mreq"],"kind":"struct"},"8235":{"crate_id":2,"path":["core","str","lossy","Utf8Chunk"],"kind":"struct"},"10324":{"crate_id":30,"path":["once_cell","unsync","Lazy"],"kind":"struct"},"8562":{"crate_id":2,"path":["core","core_simd","swizzle","shift_elements_right","Shift"],"kind":"struct"},"10651":{"crate_id":39,"path":["gimli","read","index","UnitIndex"],"kind":"struct"},"8889":{"crate_id":5,"path":["libc","unix","linux_like","linux","ptp_sys_offset"],"kind":"struct"},"10978":{"crate_id":40,"path":["object","read","RelocationMapEntry"],"kind":"struct"},"9216":{"crate_id":16,"path":["gimli","read","addr","AddrHeaderIter"],"kind":"struct"},"11305":{"crate_id":47,"path":["socket2","sockaddr","SockAddrStorage"],"kind":"struct"},"9543":{"crate_id":17,"path":["object","read","macho","exports_trie","ExportData"],"kind":"enum"},"7781":{"crate_id":2,"path":["core","result","Iter"],"kind":"struct"},"8108":{"crate_id":2,"path":["core","io","util","Empty"],"kind":"struct"},"9870":{"crate_id":18,"path":["memchr","arch","x86_64","avx2","memchr","OneIter"],"kind":"struct"},"10197":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","utmpx"],"kind":"struct"},"8435":{"crate_id":2,"path":["core","panicking","AssertKind"],"kind":"enum"},"8762":{"crate_id":5,"path":["libc","unix","in6_addr"],"kind":"struct"},"10524":{"crate_id":39,"path":["gimli","common","DebugMacinfoOffset"],"kind":"struct"},"10851":{"crate_id":40,"path":["object","read","elf","comdat","ElfComdatSectionIterator"],"kind":"struct"},"9089":{"crate_id":10,"path":["hashbrown","map","IntoIter"],"kind":"struct"},"279":{"crate_id":1,"path":["std","os","fd","owned","BorrowedFd"],"kind":"struct"},"9416":{"crate_id":17,"path":["object","read","symbol_map","ObjectMapEntry"],"kind":"struct"},"7654":{"crate_id":1,"path":["std","io","prelude"],"kind":"module"},"11178":{"crate_id":40,"path":["object","xcoff","BlockAux64"],"kind":"struct"},"9743":{"crate_id":17,"path":["object","pe","AnonObjectHeaderV2"],"kind":"struct"},"7981":{"crate_id":1,"path":["std","sys","process","unix","common","ExitCode"],"kind":"struct"},"10070":{"crate_id":27,"path":["libc","unix","linux_like","linux","sockaddr_vm"],"kind":"struct"},"8308":{"crate_id":2,"path":["core","slice","iter","ArrayWindows"],"kind":"struct"},"10397":{"crate_id":33,"path":["io_uring","sys","io_uring_reg_wait"],"kind":"struct"},"8635":{"crate_id":3,"path":["alloc","collections","binary_heap","Iter"],"kind":"struct"},"10724":{"crate_id":39,"path":["gimli","read","unit","Attribute"],"kind":"struct"},"8962":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","sem_t"],"kind":"struct"},"1914":{"crate_id":2,"path":["core","io","util","Repeat"],"kind":"struct"},"152":{"crate_id":2,"path":["core","panic","unwind_safe","UnwindSafe"],"kind":"trait"},"9289":{"crate_id":16,"path":["gimli","read","line","CompleteLineProgram"],"kind":"struct"},"11051":{"crate_id":40,"path":["object","macho","RoutinesCommand64"],"kind":"struct"},"9616":{"crate_id":17,"path":["object","read","Export"],"kind":"struct"},"7854":{"crate_id":1,"path":["std","env","JoinPathsError"],"kind":"struct"},"11378":{"crate_id":15,"path":["addr2line"],"kind":"module"},"8181":{"crate_id":2,"path":["core","hint","Locality"],"kind":"enum"},"9943":{"crate_id":25,"path":["smallvec","SmallVec"],"kind":"struct"},"10270":{"crate_id":29,"path":["tracing_core","metadata","Metadata"],"kind":"struct"},"8508":{"crate_id":2,"path":["core","ops","range","OneSidedRange"],"kind":"trait"},"6746":{"crate_id":0,"path":["tokio","sync","watch","error","RecvError"],"kind":"struct"},"8835":{"crate_id":5,"path":["libc","unix","linux_like","linux","genlmsghdr"],"kind":"struct"},"10597":{"crate_id":39,"path":["gimli","read","cfi","CieOffsetEncoding"],"kind":"enum"},"3549":{"crate_id":1,"path":["std","process","ChildStdout"],"kind":"struct"},"10924":{"crate_id":40,"path":["object","read","pe","export","Export"],"kind":"struct"},"9162":{"crate_id":16,"path":["gimli","common","DebugFrameOffset"],"kind":"struct"},"7400":{"crate_id":0,"path":["tokio","time","interval","interval"],"kind":"function"},"11251":{"crate_id":41,"path":["memchr","arch","generic","memchr","Iter"],"kind":"struct"},"7727":{"crate_id":1,"path":["std","sync","poison","TryLockError"],"kind":"enum"},"9489":{"crate_id":17,"path":["object","read","elf","relocation","RelrIterator"],"kind":"struct"},"9816":{"crate_id":17,"path":["object","xcoff","FileAux64"],"kind":"struct"},"8054":{"crate_id":2,"path":["core","ops","index","Index"],"kind":"trait"},"8381":{"crate_id":2,"path":["core","core_arch","x86","__m128h"],"kind":"struct"},"10143":{"crate_id":27,"path":["libc","unix","linux_like","linux","pthread_barrier_t"],"kind":"struct"},"10470":{"crate_id":35,"path":["slab","IntoIter"],"kind":"struct"},"6946":{"crate_id":0,"path":["tokio","task","coop","RestoreOnPending"],"kind":"struct"},"8708":{"crate_id":3,"path":["alloc","task","local_waker_fn","LocalWakeFn"],"kind":"struct"},"9035":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","__c_anonymous_ifr_ifru"],"kind":"union"},"10797":{"crate_id":40,"path":["object","read","any","SectionRelocationIterator"],"kind":"struct"},"225":{"crate_id":0,"path":["tokio","io","async_write","AsyncWrite"],"kind":"trait"},"9362":{"crate_id":16,"path":["gimli","read","str","DebugStr"],"kind":"struct"},"11124":{"crate_id":40,"path":["object","pe","ImageDelayloadDescriptor"],"kind":"struct"},"9689":{"crate_id":17,"path":["object","macho","SubUmbrellaCommand"],"kind":"struct"},"7927":{"crate_id":1,"path":["std","sync","mpsc","SendError"],"kind":"struct"},"10016":{"crate_id":27,"path":["libc","unix","linux_like","mmsghdr"],"kind":"struct"},"8254":{"crate_id":2,"path":["core","ascii","EscapeDefault"],"kind":"struct"},"10343":{"crate_id":32,"path":["bytes","buf","limit","Limit"],"kind":"struct"},"8581":{"crate_id":2,"path":["core","core_simd","simd","ptr","const_ptr","SimdConstPtr"],"kind":"trait"},"10670":{"crate_id":39,"path":["gimli","read","loclists","DebugLocLists"],"kind":"struct"},"8908":{"crate_id":5,"path":["libc","unix","linux_like","linux","dmabuf_token"],"kind":"struct"},"10997":{"crate_id":40,"path":["object","elf","Rel32"],"kind":"struct"},"9235":{"crate_id":16,"path":["gimli","read","cfi","FrameDescriptionEntry"],"kind":"struct"},"11324":{"crate_id":2,"path":["core","mem","take"],"kind":"function"},"7800":{"crate_id":3,"path":["alloc","raw_vec","RawVec"],"kind":"struct"},"9562":{"crate_id":17,"path":["object","read","macho","symbol","MachOSymbol"],"kind":"struct"},"4276":{"crate_id":0,"path":["tokio","task","blocking","block_in_place"],"kind":"function"},"9889":{"crate_id":18,"path":["memchr","arch","all","twoway","Suffix"],"kind":"struct"},"8127":{"crate_id":3,"path":["alloc","rc","UniqueRc"],"kind":"struct"},"8454":{"crate_id":2,"path":["core","slice","iter","ChunksExactMut"],"kind":"struct"},"10216":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","statfs64"],"kind":"struct"},"10543":{"crate_id":39,"path":["gimli","arch","LoongArch"],"kind":"struct"},"8781":{"crate_id":5,"path":["libc","unix","linux_like","in6_rtmsg"],"kind":"struct"},"9108":{"crate_id":10,"path":["hashbrown","rustc_entry","RustcOccupiedEntry"],"kind":"struct"},"10870":{"crate_id":40,"path":["object","read","elf","attributes","AttributeIndexIterator"],"kind":"struct"},"11197":{"crate_id":40,"path":["object","read","elf","compression","CompressionHeader"],"kind":"trait"},"9435":{"crate_id":17,"path":["object","read","any","ComdatSectionIterator"],"kind":"struct"},"7673":{"crate_id":1,"path":["std","os","unix","ffi","os_str","OsStrExt"],"kind":"trait"},"9762":{"crate_id":17,"path":["object","pe","ImageThunkData64"],"kind":"struct"},"8000":{"crate_id":1,"path":["std","sys","thread_local","native","eager","State"],"kind":"enum"},"10089":{"crate_id":27,"path":["libc","unix","linux_like","linux","sctp_prinfo"],"kind":"struct"},"6565":{"crate_id":0,"path":["tokio","sync","once_cell","SetError","InitializingError"],"kind":"variant"},"8327":{"crate_id":2,"path":["core","str","iter","MatchesInternal"],"kind":"struct"},"10416":{"crate_id":33,"path":["io_uring","types","OpenHow"],"kind":"struct"},"8654":{"crate_id":3,"path":["alloc","collections","btree","set","Intersection"],"kind":"struct"},"10743":{"crate_id":40,"path":["object","common","SubArchitecture"],"kind":"enum"},"8981":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","flock64"],"kind":"struct"},"171":{"crate_id":2,"path":["core","result","Result"],"kind":"enum"},"9308":{"crate_id":16,"path":["gimli","read","macros","DebugMacro"],"kind":"struct"},"11070":{"crate_id":40,"path":["object","macho","DyldInfoCommand"],"kind":"struct"},"11397":{"crate_id":35,"path":["slab"],"kind":"module"},"7873":{"crate_id":1,"path":["std","io","Bytes"],"kind":"struct"},"9635":{"crate_id":17,"path":["object","elf","CompressionHeader64"],"kind":"struct"},"9962":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","sockaddr_can"],"kind":"struct"},"8200":{"crate_id":2,"path":["core","ops","coroutine","CoroutineState"],"kind":"enum"},"8527":{"crate_id":2,"path":["core","marker","variance","private_items","PrivateItems"],"kind":"trait"},"10289":{"crate_id":29,"path":["tracing_core","field","DisplayValue"],"kind":"struct"},"10616":{"crate_id":39,"path":["gimli","read","cfi","CallFrameInstruction"],"kind":"enum"},"8854":{"crate_id":5,"path":["libc","unix","linux_like","linux","sctp_initmsg"],"kind":"struct"},"10943":{"crate_id":40,"path":["object","read","xcoff","file","XcoffFile"],"kind":"struct"},"9181":{"crate_id":16,"path":["gimli","constants","DwTag"],"kind":"struct"},"11270":{"crate_id":41,"path":["memchr","memmem","FinderRev"],"kind":"struct"},"9508":{"crate_id":17,"path":["object","read","elf","version","VerdefIterator"],"kind":"struct"},"7746":{"crate_id":2,"path":["core","sync","atomic","AtomicBool"],"kind":"type_alias"},"8073":{"crate_id":2,"path":["core","iter","adapters","scan","Scan"],"kind":"struct"},"9835":{"crate_id":18,"path":["memchr","arch","all","packedpair","Finder"],"kind":"struct"},"10162":{"crate_id":27,"path":["libc","unix","linux_like","linux","iwreq"],"kind":"struct"},"8400":{"crate_id":2,"path":["core","mem","type_info","Variant"],"kind":"struct"},"8727":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","netlink","can_device_stats"],"kind":"struct"},"10489":{"crate_id":37,"path":["rustc_demangle","legacy","Demangle"],"kind":"struct"},"10816":{"crate_id":40,"path":["object","read","coff","section","CoffSection"],"kind":"struct"},"9054":{"crate_id":10,"path":["hashbrown","control","tag","Tag"],"kind":"struct"},"9381":{"crate_id":16,"path":["gimli","read","value","Value"],"kind":"enum"},"11143":{"crate_id":40,"path":["object","pe","ImageArmRuntimeFunctionEntry"],"kind":"struct"},"9708":{"crate_id":17,"path":["object","macho","LinkeditDataCommand"],"kind":"struct"},"7946":{"crate_id":1,"path":["std","sync","nonpoison","rwlock","RwLockReadGuard"],"kind":"struct"},"4422":{"crate_id":0,"path":["tokio","task","local","spawn_local"],"kind":"function"},"10035":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket2_hdr"],"kind":"struct"},"8273":{"crate_id":2,"path":["core","iter","adapters","map_windows","MapWindowsInner"],"kind":"struct"},"10362":{"crate_id":33,"path":["io_uring","sys","__BindgenUnionField"],"kind":"struct"},"8600":{"crate_id":3,"path":["alloc","collections","linked_list","LinkedList"],"kind":"struct"},"1552":{"crate_id":0,"path":["tokio","io","util","write","Write"],"kind":"struct"},"3314":{"crate_id":0,"path":["tokio","net","windows","named_pipe","PipeEnd","Server"],"kind":"variant"},"8927":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket_block_desc"],"kind":"struct"},"10689":{"crate_id":39,"path":["gimli","read","op","OperationEvaluationResult"],"kind":"enum"},"117":{"crate_id":2,"path":["core","convert","AsRef"],"kind":"trait"},"9254":{"crate_id":16,"path":["gimli","read","dwarf","RangeIter"],"kind":"struct"},"11016":{"crate_id":40,"path":["object","macho","PtrauthKey"],"kind":"enum"},"444":{"crate_id":0,"path":["tokio","fs","read_link","read_link"],"kind":"function"},"9581":{"crate_id":17,"path":["object","read","pe","import","DelayLoadImportTable"],"kind":"struct"},"7819":{"crate_id":1,"path":["std","backtrace","BacktraceStatus"],"kind":"enum"},"6057":{"crate_id":0,"path":["tokio","sync","oneshot","Sender"],"kind":"struct"},"11343":{"crate_id":2,"path":["core","iter","adapters","zip","zip"],"kind":"function"},"8146":{"crate_id":2,"path":["core","num","imp","dec2flt","decimal","Decimal"],"kind":"struct"},"9908":{"crate_id":22,"path":["lock_api","rwlock","RawRwLockRecursiveTimed"],"kind":"trait"},"10235":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","passwd"],"kind":"struct"},"8473":{"crate_id":2,"path":["core","sync","atomic","AtomicPrimitive"],"kind":"trait"},"8800":{"crate_id":5,"path":["libc","unix","linux_like","linux","fanout_args"],"kind":"struct"},"10562":{"crate_id":39,"path":["gimli","constants","DwVis"],"kind":"struct"},"1752":{"crate_id":0,"path":["tokio","io","util","copy_buf","copy_buf"],"kind":"function"},"10889":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldCacheRelocationIteratorV5"],"kind":"struct"},"9127":{"crate_id":13,"path":["rustc_demangle","SizeLimitExhausted"],"kind":"struct"},"9454":{"crate_id":17,"path":["object","read","archive","SymbolIteratorInternal"],"kind":"enum"},"7692":{"crate_id":47,"path":["socket2","socket","Socket"],"kind":"struct"},"11216":{"crate_id":41,"path":["memchr","arch","all","memchr","Two"],"kind":"struct"},"9781":{"crate_id":17,"path":["object","pe","ImagePrologueDynamicRelocationHeader"],"kind":"struct"},"8019":{"crate_id":1,"path":["std","panicking","panic_handler","FormatStringPayload"],"kind":"struct"},"10108":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_pmksa"],"kind":"struct"},"8346":{"crate_id":2,"path":["core","str","pattern","StrSearcherImpl"],"kind":"enum"},"10435":{"crate_id":33,"path":["io_uring","opcode","RecvMsgMulti"],"kind":"struct"},"8673":{"crate_id":3,"path":["alloc","collections","btree","map","ValuesMut"],"kind":"struct"},"9000":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","ucontext_t"],"kind":"struct"},"10762":{"crate_id":40,"path":["object","endian","U32Bytes"],"kind":"struct"},"190":{"crate_id":2,"path":["core","fmt","Debug"],"kind":"trait"},"9327":{"crate_id":16,"path":["gimli","read","names","NameAbbreviations"],"kind":"struct"},"11089":{"crate_id":40,"path":["object","pe","ImageDataDirectory"],"kind":"struct"},"9654":{"crate_id":17,"path":["object","elf","Vernaux"],"kind":"struct"},"7892":{"crate_id":1,"path":["std","path","Iter"],"kind":"struct"},"11416":{"crate_id":1,"path":["std","slice"],"kind":"primitive"},"8219":{"crate_id":2,"path":["core","net","parser","AddrKind"],"kind":"enum"},"9981":{"crate_id":27,"path":["libc","unix","rusage"],"kind":"struct"},"10308":{"crate_id":29,"path":["tracing_core","parent","Parent"],"kind":"enum"},"8546":{"crate_id":2,"path":["core","io","write","default_write_fmt","Adapter"],"kind":"struct"},"10635":{"crate_id":39,"path":["gimli","read","relocate","RelocateReader"],"kind":"struct"},"8873":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_quality"],"kind":"struct"},"3587":{"crate_id":1,"path":["std","process","ChildStderr"],"kind":"struct"},"10962":{"crate_id":40,"path":["object","read","ObjectKind"],"kind":"enum"},"9200":{"crate_id":16,"path":["gimli","constants","DwLns"],"kind":"struct"},"11289":{"crate_id":42,"path":["miniz_oxide","inflate","stream","ResetPolicy"],"kind":"trait"},"7765":{"crate_id":3,"path":["alloc","rc","Rc"],"kind":"struct"},"9527":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldCacheMapping"],"kind":"struct"},"9854":{"crate_id":18,"path":["memchr","memmem","searcher","TwoWayWithPrefilter"],"kind":"struct"},"8092":{"crate_id":1,"path":["std","os","unix","net","ancillary","AncillaryData"],"kind":"enum"},"8419":{"crate_id":2,"path":["core","ops","try_trait","Yeet"],"kind":"struct"},"10181":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","seminfo"],"kind":"struct"},"10508":{"crate_id":39,"path":["gimli","common","Format"],"kind":"enum"},"8746":{"crate_id":5,"path":["libc","unix","group"],"kind":"struct"},"9073":{"crate_id":10,"path":["hashbrown","set","Intersection"],"kind":"struct"},"10835":{"crate_id":40,"path":["object","read","elf","section","ElfSectionIterator"],"kind":"struct"},"11162":{"crate_id":40,"path":["object","xcoff","FileHeader64"],"kind":"struct"},"9400":{"crate_id":17,"path":["object","common","SkipDebugList"],"kind":"struct"},"7638":{"crate_id":0,"path":["tokio","task_local"],"kind":"macro"},"9727":{"crate_id":17,"path":["object","macho","RelocationInfo"],"kind":"struct"},"7965":{"crate_id":1,"path":["std","sys","fs","unix","FilePermissions"],"kind":"struct"},"917":{"crate_id":32,"path":["bytes","buf","uninit_slice","UninitSlice"],"kind":"struct"},"10054":{"crate_id":27,"path":["libc","unix","linux_like","linux","ff_ramp_effect"],"kind":"struct"},"8292":{"crate_id":2,"path":["core","hash","sip","SipHasher13"],"kind":"struct"},"10381":{"crate_id":33,"path":["io_uring","sys","io_uring_region_desc"],"kind":"struct"},"8619":{"crate_id":3,"path":["alloc","sync","UniqueArcUninit"],"kind":"struct"},"10708":{"crate_id":39,"path":["gimli","read","rnglists","RangeListsFormat"],"kind":"enum"},"8946":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","mallinfo2"],"kind":"struct"},"11035":{"crate_id":40,"path":["object","macho","SegmentCommand32"],"kind":"struct"},"9273":{"crate_id":16,"path":["gimli","read","aranges","ArangeEntry"],"kind":"struct"},"463":{"crate_id":0,"path":["tokio","fs","set_permissions","set_permissions"],"kind":"function"},"7838":{"crate_id":1,"path":["std","collections","hash","map","ExtractIf"],"kind":"struct"},"9600":{"crate_id":17,"path":["object","read","xcoff","symbol","XcoffSymbolIterator"],"kind":"struct"},"11362":{"crate_id":40,"path":["object","macho","LC_UUID"],"kind":"constant"},"9927":{"crate_id":22,"path":["lock_api","mutex","fmt","LockedPlaceholder"],"kind":"struct"},"8165":{"crate_id":2,"path":["core","num","niche_types","NonZeroU128Inner"],"kind":"struct"},"1117":{"crate_id":0,"path":["tokio","io","async_fd","AsyncFdReadyGuard"],"kind":"struct"},"8492":{"crate_id":2,"path":["core","array","Guard"],"kind":"struct"},"10254":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","in6_pktinfo"],"kind":"struct"},"10581":{"crate_id":39,"path":["gimli","endianity","RunTimeEndian"],"kind":"enum"},"8819":{"crate_id":5,"path":["libc","unix","linux_like","linux","input_mask"],"kind":"struct"},"7057":{"crate_id":1,"path":["std","thread","local","LocalKey"],"kind":"struct"},"9146":{"crate_id":16,"path":["gimli","common","DebugLineStrOffset"],"kind":"struct"},"10908":{"crate_id":40,"path":["object","read","macho","symbol","SymbolTable"],"kind":"struct"},"11235":{"crate_id":41,"path":["memchr","arch","x86_64","sse2","packedpair","Finder"],"kind":"struct"},"9473":{"crate_id":17,"path":["object","read","coff","import","ImportName"],"kind":"enum"},"7711":{"crate_id":31,"path":["mio","sys","unix","pipe","Sender"],"kind":"struct"},"663":{"crate_id":2,"path":["core","io","seek","Seek"],"kind":"trait"},"9800":{"crate_id":17,"path":["object","pe","ImageFunctionEntry64"],"kind":"struct"},"8038":{"crate_id":1,"path":["std","sys","process","unix","unix","posix_spawn","PosixSpawnFileActions"],"kind":"struct"},"10127":{"crate_id":27,"path":["libc","unix","linux_like","linux","xdp_umem_reg"],"kind":"struct"},"8365":{"crate_id":2,"path":["core","escape","MaybeEscapedCharacter"],"kind":"union"},"4841":{"crate_id":0,"path":["tokio","signal","windows","CtrlC"],"kind":"struct"},"8692":{"crate_id":3,"path":["alloc","collections","btree","set","IntersectionInner"],"kind":"enum"},"10454":{"crate_id":33,"path":["io_uring","sys","io_uring_buf_ring__bindgen_ty_1"],"kind":"struct"},"10781":{"crate_id":40,"path":["object","read","any","Segment"],"kind":"struct"},"9019":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","Elf32_Shdr"],"kind":"struct"},"9346":{"crate_id":16,"path":["gimli","read","pubnames","PubNamesEntry"],"kind":"struct"},"11108":{"crate_id":40,"path":["object","pe","ImageAuxSymbolWeak"],"kind":"struct"},"11435":{"crate_id":1,"path":["std","reference"],"kind":"primitive"},"7911":{"crate_id":1,"path":["std","sync","mpmc","select","Selected"],"kind":"enum"},"9673":{"crate_id":17,"path":["object","macho","FatArch64"],"kind":"struct"},"4387":{"crate_id":0,"path":["tokio","runtime","runtime","RuntimeFlavor","CurrentThread"],"kind":"variant"},"10000":{"crate_id":27,"path":["libc","unix","linux_like","sockaddr"],"kind":"struct"},"8238":{"crate_id":2,"path":["core","wtf8","CodePoint"],"kind":"struct"},"10327":{"crate_id":30,"path":["once_cell","race","OnceNonZeroUsize"],"kind":"struct"},"8565":{"crate_id":2,"path":["core","core_simd","swizzle","deinterleave","Even"],"kind":"struct"},"10654":{"crate_id":39,"path":["gimli","read","index","IndexSectionId"],"kind":"enum"},"8892":{"crate_id":5,"path":["libc","unix","linux_like","linux","sockaddr_xdp"],"kind":"struct"},"10981":{"crate_id":40,"path":["object","read","CompressedData"],"kind":"struct"},"9219":{"crate_id":16,"path":["gimli","read","cfi","DebugFrame"],"kind":"struct"},"11308":{"crate_id":47,"path":["socket2","RecvFlags"],"kind":"struct"},"9546":{"crate_id":17,"path":["object","read","macho","file","MachOComdatIterator"],"kind":"struct"},"6022":{"crate_id":0,"path":["tokio","sync","oneshot","error","TryRecvError"],"kind":"enum"},"7784":{"crate_id":33,"path":["io_uring","register","Probe"],"kind":"struct"},"8111":{"crate_id":1,"path":["std","io","stdio","StdoutRaw"],"kind":"struct"},"9873":{"crate_id":18,"path":["memchr","arch","x86_64","sse2","memchr","OneIter"],"kind":"struct"},"10200":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","sifields"],"kind":"union"},"8438":{"crate_id":2,"path":["core","fmt","builders","FromFn"],"kind":"struct"},"8765":{"crate_id":5,"path":["libc","unix","linux_like","in_addr"],"kind":"struct"},"10527":{"crate_id":39,"path":["gimli","common","RangeListsOffset"],"kind":"struct"},"10854":{"crate_id":40,"path":["object","read","elf","note","GnuPropertyIterator"],"kind":"struct"},"9092":{"crate_id":10,"path":["hashbrown","set","IntoIter"],"kind":"struct"},"9419":{"crate_id":17,"path":["object","read","util","Bytes"],"kind":"struct"},"7657":{"crate_id":31,"path":["mio","sys","unix","sourcefd","SourceFd"],"kind":"struct"},"5895":{"crate_id":0,"path":["tokio","sync","semaphore","Semaphore"],"kind":"struct"},"11181":{"crate_id":40,"path":["object","xcoff","DwarfAux64"],"kind":"struct"},"9746":{"crate_id":17,"path":["object","pe","ImageSymbol"],"kind":"struct"},"7984":{"crate_id":1,"path":["std","sys","process","unix","unix","ExitStatusError"],"kind":"struct"},"10073":{"crate_id":27,"path":["libc","unix","linux_like","linux","seccomp_notif_sizes"],"kind":"struct"},"8311":{"crate_id":2,"path":["core","slice","iter","ChunkBy"],"kind":"struct"},"10400":{"crate_id":33,"path":["io_uring","sys","io_uring_file_index_range"],"kind":"struct"},"8638":{"crate_id":3,"path":["alloc","collections","btree","map","Iter"],"kind":"struct"},"10727":{"crate_id":39,"path":["gimli","read","unit","EntriesCursor"],"kind":"struct"},"8965":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","fpos_t"],"kind":"struct"},"11054":{"crate_id":40,"path":["object","macho","DylibTableOfContents"],"kind":"struct"},"9292":{"crate_id":16,"path":["gimli","read","lists","ListsHeader"],"kind":"struct"},"482":{"crate_id":0,"path":["tokio","fs","symlink_file","symlink_file"],"kind":"function"},"9619":{"crate_id":17,"path":["object","read","Relocation"],"kind":"struct"},"7857":{"crate_id":1,"path":["std","error","Report"],"kind":"struct"},"11381":{"crate_id":18,"path":["memchr"],"kind":"module"},"809":{"crate_id":0,"path":["tokio","io","util","sink","Sink"],"kind":"struct"},"8184":{"crate_id":2,"path":["core","mem","alignment","Alignment"],"kind":"struct"},"9946":{"crate_id":25,"path":["smallvec","insert_many","DropOnPanic"],"kind":"struct"},"10273":{"crate_id":28,"path":["tracing","instrument","WithDispatch"],"kind":"struct"},"8511":{"crate_id":2,"path":["core","pin","helper","PinDerefMutHelper"],"kind":"trait"},"3225":{"crate_id":2,"path":["core","ffi","c_void"],"kind":"enum"},"1463":{"crate_id":20,"path":["pin_project_lite","__private","PinnedFieldsOf"],"kind":"type_alias"},"8838":{"crate_id":5,"path":["libc","unix","linux_like","linux","fanotify_event_info_header"],"kind":"struct"},"10600":{"crate_id":39,"path":["gimli","read","cfi","CfiEntriesIter"],"kind":"struct"},"10927":{"crate_id":40,"path":["object","read","pe","import","ImportTable"],"kind":"struct"},"9165":{"crate_id":16,"path":["gimli","common","SectionId"],"kind":"enum"},"355":{"crate_id":2,"path":["core","clone","Clone"],"kind":"trait"},"9492":{"crate_id":17,"path":["object","read","elf","relocation","CrelIterator"],"kind":"struct"},"7730":{"crate_id":21,"path":["parking_lot","mutex","Mutex"],"kind":"type_alias"},"11254":{"crate_id":41,"path":["memchr","arch","x86_64","avx2","memchr","TwoIter"],"kind":"struct"},"9819":{"crate_id":17,"path":["object","xcoff","FunAux32"],"kind":"struct"},"8057":{"crate_id":2,"path":["core","num","nonzero","NonZero"],"kind":"struct"},"8384":{"crate_id":2,"path":["core","core_arch","x86","bf16"],"kind":"struct"},"10146":{"crate_id":27,"path":["libc","unix","linux_like","linux","mq_attr"],"kind":"struct"},"10473":{"crate_id":35,"path":["slab","compact","CleanupGuard"],"kind":"struct"},"8711":{"crate_id":4,"path":["compiler_builtins","math","libm_math","support","big","i256"],"kind":"struct"},"9038":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","ifconf"],"kind":"struct"},"10800":{"crate_id":40,"path":["object","read","archive","Members"],"kind":"enum"},"11127":{"crate_id":40,"path":["object","pe","ImageResourceDirectoryString"],"kind":"struct"},"7603":{"crate_id":0,"path":["tokio","doc","os","windows"],"kind":"module"},"9365":{"crate_id":16,"path":["gimli","read","UnitOffset"],"kind":"struct"},"9692":{"crate_id":17,"path":["object","macho","DylinkerCommand"],"kind":"struct"},"7930":{"crate_id":1,"path":["std","sync","oneshot","Receiver"],"kind":"struct"},"10019":{"crate_id":27,"path":["libc","unix","linux_like","utsname"],"kind":"struct"},"8257":{"crate_id":2,"path":["core","char","decode","DecodeUtf16"],"kind":"struct"},"10346":{"crate_id":32,"path":["bytes","bytes","Vtable"],"kind":"struct"},"8584":{"crate_id":2,"path":["core","core_simd","simd","cmp","eq","SimdPartialEq"],"kind":"trait"},"10673":{"crate_id":39,"path":["gimli","read","loclists","RawLocListIter"],"kind":"struct"},"8911":{"crate_id":5,"path":["libc","unix","linux_like","linux","pthread_mutex_t"],"kind":"struct"},"11000":{"crate_id":40,"path":["object","elf","Rela64"],"kind":"struct"},"9238":{"crate_id":16,"path":["gimli","read","cfi","RegisterRuleMap"],"kind":"struct"},"3952":{"crate_id":2,"path":["core","ops","function","Fn"],"kind":"trait"},"11327":{"crate_id":2,"path":["core","char","REPLACEMENT_CHARACTER"],"kind":"constant"},"7803":{"crate_id":2,"path":["core","alloc","layout","Layout"],"kind":"struct"},"9565":{"crate_id":17,"path":["object","read","pe","file","PeComdatIterator"],"kind":"struct"},"755":{"crate_id":0,"path":["tokio","io","stdout","Stdout"],"kind":"struct"},"9892":{"crate_id":20,"path":["pin_project_lite","__private","UnsafeDropInPlaceGuard"],"kind":"struct"},"8130":{"crate_id":1,"path":["std","os","unix","process","ChildExt"],"kind":"trait"},"8457":{"crate_id":2,"path":["core","slice","iter","ChunkByMut"],"kind":"struct"},"10219":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","_libc_fpxreg"],"kind":"struct"},"10546":{"crate_id":39,"path":["gimli","arch","X86"],"kind":"struct"},"8784":{"crate_id":5,"path":["libc","unix","linux_like","arphdr"],"kind":"struct"},"9111":{"crate_id":10,"path":["hashbrown","set","OccupiedEntry"],"kind":"struct"},"10873":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldSubCacheSlice"],"kind":"enum"},"11200":{"crate_id":40,"path":["object","read","elf","symbol","Sym"],"kind":"trait"},"9438":{"crate_id":17,"path":["object","read","any","SymbolTableInternal"],"kind":"enum"},"7676":{"crate_id":2,"path":["core","alloc","AllocError"],"kind":"struct"},"301":{"crate_id":1,"path":["std","fs","hard_link"],"kind":"function"},"628":{"crate_id":0,"path":["tokio","net","tcp","split","ReadHalf"],"kind":"struct"},"9765":{"crate_id":17,"path":["object","pe","ImageTlsDirectory32"],"kind":"struct"},"8003":{"crate_id":1,"path":["std","os","unix","net","ancillary","SocketCred"],"kind":"struct"},"10092":{"crate_id":27,"path":["libc","unix","linux_like","linux","tls12_crypto_info_aes_gcm_128"],"kind":"struct"},"8330":{"crate_id":2,"path":["core","str","iter","Lines"],"kind":"struct"},"10419":{"crate_id":33,"path":["io_uring","types","DestinationSlot"],"kind":"struct"},"8657":{"crate_id":3,"path":["alloc","collections","btree","set_val","SetValZST"],"kind":"struct"},"1609":{"crate_id":0,"path":["tokio","io","util","shutdown","Shutdown"],"kind":"struct"},"10746":{"crate_id":40,"path":["object","common","SectionKind"],"kind":"enum"},"8984":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","stat"],"kind":"struct"},"9311":{"crate_id":16,"path":["gimli","read","macros","MacroEntry"],"kind":"enum"},"11073":{"crate_id":40,"path":["object","macho","IdentCommand"],"kind":"struct"},"11400":{"crate_id":38,"path":["addr2line"],"kind":"module"},"7876":{"crate_id":1,"path":["std","net","tcp","Incoming"],"kind":"struct"},"9638":{"crate_id":17,"path":["object","elf","Syminfo32"],"kind":"struct"},"9965":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","__c_anonymous_sockaddr_can_j1939"],"kind":"struct"},"8203":{"crate_id":2,"path":["core","ops","range","RangeTo"],"kind":"struct"},"8530":{"crate_id":2,"path":["core","ops","async_function","AsyncFn"],"kind":"trait"},"10292":{"crate_id":29,"path":["tracing_core","metadata","Level"],"kind":"struct"},"10619":{"crate_id":39,"path":["gimli","read","cfi","Pointer"],"kind":"enum"},"8857":{"crate_id":5,"path":["libc","unix","linux_like","linux","sctp_rcvinfo"],"kind":"struct"},"10946":{"crate_id":40,"path":["object","read","xcoff","section","XcoffSection"],"kind":"struct"},"9184":{"crate_id":16,"path":["gimli","constants","DwAte"],"kind":"struct"},"2136":{"crate_id":2,"path":["core","net","socket_addr","SocketAddrV6"],"kind":"struct"},"11273":{"crate_id":41,"path":["memchr","memmem","searcher","Pre"],"kind":"struct"},"9511":{"crate_id":17,"path":["object","read","elf","version","VernauxIterator"],"kind":"struct"},"7749":{"crate_id":1,"path":["std","thread","current","current"],"kind":"function"},"8076":{"crate_id":2,"path":["core","iter","adapters","map_windows","MapWindows"],"kind":"struct"},"6314":{"crate_id":0,"path":["tokio","sync","rwlock","owned_write_guard_mapped","OwnedRwLockMappedWriteGuard"],"kind":"struct"},"9838":{"crate_id":18,"path":["memchr","arch","all","twoway","Finder"],"kind":"struct"},"10165":{"crate_id":27,"path":["libc","unix","linux_like","linux","ptp_perout_request"],"kind":"struct"},"8403":{"crate_id":2,"path":["core","mem","type_info","GenericType"],"kind":"struct"},"8730":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","canxl_frame"],"kind":"struct"},"10492":{"crate_id":37,"path":["rustc_demangle","DemangleStyle"],"kind":"enum"},"10819":{"crate_id":40,"path":["object","read","coff","symbol","CoffSymbolTable"],"kind":"struct"},"9057":{"crate_id":10,"path":["hashbrown","control","bitmask","BitMaskIter"],"kind":"struct"},"9384":{"crate_id":17,"path":["object","common","Architecture"],"kind":"enum"},"11146":{"crate_id":40,"path":["object","pe","ImageAlphaRuntimeFunctionEntry"],"kind":"struct"},"9711":{"crate_id":17,"path":["object","macho","VersionMinCommand"],"kind":"struct"},"7949":{"crate_id":1,"path":["std","sync","nonpoison","rwlock","MappedRwLockWriteGuard"],"kind":"struct"},"10038":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket_rollover_stats"],"kind":"struct"},"8276":{"crate_id":2,"path":["core","iter","sources","from_fn","FromFn"],"kind":"struct"},"2990":{"crate_id":0,"path":["tokio","net","unix","pipe","pipe"],"kind":"function"},"10365":{"crate_id":33,"path":["io_uring","sys","io_uring_sqe__bindgen_ty_1"],"kind":"union"},"8603":{"crate_id":3,"path":["alloc","collections","vec_deque","drain","drop","DropGuard"],"kind":"struct"},"1555":{"crate_id":32,"path":["bytes","buf","buf_impl","Buf"],"kind":"trait"},"10692":{"crate_id":39,"path":["gimli","read","op","EvaluationState"],"kind":"enum"},"8930":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_event"],"kind":"struct"},"120":{"crate_id":1,"path":["std","path","PathBuf"],"kind":"struct"},"9257":{"crate_id":16,"path":["gimli","read","endian_slice","DebugBytes"],"kind":"struct"},"11019":{"crate_id":40,"path":["object","macho","DyldCacheMappingAndSlideInfo"],"kind":"struct"},"3971":{"crate_id":0,"path":["tokio","runtime","builder","UnhandledPanic"],"kind":"enum"},"447":{"crate_id":0,"path":["tokio","fs","read_to_string","read_to_string"],"kind":"function"},"9584":{"crate_id":17,"path":["object","read","pe","relocation","RelocationIterator"],"kind":"struct"},"7822":{"crate_id":1,"path":["std","backtrace","BacktraceFrame"],"kind":"struct"},"11346":{"crate_id":1,"path":["std","env"],"kind":"module"},"8149":{"crate_id":2,"path":["core","num","imp","flt2dec","decoder","FullDecoded"],"kind":"enum"},"9911":{"crate_id":22,"path":["lock_api","rwlock","RawRwLockUpgradeDowngrade"],"kind":"trait"},"10238":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","fsid_t"],"kind":"struct"},"8476":{"crate_id":2,"path":["core","ops","arith","Rem"],"kind":"trait"},"8803":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket_hdr"],"kind":"struct"},"10565":{"crate_id":39,"path":["gimli","constants","DwAddr"],"kind":"struct"},"1755":{"crate_id":0,"path":["tokio","io","util","copy_bidirectional","copy_bidirectional_with_sizes"],"kind":"function"},"10892":{"crate_id":40,"path":["object","read","macho","fat","MachOFatFile"],"kind":"struct"},"9130":{"crate_id":15,"path":["addr2line","unit","LocationRangeIter"],"kind":"struct"},"9457":{"crate_id":17,"path":["object","read","coff","file","CoffFile"],"kind":"struct"},"7695":{"crate_id":1,"path":["std","net","Shutdown"],"kind":"enum"},"11219":{"crate_id":41,"path":["memchr","arch","all","packedpair","Pair"],"kind":"struct"},"9784":{"crate_id":17,"path":["object","pe","ImageLoadConfigDirectory64"],"kind":"struct"},"8022":{"crate_id":1,"path":["std","panicking","resume_unwind","RewrapBox"],"kind":"struct"},"10111":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_range"],"kind":"struct"},"8349":{"crate_id":2,"path":["core","str","lossy","Utf8Chunks"],"kind":"struct"},"10438":{"crate_id":33,"path":["io_uring","opcode","FutexWait"],"kind":"struct"},"8676":{"crate_id":3,"path":["alloc","collections","btree","set","IntoIter"],"kind":"struct"},"9003":{"crate_id":5,"path":["libc","unix","linux_like","linux","arch","generic","termios2"],"kind":"struct"},"10765":{"crate_id":40,"path":["object","endian","I32Bytes"],"kind":"struct"},"193":{"crate_id":2,"path":["core","default","Default"],"kind":"trait"},"9330":{"crate_id":16,"path":["gimli","read","op","DieReference"],"kind":"enum"},"11092":{"crate_id":40,"path":["object","pe","ImageOptionalHeader64"],"kind":"struct"},"520":{"crate_id":2,"path":["core","future","future","Future"],"kind":"trait"},"2282":{"crate_id":2,"path":["core","io","io_slice","IoSliceMut"],"kind":"struct"},"7895":{"crate_id":1,"path":["std","path","StripPrefixError"],"kind":"struct"},"9657":{"crate_id":17,"path":["object","elf","HashHeader"],"kind":"struct"},"11419":{"crate_id":1,"path":["std","f16"],"kind":"primitive"},"8222":{"crate_id":2,"path":["core","range","RangeInclusive"],"kind":"struct"},"9984":{"crate_id":27,"path":["libc","unix","iovec"],"kind":"struct"},"1174":{"crate_id":2,"path":["core","ops","drop","Drop"],"kind":"trait"},"10311":{"crate_id":29,"path":["tracing_core","span","Current"],"kind":"struct"},"8549":{"crate_id":2,"path":["core","future","join","MaybeDone"],"kind":"enum"},"10638":{"crate_id":39,"path":["gimli","read","abbrev","AbbreviationsCacheStrategy"],"kind":"enum"},"8876":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_scan_req"],"kind":"struct"},"10965":{"crate_id":40,"path":["object","read","SymbolSection"],"kind":"enum"},"9203":{"crate_id":16,"path":["gimli","constants","DwMacinfo"],"kind":"struct"},"5679":{"crate_id":1,"path":["std","sync","mpsc","channel"],"kind":"function"},"2155":{"crate_id":0,"path":["tokio","net","tcp","socket","TcpSocket"],"kind":"struct"},"11292":{"crate_id":43,"path":["adler2","algo","U32X4"],"kind":"struct"},"7768":{"crate_id":33,"path":["io_uring","cqueue"],"kind":"module"},"9530":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldCacheRelocationIteratorVersion"],"kind":"enum"},"4244":{"crate_id":2,"path":["core","panic","location","Location"],"kind":"struct"},"9857":{"crate_id":18,"path":["memchr","memmem","searcher","PrefilterKind"],"kind":"union"},"8095":{"crate_id":1,"path":["std","error","Indented"],"kind":"struct"},"1047":{"crate_id":31,"path":["mio","event","source","Source"],"kind":"trait"},"8422":{"crate_id":2,"path":["core","asserting","TryCaptureWithDebug"],"kind":"struct"},"10184":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","__c_anonymous_ptrace_syscall_info_exit"],"kind":"struct"},"10511":{"crate_id":39,"path":["gimli","common","LineEncoding"],"kind":"struct"},"8749":{"crate_id":5,"path":["libc","unix","rlimit"],"kind":"struct"},"9076":{"crate_id":10,"path":["hashbrown","set","Union"],"kind":"struct"},"10838":{"crate_id":40,"path":["object","read","elf","symbol","ElfSymbolTable"],"kind":"struct"},"11165":{"crate_id":40,"path":["object","xcoff","SectionHeader32"],"kind":"struct"},"9403":{"crate_id":17,"path":["object","endian","BigEndian"],"kind":"struct"},"7641":{"crate_id":2,"path":["core","future","poll_fn","poll_fn"],"kind":"function"},"9730":{"crate_id":17,"path":["object","pe","ImageOs2Header"],"kind":"struct"},"7968":{"crate_id":1,"path":["std","sys","fs","unix","DirBuilder"],"kind":"struct"},"10057":{"crate_id":27,"path":["libc","unix","linux_like","linux","ff_rumble_effect"],"kind":"struct"},"8295":{"crate_id":2,"path":["core","hash","sip","State"],"kind":"struct"},"10384":{"crate_id":33,"path":["io_uring","sys","io_uring_rsrc_update"],"kind":"struct"},"8622":{"crate_id":3,"path":["alloc","vec","into_iter","drop","DropGuard"],"kind":"struct"},"10711":{"crate_id":39,"path":["gimli","read","rnglists","RngListIter"],"kind":"struct"},"8949":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","Elf64_Chdr"],"kind":"struct"},"11038":{"crate_id":40,"path":["object","macho","Section64"],"kind":"struct"},"9276":{"crate_id":16,"path":["gimli","read","index","UnitIndex"],"kind":"struct"},"466":{"crate_id":0,"path":["tokio","fs","symlink_metadata","symlink_metadata"],"kind":"function"},"7841":{"crate_id":1,"path":["std","collections","hash","set","Drain"],"kind":"struct"},"9603":{"crate_id":17,"path":["object","read","xcoff","comdat","XcoffComdatIterator"],"kind":"struct"},"11365":{"crate_id":2,"path":["core"],"kind":"module"},"9930":{"crate_id":23,"path":["scopeguard","ScopeGuard"],"kind":"struct"},"8168":{"crate_id":2,"path":["core","num","niche_types","NonZeroI32Inner"],"kind":"struct"},"1120":{"crate_id":1,"path":["std","net","tcp","TcpStream"],"kind":"struct"},"8495":{"crate_id":2,"path":["core","cell","BorrowRefMut"],"kind":"struct"},"10257":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","option"],"kind":"struct"},"10584":{"crate_id":39,"path":["gimli","read","util","sealed","CapacityFull"],"kind":"struct"},"8822":{"crate_id":5,"path":["libc","unix","linux_like","linux","ff_envelope"],"kind":"struct"},"9149":{"crate_id":16,"path":["gimli","common","DebugLocListsIndex"],"kind":"struct"},"10911":{"crate_id":40,"path":["object","read","macho","symbol","MachOSymbol"],"kind":"struct"},"11238":{"crate_id":41,"path":["memchr","memmem","searcher","PrefilterConfig"],"kind":"enum"},"9476":{"crate_id":17,"path":["object","read","elf","file","ElfFile"],"kind":"struct"},"7714":{"crate_id":2,"path":["core","ptr","null_mut"],"kind":"function"},"9803":{"crate_id":17,"path":["object","pe","ImageArchitectureEntry"],"kind":"struct"},"8041":{"crate_id":1,"path":["std","sys","sync","once_box","OnceBox"],"kind":"struct"},"10130":{"crate_id":27,"path":["libc","unix","linux_like","linux","xdp_statistics_v1"],"kind":"struct"},"8368":{"crate_id":2,"path":["core","escape","EscapeIterInner"],"kind":"struct"},"8695":{"crate_id":3,"path":["alloc","collections","btree","set","CursorMutKey"],"kind":"struct"},"10457":{"crate_id":34,"path":["bitflags","traits","Flags"],"kind":"trait"},"10784":{"crate_id":40,"path":["object","read","any","Section"],"kind":"struct"},"7260":{"crate_id":0,"path":["tokio","time","error","Error"],"kind":"struct"},"9022":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","__c_anonymous_elf64_rel"],"kind":"struct"},"9349":{"crate_id":16,"path":["gimli","read","pubtypes","PubTypesSetIter"],"kind":"struct"},"11111":{"crate_id":40,"path":["object","pe","ImageRelocation"],"kind":"struct"},"7914":{"crate_id":1,"path":["std","sync","mpmc","Iter"],"kind":"struct"},"9676":{"crate_id":17,"path":["object","macho","LoadCommand"],"kind":"struct"},"2628":{"crate_id":0,"path":["tokio","net","unix","listener","UnixListener"],"kind":"struct"},"10003":{"crate_id":27,"path":["libc","unix","linux_like","addrinfo"],"kind":"struct"},"8241":{"crate_id":2,"path":["core","core_arch","simd","Simd"],"kind":"struct"},"2955":{"crate_id":0,"path":["tokio","net","unix","pid_t"],"kind":"type_alias"},"10330":{"crate_id":30,"path":["once_cell","race","once_box","OnceBox"],"kind":"struct"},"8568":{"crate_id":2,"path":["core","core_simd","swizzle","extract","Extract"],"kind":"struct"},"10657":{"crate_id":39,"path":["gimli","read","line","LineProgram"],"kind":"trait"},"8895":{"crate_id":5,"path":["libc","unix","linux_like","linux","xdp_ring_offset_v1"],"kind":"struct"},"1847":{"crate_id":0,"path":["tokio","io","util","mem","simplex"],"kind":"function"},"10984":{"crate_id":40,"path":["object","archive","AixFileHeader"],"kind":"struct"},"9222":{"crate_id":16,"path":["gimli","read","cfi","EhHdrTableIter"],"kind":"struct"},"11311":{"crate_id":47,"path":["socket2","MaybeUninitSlice"],"kind":"struct"},"9549":{"crate_id":17,"path":["object","read","macho","function_starts","FunctionStartsIterator"],"kind":"struct"},"7787":{"crate_id":2,"path":["core","array"],"kind":"module"},"8114":{"crate_id":1,"path":["std","sys","stdio","unix","Stderr"],"kind":"struct"},"9876":{"crate_id":18,"path":["memchr","cow","CowBytes"],"kind":"struct"},"10203":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","sigset_t"],"kind":"struct"},"8441":{"crate_id":2,"path":["core","cell","Ref"],"kind":"struct"},"8768":{"crate_id":5,"path":["libc","unix","linux_like","ip_mreq_source"],"kind":"struct"},"10530":{"crate_id":39,"path":["gimli","common","DebugStrOffset"],"kind":"struct"},"5244":{"crate_id":0,"path":["tokio","sync","mpsc","bounded","OwnedPermit"],"kind":"struct"},"10857":{"crate_id":40,"path":["object","read","elf","hash","GnuHashTable"],"kind":"struct"},"9095":{"crate_id":10,"path":["hashbrown","table","IterMut"],"kind":"struct"},"9422":{"crate_id":17,"path":["object","read","util","ByteString"],"kind":"struct"},"7660":{"crate_id":1,"path":["std","io","stdio","Stdout"],"kind":"struct"},"5898":{"crate_id":1,"path":["std","thread","functions","park"],"kind":"function"},"11184":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldCacheMappingVersion"],"kind":"enum"},"9749":{"crate_id":17,"path":["object","pe","ImageSymbolExBytes"],"kind":"struct"},"7987":{"crate_id":1,"path":["std","sys","process","env","CommandEnvs"],"kind":"struct"},"10076":{"crate_id":27,"path":["libc","unix","linux_like","linux","seccomp_notif_addfd"],"kind":"struct"},"8314":{"crate_id":2,"path":["core","str","iter","Bytes"],"kind":"struct"},"10403":{"crate_id":33,"path":["io_uring","sys","io_uring_zcrx_cqe"],"kind":"struct"},"8641":{"crate_id":3,"path":["alloc","collections","btree","map","Range"],"kind":"struct"},"10730":{"crate_id":39,"path":["gimli","read","unit","EntriesTreeIter"],"kind":"struct"},"8968":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","ethhdr"],"kind":"struct"},"158":{"crate_id":2,"path":["core","borrow","Borrow"],"kind":"trait"},"9295":{"crate_id":16,"path":["gimli","read","loclists","LocationLists"],"kind":"struct"},"11057":{"crate_id":40,"path":["object","macho","DylibReference"],"kind":"struct"},"11384":{"crate_id":22,"path":["lock_api"],"kind":"module"},"9622":{"crate_id":17,"path":["object","read","CompressionFormat"],"kind":"enum"},"7860":{"crate_id":1,"path":["std","fs","TryLockError"],"kind":"enum"},"8187":{"crate_id":2,"path":["core","mem","type_info","TraitImpl"],"kind":"struct"},"9949":{"crate_id":25,"path":["smallvec","ToSmallVec"],"kind":"trait"},"10276":{"crate_id":28,"path":["tracing","span","EnteredSpan"],"kind":"struct"},"8514":{"crate_id":2,"path":["core","marker","Unsize"],"kind":"trait"},"8841":{"crate_id":5,"path":["libc","unix","linux_like","linux","sock_extended_err"],"kind":"struct"},"10603":{"crate_id":39,"path":["gimli","read","cfi","Augmentation"],"kind":"struct"},"10930":{"crate_id":40,"path":["object","read","pe","import","Import"],"kind":"enum"},"9168":{"crate_id":16,"path":["gimli","arch","Arm"],"kind":"struct"},"9495":{"crate_id":17,"path":["object","read","elf","comdat","ElfComdatSectionIterator"],"kind":"struct"},"7733":{"crate_id":1,"path":["std","sync","poison","condvar","Condvar"],"kind":"struct"},"11257":{"crate_id":41,"path":["memchr","arch","x86_64","sse2","memchr","TwoIter"],"kind":"struct"},"9822":{"crate_id":17,"path":["object","xcoff","BlockAux32"],"kind":"struct"},"8060":{"crate_id":2,"path":["core","iter","adapters","zip","Zip"],"kind":"struct"},"8387":{"crate_id":2,"path":["core","mem","drop_guard","DropGuard"],"kind":"struct"},"10149":{"crate_id":27,"path":["libc","unix","linux_like","linux","file_handle"],"kind":"struct"},"10476":{"crate_id":36,"path":["backtrace","print","PrintFmt"],"kind":"enum"},"8714":{"crate_id":4,"path":["compiler_builtins","math","libm_math","support","feature_detect","Flags"],"kind":"struct"},"3428":{"crate_id":2,"path":["core","iter","traits","collect","IntoIterator"],"kind":"trait"},"9041":{"crate_id":8,"path":["miniz_oxide","inflate","core","DecompressorOxide"],"kind":"struct"},"10803":{"crate_id":40,"path":["object","read","archive","MemberHeader"],"kind":"enum"},"11130":{"crate_id":40,"path":["object","pe","ImageLoadConfigCodeIntegrity"],"kind":"struct"},"9368":{"crate_id":16,"path":["gimli","read","unit","UnitType"],"kind":"enum"},"9695":{"crate_id":17,"path":["object","macho","RoutinesCommand64"],"kind":"struct"},"7933":{"crate_id":1,"path":["std","sync","once","Once"],"kind":"struct"},"10022":{"crate_id":27,"path":["libc","unix","linux_like","sock_filter"],"kind":"struct"},"8260":{"crate_id":2,"path":["core","char","EscapeDebug"],"kind":"struct"},"10349":{"crate_id":33,"path":["io_uring","util","Mmap"],"kind":"struct"},"8587":{"crate_id":3,"path":["alloc","boxed","thin","ThinBox"],"kind":"struct"},"10676":{"crate_id":39,"path":["gimli","read","loclists","LocationListEntry"],"kind":"struct"},"8914":{"crate_id":5,"path":["libc","unix","linux_like","linux","uinput_setup"],"kind":"struct"},"11003":{"crate_id":40,"path":["object","elf","ProgramHeader32"],"kind":"struct"},"9241":{"crate_id":16,"path":["gimli","read","cfi","CfaRule"],"kind":"enum"},"11330":{"crate_id":1,"path":["std","env","current_dir"],"kind":"function"},"7806":{"crate_id":1,"path":["std","process"],"kind":"module"},"9568":{"crate_id":17,"path":["object","read","pe","section","PeSegmentIterator"],"kind":"struct"},"9895":{"crate_id":21,"path":["parking_lot","once","Once"],"kind":"struct"},"8133":{"crate_id":1,"path":["std","os","linux","process","CommandExt"],"kind":"trait"},"8460":{"crate_id":2,"path":["core","wtf8","fmt","CodeUnit"],"kind":"struct"},"10222":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","user_regs_struct"],"kind":"struct"},"4936":{"crate_id":0,"path":["tokio","signal","windows","ctrl_logoff"],"kind":"function"},"10549":{"crate_id":39,"path":["gimli","constants","DwSect"],"kind":"struct"},"8787":{"crate_id":5,"path":["libc","unix","linux_like","sockaddr_storage"],"kind":"struct"},"9114":{"crate_id":10,"path":["hashbrown","table","OccupiedEntry"],"kind":"struct"},"10876":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldCacheImage"],"kind":"struct"},"11203":{"crate_id":40,"path":["object","read","elf","relocation","Relr"],"kind":"trait"},"9441":{"crate_id":17,"path":["object","read","any","Symbol"],"kind":"struct"},"7679":{"crate_id":2,"path":["core","ptr","non_null","NonNull"],"kind":"struct"},"4155":{"crate_id":0,"path":["tokio","runtime","dump","BacktraceFrame"],"kind":"struct"},"631":{"crate_id":0,"path":["tokio","net","tcp","split_owned","OwnedReadHalf"],"kind":"struct"},"9768":{"crate_id":17,"path":["object","pe","ImageBoundForwarderRef"],"kind":"struct"},"8006":{"crate_id":1,"path":["std","sync","poison","Guard"],"kind":"struct"},"304":{"crate_id":1,"path":["std","fs","metadata"],"kind":"function"},"10095":{"crate_id":27,"path":["libc","unix","linux_like","linux","tls12_crypto_info_chacha20_poly1305"],"kind":"struct"},"8333":{"crate_id":2,"path":["core","str","iter","SplitAsciiWhitespace"],"kind":"struct"},"10422":{"crate_id":33,"path":["io_uring","Parameters"],"kind":"struct"},"8660":{"crate_id":3,"path":["alloc","collections","linked_list","Cursor"],"kind":"struct"},"10749":{"crate_id":40,"path":["object","common","SymbolScope"],"kind":"enum"},"8987":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","statvfs64"],"kind":"struct"},"11076":{"crate_id":40,"path":["object","macho","SourceVersionCommand"],"kind":"struct"},"9314":{"crate_id":16,"path":["gimli","read","names","NameIndexHeaderIter"],"kind":"struct"},"11403":{"crate_id":41,"path":["memchr"],"kind":"module"},"7879":{"crate_id":1,"path":["std","os","unix","net","ancillary","SocketAncillary"],"kind":"struct"},"9641":{"crate_id":17,"path":["object","elf","Rela32"],"kind":"struct"},"9968":{"crate_id":27,"path":["libc","new","linux_uapi","linux","netlink","nlmsghdr"],"kind":"struct"},"8206":{"crate_id":2,"path":["core","ops","range","Bound"],"kind":"enum"},"8533":{"crate_id":2,"path":["core","ops","try_trait","NeverShortCircuit"],"kind":"struct"},"10295":{"crate_id":29,"path":["tracing_core","metadata","LevelInner"],"kind":"enum"},"10622":{"crate_id":39,"path":["gimli","read","dwarf","Dwarf"],"kind":"struct"},"8860":{"crate_id":5,"path":["libc","unix","linux_like","linux","sctp_authinfo"],"kind":"struct"},"9187":{"crate_id":16,"path":["gimli","constants","DwEnd"],"kind":"struct"},"10949":{"crate_id":40,"path":["object","read","xcoff","symbol","SymbolIterator"],"kind":"struct"},"11276":{"crate_id":42,"path":["miniz_oxide","inflate","core","HuffmanTable"],"kind":"struct"},"9514":{"crate_id":17,"path":["object","read","elf","attributes","AttributesSubsection"],"kind":"struct"},"7752":{"crate_id":1,"path":["std","thread","functions","sleep"],"kind":"function"},"8079":{"crate_id":2,"path":["core","iter","traits","double_ended","DoubleEndedIterator"],"kind":"trait"},"6317":{"crate_id":0,"path":["tokio","sync","rwlock","write_guard_mapped","RwLockMappedWriteGuard"],"kind":"struct"},"9841":{"crate_id":18,"path":["memchr","arch","all","twoway","Shift"],"kind":"enum"},"10168":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","aiocb"],"kind":"struct"},"8406":{"crate_id":2,"path":["core","mem","type_info","Char"],"kind":"struct"},"8733":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","__c_anonymous_sockaddr_can_tp"],"kind":"struct"},"6971":{"crate_id":0,"path":["tokio","task","coop","cooperative"],"kind":"function"},"10495":{"crate_id":37,"path":["rustc_demangle","TryDemangleError"],"kind":"struct"},"10822":{"crate_id":40,"path":["object","read","coff","relocation","CoffRelocationIterator"],"kind":"struct"},"9060":{"crate_id":10,"path":["hashbrown","raw","Bucket"],"kind":"struct"},"250":{"crate_id":2,"path":["core","pin","Pin"],"kind":"struct"},"9387":{"crate_id":17,"path":["object","common","BinaryFormat"],"kind":"enum"},"7625":{"crate_id":31,"path":["mio","token","Token"],"kind":"struct"},"11149":{"crate_id":40,"path":["object","pe","ImageEnclaveConfig64"],"kind":"struct"},"9714":{"crate_id":17,"path":["object","macho","DyldInfoCommand"],"kind":"struct"},"7952":{"crate_id":1,"path":["std","sync","poison","rwlock","MappedRwLockWriteGuard"],"kind":"struct"},"10041":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket3_hdr"],"kind":"struct"},"8279":{"crate_id":2,"path":["core","iter","sources","repeat","Repeat"],"kind":"struct"},"10368":{"crate_id":33,"path":["io_uring","sys","io_uring_sqe__bindgen_ty_2__bindgen_ty_1"],"kind":"struct"},"8606":{"crate_id":3,"path":["alloc","collections","vec_deque","into_iter","try_rfold","Guard"],"kind":"struct"},"10695":{"crate_id":39,"path":["gimli","read","op","Expression"],"kind":"struct"},"8933":{"crate_id":5,"path":["libc","unix","linux_like","linux","__c_anonymous_ptp_perout_request_1"],"kind":"union"},"123":{"crate_id":0,"path":["tokio","fs","create_dir_all","create_dir_all"],"kind":"function"},"7498":{"crate_id":0,"path":["tokio","time","timeout","timeout_at"],"kind":"function"},"9260":{"crate_id":16,"path":["gimli","read","reader","ReaderOffsetId"],"kind":"struct"},"3974":{"crate_id":0,"path":["tokio","util","rand","RngSeed"],"kind":"struct"},"11022":{"crate_id":40,"path":["object","macho","DyldCacheSlideInfo3"],"kind":"struct"},"9587":{"crate_id":17,"path":["object","read","pe","resource","ResourceDirectoryTable"],"kind":"struct"},"7825":{"crate_id":1,"path":["std","collections","hash","map","Iter"],"kind":"struct"},"450":{"crate_id":1,"path":["std","fs","remove_dir"],"kind":"function"},"11349":{"crate_id":2,"path":["core","intrinsics","disjoint_bitor"],"kind":"function"},"8152":{"crate_id":2,"path":["core","num","error","TryFromIntError"],"kind":"struct"},"9914":{"crate_id":22,"path":["lock_api","remutex","GetThreadId"],"kind":"trait"},"10241":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","sembuf"],"kind":"struct"},"8479":{"crate_id":2,"path":["core","ops","arith","Mul"],"kind":"trait"},"1431":{"crate_id":0,"path":["tokio","io","join","join"],"kind":"function"},"8806":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket_req"],"kind":"struct"},"10568":{"crate_id":39,"path":["gimli","constants","DwInl"],"kind":"struct"},"10895":{"crate_id":40,"path":["object","read","macho","file","MachHeader"],"kind":"trait"},"9133":{"crate_id":15,"path":["addr2line","DebugFile"],"kind":"enum"},"9460":{"crate_id":17,"path":["object","read","coff","section","CoffSegment"],"kind":"struct"},"7698":{"crate_id":47,"path":["socket2","sockref","SockRef"],"kind":"struct"},"11222":{"crate_id":41,"path":["memchr","arch","all","twoway","FinderRev"],"kind":"struct"},"9787":{"crate_id":17,"path":["object","pe","ImageHotPatchHashes"],"kind":"struct"},"8025":{"crate_id":1,"path":["std","thread","functions","PanicGuard"],"kind":"struct"},"10114":{"crate_id":27,"path":["libc","unix","linux_like","linux","pthread_mutexattr_t"],"kind":"struct"},"8352":{"crate_id":2,"path":["core","str","CharEscapeUnicode"],"kind":"struct"},"10441":{"crate_id":33,"path":["io_uring","opcode","WaitId"],"kind":"struct"},"8679":{"crate_id":3,"path":["alloc","boxed","convert","from","StringError"],"kind":"struct"},"10768":{"crate_id":40,"path":["object","read","read_cache","ReadCacheOps"],"kind":"trait"},"9006":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","spwd"],"kind":"struct"},"11095":{"crate_id":40,"path":["object","pe","ImageRomHeaders"],"kind":"struct"},"9333":{"crate_id":16,"path":["gimli","read","op","Location"],"kind":"enum"},"523":{"crate_id":0,"path":["tokio","future","maybe_done","MaybeDone"],"kind":"enum"},"9660":{"crate_id":17,"path":["object","macho","DyldCacheHeader"],"kind":"struct"},"7898":{"crate_id":1,"path":["std","process","CommandArgs"],"kind":"struct"},"11422":{"crate_id":1,"path":["std","f128"],"kind":"primitive"},"8225":{"crate_id":2,"path":["core","sync","sync_view","SyncView"],"kind":"struct"},"9987":{"crate_id":27,"path":["libc","unix","linger"],"kind":"struct"},"10314":{"crate_id":29,"path":["tracing_core","callsite","private","Private"],"kind":"struct"},"8552":{"crate_id":2,"path":["core","sync","atomic","private","Align1"],"kind":"struct"},"8879":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_pmkid_cand"],"kind":"struct"},"10641":{"crate_id":39,"path":["gimli","read","abbrev","Abbreviation"],"kind":"struct"},"10968":{"crate_id":40,"path":["object","read","SymbolMapName"],"kind":"struct"},"9206":{"crate_id":16,"path":["gimli","constants","DwOp"],"kind":"struct"},"11295":{"crate_id":45,"path":["signal_hook_registry","half_lock","WriteGuard"],"kind":"struct"},"7771":{"crate_id":31,"path":["mio","event","events","Events"],"kind":"struct"},"9533":{"crate_id":17,"path":["object","read","macho","dyld_cache","RelocationStateV3"],"kind":"enum"},"9860":{"crate_id":18,"path":["memchr","arch","all","memchr","OneIter"],"kind":"struct"},"8098":{"crate_id":2,"path":["core","ops","control_flow","ControlFlow"],"kind":"enum"},"8425":{"crate_id":2,"path":["core","cell","BorrowMutError"],"kind":"struct"},"10187":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","ptrace_sud_config"],"kind":"struct"},"10514":{"crate_id":39,"path":["gimli","common","DebugAddrOffset"],"kind":"struct"},"8752":{"crate_id":5,"path":["libc","unix","hostent"],"kind":"struct"},"5228":{"crate_id":0,"path":["tokio","sync","mpsc","bounded","Permit"],"kind":"struct"},"9079":{"crate_id":10,"path":["hashbrown","table","IterBuckets"],"kind":"struct"},"10841":{"crate_id":40,"path":["object","read","elf","relocation","RelocationSections"],"kind":"struct"},"11168":{"crate_id":40,"path":["object","xcoff","Symbol32"],"kind":"struct"},"9406":{"crate_id":17,"path":["object","endian","U64"],"kind":"struct"},"7644":{"crate_id":3,"path":["alloc","fmt"],"kind":"module"},"4120":{"crate_id":36,"path":["backtrace","capture","BacktraceSymbol"],"kind":"struct"},"9733":{"crate_id":17,"path":["object","pe","ImageFileHeader"],"kind":"struct"},"7971":{"crate_id":1,"path":["std","sys","net","connection","socket","TcpStream"],"kind":"struct"},"10060":{"crate_id":27,"path":["libc","unix","linux_like","linux","uinput_ff_erase"],"kind":"struct"},"8298":{"crate_id":2,"path":["core","hash","sip","Sip24Rounds"],"kind":"struct"},"10387":{"crate_id":33,"path":["io_uring","sys","io_uring_restriction"],"kind":"struct"},"8625":{"crate_id":3,"path":["alloc","vec","in_place_drop","InPlaceDstDataSrcBufDrop"],"kind":"struct"},"10714":{"crate_id":39,"path":["gimli","read","str","DebugStr"],"kind":"struct"},"8952":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","ptrace_peeksiginfo_args"],"kind":"struct"},"142":{"crate_id":2,"path":["core","marker","Send"],"kind":"trait"},"9279":{"crate_id":16,"path":["gimli","read","index","IndexSectionId"],"kind":"enum"},"11041":{"crate_id":40,"path":["object","macho","Dylib"],"kind":"struct"},"469":{"crate_id":0,"path":["tokio","fs","write","write"],"kind":"function"},"7844":{"crate_id":1,"path":["std","collections","hash","set","Difference"],"kind":"struct"},"9606":{"crate_id":17,"path":["object","read","xcoff","segment","XcoffSegmentIterator"],"kind":"struct"},"11368":{"crate_id":5,"path":["libc"],"kind":"module"},"9933":{"crate_id":24,"path":["parking_lot_core","parking_lot","ParkResult"],"kind":"enum"},"8171":{"crate_id":2,"path":["core","num","niche_types","UsizeNoHighBit"],"kind":"struct"},"8498":{"crate_id":2,"path":["core","slice","sort","unstable","quicksort","GapGuard"],"kind":"struct"},"10260":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","dirent"],"kind":"struct"},"10587":{"crate_id":39,"path":["gimli","read","addr","AddrHeaderIter"],"kind":"struct"},"8825":{"crate_id":5,"path":["libc","unix","linux_like","linux","ff_condition_effect"],"kind":"struct"},"9152":{"crate_id":16,"path":["gimli","common","DebugNamesOffset"],"kind":"struct"},"7390":{"crate_id":2,"path":["core","ops","arith","SubAssign"],"kind":"trait"},"10914":{"crate_id":40,"path":["object","read","pe","file","ImageNtHeaders"],"kind":"trait"},"11241":{"crate_id":41,"path":["memchr","memmem","searcher","PrefilterState"],"kind":"struct"},"9479":{"crate_id":17,"path":["object","read","elf","section","SectionTable"],"kind":"struct"},"7717":{"crate_id":1,"path":["std","panic"],"kind":"macro"},"9806":{"crate_id":17,"path":["object","xcoff","FileHeader32"],"kind":"struct"},"8044":{"crate_id":1,"path":["std","backtrace_rs","backtrace","libunwind","Bomb"],"kind":"struct"},"4520":{"crate_id":1,"path":["std","thread","id","ThreadId"],"kind":"struct"},"10133":{"crate_id":27,"path":["libc","unix","linux_like","linux","xsk_tx_metadata_completion"],"kind":"struct"},"8371":{"crate_id":2,"path":["core","core_arch","x86","__m128d"],"kind":"struct"},"1323":{"crate_id":0,"path":["tokio","io","stdin","stdin"],"kind":"function"},"10460":{"crate_id":34,"path":["bitflags","iter","IterNames"],"kind":"struct"},"8698":{"crate_id":3,"path":["alloc","string","FromUtf16Error"],"kind":"struct"},"10787":{"crate_id":40,"path":["object","read","any","Comdat"],"kind":"struct"},"9025":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","in6_pktinfo"],"kind":"struct"},"9352":{"crate_id":16,"path":["gimli","read","pubtypes","PubTypesEntry"],"kind":"struct"},"11114":{"crate_id":40,"path":["object","pe","ImageArchiveMemberHeader"],"kind":"struct"},"542":{"crate_id":3,"path":["alloc","boxed","Box"],"kind":"struct"},"7917":{"crate_id":1,"path":["std","sync","mpmc","Receiver"],"kind":"struct"},"9679":{"crate_id":17,"path":["object","macho","SegmentCommand64"],"kind":"struct"},"2631":{"crate_id":0,"path":["tokio","net","unix","socketaddr","SocketAddr"],"kind":"struct"},"10006":{"crate_id":27,"path":["libc","unix","linux_like","tm"],"kind":"struct"},"8244":{"crate_id":2,"path":["core","core_simd","masks","Mask"],"kind":"struct"},"8571":{"crate_id":2,"path":["core","core_simd","masks","sealed","Sealed"],"kind":"trait"},"10333":{"crate_id":31,"path":["mio","io_source","SelectorId"],"kind":"struct"},"5047":{"crate_id":0,"path":["tokio","sync","broadcast","error","RecvError","Closed"],"kind":"variant"},"10660":{"crate_id":39,"path":["gimli","read","line","LineRow"],"kind":"struct"},"8898":{"crate_id":5,"path":["libc","unix","linux_like","linux","xdp_umem_reg_v1"],"kind":"struct"},"10987":{"crate_id":40,"path":["object","elf","FileHeader64"],"kind":"struct"},"7463":{"crate_id":0,"path":["tokio","time","sleep","sleep_until"],"kind":"function"},"9225":{"crate_id":16,"path":["gimli","read","cfi","CieOffsetEncoding"],"kind":"enum"},"3939":{"crate_id":0,"path":["tokio","task","local","LocalSet"],"kind":"struct"},"11314":{"crate_id":47,"path":["socket2","MsgHdrMut"],"kind":"struct"},"9552":{"crate_id":17,"path":["object","read","macho","load_command","LoadCommandVariant"],"kind":"enum"},"7790":{"crate_id":1,"path":["std","collections","hash","map","HashMap"],"kind":"struct"},"4266":{"crate_id":0,"path":["tokio","time","sleep","Sleep"],"kind":"struct"},"8117":{"crate_id":1,"path":["std","net","socket_addr","ToSocketAddrs"],"kind":"trait"},"9879":{"crate_id":18,"path":["memchr","memchr","Memchr2"],"kind":"struct"},"10206":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","semid_ds"],"kind":"struct"},"8444":{"crate_id":2,"path":["core","slice","iter","IterMut"],"kind":"struct"},"8771":{"crate_id":5,"path":["libc","unix","linux_like","sockaddr_in6"],"kind":"struct"},"10533":{"crate_id":39,"path":["gimli","common","DebugTypesOffset"],"kind":"struct"},"10860":{"crate_id":40,"path":["object","read","elf","version","VersionTable"],"kind":"struct"},"9098":{"crate_id":10,"path":["hashbrown","table","IntoIter"],"kind":"struct"},"288":{"crate_id":0,"path":["tokio","doc","NotDefinedHere"],"kind":"enum"},"9425":{"crate_id":17,"path":["object","read","any","SegmentIterator"],"kind":"struct"},"7663":{"crate_id":1,"path":["std","task"],"kind":"module"},"11187":{"crate_id":40,"path":["object","read","traits","ObjectSegment"],"kind":"trait"},"9752":{"crate_id":17,"path":["object","pe","ImageAuxSymbolFunctionBeginEnd"],"kind":"struct"},"7990":{"crate_id":1,"path":["std","sys","time","unix","Instant"],"kind":"struct"},"10079":{"crate_id":27,"path":["libc","unix","linux_like","linux","ptp_clock_time"],"kind":"struct"},"8317":{"crate_id":2,"path":["core","str","pattern","Pattern"],"kind":"trait"},"1269":{"crate_id":3,"path":["alloc","string","ToString"],"kind":"trait"},"10406":{"crate_id":33,"path":["io_uring","sys","io_uring_zcrx_ifq_reg"],"kind":"struct"},"8644":{"crate_id":3,"path":["alloc","collections","btree","merge_iter","Peeked"],"kind":"enum"},"10733":{"crate_id":39,"path":["gimli","read","value","ValueType"],"kind":"enum"},"8971":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","siginfo_f"],"kind":"struct"},"161":{"crate_id":2,"path":["core","borrow","BorrowMut"],"kind":"trait"},"9298":{"crate_id":16,"path":["gimli","read","loclists","RawLocListEntry"],"kind":"enum"},"11060":{"crate_id":40,"path":["object","macho","PrebindCksumCommand"],"kind":"struct"},"11387":{"crate_id":25,"path":["smallvec"],"kind":"module"},"9625":{"crate_id":17,"path":["object","archive","Header"],"kind":"struct"},"7863":{"crate_id":1,"path":["std","io","buffered","bufwriter","WriterPanicked"],"kind":"struct"},"8190":{"crate_id":2,"path":["core","ptr","metadata","DynMetadata"],"kind":"struct"},"9952":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","j1939","j1939_filter"],"kind":"struct"},"10279":{"crate_id":20,"path":["pin_project_lite","__private","PinnedFieldsOfHelperTrait"],"kind":"trait"},"8517":{"crate_id":2,"path":["core","ops","unsize","DispatchFromDyn"],"kind":"trait"},"1469":{"crate_id":0,"path":["tokio","io","seek","Seek"],"kind":"struct"},"8844":{"crate_id":5,"path":["libc","unix","linux_like","linux","seccomp_notif"],"kind":"struct"},"10606":{"crate_id":39,"path":["gimli","read","cfi","PartialFrameDescriptionEntry"],"kind":"struct"},"10933":{"crate_id":40,"path":["object","read","pe","relocation","RelocationBlockIterator"],"kind":"struct"},"9171":{"crate_id":16,"path":["gimli","arch","MIPS"],"kind":"struct"},"9498":{"crate_id":17,"path":["object","read","elf","dynamic","Dynamic"],"kind":"struct"},"7736":{"crate_id":1,"path":["std","sync","poison","rwlock","RwLockReadGuard"],"kind":"struct"},"11260":{"crate_id":41,"path":["memchr","cow","Imp"],"kind":"struct"},"4212":{"crate_id":0,"path":["tokio","join"],"kind":"macro"},"9825":{"crate_id":17,"path":["object","xcoff","DwarfAux32"],"kind":"struct"},"8063":{"crate_id":2,"path":["core","iter","adapters","map","Map"],"kind":"struct"},"10152":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_mlme"],"kind":"struct"},"8390":{"crate_id":2,"path":["core","mem","type_info","Tuple"],"kind":"struct"},"10479":{"crate_id":36,"path":["backtrace","symbolize","Symbol"],"kind":"struct"},"8717":{"crate_id":4,"path":["compiler_builtins","math","libm_math","generic","fma","Norm"],"kind":"struct"},"9044":{"crate_id":8,"path":["miniz_oxide","inflate","output_buffer","InputWrapper"],"kind":"struct"},"10806":{"crate_id":40,"path":["object","read","archive","ArchiveSymbolIterator"],"kind":"struct"},"11133":{"crate_id":40,"path":["object","pe","ImageDynamicRelocation64"],"kind":"struct"},"9371":{"crate_id":16,"path":["gimli","read","unit","AttributeValue"],"kind":"enum"},"561":{"crate_id":0,"path":["tokio","io","join","Join"],"kind":"struct"},"9698":{"crate_id":17,"path":["object","macho","DylibTableOfContents"],"kind":"struct"},"7936":{"crate_id":1,"path":["std","sync","barrier","BarrierWaitResult"],"kind":"struct"},"8263":{"crate_id":2,"path":["core","char","ToLowercase"],"kind":"struct"},"10025":{"crate_id":27,"path":["libc","unix","linux_like","epoll_event"],"kind":"struct"},"10352":{"crate_id":33,"path":["io_uring","cqueue","EntryMarker"],"kind":"trait"},"8590":{"crate_id":3,"path":["alloc","collections","binary_heap","PeekMut"],"kind":"struct"},"10679":{"crate_id":39,"path":["gimli","read","lookup","PubStuffHeader"],"kind":"struct"},"8917":{"crate_id":5,"path":["libc","unix","linux_like","linux","hwtstamp_config"],"kind":"struct"},"11006":{"crate_id":40,"path":["object","elf","Dyn64"],"kind":"struct"},"9244":{"crate_id":16,"path":["gimli","read","cfi","CallFrameInstructionIter"],"kind":"struct"},"2196":{"crate_id":0,"path":["tokio","doc","os","windows","io","BorrowedSocket"],"kind":"type_alias"},"11333":{"crate_id":2,"path":["core","str","converts","from_utf8_unchecked"],"kind":"function"},"7809":{"crate_id":32,"path":["bytes","bytes","Bytes"],"kind":"struct"},"9571":{"crate_id":17,"path":["object","read","pe","section","PeSection"],"kind":"struct"},"9898":{"crate_id":22,"path":["lock_api","mutex","RawMutex"],"kind":"trait"},"8136":{"crate_id":1,"path":["std","process","Termination"],"kind":"trait"},"8463":{"crate_id":2,"path":["core","task","wake","ContextBuilder"],"kind":"struct"},"10225":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","ipc_perm"],"kind":"struct"},"10552":{"crate_id":39,"path":["gimli","constants","DwCfa"],"kind":"struct"},"8790":{"crate_id":5,"path":["libc","unix","linux_like","file_clone_range"],"kind":"struct"},"9117":{"crate_id":10,"path":["hashbrown","scopeguard","ScopeGuard"],"kind":"struct"},"10879":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldCacheMappingVersionIterator"],"kind":"enum"},"11206":{"crate_id":40,"path":["object","read","macho","symbol","Nlist"],"kind":"trait"},"9444":{"crate_id":17,"path":["object","read","any","SectionRelocationIterator"],"kind":"struct"},"7682":{"crate_id":2,"path":["core","option"],"kind":"module"},"634":{"crate_id":0,"path":["tokio","net","tcp","stream","TcpStream"],"kind":"struct"},"9771":{"crate_id":17,"path":["object","pe","ImageResourceDirectoryEntry"],"kind":"struct"},"8009":{"crate_id":1,"path":["std","sys","process","unix","common","cstring_array","CStringIter"],"kind":"struct"},"961":{"crate_id":2,"path":["core","cmp","Eq"],"kind":"trait"},"10098":{"crate_id":27,"path":["libc","unix","linux_like","linux","tls12_crypto_info_aria_gcm_128"],"kind":"struct"},"8336":{"crate_id":2,"path":["core","str","iter","EscapeDebug"],"kind":"struct"},"10425":{"crate_id":33,"path":["io_uring","opcode","Readv"],"kind":"struct"},"8663":{"crate_id":3,"path":["alloc","collections","TryReserveErrorKind"],"kind":"enum"},"10752":{"crate_id":40,"path":["object","common","FileFlags"],"kind":"enum"},"8990":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","_libc_xmmreg"],"kind":"struct"},"11079":{"crate_id":40,"path":["object","macho","Nlist32"],"kind":"struct"},"9317":{"crate_id":16,"path":["gimli","read","names","NameTypeUnit"],"kind":"enum"},"2269":{"crate_id":0,"path":["tokio","doc","os","windows","io","FromRawSocket"],"kind":"trait"},"11406":{"crate_id":44,"path":["tokio_macros"],"kind":"module"},"7882":{"crate_id":1,"path":["std","os","unix","xdg","XdgDirsIter"],"kind":"struct"},"9644":{"crate_id":17,"path":["object","elf","Relr32"],"kind":"struct"},"9971":{"crate_id":27,"path":["libc","new","linux_uapi","linux","netlink","nl_mmap_req"],"kind":"struct"},"8209":{"crate_id":2,"path":["core","cell","once","OnceCell"],"kind":"struct"},"8536":{"crate_id":2,"path":["core","iter","traits","marker","TrustedLen"],"kind":"trait"},"10298":{"crate_id":29,"path":["tracing_core","subscriber","NoSubscriber"],"kind":"struct"},"10625":{"crate_id":39,"path":["gimli","read","dwarf","Unit"],"kind":"struct"},"8863":{"crate_id":5,"path":["libc","unix","linux_like","linux","tls12_crypto_info_aes_gcm_256"],"kind":"struct"},"9190":{"crate_id":16,"path":["gimli","constants","DwVirtuality"],"kind":"struct"},"10952":{"crate_id":40,"path":["object","read","xcoff","symbol","XcoffSymbol"],"kind":"struct"},"5666":{"crate_id":0,"path":["tokio","sync","mpsc","error"],"kind":"module"},"2142":{"crate_id":2,"path":["core","net","ip_addr","Ipv6Addr"],"kind":"struct"},"11279":{"crate_id":42,"path":["miniz_oxide","inflate","core","LocalVars"],"kind":"struct"},"9517":{"crate_id":17,"path":["object","read","elf","attributes","AttributeIndexIterator"],"kind":"struct"},"7755":{"crate_id":1,"path":["std","thread","Result"],"kind":"type_alias"},"9844":{"crate_id":18,"path":["memchr","arch","all","twoway","ApproximateByteSet"],"kind":"struct"},"8082":{"crate_id":2,"path":["core","iter","adapters","cloned","Cloned"],"kind":"struct"},"10171":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","glob64_t"],"kind":"struct"},"6647":{"crate_id":0,"path":["tokio","sync","set_once","SetOnceError"],"kind":"struct"},"8409":{"crate_id":2,"path":["core","mem","type_info","Str"],"kind":"struct"},"8736":{"crate_id":5,"path":["libc","new","linux_uapi","linux","netlink","sockaddr_nl"],"kind":"struct"},"10498":{"crate_id":38,"path":["addr2line","line","LineLocationRangeIter"],"kind":"struct"},"3450":{"crate_id":1,"path":["std","process","ExitStatus"],"kind":"struct"},"10825":{"crate_id":40,"path":["object","read","coff","comdat","CoffComdatSectionIterator"],"kind":"struct"},"9063":{"crate_id":10,"path":["hashbrown","raw","RawIter"],"kind":"struct"},"253":{"crate_id":2,"path":["core","task","poll","Poll"],"kind":"enum"},"9390":{"crate_id":17,"path":["object","common","SymbolKind"],"kind":"enum"},"11152":{"crate_id":40,"path":["object","pe","ImageCoffSymbolsHeader"],"kind":"struct"},"7955":{"crate_id":1,"path":["std","time","SystemTimeError"],"kind":"struct"},"9717":{"crate_id":17,"path":["object","macho","IdentCommand"],"kind":"struct"},"2669":{"crate_id":0,"path":["tokio","net","unix","socket","UnixSocket"],"kind":"struct"},"10044":{"crate_id":27,"path":["libc","unix","linux_like","linux","msginfo"],"kind":"struct"},"8282":{"crate_id":2,"path":["core","iter","sources","repeat_with","RepeatWith"],"kind":"struct"},"4758":{"crate_id":0,"path":["tokio","task","yield_now","yield_now"],"kind":"function"},"2996":{"crate_id":0,"path":["tokio","net","unix","pipe","OpenOptions"],"kind":"struct"},"10371":{"crate_id":33,"path":["io_uring","sys","io_uring_sqe__bindgen_ty_5"],"kind":"union"},"8609":{"crate_id":3,"path":["alloc","collections","vec_deque","write_iter_wrapping","Guard"],"kind":"struct"},"1561":{"crate_id":0,"path":["tokio","io","util","write_all_buf","WriteAllBuf"],"kind":"struct"},"10698":{"crate_id":39,"path":["gimli","read","op","EvaluationStorage"],"kind":"trait"},"8936":{"crate_id":5,"path":["libc","unix","linux_like","linux","xsk_tx_metadata"],"kind":"struct"},"11025":{"crate_id":40,"path":["object","macho","DyldCacheSlidePointer5"],"kind":"struct"},"9263":{"crate_id":16,"path":["gimli","read","abbrev","AbbreviationsCacheStrategy"],"kind":"enum"},"126":{"crate_id":1,"path":["std","fs","create_dir_all"],"kind":"function"},"2215":{"crate_id":2,"path":["core","time","Duration"],"kind":"struct"},"453":{"crate_id":1,"path":["std","fs","remove_dir_all"],"kind":"function"},"9590":{"crate_id":17,"path":["object","read","pe","resource","ResourceNameOrId"],"kind":"enum"},"7828":{"crate_id":1,"path":["std","collections","hash","map","Entry"],"kind":"enum"},"11352":{"crate_id":2,"path":["core","intrinsics","carryless_mul"],"kind":"function"},"8155":{"crate_id":2,"path":["core","num","float_parse","ParseFloatError"],"kind":"struct"},"9917":{"crate_id":22,"path":["lock_api","remutex","RawReentrantMutex"],"kind":"struct"},"10244":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","Elf64_Ehdr"],"kind":"struct"},"8482":{"crate_id":2,"path":["core","ops","bit","BitXorAssign"],"kind":"trait"},"8809":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket_stats"],"kind":"struct"},"10571":{"crate_id":39,"path":["gimli","constants","DwIdx"],"kind":"struct"},"1761":{"crate_id":2,"path":["core","io","util","empty"],"kind":"function"},"10898":{"crate_id":40,"path":["object","read","macho","file","MachOComdatSectionIterator"],"kind":"struct"},"9136":{"crate_id":16,"path":["gimli","common","Encoding"],"kind":"struct"},"9463":{"crate_id":17,"path":["object","read","coff","symbol","SymbolTable"],"kind":"struct"},"7701":{"crate_id":1,"path":["std","os","unix","net","datagram","UnixDatagram"],"kind":"struct"},"11225":{"crate_id":41,"path":["memchr","arch","all","twoway","SuffixKind"],"kind":"enum"},"9790":{"crate_id":17,"path":["object","pe","ImageAlpha64RuntimeFunctionEntry"],"kind":"struct"},"8028":{"crate_id":1,"path":["std","io","Guard"],"kind":"struct"},"10117":{"crate_id":27,"path":["libc","unix","linux_like","linux","pthread_barrierattr_t"],"kind":"struct"},"8355":{"crate_id":2,"path":["core","str","IsAsciiWhitespace"],"kind":"struct"},"10444":{"crate_id":33,"path":["io_uring","register","fmt","Op"],"kind":"struct"},"8682":{"crate_id":3,"path":["alloc","collections","btree","map","entry","VacantEntry"],"kind":"struct"},"10771":{"crate_id":40,"path":["object","read","util","Bytes"],"kind":"struct"},"9009":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","packet_mreq"],"kind":"struct"},"3723":{"crate_id":0,"path":["tokio","runtime","task","abort","AbortHandle"],"kind":"struct"},"1961":{"crate_id":2,"path":["core","io","util","sink"],"kind":"function"},"199":{"crate_id":0,"path":["tokio","io","async_seek","AsyncSeek"],"kind":"trait"},"9336":{"crate_id":16,"path":["gimli","read","op","EvaluationWaiting"],"kind":"enum"},"11098":{"crate_id":40,"path":["object","pe","AnonObjectHeaderV2"],"kind":"struct"},"9663":{"crate_id":17,"path":["object","macho","DyldCacheImageInfo"],"kind":"struct"},"7901":{"crate_id":1,"path":["std","process","ExitCode"],"kind":"struct"},"11425":{"crate_id":1,"path":["std","i32"],"kind":"primitive"},"8228":{"crate_id":2,"path":["core","fmt","DebugAsHex"],"kind":"enum"},"9990":{"crate_id":27,"path":["libc","unix","tms"],"kind":"struct"},"10317":{"crate_id":29,"path":["tracing_core","dispatcher","Entered"],"kind":"struct"},"8555":{"crate_id":2,"path":["core","str","pattern","Searcher"],"kind":"trait"},"8882":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_priv_args"],"kind":"struct"},"10644":{"crate_id":39,"path":["gimli","read","aranges","DebugAranges"],"kind":"struct"},"10971":{"crate_id":40,"path":["object","read","ObjectMapFile"],"kind":"struct"},"9209":{"crate_id":16,"path":["gimli","endianity","RunTimeEndian"],"kind":"enum"},"9536":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldCacheRelocationIteratorV5"],"kind":"struct"},"7774":{"crate_id":2,"path":["core","option","IterMut"],"kind":"struct"},"11298":{"crate_id":45,"path":["signal_hook_registry","vec_map","VecMap"],"kind":"struct"},"9863":{"crate_id":18,"path":["memchr","arch","all","rabinkarp","Finder"],"kind":"struct"},"8101":{"crate_id":2,"path":["core","str","traits","FromStr"],"kind":"trait"},"8428":{"crate_id":2,"path":["core","io","error","repr","Repr"],"kind":"struct"},"10190":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","fanotify_event_info_pidfd"],"kind":"struct"},"10517":{"crate_id":39,"path":["gimli","common","DebugArangesOffset"],"kind":"struct"},"8755":{"crate_id":5,"path":["libc","unix","winsize"],"kind":"struct"},"9082":{"crate_id":10,"path":["hashbrown","TryReserveError"],"kind":"enum"},"10844":{"crate_id":40,"path":["object","read","elf","relocation","RelrIterator"],"kind":"struct"},"272":{"crate_id":1,"path":["std","os","fd","owned","OwnedFd"],"kind":"struct"},"7647":{"crate_id":2,"path":["core","ffi","primitives","c_int"],"kind":"type_alias"},"9409":{"crate_id":17,"path":["object","endian","I64"],"kind":"struct"},"11171":{"crate_id":40,"path":["object","xcoff","FileAux64"],"kind":"struct"},"599":{"crate_id":0,"path":["tokio","io","stdin","Stdin"],"kind":"struct"},"9736":{"crate_id":17,"path":["object","pe","ImageRomOptionalHeader"],"kind":"struct"},"7974":{"crate_id":1,"path":["std","sys","os_str","bytes","Buf"],"kind":"struct"},"10063":{"crate_id":27,"path":["libc","unix","linux_like","linux","posix_spawn_file_actions_t"],"kind":"struct"},"8301":{"crate_id":2,"path":["core","slice","ascii","EscapeAscii"],"kind":"struct"},"10390":{"crate_id":33,"path":["io_uring","sys","io_uring_clone_buffers"],"kind":"struct"},"8628":{"crate_id":3,"path":["alloc","collections","btree","node","NodeRef"],"kind":"struct"},"10717":{"crate_id":39,"path":["gimli","read","UnitOffset"],"kind":"struct"},"8955":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","__c_anonymous_ptrace_syscall_info_seccomp"],"kind":"struct"},"11044":{"crate_id":40,"path":["object","macho","SubClientCommand"],"kind":"struct"},"9282":{"crate_id":16,"path":["gimli","read","line","LineInstruction"],"kind":"enum"},"472":{"crate_id":0,"path":["tokio","fs","copy","copy"],"kind":"function"},"7847":{"crate_id":1,"path":["std","collections","hash","set","Entry"],"kind":"enum"},"9609":{"crate_id":17,"path":["object","read","Error"],"kind":"struct"},"11371":{"crate_id":8,"path":["miniz_oxide"],"kind":"module"},"9936":{"crate_id":24,"path":["parking_lot_core","parking_lot","FilterOp"],"kind":"enum"},"8174":{"crate_id":2,"path":["core","num","niche_types","U32NotAllOnes"],"kind":"struct"},"8501":{"crate_id":2,"path":["core","intrinsics","fallback","CarryingMulAdd"],"kind":"trait"},"10263":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","__c_anonymous_elf64_rela"],"kind":"struct"},"10590":{"crate_id":39,"path":["gimli","read","addr","AddrEntryIter"],"kind":"struct"},"8828":{"crate_id":5,"path":["libc","unix","linux_like","linux","ff_effect"],"kind":"struct"},"9155":{"crate_id":16,"path":["gimli","common","DebugRngListsBase"],"kind":"struct"},"10917":{"crate_id":40,"path":["object","read","pe","file","PeComdatSectionIterator"],"kind":"struct"},"11244":{"crate_id":41,"path":["memchr","arch","all","memchr","TwoIter"],"kind":"struct"},"9482":{"crate_id":17,"path":["object","read","elf","symbol","SymbolTable"],"kind":"struct"},"7720":{"crate_id":2,"path":["core","sync","atomic","AtomicU64"],"kind":"type_alias"},"9809":{"crate_id":17,"path":["object","xcoff","AuxHeader64"],"kind":"struct"},"8047":{"crate_id":1,"path":["std","sys","pal","unix","weak","dlsym","DlsymWeak"],"kind":"struct"},"10136":{"crate_id":27,"path":["libc","unix","linux_like","linux","mnt_ns_info"],"kind":"struct"},"8374":{"crate_id":2,"path":["core","core_arch","x86","__m256d"],"kind":"struct"},"10463":{"crate_id":34,"path":["bitflags","parser","ParseErrorKind"],"kind":"enum"},"8701":{"crate_id":3,"path":["alloc","collections","btree","dedup_sorted_iter","DedupSortedIter"],"kind":"struct"},"3415":{"crate_id":1,"path":["std","process","Command"],"kind":"struct"},"10790":{"crate_id":40,"path":["object","read","any","SymbolTable"],"kind":"struct"},"9028":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","option"],"kind":"struct"},"218":{"crate_id":1,"path":["std","fs","Metadata"],"kind":"struct"},"9355":{"crate_id":16,"path":["gimli","read","rnglists","RangeLists"],"kind":"struct"},"11117":{"crate_id":40,"path":["object","pe","ImageThunkData64"],"kind":"struct"},"7920":{"crate_id":1,"path":["std","sync","mpsc","IntoIter"],"kind":"struct"},"9682":{"crate_id":17,"path":["object","macho","Fvmlib"],"kind":"struct"},"10009":{"crate_id":27,"path":["libc","unix","linux_like","lconv"],"kind":"struct"},"8247":{"crate_id":2,"path":["core","num","imp","diy_float","Fp"],"kind":"struct"},"8574":{"crate_id":2,"path":["core","core_simd","simd","num","uint","SimdUint"],"kind":"trait"},"10336":{"crate_id":31,"path":["mio","sys","unix","waker","Waker"],"kind":"struct"},"5050":{"crate_id":0,"path":["tokio","sync","broadcast","error","RecvError","Lagged"],"kind":"variant"},"10663":{"crate_id":39,"path":["gimli","read","line","LineProgramHeader"],"kind":"struct"},"8901":{"crate_id":5,"path":["libc","unix","linux_like","linux","xdp_options"],"kind":"struct"},"10990":{"crate_id":40,"path":["object","elf","SectionHeader64"],"kind":"struct"},"9228":{"crate_id":16,"path":["gimli","read","cfi","CfiEntriesIter"],"kind":"struct"},"11317":{"crate_id":2,"path":["core","num","traits","WidenTarget"],"kind":"trait"},"9555":{"crate_id":17,"path":["object","read","macho","segment","MachOSegmentInternal"],"kind":"struct"},"7793":{"crate_id":3,"path":["alloc","collections","TryReserveError"],"kind":"struct"},"4269":{"crate_id":0,"path":["tokio","runtime","handle","EnterGuard"],"kind":"struct"},"8120":{"crate_id":1,"path":["std","os","unix","fs","FileExt"],"kind":"trait"},"9882":{"crate_id":18,"path":["memchr","memmem","searcher","SearcherRev"],"kind":"struct"},"10209":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","statfs"],"kind":"struct"},"8447":{"crate_id":2,"path":["core","slice","iter","RSplitMut"],"kind":"struct"},"8774":{"crate_id":5,"path":["libc","unix","linux_like","fd_set"],"kind":"struct"},"10536":{"crate_id":39,"path":["gimli","common","EhFrameOffset"],"kind":"struct"},"10863":{"crate_id":40,"path":["object","read","elf","version","VerneedIterator"],"kind":"struct"},"9101":{"crate_id":10,"path":["hashbrown","map","Entry"],"kind":"enum"},"9428":{"crate_id":17,"path":["object","read","any","Segment"],"kind":"struct"},"7666":{"crate_id":33,"path":["io_uring","opcode"],"kind":"module"},"11190":{"crate_id":40,"path":["object","read","traits","ObjectSymbol"],"kind":"trait"},"9755":{"crate_id":17,"path":["object","pe","ImageAuxSymbolCrc"],"kind":"struct"},"7993":{"crate_id":1,"path":["std","backtrace_rs","backtrace","Frame"],"kind":"struct"},"10082":{"crate_id":27,"path":["libc","unix","linux_like","linux","ptp_sys_offset_precise"],"kind":"struct"},"8320":{"crate_id":2,"path":["core","str","iter","RSplitTerminator"],"kind":"struct"},"10409":{"crate_id":33,"path":["io_uring","types","Fixed"],"kind":"struct"},"8647":{"crate_id":3,"path":["alloc","collections","btree","navigate","LazyLeafHandle"],"kind":"enum"},"10736":{"crate_id":39,"path":["gimli","read","Error"],"kind":"enum"},"8974":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","sysinfo"],"kind":"struct"},"11063":{"crate_id":40,"path":["object","macho","LinkeditDataCommand"],"kind":"struct"},"9301":{"crate_id":16,"path":["gimli","read","lookup","DebugPubSet"],"kind":"struct"},"11390":{"crate_id":28,"path":["tracing"],"kind":"module"},"9628":{"crate_id":17,"path":["object","archive","AixMemberOffset"],"kind":"struct"},"7866":{"crate_id":1,"path":["std","io","buffered","linewritershim","LineWriterShim"],"kind":"struct"},"8193":{"crate_id":2,"path":["core","field","FieldRepresentingType"],"kind":"struct"},"9955":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","netlink","can_clock"],"kind":"struct"},"10282":{"crate_id":28,"path":["tracing","instrument","_","__Origin"],"kind":"struct"},"8520":{"crate_id":2,"path":["core","convert","num","CheckedCastFromInt"],"kind":"trait"},"8847":{"crate_id":5,"path":["libc","unix","linux_like","linux","in6_ifreq"],"kind":"struct"},"10609":{"crate_id":39,"path":["gimli","read","cfi","UnwindContextStorage"],"kind":"trait"},"10936":{"crate_id":40,"path":["object","read","pe","resource","ResourceDirectory"],"kind":"struct"},"9174":{"crate_id":16,"path":["gimli","arch","X86_64"],"kind":"struct"},"9501":{"crate_id":17,"path":["object","read","elf","note","GnuPropertyIterator"],"kind":"struct"},"7739":{"crate_id":21,"path":["parking_lot","rwlock","RwLockWriteGuard"],"kind":"type_alias"},"11263":{"crate_id":41,"path":["memchr","memchr","Memchr3"],"kind":"struct"},"9828":{"crate_id":17,"path":["object","xcoff","Rel64"],"kind":"struct"},"8066":{"crate_id":2,"path":["core","iter","adapters","enumerate","Enumerate"],"kind":"struct"},"10155":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket_req_u"],"kind":"union"},"8393":{"crate_id":2,"path":["core","mem","type_info","Slice"],"kind":"struct"},"10482":{"crate_id":36,"path":["backtrace","types","BytesOrWideString"],"kind":"enum"},"8720":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","bcm","bcm_msg_head"],"kind":"struct"},"9047":{"crate_id":8,"path":["miniz_oxide","MZStatus"],"kind":"enum"},"10809":{"crate_id":40,"path":["object","read","coff","file","CoffCommon"],"kind":"struct"},"11136":{"crate_id":40,"path":["object","pe","ImagePrologueDynamicRelocationHeader"],"kind":"struct"},"9374":{"crate_id":16,"path":["gimli","read","unit","EntriesCursor"],"kind":"struct"},"9701":{"crate_id":17,"path":["object","macho","DylibReference"],"kind":"struct"},"7939":{"crate_id":1,"path":["std","sync","reentrant_lock","ReentrantLockGuard"],"kind":"struct"},"8266":{"crate_id":2,"path":["core","ffi","c_str","Bytes"],"kind":"struct"},"10028":{"crate_id":27,"path":["libc","unix","linux_like","linux","dqblk"],"kind":"struct"},"10355":{"crate_id":33,"path":["io_uring","cqueue","Entry32"],"kind":"struct"},"8593":{"crate_id":3,"path":["alloc","collections","binary_heap","DrainSorted"],"kind":"struct"},"1545":{"crate_id":0,"path":["tokio","io"],"kind":"module"},"10682":{"crate_id":39,"path":["gimli","read","macros","DebugMacro"],"kind":"struct"},"8920":{"crate_id":5,"path":["libc","unix","linux_like","linux","ifinfomsg"],"kind":"struct"},"11009":{"crate_id":40,"path":["object","elf","Verdaux"],"kind":"struct"},"9247":{"crate_id":16,"path":["gimli","read","cfi","PointerEncodingParameters"],"kind":"struct"},"11336":{"crate_id":27,"path":["libc","unix","if_nametoindex"],"kind":"function"},"7812":{"crate_id":21,"path":["parking_lot","raw_mutex","RawMutex"],"kind":"struct"},"9574":{"crate_id":17,"path":["object","read","pe","export","Export"],"kind":"struct"},"9901":{"crate_id":22,"path":["lock_api","mutex","RawMutexTimed"],"kind":"trait"},"8139":{"crate_id":2,"path":["core","core_simd","vector","Simd"],"kind":"struct"},"8466":{"crate_id":2,"path":["core","field","fmt","Member"],"kind":"enum"},"10228":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","clone_args"],"kind":"struct"},"10555":{"crate_id":39,"path":["gimli","constants","DwAt"],"kind":"struct"},"8793":{"crate_id":5,"path":["libc","unix","linux_like","statx"],"kind":"struct"},"9120":{"crate_id":13,"path":["rustc_demangle","legacy","Demangle"],"kind":"struct"},"10882":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldCacheRelocationIterator"],"kind":"struct"},"310":{"crate_id":1,"path":["std","fs","OpenOptions"],"kind":"struct"},"9447":{"crate_id":17,"path":["object","read","archive","Members"],"kind":"enum"},"7685":{"crate_id":3,"path":["alloc","vec","into_iter","IntoIter"],"kind":"struct"},"11209":{"crate_id":40,"path":["object","read","xcoff","file","AuxHeader"],"kind":"trait"},"637":{"crate_id":0,"path":["tokio","net","unix","split","ReadHalf"],"kind":"struct"},"9774":{"crate_id":17,"path":["object","pe","ImageResourceDataEntry"],"kind":"struct"},"8012":{"crate_id":1,"path":["std","sys","io","kernel_copy","linux","FdHandle"],"kind":"enum"},"10101":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_point"],"kind":"struct"},"8339":{"crate_id":2,"path":["core","str","pattern","CharSearcher"],"kind":"struct"},"1291":{"crate_id":0,"path":["tokio","io","stderr","stderr"],"kind":"function"},"10428":{"crate_id":33,"path":["io_uring","opcode","ReadFixed"],"kind":"struct"},"8666":{"crate_id":3,"path":["alloc","ffi","c_str","FromVecWithNulError"],"kind":"struct"},"10755":{"crate_id":40,"path":["object","common","SymbolFlags"],"kind":"enum"},"8993":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","user"],"kind":"struct"},"183":{"crate_id":28,"path":["tracing","instrument","Instrument"],"kind":"trait"},"9320":{"crate_id":16,"path":["gimli","read","names","NameBucketIter"],"kind":"struct"},"11082":{"crate_id":40,"path":["object","macho","RelocationInfo"],"kind":"struct"},"11409":{"crate_id":47,"path":["socket2"],"kind":"module"},"7885":{"crate_id":1,"path":["std","panic","BacktraceStyle"],"kind":"enum"},"9647":{"crate_id":17,"path":["object","elf","ProgramHeader64"],"kind":"struct"},"4361":{"crate_id":44,"path":["tokio_macros","main"],"kind":"proc_attribute"},"9974":{"crate_id":27,"path":["libc","new","linux_uapi","linux","pidfd","pidfd_info"],"kind":"struct"},"8212":{"crate_id":2,"path":["core","char","convert","CharTryFromError"],"kind":"struct"},"8539":{"crate_id":2,"path":["core","ops","range","IntoBounds"],"kind":"trait"},"10301":{"crate_id":29,"path":["tracing_core","dispatcher","SetGlobalDefaultError"],"kind":"struct"},"3253":{"crate_id":0,"path":["tokio","net","windows","named_pipe","ClientOptions"],"kind":"struct"},"1491":{"crate_id":32,"path":["bytes","bytes_mut","BytesMut"],"kind":"struct"},"10628":{"crate_id":39,"path":["gimli","read","dwarf","RangeIterInner"],"kind":"enum"},"8866":{"crate_id":5,"path":["libc","unix","linux_like","linux","tls12_crypto_info_sm4_gcm"],"kind":"struct"},"9193":{"crate_id":16,"path":["gimli","constants","DwId"],"kind":"struct"},"10955":{"crate_id":40,"path":["object","read","xcoff","comdat","XcoffComdat"],"kind":"struct"},"11282":{"crate_id":42,"path":["miniz_oxide","inflate","TINFLStatus"],"kind":"enum"},"9520":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldSubCacheSlice"],"kind":"enum"},"7758":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","not_x32","SYS_pidfd_open"],"kind":"constant"},"9847":{"crate_id":18,"path":["memchr","arch","x86_64","avx2","memchr","Three"],"kind":"struct"},"8085":{"crate_id":2,"path":["core","iter","traits","accum","Sum"],"kind":"trait"},"10174":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","termios"],"kind":"struct"},"8412":{"crate_id":2,"path":["core","mem","type_info","FnPtr"],"kind":"struct"},"4888":{"crate_id":0,"path":["tokio","signal","windows","ctrl_close"],"kind":"function"},"8739":{"crate_id":5,"path":["libc","new","linux_uapi","linux","netlink","nl_pktinfo"],"kind":"struct"},"10501":{"crate_id":39,"path":["gimli","read","reader","Reader"],"kind":"trait"},"10828":{"crate_id":40,"path":["object","read","coff","import","ImportType"],"kind":"enum"},"9066":{"crate_id":10,"path":["hashbrown","raw","RawIterHash"],"kind":"struct"},"256":{"crate_id":2,"path":["core","io","seek","SeekFrom"],"kind":"enum"},"9393":{"crate_id":17,"path":["object","common","RelocationEncoding"],"kind":"enum"},"11155":{"crate_id":40,"path":["object","pe","ImageFunctionEntry64"],"kind":"struct"},"583":{"crate_id":0,"path":["tokio","io","util","take","Take"],"kind":"struct"},"7958":{"crate_id":1,"path":["std","sys","args","common","Args"],"kind":"struct"},"9720":{"crate_id":17,"path":["object","macho","SourceVersionCommand"],"kind":"struct"},"10047":{"crate_id":27,"path":["libc","unix","linux_like","linux","input_absinfo"],"kind":"struct"},"8285":{"crate_id":2,"path":["core","option","Item"],"kind":"struct"},"10374":{"crate_id":33,"path":["io_uring","sys","io_uring_sqe__bindgen_ty_6__bindgen_ty_1"],"kind":"struct"},"8612":{"crate_id":3,"path":["alloc","rc","Weak"],"kind":"struct"},"5088":{"crate_id":0,"path":["tokio","sync","broadcast","error","TryRecvError"],"kind":"enum"},"10701":{"crate_id":39,"path":["gimli","read","pubnames","PubNamesEntryIter"],"kind":"struct"},"8939":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","__exit_status"],"kind":"struct"},"11028":{"crate_id":40,"path":["object","macho","FatHeader"],"kind":"struct"},"9266":{"crate_id":16,"path":["gimli","read","abbrev","Abbreviation"],"kind":"struct"},"456":{"crate_id":1,"path":["std","fs","remove_file"],"kind":"function"},"9593":{"crate_id":17,"path":["object","read","xcoff","file","XcoffFile"],"kind":"struct"},"7831":{"crate_id":1,"path":["std","collections","hash","map","OccupiedError"],"kind":"struct"},"11355":{"crate_id":2,"path":["core","ptr","with_exposed_provenance_mut"],"kind":"function"},"8158":{"crate_id":2,"path":["core","num","saturating","Saturating"],"kind":"struct"},"9920":{"crate_id":22,"path":["lock_api","remutex","MappedReentrantMutexGuard"],"kind":"struct"},"10247":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","Elf32_Phdr"],"kind":"struct"},"8485":{"crate_id":2,"path":["core","ops","bit","ShlAssign"],"kind":"trait"},"8812":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket_bd_ts"],"kind":"struct"},"10574":{"crate_id":39,"path":["gimli","constants","DwLne"],"kind":"struct"},"10901":{"crate_id":40,"path":["object","read","macho","load_command","LoadCommandVariant"],"kind":"enum"},"9139":{"crate_id":16,"path":["gimli","common","DebugAbbrevOffset"],"kind":"struct"},"9466":{"crate_id":17,"path":["object","read","coff","symbol","CoffSymbolIterator"],"kind":"struct"},"7704":{"crate_id":31,"path":["mio","net","uds","stream","UnixStream"],"kind":"struct"},"11228":{"crate_id":41,"path":["memchr","arch","x86_64","avx2","memchr","One"],"kind":"struct"},"9793":{"crate_id":17,"path":["object","pe","ImageEnclaveConfig32"],"kind":"struct"},"8031":{"crate_id":1,"path":["std","sync","mpmc","waker","SyncWaker"],"kind":"struct"},"10120":{"crate_id":27,"path":["libc","unix","linux_like","linux","ptp_pin_desc"],"kind":"struct"},"8358":{"crate_id":2,"path":["core","str","UnsafeBytesToStr"],"kind":"struct"},"10447":{"crate_id":33,"path":["io_uring","sys","io_uring_probe"],"kind":"struct"},"8685":{"crate_id":3,"path":["alloc","collections","btree","map","ExtractIf"],"kind":"struct"},"10774":{"crate_id":40,"path":["object","read","util","ByteString"],"kind":"struct"},"9012":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","dl_phdr_info"],"kind":"struct"},"3726":{"crate_id":0,"path":["tokio","runtime","task","id","id"],"kind":"function"},"202":{"crate_id":0,"path":["tokio","io","util","async_read_ext","AsyncReadExt"],"kind":"trait"},"9339":{"crate_id":16,"path":["gimli","read","op","OperationIter"],"kind":"struct"},"11101":{"crate_id":40,"path":["object","pe","ImageSymbol"],"kind":"struct"},"11428":{"crate_id":1,"path":["std","u8"],"kind":"primitive"},"9666":{"crate_id":17,"path":["object","macho","DyldCacheSlidePointer3"],"kind":"struct"},"7904":{"crate_id":1,"path":["std","sync","mpmc","context","Context"],"kind":"struct"},"856":{"crate_id":0,"path":["tokio","net","unix","pipe","Sender"],"kind":"struct"},"8231":{"crate_id":2,"path":["core","slice","GetDisjointMutError"],"kind":"enum"},"9993":{"crate_id":27,"path":["libc","unix","in6_addr"],"kind":"struct"},"10320":{"crate_id":2,"path":["core","fmt","builders","DebugMap"],"kind":"struct"},"8558":{"crate_id":2,"path":["core","core_simd","swizzle","reverse","Reverse"],"kind":"struct"},"8885":{"crate_id":5,"path":["libc","unix","linux_like","linux","pthread_rwlockattr_t"],"kind":"struct"},"10647":{"crate_id":39,"path":["gimli","read","aranges","ArangeEntryIter"],"kind":"struct"},"5361":{"crate_id":2,"path":["core","iter","traits","marker","FusedIterator"],"kind":"trait"},"10974":{"crate_id":40,"path":["object","read","CodeView"],"kind":"struct"},"9212":{"crate_id":16,"path":["gimli","leb128","write","Leb128"],"kind":"struct"},"9539":{"crate_id":17,"path":["object","read","macho","exports_trie","ExportsTrieIterator"],"kind":"struct"},"7777":{"crate_id":2,"path":["core","sync","atomic","Ordering","Acquire"],"kind":"variant"},"11301":{"crate_id":45,"path":["signal_hook_registry","Slot"],"kind":"struct"},"9866":{"crate_id":18,"path":["memchr","arch","generic","memchr","Two"],"kind":"struct"},"8104":{"crate_id":2,"path":["core","io","util","Take"],"kind":"struct"},"8431":{"crate_id":2,"path":["core","io","error","CustomOwner"],"kind":"struct"},"10193":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","mbstate_t"],"kind":"struct"},"10520":{"crate_id":39,"path":["gimli","common","DebugLineStrOffset"],"kind":"struct"},"8758":{"crate_id":5,"path":["libc","unix","itimerval"],"kind":"struct"},"9085":{"crate_id":10,"path":["hashbrown","map","IntoKeys"],"kind":"struct"},"10847":{"crate_id":40,"path":["object","read","elf","relocation","CrelIteratorState"],"kind":"struct"},"3799":{"crate_id":0,"path":["tokio","task","spawn","spawn"],"kind":"function"},"275":{"crate_id":1,"path":["std","os","fd","raw","RawFd"],"kind":"type_alias"},"7650":{"crate_id":1,"path":["std","os","unix","fs","DirEntryExt"],"kind":"trait"},"9412":{"crate_id":17,"path":["object","read","read_cache","ReadCacheRange"],"kind":"struct"},"11174":{"crate_id":40,"path":["object","xcoff","FunAux32"],"kind":"struct"},"602":{"crate_id":0,"path":["tokio","io","split","ReadHalf"],"kind":"struct"},"9739":{"crate_id":17,"path":["object","pe","ImageNtHeaders32"],"kind":"struct"},"7977":{"crate_id":1,"path":["std","sys","process","unix","common","cstring_array","CStringArray"],"kind":"struct"},"10066":{"crate_id":27,"path":["libc","unix","linux_like","linux","inotify_event"],"kind":"struct"},"8304":{"crate_id":2,"path":["core","slice","iter","RSplit"],"kind":"struct"},"10393":{"crate_id":33,"path":["io_uring","sys","io_uring_buf_ring__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1"],"kind":"struct"},"8631":{"crate_id":3,"path":["alloc","collections","vec_deque","index","WrappedIndex"],"kind":"struct"},"10720":{"crate_id":39,"path":["gimli","read","unit","UnitType"],"kind":"enum"},"8958":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","iocb"],"kind":"struct"},"148":{"crate_id":2,"path":["core","marker","UnsafeUnpin"],"kind":"trait"},"9285":{"crate_id":16,"path":["gimli","read","line","ColumnType"],"kind":"enum"},"11047":{"crate_id":40,"path":["object","macho","PreboundDylibCommand"],"kind":"struct"},"475":{"crate_id":0,"path":["tokio","fs","try_exists","try_exists"],"kind":"function"},"7850":{"crate_id":1,"path":["std","env","Vars"],"kind":"struct"},"9612":{"crate_id":17,"path":["object","read","SectionIndex"],"kind":"struct"},"11374":{"crate_id":11,"path":["rustc_std_workspace_alloc"],"kind":"module"},"9939":{"crate_id":24,"path":["parking_lot_core","spinwait","SpinWait"],"kind":"struct"},"8177":{"crate_id":2,"path":["core","num","niche_types","I64NotAllOnes"],"kind":"struct"},"8504":{"crate_id":2,"path":["core","intrinsics","fallback","CarrylessMul"],"kind":"trait"},"10266":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","__c_anonymous_ifc_ifcu"],"kind":"union"},"10593":{"crate_id":39,"path":["gimli","read","cfi","ParsedEhFrameHdr"],"kind":"struct"},"8831":{"crate_id":5,"path":["libc","unix","linux_like","linux","uinput_abs_setup"],"kind":"struct"},"9158":{"crate_id":16,"path":["gimli","common","DebugStrOffsetsBase"],"kind":"struct"},"7396":{"crate_id":0,"path":["tokio","time","interval","MissedTickBehavior","Burst"],"kind":"variant"},"10920":{"crate_id":40,"path":["object","read","pe","section","PeSectionIterator"],"kind":"struct"},"11247":{"crate_id":41,"path":["memchr","arch","all","rabinkarp","FinderRev"],"kind":"struct"},"9485":{"crate_id":17,"path":["object","read","elf","symbol","ElfSymbol"],"kind":"struct"},"7723":{"crate_id":2,"path":["core","sync","atomic","private","Align8"],"kind":"struct"},"9812":{"crate_id":17,"path":["object","xcoff","SymbolBytes"],"kind":"struct"},"8050":{"crate_id":1,"path":["std","backtrace_rs","symbolize","gimli","lru","Lru"],"kind":"struct"},"10139":{"crate_id":27,"path":["libc","unix","linux_like","linux","sockaddr_alg"],"kind":"struct"},"8377":{"crate_id":2,"path":["core","core_arch","x86","__m512d"],"kind":"struct"},"10466":{"crate_id":35,"path":["slab","GetDisjointMutError"],"kind":"enum"},"8704":{"crate_id":3,"path":["alloc","collections","btree","node","marker","ValMut"],"kind":"struct"},"6942":{"crate_id":0,"path":["tokio","task","coop","has_budget_remaining"],"kind":"function"},"10793":{"crate_id":40,"path":["object","read","any","SymbolIteratorInternal"],"kind":"enum"},"9031":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","dirent"],"kind":"struct"},"11120":{"crate_id":40,"path":["object","pe","ImageTlsDirectory32"],"kind":"struct"},"9358":{"crate_id":16,"path":["gimli","read","rnglists","RawRngListEntry"],"kind":"enum"},"7923":{"crate_id":1,"path":["std","sync","mpsc","RecvTimeoutError"],"kind":"enum"},"9685":{"crate_id":17,"path":["object","macho","DylibCommand"],"kind":"struct"},"10012":{"crate_id":27,"path":["libc","unix","linux_like","in6_rtmsg"],"kind":"struct"},"8250":{"crate_id":2,"path":["core","ptr","unique","Unique"],"kind":"struct"},"8577":{"crate_id":2,"path":["core","ptr","metadata","Pointee"],"kind":"trait"},"10339":{"crate_id":32,"path":["bytes","TryGetError"],"kind":"struct"},"10666":{"crate_id":39,"path":["gimli","read","line","FileEntry"],"kind":"struct"},"8904":{"crate_id":5,"path":["libc","unix","linux_like","linux","xsk_tx_metadata_request"],"kind":"struct"},"9231":{"crate_id":16,"path":["gimli","read","cfi","Augmentation"],"kind":"struct"},"10993":{"crate_id":40,"path":["object","elf","Sym32"],"kind":"struct"},"11320":{"crate_id":2,"path":["core","sync","atomic"],"kind":"module"},"9558":{"crate_id":17,"path":["object","read","macho","section","MachOSectionInternal"],"kind":"struct"},"7796":{"crate_id":3,"path":["alloc","vec","drain","Drain"],"kind":"struct"},"2510":{"crate_id":0,"path":["tokio","net","udp","UdpSocket"],"kind":"struct"},"8123":{"crate_id":1,"path":["std","os","unix","fs","FileTypeExt"],"kind":"trait"},"9885":{"crate_id":18,"path":["memchr","memmem","FindRevIter"],"kind":"struct"},"1075":{"crate_id":2,"path":["core","ops","deref","Receiver"],"kind":"trait"},"10212":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","siginfo_t"],"kind":"struct"},"8450":{"crate_id":2,"path":["core","slice","iter","RSplitN"],"kind":"struct"},"8777":{"crate_id":5,"path":["libc","unix","linux_like","Dl_info"],"kind":"struct"},"10539":{"crate_id":39,"path":["gimli","common","DwoId"],"kind":"struct"},"10866":{"crate_id":40,"path":["object","read","elf","attributes","AttributesSubsectionIterator"],"kind":"struct"},"9104":{"crate_id":10,"path":["hashbrown","map","EntryRef"],"kind":"enum"},"294":{"crate_id":0,"path":["tokio","doc","os","windows","io","BorrowedHandle"],"kind":"type_alias"},"9431":{"crate_id":17,"path":["object","read","any","Section"],"kind":"struct"},"7669":{"crate_id":27,"path":["libc","unix","linux_like","statx"],"kind":"struct"},"11193":{"crate_id":40,"path":["object","read","elf","relocation","ElfRelocationIterator"],"kind":"enum"},"9758":{"crate_id":17,"path":["object","pe","ImageBaseRelocation"],"kind":"struct"},"7996":{"crate_id":1,"path":["std","backtrace_rs","symbolize","gimli","parse_running_mmaps","MapsEntry"],"kind":"struct"},"10085":{"crate_id":27,"path":["libc","unix","linux_like","linux","sctp_sndrcvinfo"],"kind":"struct"},"8323":{"crate_id":2,"path":["core","str","iter","RSplitN"],"kind":"struct"},"10412":{"crate_id":33,"path":["io_uring","types","FsyncFlags"],"kind":"struct"},"8650":{"crate_id":3,"path":["alloc","collections","btree","set","Iter"],"kind":"struct"},"10739":{"crate_id":39,"path":["gimli","read","Section"],"kind":"trait"},"8977":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","timex"],"kind":"struct"},"11066":{"crate_id":40,"path":["object","macho","EncryptionInfoCommand64"],"kind":"struct"},"9304":{"crate_id":16,"path":["gimli","read","lookup","PubSet"],"kind":"struct"},"11393":{"crate_id":31,"path":["mio"],"kind":"module"},"9631":{"crate_id":17,"path":["object","elf","Ident"],"kind":"struct"},"7869":{"crate_id":1,"path":["std","io","pipe","PipeWriter"],"kind":"struct"},"8196":{"crate_id":2,"path":["core","marker","variance","PhantomInvariantLifetime"],"kind":"struct"},"9958":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","netlink","can_device_stats"],"kind":"struct"},"4672":{"crate_id":0,"path":["tokio","runtime","metrics","histogram","HistogramScale","Linear"],"kind":"variant"},"10285":{"crate_id":29,"path":["tracing_core","field","Value"],"kind":"trait"},"8523":{"crate_id":2,"path":["core","iter","range","Step"],"kind":"trait"},"8850":{"crate_id":5,"path":["libc","unix","linux_like","linux","ptp_extts_request"],"kind":"struct"},"10612":{"crate_id":39,"path":["gimli","read","cfi","RegisterRuleIter"],"kind":"struct"},"10939":{"crate_id":40,"path":["object","read","pe","resource","ResourceName"],"kind":"struct"},"9177":{"crate_id":16,"path":["gimli","constants","DwSectV2"],"kind":"struct"},"9504":{"crate_id":17,"path":["object","read","elf","hash","GnuHashTable"],"kind":"struct"},"7742":{"crate_id":2,"path":["core","hash","BuildHasher"],"kind":"trait"},"11266":{"crate_id":41,"path":["memchr","memmem","searcher","SearcherRevKind"],"kind":"enum"},"9831":{"crate_id":17,"path":["object","read","elf","relocation","ElfRelocationIterator"],"kind":"enum"},"8069":{"crate_id":2,"path":["core","iter","adapters","take_while","TakeWhile"],"kind":"struct"},"1021":{"crate_id":2,"path":["core","cmp","Ordering"],"kind":"enum"},"10158":{"crate_id":27,"path":["libc","unix","linux_like","linux","sock_txtime"],"kind":"struct"},"8396":{"crate_id":2,"path":["core","mem","type_info","Trait"],"kind":"struct"},"10485":{"crate_id":36,"path":["backtrace","print","BacktraceFrameFmt"],"kind":"struct"},"8723":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","netlink","can_bittiming_const"],"kind":"struct"},"3437":{"crate_id":1,"path":["std","process","Stdio"],"kind":"struct"},"10812":{"crate_id":40,"path":["object","read","coff","section","SectionTable"],"kind":"struct"},"9050":{"crate_id":9,"path":["adler2","algo","U32X4"],"kind":"struct"},"11139":{"crate_id":40,"path":["object","pe","ImageLoadConfigDirectory64"],"kind":"struct"},"9377":{"crate_id":16,"path":["gimli","read","unit","EntriesTreeIter"],"kind":"struct"},"9704":{"crate_id":17,"path":["object","macho","PrebindCksumCommand"],"kind":"struct"},"7942":{"crate_id":1,"path":["std","sync","nonpoison","mutex","Mutex"],"kind":"struct"},"8269":{"crate_id":2,"path":["core","io","io_slice","repr","iovec"],"kind":"struct"},"10031":{"crate_id":27,"path":["libc","unix","linux_like","linux","sockaddr_pkt"],"kind":"struct"},"2983":{"crate_id":2,"path":["core","hash","Hasher"],"kind":"trait"},"10358":{"crate_id":33,"path":["io_uring","squeue","_","InternalBitFlags"],"kind":"struct"},"8596":{"crate_id":3,"path":["alloc","collections","btree","map","IntoIter"],"kind":"struct"},"8923":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_michaelmicfailure"],"kind":"struct"},"10685":{"crate_id":39,"path":["gimli","read","macros","MacroEntry"],"kind":"enum"},"11012":{"crate_id":40,"path":["object","elf","NoteHeader32"],"kind":"struct"},"9250":{"crate_id":16,"path":["gimli","read","dwarf","DwarfPackageSections"],"kind":"struct"},"5726":{"crate_id":0,"path":["tokio","sync","mutex","MappedMutexGuard"],"kind":"struct"},"3964":{"crate_id":0,"path":["tokio","runtime"],"kind":"module"},"11339":{"crate_id":2,"path":["core","ptr","drop_in_place"],"kind":"function"},"7815":{"crate_id":44,"path":["tokio_macros","select_priv_clean_pattern"],"kind":"macro"},"6053":{"crate_id":0,"path":["tokio","sync","oneshot","error"],"kind":"module"},"9577":{"crate_id":17,"path":["object","read","pe","import","ImportTable"],"kind":"struct"},"9904":{"crate_id":22,"path":["lock_api","rwlock","RawRwLockFair"],"kind":"trait"},"8142":{"crate_id":2,"path":["core","alloc","GlobalAllocator"],"kind":"trait"},"8469":{"crate_id":2,"path":["core","fmt","LowerHex"],"kind":"trait"},"10231":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","max_align_t"],"kind":"struct"},"10558":{"crate_id":39,"path":["gimli","constants","DwLle"],"kind":"struct"},"8796":{"crate_id":5,"path":["libc","unix","linux_like","sigevent"],"kind":"struct"},"9123":{"crate_id":13,"path":["rustc_demangle","DemangleStyle"],"kind":"enum"},"10885":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldCacheRelocationIteratorV2"],"kind":"struct"},"11212":{"crate_id":40,"path":["object","read","xcoff","symbol","FileAux"],"kind":"trait"},"9450":{"crate_id":17,"path":["object","read","archive","MemberHeader"],"kind":"enum"},"7688":{"crate_id":2,"path":["core","future","ready","Ready"],"kind":"struct"},"640":{"crate_id":0,"path":["tokio","net","unix","split_owned","OwnedReadHalf"],"kind":"struct"},"9777":{"crate_id":17,"path":["object","pe","ImageDynamicRelocation32"],"kind":"struct"},"8015":{"crate_id":3,"path":["alloc","borrow","Cow"],"kind":"enum"},"10104":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_discarded"],"kind":"struct"},"8342":{"crate_id":2,"path":["core","str","pattern","CharArrayRefSearcher"],"kind":"struct"},"10431":{"crate_id":33,"path":["io_uring","opcode","PollRemove"],"kind":"struct"},"8669":{"crate_id":3,"path":["alloc","string","IntoChars"],"kind":"struct"},"6907":{"crate_id":0,"path":["tokio","sync"],"kind":"module"},"10758":{"crate_id":40,"path":["object","endian","LittleEndian"],"kind":"struct"},"8996":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","shmid_ds"],"kind":"struct"},"11085":{"crate_id":40,"path":["object","pe","ImageOs2Header"],"kind":"struct"},"9323":{"crate_id":16,"path":["gimli","read","names","NameEntryOffset"],"kind":"struct"},"513":{"crate_id":0,"path":["tokio","io","util","buf_reader","BufReader"],"kind":"struct"},"7888":{"crate_id":1,"path":["std","path","PrefixComponent"],"kind":"struct"},"9650":{"crate_id":17,"path":["object","elf","Versym"],"kind":"struct"},"11412":{"crate_id":1,"path":["std","char"],"kind":"primitive"},"9977":{"crate_id":27,"path":["libc","unix","group"],"kind":"struct"},"8215":{"crate_id":2,"path":["core","char","CharCase"],"kind":"enum"},"8542":{"crate_id":2,"path":["core","async_iter","async_iter","IntoAsyncIterator"],"kind":"trait"},"6780":{"crate_id":0,"path":["tokio","sync","watch","Receiver"],"kind":"struct"},"10304":{"crate_id":29,"path":["tracing_core","field","Iter"],"kind":"struct"},"1494":{"crate_id":2,"path":["core","io","error","ErrorKind","UnexpectedEof"],"kind":"variant"},"10631":{"crate_id":39,"path":["gimli","read","endian_slice","DebugBytes"],"kind":"struct"},"8869":{"crate_id":5,"path":["libc","unix","linux_like","linux","tls12_crypto_info_aria_gcm_256"],"kind":"struct"},"9196":{"crate_id":16,"path":["gimli","constants","DwOrd"],"kind":"struct"},"10958":{"crate_id":40,"path":["object","read","xcoff","segment","XcoffSegment"],"kind":"struct"},"386":{"crate_id":0,"path":["tokio","fs","read_dir","ReadDir"],"kind":"struct"},"9523":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldCacheImage"],"kind":"struct"},"7761":{"crate_id":1,"path":["std","os","unix","process","CommandExt"],"kind":"trait"},"11285":{"crate_id":42,"path":["miniz_oxide","MZError"],"kind":"enum"},"9850":{"crate_id":18,"path":["memchr","arch","x86_64","sse2","memchr","Two"],"kind":"struct"},"8088":{"crate_id":1,"path":["std","os","unix","net","ancillary","AncillaryDataIter"],"kind":"struct"},"10177":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","ntptimeval"],"kind":"struct"},"8415":{"crate_id":2,"path":["core","error","tags","MaybeSizedValue"],"kind":"struct"},"10504":{"crate_id":38,"path":["addr2line","lookup","LoopingLookup"],"kind":"struct"},"8742":{"crate_id":5,"path":["libc","new","linux_uapi","linux","netlink","nlattr"],"kind":"struct"},"10831":{"crate_id":40,"path":["object","read","elf","file","FileHeader"],"kind":"trait"},"9069":{"crate_id":10,"path":["hashbrown","map","Keys"],"kind":"struct"},"9396":{"crate_id":17,"path":["object","common","Permissions"],"kind":"struct"},"7634":{"crate_id":44,"path":["tokio_macros","test"],"kind":"proc_attribute"},"11158":{"crate_id":40,"path":["object","pe","ImageArchitectureEntry"],"kind":"struct"},"7961":{"crate_id":1,"path":["std","sys","fs","common","Dir"],"kind":"struct"},"9723":{"crate_id":17,"path":["object","macho","FilesetEntryCommand"],"kind":"struct"},"10050":{"crate_id":27,"path":["libc","unix","linux_like","linux","ff_replay"],"kind":"struct"},"8288":{"crate_id":2,"path":["core","range","iter","RangeFromIter"],"kind":"struct"},"4764":{"crate_id":0,"path":["tokio","signal","unix","SignalKind"],"kind":"struct"},"8615":{"crate_id":3,"path":["alloc","string","retain","SetLenOnDrop"],"kind":"struct"},"10377":{"crate_id":33,"path":["io_uring","sys","io_sqring_offsets"],"kind":"struct"},"10704":{"crate_id":39,"path":["gimli","read","pubtypes","PubTypesEntryIter"],"kind":"struct"},"8942":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","msghdr"],"kind":"struct"},"11031":{"crate_id":40,"path":["object","macho","MachHeader32"],"kind":"struct"},"9269":{"crate_id":16,"path":["gimli","read","aranges","DebugAranges"],"kind":"struct"},"3983":{"crate_id":0,"path":["tokio","runtime","metrics","histogram","HistogramScale","Log"],"kind":"variant"},"459":{"crate_id":1,"path":["std","fs","rename"],"kind":"function"},"9596":{"crate_id":17,"path":["object","read","xcoff","section","SectionTable"],"kind":"struct"},"7834":{"crate_id":1,"path":["std","collections","hash","map","ValuesMut"],"kind":"struct"},"11358":{"crate_id":29,"path":["tracing_core","callsite","rebuild_interest_cache"],"kind":"function"},"8161":{"crate_id":2,"path":["core","num","niche_types","NonZeroU8Inner"],"kind":"struct"},"9923":{"crate_id":22,"path":["lock_api","rwlock","RwLockWriteGuard"],"kind":"struct"},"10250":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","Elf64_Shdr"],"kind":"struct"},"8488":{"crate_id":2,"path":["core","hint","select_unpredictable","DropOnPanic"],"kind":"struct"},"4964":{"crate_id":0,"path":["tokio","sync","notify","Notified"],"kind":"struct"},"8815":{"crate_id":5,"path":["libc","unix","linux_like","linux","input_event"],"kind":"struct"},"10577":{"crate_id":39,"path":["gimli","constants","DwMacro"],"kind":"struct"},"10904":{"crate_id":40,"path":["object","read","macho","segment","MachOSegmentInternal"],"kind":"struct"},"9142":{"crate_id":16,"path":["gimli","common","DebugAddrIndex"],"kind":"struct"},"9469":{"crate_id":17,"path":["object","read","coff","comdat","CoffComdatIterator"],"kind":"struct"},"7707":{"crate_id":27,"path":["libc","unix","linux_like","linux","arch","generic","SOL_SOCKET"],"kind":"constant"},"4183":{"crate_id":36,"path":["backtrace","capture","Backtrace"],"kind":"struct"},"11231":{"crate_id":41,"path":["memchr","arch","x86_64","avx2","packedpair","Finder"],"kind":"struct"},"9796":{"crate_id":17,"path":["object","pe","ImageDebugDirectory"],"kind":"struct"},"8034":{"crate_id":1,"path":["std","sys","pal","unix","stack_overflow","thread_info","UnlockOnDrop"],"kind":"struct"},"10123":{"crate_id":27,"path":["libc","unix","linux_like","linux","xdp_ring_offset"],"kind":"struct"},"8361":{"crate_id":2,"path":["core","unicode","unicode_data","conversions","Range"],"kind":"struct"},"4837":{"crate_id":0,"path":["tokio","signal","unix","signal"],"kind":"function"},"10450":{"crate_id":33,"path":["io_uring","types","RecvMsgOut"],"kind":"struct"},"8688":{"crate_id":3,"path":["alloc","collections","btree","set","entry","Entry"],"kind":"enum"},"10777":{"crate_id":40,"path":["object","read","any","File"],"kind":"enum"},"9015":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","Elf32_Sym"],"kind":"struct"},"7253":{"crate_id":0,"path":["tokio","time","clock","advance"],"kind":"function"},"205":{"crate_id":0,"path":["tokio","fs","open_options","OpenOptions"],"kind":"struct"},"9342":{"crate_id":16,"path":["gimli","read","pubnames","DebugGnuPubNames"],"kind":"struct"},"11104":{"crate_id":40,"path":["object","pe","ImageSymbolExBytes"],"kind":"struct"},"11431":{"crate_id":1,"path":["std","u64"],"kind":"primitive"},"9669":{"crate_id":17,"path":["object","macho","DyldSubCacheEntryV1"],"kind":"struct"},"7907":{"crate_id":1,"path":["std","sync","mpmc","list","Position"],"kind":"struct"},"8234":{"crate_id":2,"path":["core","str","pattern","SearchStep"],"kind":"enum"},"9996":{"crate_id":27,"path":["libc","unix","linux_like","in_addr"],"kind":"struct"},"10323":{"crate_id":30,"path":["once_cell","unsync","OnceCell"],"kind":"struct"},"8561":{"crate_id":2,"path":["core","core_simd","swizzle","shift_elements_left","Shift"],"kind":"struct"},"8888":{"crate_id":5,"path":["libc","unix","linux_like","linux","fanotify_event_metadata"],"kind":"struct"},"10650":{"crate_id":39,"path":["gimli","read","index","DebugTuIndex"],"kind":"struct"},"10977":{"crate_id":40,"path":["object","read","RelocationMap"],"kind":"struct"},"9215":{"crate_id":16,"path":["gimli","read","addr","DebugAddr"],"kind":"struct"},"5691":{"crate_id":0,"path":["tokio","sync","mutex","OwnedMutexGuard"],"kind":"struct"},"9542":{"crate_id":17,"path":["object","read","macho","exports_trie","NodeIterator"],"kind":"struct"},"7780":{"crate_id":2,"path":["core","num","nonzero","NonZeroU64"],"kind":"type_alias"},"11304":{"crate_id":46,"path":["errno","Errno"],"kind":"struct"},"9869":{"crate_id":18,"path":["memchr","arch","generic","packedpair","Finder"],"kind":"struct"},"8107":{"crate_id":1,"path":["std","io","stdio","StdinRaw"],"kind":"struct"},"10196":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","timespec"],"kind":"struct"},"8434":{"crate_id":2,"path":["core","panic","panic_info","PanicMessage"],"kind":"struct"},"10523":{"crate_id":39,"path":["gimli","common","DebugLocListsIndex"],"kind":"struct"},"6999":{"crate_id":0,"path":["tokio","task","local","LocalEnterGuard"],"kind":"struct"},"8761":{"crate_id":5,"path":["libc","unix","protoent"],"kind":"struct"},"9088":{"crate_id":10,"path":["hashbrown","map","IterMut"],"kind":"struct"},"10850":{"crate_id":40,"path":["object","read","elf","comdat","ElfComdat"],"kind":"struct"},"11177":{"crate_id":40,"path":["object","xcoff","BlockAux32"],"kind":"struct"},"7653":{"crate_id":29,"path":["tracing_core","span","Id"],"kind":"struct"},"9415":{"crate_id":17,"path":["object","read","symbol_map","ObjectMap"],"kind":"struct"},"9742":{"crate_id":17,"path":["object","pe","AnonObjectHeader"],"kind":"struct"},"7980":{"crate_id":1,"path":["std","sys","process","unix","common","Command"],"kind":"struct"},"8307":{"crate_id":2,"path":["core","slice","iter","ChunksExact"],"kind":"struct"},"10069":{"crate_id":27,"path":["libc","unix","linux_like","linux","fanotify_event_info_fid"],"kind":"struct"},"10396":{"crate_id":33,"path":["io_uring","sys","io_uring_napi"],"kind":"struct"},"8634":{"crate_id":3,"path":["alloc","collections","binary_heap","BinaryHeap"],"kind":"struct"},"10723":{"crate_id":39,"path":["gimli","read","unit","AttributeValue"],"kind":"enum"},"8961":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","fanotify_event_info_error"],"kind":"struct"},"1913":{"crate_id":0,"path":["tokio","io","util","repeat","repeat"],"kind":"function"},"11050":{"crate_id":40,"path":["object","macho","RoutinesCommand32"],"kind":"struct"},"9288":{"crate_id":16,"path":["gimli","read","line","IncompleteLineProgram"],"kind":"struct"},"478":{"crate_id":0,"path":["tokio","fs","symlink","symlink"],"kind":"function"},"7853":{"crate_id":1,"path":["std","env","SplitPaths"],"kind":"struct"},"6091":{"crate_id":2,"path":["core","task","poll","Poll","Ready"],"kind":"variant"},"9615":{"crate_id":17,"path":["object","read","Import"],"kind":"struct"},"11377":{"crate_id":14,"path":["cfg_if"],"kind":"module"},"9942":{"crate_id":25,"path":["smallvec","Array"],"kind":"trait"},"8180":{"crate_id":2,"path":["core","num","FpCategory"],"kind":"enum"},"8507":{"crate_id":2,"path":["core","slice","SlicePattern"],"kind":"trait"},"10269":{"crate_id":29,"path":["tracing_core","field","Field"],"kind":"struct"},"10596":{"crate_id":39,"path":["gimli","read","cfi","EhFrame"],"kind":"struct"},"8834":{"crate_id":5,"path":["libc","unix","linux_like","linux","posix_spawnattr_t"],"kind":"struct"},"9161":{"crate_id":16,"path":["gimli","common","DebugTypeSignature"],"kind":"struct"},"10923":{"crate_id":40,"path":["object","read","pe","data_directory","DataDirectories"],"kind":"struct"},"11250":{"crate_id":41,"path":["memchr","arch","generic","memchr","Three"],"kind":"struct"},"9488":{"crate_id":17,"path":["object","read","elf","relocation","ElfSectionRelocationIterator"],"kind":"struct"},"7726":{"crate_id":1,"path":["std","sync","poison","mutex","MutexGuard"],"kind":"struct"},"9815":{"crate_id":17,"path":["object","xcoff","FileAux32"],"kind":"struct"},"8053":{"crate_id":1,"path":["std","ascii","AsciiExt"],"kind":"trait"},"10142":{"crate_id":27,"path":["libc","unix","linux_like","linux","pthread_rwlock_t"],"kind":"struct"},"8380":{"crate_id":2,"path":["core","core_arch","x86","__m512bh"],"kind":"struct"},"10469":{"crate_id":35,"path":["slab","VacantEntry"],"kind":"struct"},"8707":{"crate_id":3,"path":["alloc","task","waker_fn","WakeFn"],"kind":"struct"},"6945":{"crate_id":0,"path":["tokio","task","coop","poll_proceed"],"kind":"function"},"10796":{"crate_id":40,"path":["object","read","any","DynamicRelocationIteratorInternal"],"kind":"enum"},"9034":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","__c_anonymous_elf64_rela"],"kind":"struct"},"224":{"crate_id":0,"path":["tokio","io","async_read","AsyncRead"],"kind":"trait"},"9361":{"crate_id":16,"path":["gimli","read","rnglists","Range"],"kind":"struct"},"11123":{"crate_id":40,"path":["object","pe","ImageBoundForwarderRef"],"kind":"struct"},"7926":{"crate_id":1,"path":["std","sync","mpsc","Receiver"],"kind":"struct"},"9688":{"crate_id":17,"path":["object","macho","SubClientCommand"],"kind":"struct"},"10015":{"crate_id":27,"path":["libc","unix","linux_like","arphdr"],"kind":"struct"},"8253":{"crate_id":2,"path":["core","array","TryFromSliceError"],"kind":"struct"},"8580":{"crate_id":2,"path":["core","core_simd","simd","num","int","SimdInt"],"kind":"trait"},"10342":{"crate_id":32,"path":["bytes","buf","reader","Reader"],"kind":"struct"},"10669":{"crate_id":39,"path":["gimli","read","loclists","DebugLoc"],"kind":"struct"},"8907":{"crate_id":5,"path":["libc","unix","linux_like","linux","dmabuf_cmsg"],"kind":"struct"},"9234":{"crate_id":16,"path":["gimli","read","cfi","PartialFrameDescriptionEntry"],"kind":"struct"},"10996":{"crate_id":40,"path":["object","elf","Syminfo64"],"kind":"struct"},"11323":{"crate_id":2,"path":["core","mem","forget"],"kind":"function"},"9561":{"crate_id":17,"path":["object","read","macho","symbol","MachOSymbolIterator"],"kind":"struct"},"7799":{"crate_id":3,"path":["alloc","vec","extract_if","ExtractIf"],"kind":"struct"},"9888":{"crate_id":18,"path":["memchr","memmem","FinderBuilder"],"kind":"struct"},"8126":{"crate_id":1,"path":["std","os","unix","io","StdioExt"],"kind":"trait"},"10215":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","stat64"],"kind":"struct"},"8453":{"crate_id":2,"path":["core","slice","iter","ChunksMut"],"kind":"struct"},"8780":{"crate_id":5,"path":["libc","unix","linux_like","ifaddrs"],"kind":"struct"},"10542":{"crate_id":39,"path":["gimli","arch","AArch64"],"kind":"struct"},"10869":{"crate_id":40,"path":["object","read","elf","attributes","AttributesSubsubsection"],"kind":"struct"},"9107":{"crate_id":10,"path":["hashbrown","rustc_entry","RustcEntry"],"kind":"enum"},"9434":{"crate_id":17,"path":["object","read","any","Comdat"],"kind":"struct"},"7672":{"crate_id":2,"path":["core","fmt","macros","Debug"],"kind":"proc_derive"},"11196":{"crate_id":40,"path":["object","read","elf","section","SectionHeader"],"kind":"trait"},"7999":{"crate_id":1,"path":["std","sys","personality","dwarf","eh","EHContext"],"kind":"struct"},"9761":{"crate_id":17,"path":["object","pe","ImageImportByName"],"kind":"struct"},"10088":{"crate_id":27,"path":["libc","unix","linux_like","linux","sctp_nxtinfo"],"kind":"struct"},"8326":{"crate_id":2,"path":["core","str","iter","RMatchIndices"],"kind":"struct"},"6564":{"crate_id":0,"path":["tokio","sync","once_cell","SetError","AlreadyInitializedError"],"kind":"variant"},"10415":{"crate_id":33,"path":["io_uring","types","_","InternalBitFlags"],"kind":"struct"},"8653":{"crate_id":3,"path":["alloc","collections","btree","set","SymmetricDifference"],"kind":"struct"},"10742":{"crate_id":40,"path":["object","common","Architecture"],"kind":"enum"},"8980":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","flock"],"kind":"struct"},"11069":{"crate_id":40,"path":["object","macho","BuildToolVersion"],"kind":"struct"},"9307":{"crate_id":16,"path":["gimli","read","macros","DebugMacinfo"],"kind":"struct"},"2259":{"crate_id":1,"path":["std","os","fd","raw","IntoRawFd"],"kind":"trait"},"11396":{"crate_id":34,"path":["bitflags"],"kind":"module"},"9634":{"crate_id":17,"path":["object","elf","CompressionHeader32"],"kind":"struct"},"7872":{"crate_id":1,"path":["std","io","stdio","StderrLock"],"kind":"struct"},"8199":{"crate_id":2,"path":["core","marker","variance","PhantomInvariant"],"kind":"struct"},"9961":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","canxl_frame"],"kind":"struct"},"2913":{"crate_id":0,"path":["tokio","net","unix","ucred","UCred"],"kind":"struct"},"10288":{"crate_id":29,"path":["tracing_core","dispatcher","Kind"],"kind":"enum"},"8526":{"crate_id":2,"path":["core","marker","variance","Variance"],"kind":"trait"},"8853":{"crate_id":5,"path":["libc","unix","linux_like","linux","ptp_extts_event"],"kind":"struct"},"10615":{"crate_id":39,"path":["gimli","read","cfi","RegisterRule"],"kind":"enum"},"10942":{"crate_id":40,"path":["object","read","pe","rich","RichHeaderEntry"],"kind":"struct"},"9180":{"crate_id":16,"path":["gimli","constants","DwChildren"],"kind":"struct"},"2132":{"crate_id":2,"path":["core","net","socket_addr","SocketAddr"],"kind":"enum"},"9507":{"crate_id":17,"path":["object","read","elf","version","VersionTable"],"kind":"struct"},"7745":{"crate_id":2,"path":["core","sync","atomic","fence"],"kind":"function"},"11269":{"crate_id":41,"path":["memchr","memmem","Finder"],"kind":"struct"},"9834":{"crate_id":18,"path":["memchr","arch","all","memchr","Three"],"kind":"struct"},"8072":{"crate_id":2,"path":["core","iter","adapters","take","Take"],"kind":"struct"},"10161":{"crate_id":27,"path":["libc","unix","linux_like","linux","__c_anonymous_iwreq"],"kind":"union"},"8399":{"crate_id":2,"path":["core","mem","type_info","Enum"],"kind":"struct"},"10488":{"crate_id":36,"path":["backtrace","symbolize","gimli","Cache"],"kind":"struct"},"8726":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","netlink","can_ctrlmode"],"kind":"struct"},"10815":{"crate_id":40,"path":["object","read","coff","section","CoffSectionIterator"],"kind":"struct"},"9053":{"crate_id":10,"path":["hashbrown","control","group","sse2","Group"],"kind":"struct"},"11142":{"crate_id":40,"path":["object","pe","ImageHotPatchHashes"],"kind":"struct"},"9380":{"crate_id":16,"path":["gimli","read","value","ValueType"],"kind":"enum"},"4094":{"crate_id":0,"path":["tokio","runtime","dump","Trace"],"kind":"struct"},"9707":{"crate_id":17,"path":["object","macho","TargetTripleCommand"],"kind":"struct"},"7945":{"crate_id":1,"path":["std","sync","nonpoison","rwlock","RwLock"],"kind":"struct"},"8272":{"crate_id":2,"path":["core","iter","adapters","map_windows","Buffer"],"kind":"struct"},"10034":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket_hdr_variant1"],"kind":"struct"},"10361":{"crate_id":33,"path":["io_uring","submit","_","InternalBitFlags"],"kind":"struct"},"8599":{"crate_id":3,"path":["alloc","collections","btree","node","drop_key_val","Dropper"],"kind":"struct"},"3313":{"crate_id":0,"path":["tokio","net","windows","named_pipe","PipeEnd","Client"],"kind":"variant"},"8926":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket_bd_header_u"],"kind":"union"},"10688":{"crate_id":39,"path":["gimli","read","op","Operation"],"kind":"enum"},"116":{"crate_id":0,"path":["tokio","fs","canonicalize","canonicalize"],"kind":"function"},"9253":{"crate_id":16,"path":["gimli","read","dwarf","UnitRef"],"kind":"struct"},"11015":{"crate_id":40,"path":["object","elf","GnuHashHeader"],"kind":"struct"},"3967":{"crate_id":1,"path":["std","panic","catch_unwind"],"kind":"function"},"443":{"crate_id":1,"path":["std","fs","read_link"],"kind":"function"},"9580":{"crate_id":17,"path":["object","read","pe","import","Import"],"kind":"enum"},"7818":{"crate_id":1,"path":["std","thread","scoped","ScopedJoinHandle"],"kind":"struct"},"6056":{"crate_id":0,"path":["tokio","sync","oneshot","Receiver"],"kind":"struct"},"11342":{"crate_id":2,"path":["core","iter","sources","once","once"],"kind":"function"},"9907":{"crate_id":22,"path":["lock_api","rwlock","RawRwLockRecursive"],"kind":"trait"},"8145":{"crate_id":2,"path":["core","num","imp","dec2flt","common","BiasedFp"],"kind":"struct"},"2859":{"crate_id":1,"path":["std","os","unix","net","addr","SocketAddr"],"kind":"struct"},"8472":{"crate_id":2,"path":["core","fmt","UpperExp"],"kind":"trait"},"10234":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","glob_t"],"kind":"struct"},"10561":{"crate_id":39,"path":["gimli","constants","DwAccess"],"kind":"struct"},"8799":{"crate_id":5,"path":["libc","unix","linux_like","linux","signalfd_siginfo"],"kind":"struct"},"1751":{"crate_id":1,"path":["std","io","copy","copy"],"kind":"function"},"9126":{"crate_id":13,"path":["rustc_demangle","TryDemangleError"],"kind":"struct"},"10888":{"crate_id":40,"path":["object","read","macho","dyld_cache","RelocationStateV5"],"kind":"enum"},"3840":{"crate_id":0,"path":["tokio","runtime","task","trace","Root"],"kind":"struct"},"11215":{"crate_id":41,"path":["memchr","arch","all","memchr","One"],"kind":"struct"},"7691":{"crate_id":31,"path":["mio","net","tcp","listener","TcpListener"],"kind":"struct"},"9453":{"crate_id":17,"path":["object","read","archive","ArchiveSymbolIterator"],"kind":"struct"},"643":{"crate_id":0,"path":["tokio","net","unix","stream","UnixStream"],"kind":"struct"},"9780":{"crate_id":17,"path":["object","pe","ImageDynamicRelocation64V2"],"kind":"struct"},"8018":{"crate_id":1,"path":["std","sys","backtrace","print","DisplayBacktrace"],"kind":"struct"},"970":{"crate_id":2,"path":["core","ops","bit","BitOr"],"kind":"trait"},"10107":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_encode_ext"],"kind":"struct"},"8345":{"crate_id":2,"path":["core","str","pattern","StrSearcher"],"kind":"struct"},"10434":{"crate_id":33,"path":["io_uring","opcode","RecvMsg"],"kind":"struct"},"8672":{"crate_id":3,"path":["alloc","collections","btree","map","RangeMut"],"kind":"struct"},"10761":{"crate_id":40,"path":["object","endian","Endian"],"kind":"trait"},"8999":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","user_fpregs_struct"],"kind":"struct"},"11088":{"crate_id":40,"path":["object","pe","ImageFileHeader"],"kind":"struct"},"9326":{"crate_id":16,"path":["gimli","read","names","NameAttributeValue"],"kind":"enum"},"516":{"crate_id":0,"path":["tokio","fs"],"kind":"module"},"7891":{"crate_id":1,"path":["std","path","fmt","DebugHelper"],"kind":"struct"},"9653":{"crate_id":17,"path":["object","elf","Verneed"],"kind":"struct"},"11415":{"crate_id":1,"path":["std","array"],"kind":"primitive"},"843":{"crate_id":0,"path":["tokio","net","unix","split_owned","OwnedWriteHalf"],"kind":"struct"},"9980":{"crate_id":27,"path":["libc","unix","rlimit"],"kind":"struct"},"8218":{"crate_id":2,"path":["core","net","ip_addr","Ipv6MulticastScope"],"kind":"enum"},"8545":{"crate_id":2,"path":["core","io","cursor","WriteThroughCursor"],"kind":"trait"},"6783":{"crate_id":0,"path":["tokio","sync","watch"],"kind":"module"},"10307":{"crate_id":29,"path":["tracing_core","metadata","ParseLevelError"],"kind":"struct"},"10634":{"crate_id":39,"path":["gimli","read","reader","ReaderOffsetId"],"kind":"struct"},"8872":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_freq"],"kind":"struct"},"9199":{"crate_id":16,"path":["gimli","constants","DwDefaulted"],"kind":"struct"},"10961":{"crate_id":40,"path":["object","read","FileKind"],"kind":"enum"},"11288":{"crate_id":42,"path":["miniz_oxide","inflate","stream","MinReset"],"kind":"struct"},"9526":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldCacheMappingVersionIterator"],"kind":"enum"},"7764":{"crate_id":2,"path":["core","sync","atomic","Ordering","SeqCst"],"kind":"variant"},"9853":{"crate_id":18,"path":["memchr","memmem","searcher","SearcherKind"],"kind":"union"},"8091":{"crate_id":1,"path":["std","os","unix","net","ancillary","Messages"],"kind":"struct"},"10180":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","Elf32_Chdr"],"kind":"struct"},"8418":{"crate_id":2,"path":["core","index","Last"],"kind":"struct"},"10507":{"crate_id":38,"path":["addr2line","DebugFile"],"kind":"enum"},"8745":{"crate_id":5,"path":["libc","unix","DIR"],"kind":"enum"},"10834":{"crate_id":40,"path":["object","read","elf","section","SectionTable"],"kind":"struct"},"9072":{"crate_id":10,"path":["hashbrown","set","Iter"],"kind":"struct"},"262":{"crate_id":2,"path":["core","io","error","Error"],"kind":"struct"},"9399":{"crate_id":17,"path":["object","common","RelocationFlags"],"kind":"enum"},"7637":{"crate_id":0,"path":["tokio","try_join"],"kind":"macro"},"11161":{"crate_id":40,"path":["object","xcoff","FileHeader32"],"kind":"struct"},"7964":{"crate_id":1,"path":["std","sys","fs","unix","FileType"],"kind":"struct"},"9726":{"crate_id":17,"path":["object","macho","Relocation"],"kind":"struct"},"10053":{"crate_id":27,"path":["libc","unix","linux_like","linux","ff_constant_effect"],"kind":"struct"},"8291":{"crate_id":2,"path":["core","fmt","rt","Argument"],"kind":"struct"},"8618":{"crate_id":3,"path":["alloc","sync","make_mut","Guard"],"kind":"struct"},"10380":{"crate_id":33,"path":["io_uring","sys","io_uring_files_update"],"kind":"struct"},"10707":{"crate_id":39,"path":["gimli","read","rnglists","RangeLists"],"kind":"struct"},"8945":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","mallinfo"],"kind":"struct"},"11034":{"crate_id":40,"path":["object","macho","LcStr"],"kind":"struct"},"9272":{"crate_id":16,"path":["gimli","read","aranges","ArangeEntryIter"],"kind":"struct"},"462":{"crate_id":1,"path":["std","fs","set_permissions"],"kind":"function"},"9599":{"crate_id":17,"path":["object","read","xcoff","symbol","XcoffSymbolTable"],"kind":"struct"},"7837":{"crate_id":1,"path":["std","collections","hash","map","Drain"],"kind":"struct"},"11361":{"crate_id":40,"path":["object","macho","LC_SEGMENT_64"],"kind":"constant"},"8164":{"crate_id":2,"path":["core","num","niche_types","NonZeroU64Inner"],"kind":"struct"},"9926":{"crate_id":22,"path":["lock_api","rwlock","MappedRwLockWriteGuard"],"kind":"struct"},"10253":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","mntent"],"kind":"struct"},"8491":{"crate_id":2,"path":["core","array","drain","Drain"],"kind":"struct"},"4967":{"crate_id":0,"path":["tokio","sync","futures"],"kind":"module"},"8818":{"crate_id":5,"path":["libc","unix","linux_like","linux","input_keymap_entry"],"kind":"struct"},"10580":{"crate_id":39,"path":["gimli","constants","DwEhPe"],"kind":"struct"},"10907":{"crate_id":40,"path":["object","read","macho","section","MachOSectionInternal"],"kind":"struct"},"9145":{"crate_id":16,"path":["gimli","common","DebugLineOffset"],"kind":"struct"},"9472":{"crate_id":17,"path":["object","read","coff","import","ImportFile"],"kind":"struct"},"7710":{"crate_id":31,"path":["mio","unix","pipe"],"kind":"module"},"11234":{"crate_id":41,"path":["memchr","arch","x86_64","sse2","memchr","Three"],"kind":"struct"},"9799":{"crate_id":17,"path":["object","pe","ImageFunctionEntry"],"kind":"struct"},"8037":{"crate_id":1,"path":["std","sys","process","unix","unix","do_exec","Reset"],"kind":"struct"},"10126":{"crate_id":27,"path":["libc","unix","linux_like","linux","xdp_mmap_offsets_v1"],"kind":"struct"},"8364":{"crate_id":2,"path":["core","task","wake","LocalWaker"],"kind":"struct"},"4840":{"crate_id":0,"path":["tokio","signal","windows","ctrl_c"],"kind":"function"},"10453":{"crate_id":33,"path":["io_uring","sys","io_uring_sqe"],"kind":"struct"},"8691":{"crate_id":3,"path":["alloc","collections","btree","set","DifferenceInner"],"kind":"enum"},"10780":{"crate_id":40,"path":["object","read","any","SegmentInternal"],"kind":"enum"},"9018":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","Elf64_Phdr"],"kind":"struct"},"7256":{"crate_id":0,"path":["tokio","time","sleep","sleep"],"kind":"function"},"11107":{"crate_id":40,"path":["object","pe","ImageAuxSymbolFunctionBeginEnd"],"kind":"struct"},"9345":{"crate_id":16,"path":["gimli","read","pubnames","PubNamesEntryIter"],"kind":"struct"},"535":{"crate_id":1,"path":["std","io","BufRead"],"kind":"trait"},"9672":{"crate_id":17,"path":["object","macho","FatArch32"],"kind":"struct"},"7910":{"crate_id":1,"path":["std","sync","mpmc","select","Operation"],"kind":"struct"},"11434":{"crate_id":1,"path":["std","usize"],"kind":"primitive"},"8237":{"crate_id":2,"path":["core","time","TryFromFloatSecsErrorKind"],"kind":"enum"},"9999":{"crate_id":27,"path":["libc","unix","linux_like","ip_mreq_source"],"kind":"struct"},"2951":{"crate_id":0,"path":["tokio","net","unix","uid_t"],"kind":"type_alias"},"10326":{"crate_id":30,"path":["once_cell","sync","Lazy"],"kind":"struct"},"8564":{"crate_id":2,"path":["core","core_simd","swizzle","interleave","Hi"],"kind":"struct"},"8891":{"crate_id":5,"path":["libc","unix","linux_like","linux","ptp_clock_caps"],"kind":"struct"},"10653":{"crate_id":39,"path":["gimli","read","index","UnitIndexSection"],"kind":"struct"},"10980":{"crate_id":40,"path":["object","read","CompressedFileRange"],"kind":"struct"},"9218":{"crate_id":16,"path":["gimli","read","addr","AddrEntryIter"],"kind":"struct"},"5694":{"crate_id":0,"path":["tokio","sync","mutex","TryLockError"],"kind":"struct"},"9545":{"crate_id":17,"path":["object","read","macho","file","MachOFile"],"kind":"struct"},"7783":{"crate_id":33,"path":["io_uring","IoUring"],"kind":"struct"},"6021":{"crate_id":0,"path":["tokio","sync","oneshot","error","TryRecvError","Closed"],"kind":"variant"},"11307":{"crate_id":47,"path":["socket2","Protocol"],"kind":"struct"},"9872":{"crate_id":18,"path":["memchr","arch","x86_64","avx2","memchr","ThreeIter"],"kind":"struct"},"8110":{"crate_id":1,"path":["std","sys","stdio","unix","Stdin"],"kind":"struct"},"10199":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","sifields_sigchld"],"kind":"struct"},"8437":{"crate_id":2,"path":["core","pin","unsafe_pinned","UnsafePinned"],"kind":"struct"},"4913":{"crate_id":0,"path":["tokio","signal","windows","CtrlShutdown"],"kind":"struct"},"10526":{"crate_id":39,"path":["gimli","common","RawRangeListsOffset"],"kind":"struct"},"8764":{"crate_id":5,"path":["libc","unix","linux_like","timezone"],"kind":"enum"},"5240":{"crate_id":0,"path":["tokio","sync","mpsc","bounded","PermitIterator"],"kind":"struct"},"9091":{"crate_id":10,"path":["hashbrown","map","Drain"],"kind":"struct"},"10853":{"crate_id":40,"path":["object","read","elf","note","Note"],"kind":"struct"},"281":{"crate_id":1,"path":["std","os","fd","owned","AsFd"],"kind":"trait"},"7656":{"crate_id":31,"path":["mio","event","event","Event"],"kind":"struct"},"9418":{"crate_id":17,"path":["object","read","symbol_map","SymbolMapBuilder"],"kind":"struct"},"11180":{"crate_id":40,"path":["object","xcoff","DwarfAux32"],"kind":"struct"},"9745":{"crate_id":17,"path":["object","pe","ImageSectionHeader"],"kind":"struct"},"7983":{"crate_id":1,"path":["std","sys","process","unix","unix","ExitStatus"],"kind":"struct"},"8310":{"crate_id":2,"path":["core","slice","iter","RChunksExact"],"kind":"struct"},"10072":{"crate_id":27,"path":["libc","unix","linux_like","linux","seccomp_data"],"kind":"struct"},"10399":{"crate_id":33,"path":["io_uring","sys","io_uring_sync_cancel_reg"],"kind":"struct"},"8637":{"crate_id":3,"path":["alloc","collections","binary_heap","IntoIterSorted"],"kind":"struct"},"10726":{"crate_id":39,"path":["gimli","read","unit","EntriesRaw"],"kind":"struct"},"7202":{"crate_id":0,"path":["tokio","task","join_set"],"kind":"module"},"5440":{"crate_id":0,"path":["tokio","sync","mpsc","unbounded","WeakUnboundedSender"],"kind":"struct"},"8964":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","fpos64_t"],"kind":"struct"},"154":{"crate_id":2,"path":["core","panic","unwind_safe","RefUnwindSafe"],"kind":"trait"},"9291":{"crate_id":16,"path":["gimli","read","line","FileEntryFormat"],"kind":"struct"},"11053":{"crate_id":40,"path":["object","macho","DysymtabCommand"],"kind":"struct"},"11380":{"crate_id":17,"path":["object"],"kind":"module"},"7856":{"crate_id":1,"path":["std","env","ArgsOs"],"kind":"struct"},"9618":{"crate_id":17,"path":["object","read","RelocationTarget"],"kind":"enum"},"9945":{"crate_id":25,"path":["smallvec","SmallVecData"],"kind":"enum"},"8183":{"crate_id":2,"path":["core","intrinsics","AtomicOrdering"],"kind":"enum"},"8510":{"crate_id":3,"path":["alloc","slice","Concat"],"kind":"trait"},"10272":{"crate_id":28,"path":["tracing","sealed","Sealed"],"kind":"trait"},"10599":{"crate_id":39,"path":["gimli","read","cfi","SectionBaseAddresses"],"kind":"struct"},"8837":{"crate_id":5,"path":["libc","unix","linux_like","linux","fanotify_response"],"kind":"struct"},"9164":{"crate_id":16,"path":["gimli","common","UnitSectionOffset"],"kind":"struct"},"7402":{"crate_id":0,"path":["tokio","time","interval","MissedTickBehavior","Skip"],"kind":"variant"},"10926":{"crate_id":40,"path":["object","read","pe","export","ExportTable"],"kind":"struct"},"11253":{"crate_id":41,"path":["memchr","arch","x86_64","avx2","memchr","OneIter"],"kind":"struct"},"9491":{"crate_id":17,"path":["object","read","elf","relocation","CrelIteratorHeader"],"kind":"struct"},"7729":{"crate_id":21,"path":["parking_lot","condvar","WaitTimeoutResult"],"kind":"struct"},"9818":{"crate_id":17,"path":["object","xcoff","CsectAux64"],"kind":"struct"},"8056":{"crate_id":2,"path":["core","array","iter","IntoIter"],"kind":"struct"},"10145":{"crate_id":27,"path":["libc","unix","linux_like","linux","uinput_user_dev"],"kind":"struct"},"8383":{"crate_id":2,"path":["core","core_arch","x86","__m512h"],"kind":"struct"},"10472":{"crate_id":35,"path":["slab","Drain"],"kind":"struct"},"8710":{"crate_id":4,"path":["compiler_builtins","math","libm_math","support","big","u256"],"kind":"struct"},"10799":{"crate_id":40,"path":["object","read","archive","ArchiveKind"],"kind":"enum"},"9037":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","__c_anonymous_ifc_ifcu"],"kind":"union"},"11126":{"crate_id":40,"path":["object","pe","ImageResourceDirectoryEntry"],"kind":"struct"},"9364":{"crate_id":16,"path":["gimli","read","str","DebugLineStr"],"kind":"struct"},"7602":{"crate_id":0,"path":["tokio","doc","os","windows","io"],"kind":"module"},"7929":{"crate_id":1,"path":["std","sync","oneshot","Sender"],"kind":"struct"},"9691":{"crate_id":17,"path":["object","macho","PreboundDylibCommand"],"kind":"struct"},"10018":{"crate_id":27,"path":["libc","unix","linux_like","sockaddr_storage"],"kind":"struct"},"8256":{"crate_id":2,"path":["core","cell","BorrowRef"],"kind":"struct"},"8583":{"crate_id":2,"path":["core","core_simd","simd","ptr","mut_ptr","SimdMutPtr"],"kind":"trait"},"10345":{"crate_id":32,"path":["bytes","buf","iter","IntoIter"],"kind":"struct"},"10672":{"crate_id":39,"path":["gimli","read","loclists","LocListsFormat"],"kind":"enum"},"8910":{"crate_id":5,"path":["libc","unix","linux_like","linux","pthread_cond_t"],"kind":"struct"},"9237":{"crate_id":16,"path":["gimli","read","cfi","UnwindTable"],"kind":"struct"},"10999":{"crate_id":40,"path":["object","elf","Rel64"],"kind":"struct"},"11326":{"crate_id":1,"path":["std","ffi"],"kind":"module"},"9564":{"crate_id":17,"path":["object","read","pe","file","PeFile"],"kind":"struct"},"7802":{"crate_id":1,"path":["std","sync","once_lock","OnceLock"],"kind":"struct"},"9891":{"crate_id":20,"path":["pin_project_lite","__private","AlwaysUnpin"],"kind":"struct"},"8129":{"crate_id":1,"path":["std","os","unix","process","ExitStatusExt"],"kind":"trait"},"10218":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","pthread_attr_t"],"kind":"struct"},"8456":{"crate_id":2,"path":["core","slice","iter","RChunksExactMut"],"kind":"struct"},"8783":{"crate_id":5,"path":["libc","unix","linux_like","arpreq_old"],"kind":"struct"},"10545":{"crate_id":39,"path":["gimli","arch","RiscV"],"kind":"struct"},"10872":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldCache"],"kind":"struct"},"9110":{"crate_id":10,"path":["hashbrown","set","Entry"],"kind":"enum"},"9437":{"crate_id":17,"path":["object","read","any","SymbolTable"],"kind":"struct"},"7675":{"crate_id":3,"path":["alloc","sync","Weak"],"kind":"struct"},"11199":{"crate_id":40,"path":["object","read","elf","dynamic","Dyn"],"kind":"trait"},"8002":{"crate_id":1,"path":["std","thread","spawnhook","SpawnHooks"],"kind":"struct"},"9764":{"crate_id":17,"path":["object","pe","ImageTlsDirectory64"],"kind":"struct"},"10091":{"crate_id":27,"path":["libc","unix","linux_like","linux","tls_crypto_info"],"kind":"struct"},"8329":{"crate_id":2,"path":["core","str","iter","RMatches"],"kind":"struct"},"6567":{"crate_id":0,"path":["tokio","sync","once_cell","SetError"],"kind":"enum"},"10418":{"crate_id":33,"path":["io_uring","types","SubmitArgs"],"kind":"struct"},"8656":{"crate_id":3,"path":["alloc","collections","btree","set","Cursor"],"kind":"struct"},"10745":{"crate_id":40,"path":["object","common","BinaryFormat"],"kind":"enum"},"8983":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","stack_t"],"kind":"struct"},"173":{"crate_id":2,"path":["core","convert","TryInto"],"kind":"trait"},"9310":{"crate_id":16,"path":["gimli","read","macros","MacroString"],"kind":"enum"},"11072":{"crate_id":40,"path":["object","macho","SymsegCommand"],"kind":"struct"},"2262":{"crate_id":0,"path":["tokio","doc","os","windows","io","IntoRawSocket"],"kind":"trait"},"11399":{"crate_id":37,"path":["rustc_demangle"],"kind":"module"},"9637":{"crate_id":17,"path":["object","elf","Sym64"],"kind":"struct"},"7875":{"crate_id":1,"path":["std","io","Lines"],"kind":"struct"},"8202":{"crate_id":2,"path":["core","ops","range","RangeFrom"],"kind":"struct"},"9964":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","__c_anonymous_sockaddr_can_tp"],"kind":"struct"},"10291":{"crate_id":29,"path":["tracing_core","metadata","Kind"],"kind":"struct"},"8529":{"crate_id":2,"path":["core","marker","Tuple"],"kind":"trait"},"8856":{"crate_id":5,"path":["libc","unix","linux_like","linux","sctp_sndinfo"],"kind":"struct"},"10618":{"crate_id":39,"path":["gimli","read","cfi","UnwindExpression"],"kind":"struct"},"10945":{"crate_id":40,"path":["object","read","xcoff","section","XcoffSectionIterator"],"kind":"struct"},"9183":{"crate_id":16,"path":["gimli","constants","DwForm"],"kind":"struct"},"9510":{"crate_id":17,"path":["object","read","elf","version","VerneedIterator"],"kind":"struct"},"7748":{"crate_id":2,"path":["core","sync","atomic","AtomicU8"],"kind":"type_alias"},"11272":{"crate_id":41,"path":["memchr","arch","all","twoway","Suffix"],"kind":"struct"},"9837":{"crate_id":18,"path":["memchr","arch","all","rabinkarp","Hash"],"kind":"struct"},"6313":{"crate_id":0,"path":["tokio","sync","rwlock","owned_write_guard","OwnedRwLockWriteGuard"],"kind":"struct"},"8075":{"crate_id":2,"path":["core","iter","adapters","flatten","Flatten"],"kind":"struct"},"10164":{"crate_id":27,"path":["libc","unix","linux_like","linux","__c_anonymous_ptp_perout_request_2"],"kind":"union"},"8402":{"crate_id":2,"path":["core","mem","type_info","Lifetime"],"kind":"struct"},"6640":{"crate_id":0,"path":["tokio","sync","set_once","SetOnce"],"kind":"struct"},"3116":{"crate_id":0,"path":["tokio","net","windows","named_pipe","PipeInfo"],"kind":"struct"},"1354":{"crate_id":0,"path":["tokio","io","stdout","stdout"],"kind":"function"},"10491":{"crate_id":37,"path":["rustc_demangle","v0","Ident"],"kind":"struct"},"8729":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","canfd_frame"],"kind":"struct"},"10818":{"crate_id":40,"path":["object","read","coff","symbol","SymbolIterator"],"kind":"struct"},"9056":{"crate_id":10,"path":["hashbrown","raw","TableLayout"],"kind":"struct"},"11145":{"crate_id":40,"path":["object","pe","ImageAlpha64RuntimeFunctionEntry"],"kind":"struct"},"9383":{"crate_id":16,"path":["gimli","read","Error"],"kind":"enum"},"9710":{"crate_id":17,"path":["object","macho","EncryptionInfoCommand64"],"kind":"struct"},"7948":{"crate_id":1,"path":["std","sync","nonpoison","rwlock","MappedRwLockReadGuard"],"kind":"struct"},"8275":{"crate_id":2,"path":["core","iter","sources","from_coroutine","FromCoroutine"],"kind":"struct"},"10037":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket_req3"],"kind":"struct"},"10364":{"crate_id":33,"path":["io_uring","sys","open_how"],"kind":"struct"},"8602":{"crate_id":3,"path":["alloc","collections","vec_deque","drain","Drain"],"kind":"struct"},"1554":{"crate_id":0,"path":["tokio","io","util","write_vectored","WriteVectored"],"kind":"struct"},"8929":{"crate_id":5,"path":["libc","unix","linux_like","linux","iwreq_data"],"kind":"union"},"10691":{"crate_id":39,"path":["gimli","read","op","Piece"],"kind":"struct"},"119":{"crate_id":2,"path":["core","io","error","Result"],"kind":"type_alias"},"9256":{"crate_id":16,"path":["gimli","read","endian_slice","EndianSlice"],"kind":"struct"},"11018":{"crate_id":40,"path":["object","macho","DyldCacheMappingInfo"],"kind":"struct"},"446":{"crate_id":1,"path":["std","fs","read_to_string"],"kind":"function"},"9583":{"crate_id":17,"path":["object","read","pe","relocation","RelocationBlockIterator"],"kind":"struct"},"7821":{"crate_id":1,"path":["std","backtrace","Backtrace"],"kind":"struct"},"11345":{"crate_id":2,"path":["core","format_args"],"kind":"macro"},"9910":{"crate_id":22,"path":["lock_api","rwlock","RawRwLockUpgradeFair"],"kind":"trait"},"8148":{"crate_id":2,"path":["core","num","imp","flt2dec","decoder","Decoded"],"kind":"struct"},"2862":{"crate_id":1,"path":["std","os","net","linux_ext","addr","SocketAddrExt"],"kind":"trait"},"8475":{"crate_id":2,"path":["core","ops","arith","DivAssign"],"kind":"trait"},"6713":{"crate_id":0,"path":["tokio","sync","watch","error","SendError"],"kind":"struct"},"10237":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","itimerspec"],"kind":"struct"},"10564":{"crate_id":39,"path":["gimli","constants","DwLang"],"kind":"struct"},"8802":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket_auxdata"],"kind":"struct"},"9129":{"crate_id":15,"path":["addr2line","line","LineLocationRangeIter"],"kind":"struct"},"10891":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldRelocationAuth"],"kind":"struct"},"11218":{"crate_id":41,"path":["memchr","arch","all","packedpair","Finder"],"kind":"struct"},"7694":{"crate_id":47,"path":["socket2","sockaddr","SockAddr"],"kind":"struct"},"9456":{"crate_id":17,"path":["object","read","coff","file","CoffCommon"],"kind":"struct"},"646":{"crate_id":0,"path":["tokio","net","unix","pipe","Receiver"],"kind":"struct"},"9783":{"crate_id":17,"path":["object","pe","ImageLoadConfigDirectory32"],"kind":"struct"},"8021":{"crate_id":1,"path":["std","panicking","begin_panic","Payload"],"kind":"struct"},"973":{"crate_id":2,"path":["core","ops","bit","BitOrAssign"],"kind":"trait"},"10110":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_statistics"],"kind":"struct"},"8348":{"crate_id":2,"path":["core","str","pattern","TwoWaySearcher"],"kind":"struct"},"10437":{"crate_id":33,"path":["io_uring","opcode","SendMsgZc"],"kind":"struct"},"8675":{"crate_id":3,"path":["alloc","collections","btree","map","IntoValues"],"kind":"struct"},"10764":{"crate_id":40,"path":["object","endian","I16Bytes"],"kind":"struct"},"9002":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","not_x32","statvfs"],"kind":"struct"},"11091":{"crate_id":40,"path":["object","pe","ImageRomOptionalHeader"],"kind":"struct"},"9329":{"crate_id":16,"path":["gimli","read","names","NameAbbreviationAttribute"],"kind":"struct"},"11418":{"crate_id":1,"path":["std","tuple"],"kind":"primitive"},"7894":{"crate_id":1,"path":["std","path","Ancestors"],"kind":"struct"},"9656":{"crate_id":17,"path":["object","elf","NoteHeader64"],"kind":"struct"},"9983":{"crate_id":27,"path":["libc","unix","hostent"],"kind":"struct"},"8221":{"crate_id":2,"path":["core","range","Range"],"kind":"struct"},"8548":{"crate_id":2,"path":["core","fmt","builders","PadAdapter"],"kind":"struct"},"10310":{"crate_id":29,"path":["tracing_core","span","Record"],"kind":"struct"},"5024":{"crate_id":0,"path":["tokio","sync","broadcast","error","SendError"],"kind":"struct"},"10637":{"crate_id":39,"path":["gimli","read","abbrev","DebugAbbrev"],"kind":"struct"},"8875":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_missed"],"kind":"struct"},"9202":{"crate_id":16,"path":["gimli","constants","DwLnct"],"kind":"struct"},"10964":{"crate_id":40,"path":["object","read","SymbolIndex"],"kind":"struct"},"5678":{"crate_id":0,"path":["tokio","sync","oneshot"],"kind":"module"},"2154":{"crate_id":0,"path":["tokio","net","tcp","listener","TcpListener"],"kind":"struct"},"11291":{"crate_id":42,"path":["miniz_oxide","inflate","stream","FullReset"],"kind":"struct"},"9529":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldCacheRelocationIterator"],"kind":"struct"},"7767":{"crate_id":2,"path":["core","task","wake","RawWakerVTable"],"kind":"struct"},"9856":{"crate_id":18,"path":["memchr","memmem","searcher","Prefilter"],"kind":"struct"},"8094":{"crate_id":2,"path":["core","ops","bit","BitXor"],"kind":"trait"},"10183":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","__c_anonymous_ptrace_syscall_info_entry"],"kind":"struct"},"8421":{"crate_id":2,"path":["core","asserting","TryCaptureWithoutDebug"],"kind":"struct"},"10510":{"crate_id":39,"path":["gimli","common","Encoding"],"kind":"struct"},"8748":{"crate_id":5,"path":["libc","unix","timeval"],"kind":"struct"},"5224":{"crate_id":0,"path":["tokio","sync","mpsc","bounded","Sender"],"kind":"struct"},"10837":{"crate_id":40,"path":["object","read","elf","symbol","SymbolTable"],"kind":"struct"},"9075":{"crate_id":10,"path":["hashbrown","set","SymmetricDifference"],"kind":"struct"},"11164":{"crate_id":40,"path":["object","xcoff","AuxHeader64"],"kind":"struct"},"9402":{"crate_id":17,"path":["object","endian","LittleEndian"],"kind":"struct"},"7640":{"crate_id":2,"path":["core","marker","MetaSized"],"kind":"trait"},"7967":{"crate_id":1,"path":["std","sys","fs","unix","OpenOptions"],"kind":"struct"},"9729":{"crate_id":17,"path":["object","pe","ImageDosHeader"],"kind":"struct"},"919":{"crate_id":32,"path":["bytes","buf","buf_mut","BufMut"],"kind":"trait"},"10056":{"crate_id":27,"path":["libc","unix","linux_like","linux","ff_periodic_effect"],"kind":"struct"},"8294":{"crate_id":2,"path":["core","hash","sip","SipHasher"],"kind":"struct"},"8621":{"crate_id":3,"path":["alloc","vec","drain","drop","DropGuard"],"kind":"struct"},"10383":{"crate_id":33,"path":["io_uring","sys","io_uring_rsrc_register"],"kind":"struct"},"10710":{"crate_id":39,"path":["gimli","read","rnglists","RawRngListEntry"],"kind":"enum"},"8948":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","regex_t"],"kind":"struct"},"9275":{"crate_id":16,"path":["gimli","read","index","DebugTuIndex"],"kind":"struct"},"11037":{"crate_id":40,"path":["object","macho","Section32"],"kind":"struct"},"465":{"crate_id":1,"path":["std","fs","symlink_metadata"],"kind":"function"},"9602":{"crate_id":17,"path":["object","read","xcoff","relocation","XcoffRelocationIterator"],"kind":"struct"},"7840":{"crate_id":1,"path":["std","collections","hash","set","IntoIter"],"kind":"struct"},"11364":{"crate_id":1,"path":["std"],"kind":"module"},"8167":{"crate_id":2,"path":["core","num","niche_types","NonZeroI16Inner"],"kind":"struct"},"9929":{"crate_id":23,"path":["scopeguard","Always"],"kind":"enum"},"10256":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","regmatch_t"],"kind":"struct"},"8494":{"crate_id":2,"path":["core","cell","lazy","force_mut","really_init_mut","PoisonOnPanic"],"kind":"struct"},"3208":{"crate_id":0,"path":["tokio","net","windows","named_pipe","ServerOptions"],"kind":"struct"},"8821":{"crate_id":5,"path":["libc","unix","linux_like","linux","ff_trigger"],"kind":"struct"},"10583":{"crate_id":39,"path":["gimli","endianity","BigEndian"],"kind":"struct"},"10910":{"crate_id":40,"path":["object","read","macho","symbol","MachOSymbolIterator"],"kind":"struct"},"9148":{"crate_id":16,"path":["gimli","common","DebugLocListsBase"],"kind":"struct"},"9475":{"crate_id":17,"path":["object","read","coff","import","ImportObjectData"],"kind":"struct"},"7713":{"crate_id":2,"path":["core","ptr"],"kind":"module"},"11237":{"crate_id":41,"path":["memchr","memmem","searcher","TwoWayWithPrefilter"],"kind":"struct"},"9802":{"crate_id":17,"path":["object","pe","NonPagedDebugInfo"],"kind":"struct"},"8040":{"crate_id":1,"path":["std","sys","sync","once","futex","CompletionGuard"],"kind":"struct"},"10129":{"crate_id":27,"path":["libc","unix","linux_like","linux","xdp_statistics"],"kind":"struct"},"8367":{"crate_id":2,"path":["core","escape","MaybeEscaped"],"kind":"struct"},"1319":{"crate_id":1,"path":["std","io","stdio","stderr"],"kind":"function"},"10456":{"crate_id":34,"path":["bitflags","traits","Flag"],"kind":"struct"},"8694":{"crate_id":3,"path":["alloc","collections","btree","set","CursorMut"],"kind":"struct"},"10783":{"crate_id":40,"path":["object","read","any","SectionIteratorInternal"],"kind":"enum"},"9021":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","__c_anonymous_elf32_rel"],"kind":"struct"},"11110":{"crate_id":40,"path":["object","pe","ImageAuxSymbolCrc"],"kind":"struct"},"9348":{"crate_id":16,"path":["gimli","read","pubtypes","DebugGnuPubTypes"],"kind":"struct"},"538":{"crate_id":0,"path":["tokio","io","async_buf_read","AsyncBufRead"],"kind":"trait"},"9675":{"crate_id":17,"path":["object","macho","MachHeader64"],"kind":"struct"},"7913":{"crate_id":1,"path":["std","sync","mpmc","Sender"],"kind":"struct"},"8240":{"crate_id":2,"path":["core","alloc","layout","LayoutError"],"kind":"struct"},"10002":{"crate_id":27,"path":["libc","unix","linux_like","sockaddr_in6"],"kind":"struct"},"10329":{"crate_id":30,"path":["once_cell","race","OnceRef"],"kind":"struct"},"8567":{"crate_id":2,"path":["core","core_simd","swizzle","resize","Resize"],"kind":"struct"},"8894":{"crate_id":5,"path":["libc","unix","linux_like","linux","xdp_mmap_offsets"],"kind":"struct"},"10656":{"crate_id":39,"path":["gimli","read","line","LineRows"],"kind":"struct"},"10983":{"crate_id":40,"path":["object","archive","AixHeader"],"kind":"struct"},"9221":{"crate_id":16,"path":["gimli","read","cfi","ParsedEhFrameHdr"],"kind":"struct"},"9548":{"crate_id":17,"path":["object","read","macho","file","MachOComdatSectionIterator"],"kind":"struct"},"7786":{"crate_id":31,"path":["mio","waker","Waker"],"kind":"struct"},"11310":{"crate_id":47,"path":["socket2","sys","CcidEndpoints"],"kind":"struct"},"2500":{"crate_id":0,"path":["tokio","net","tcp"],"kind":"module"},"9875":{"crate_id":18,"path":["memchr","arch","x86_64","sse2","memchr","ThreeIter"],"kind":"struct"},"8113":{"crate_id":1,"path":["std","sys","stdio","unix","Stdout"],"kind":"struct"},"10202":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","__c_anonymous_ptrace_syscall_info_data"],"kind":"union"},"8440":{"crate_id":2,"path":["core","fmt","num_buffer","NumBufferTrait"],"kind":"trait"},"10529":{"crate_id":39,"path":["gimli","common","DebugRngListsIndex"],"kind":"struct"},"8767":{"crate_id":5,"path":["libc","unix","linux_like","ip_mreqn"],"kind":"struct"},"10856":{"crate_id":40,"path":["object","read","elf","hash","HashTable"],"kind":"struct"},"9094":{"crate_id":10,"path":["hashbrown","set","ExtractIf"],"kind":"struct"},"284":{"crate_id":1,"path":["std","os","fd","raw","FromRawFd"],"kind":"trait"},"7659":{"crate_id":1,"path":["std","io","stdio","Stdin"],"kind":"struct"},"9421":{"crate_id":17,"path":["object","read","util","DebugLen"],"kind":"struct"},"11183":{"crate_id":40,"path":["object","xcoff","Rel64"],"kind":"struct"},"9748":{"crate_id":17,"path":["object","pe","ImageSymbolEx"],"kind":"struct"},"7986":{"crate_id":1,"path":["std","sys","process","env","CommandEnv"],"kind":"struct"},"8313":{"crate_id":2,"path":["core","str","iter","CharIndices"],"kind":"struct"},"10075":{"crate_id":27,"path":["libc","unix","linux_like","linux","seccomp_notif_resp"],"kind":"struct"},"10402":{"crate_id":33,"path":["io_uring","sys","io_uring_zcrx_rqe"],"kind":"struct"},"8640":{"crate_id":3,"path":["alloc","collections","btree","map","Values"],"kind":"struct"},"8967":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","utmpx"],"kind":"struct"},"10729":{"crate_id":39,"path":["gimli","read","unit","EntriesTreeNode"],"kind":"struct"},"157":{"crate_id":2,"path":["core","marker","Sized"],"kind":"trait"},"9294":{"crate_id":16,"path":["gimli","read","loclists","DebugLocLists"],"kind":"struct"},"11056":{"crate_id":40,"path":["object","macho","DylibModule64"],"kind":"struct"},"11383":{"crate_id":20,"path":["pin_project_lite"],"kind":"module"},"7859":{"crate_id":1,"path":["std","fs","FileTimes"],"kind":"struct"},"9621":{"crate_id":17,"path":["object","read","RelocationMapEntry"],"kind":"struct"},"9948":{"crate_id":25,"path":["smallvec","ConstNonNull"],"kind":"struct"},"8186":{"crate_id":2,"path":["core","mem","transmutability","Assume"],"kind":"struct"},"8513":{"crate_id":2,"path":["core","ops","deref","DerefPure"],"kind":"trait"},"10275":{"crate_id":28,"path":["tracing","span","Entered"],"kind":"struct"},"10602":{"crate_id":39,"path":["gimli","read","cfi","CieOrFde"],"kind":"enum"},"8840":{"crate_id":5,"path":["libc","unix","linux_like","linux","sockaddr_vm"],"kind":"struct"},"9167":{"crate_id":16,"path":["gimli","common","DwarfFileType"],"kind":"enum"},"10929":{"crate_id":40,"path":["object","read","pe","import","ImportThunkList"],"kind":"struct"},"11256":{"crate_id":41,"path":["memchr","arch","x86_64","sse2","memchr","OneIter"],"kind":"struct"},"9494":{"crate_id":17,"path":["object","read","elf","comdat","ElfComdat"],"kind":"struct"},"7732":{"crate_id":21,"path":["parking_lot","rwlock","RwLock"],"kind":"type_alias"},"9821":{"crate_id":17,"path":["object","xcoff","ExpAux"],"kind":"struct"},"8059":{"crate_id":2,"path":["core","iter","adapters","chain","Chain"],"kind":"struct"},"10148":{"crate_id":27,"path":["libc","unix","linux_like","linux","sched_attr"],"kind":"struct"},"8386":{"crate_id":2,"path":["core","clone","UseCloned"],"kind":"trait"},"10475":{"crate_id":36,"path":["backtrace","backtrace","libunwind","Frame"],"kind":"enum"},"8713":{"crate_id":4,"path":["compiler_builtins","math","libm_math","support","env","Status"],"kind":"struct"},"10802":{"crate_id":40,"path":["object","read","archive","ArchiveMemberIterator"],"kind":"struct"},"9040":{"crate_id":7,"path":["unwind","libunwind","_Unwind_Reason_Code"],"kind":"enum"},"11129":{"crate_id":40,"path":["object","pe","ImageResourceDataEntry"],"kind":"struct"},"9367":{"crate_id":16,"path":["gimli","read","unit","DebugInfoUnitHeadersIter"],"kind":"struct"},"557":{"crate_id":2,"path":["core","io","cursor","Cursor"],"kind":"struct"},"7932":{"crate_id":1,"path":["std","sync","oneshot","RecvTimeoutError"],"kind":"enum"},"9694":{"crate_id":17,"path":["object","macho","RoutinesCommand32"],"kind":"struct"},"10021":{"crate_id":27,"path":["libc","unix","linux_like","file_clone_range"],"kind":"struct"},"8259":{"crate_id":2,"path":["core","char","EscapeDefault"],"kind":"struct"},"8586":{"crate_id":2,"path":["core","core_simd","simd","cmp","ord","SimdOrd"],"kind":"trait"},"10348":{"crate_id":32,"path":["bytes","bytes","Shared"],"kind":"struct"},"10675":{"crate_id":39,"path":["gimli","read","loclists","LocListIter"],"kind":"struct"},"8913":{"crate_id":5,"path":["libc","unix","linux_like","linux","pthread_barrier_t"],"kind":"struct"},"9240":{"crate_id":16,"path":["gimli","read","cfi","UnwindTableRow"],"kind":"struct"},"11002":{"crate_id":40,"path":["object","elf","Relr64"],"kind":"struct"},"2192":{"crate_id":0,"path":["tokio","doc","os","windows","io","RawSocket"],"kind":"type_alias"},"11329":{"crate_id":1,"path":["std","path","absolute"],"kind":"function"},"9567":{"crate_id":17,"path":["object","read","pe","file","PeComdatSectionIterator"],"kind":"struct"},"7805":{"crate_id":28,"path":["tracing","span","Span"],"kind":"struct"},"4281":{"crate_id":0,"path":["tokio","runtime","id","Id"],"kind":"struct"},"9894":{"crate_id":21,"path":["parking_lot","once","OnceState"],"kind":"enum"},"8132":{"crate_id":1,"path":["std","os","linux","fs","MetadataExt"],"kind":"trait"},"10221":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","_libc_fpstate"],"kind":"struct"},"8459":{"crate_id":2,"path":["core","wtf8","Utf8BoundaryError"],"kind":"enum"},"10548":{"crate_id":39,"path":["gimli","arch","PowerPc64"],"kind":"struct"},"8786":{"crate_id":5,"path":["libc","unix","linux_like","sockaddr_un"],"kind":"struct"},"10875":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldCacheImageIterator"],"kind":"struct"},"9113":{"crate_id":10,"path":["hashbrown","table","Entry"],"kind":"enum"},"9440":{"crate_id":17,"path":["object","read","any","SymbolIteratorInternal"],"kind":"enum"},"7678":{"crate_id":2,"path":["core","ops","try_trait","Residual"],"kind":"trait"},"4154":{"crate_id":36,"path":["backtrace","capture","BacktraceFrame"],"kind":"struct"},"11202":{"crate_id":40,"path":["object","read","elf","relocation","Rela"],"kind":"trait"},"8005":{"crate_id":1,"path":["std","sync","mpmc","utils","CachePadded"],"kind":"struct"},"9767":{"crate_id":17,"path":["object","pe","ImageBoundImportDescriptor"],"kind":"struct"},"10094":{"crate_id":27,"path":["libc","unix","linux_like","linux","tls12_crypto_info_aes_ccm_128"],"kind":"struct"},"8332":{"crate_id":2,"path":["core","str","iter","SplitWhitespace"],"kind":"struct"},"8659":{"crate_id":3,"path":["alloc","collections","linked_list","IntoIter"],"kind":"struct"},"10421":{"crate_id":33,"path":["io_uring","Builder"],"kind":"struct"},"3373":{"crate_id":0,"path":["tokio","net","windows"],"kind":"module"},"10748":{"crate_id":40,"path":["object","common","SymbolKind"],"kind":"enum"},"8986":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","statfs64"],"kind":"struct"},"11075":{"crate_id":40,"path":["object","macho","EntryPointCommand"],"kind":"struct"},"9313":{"crate_id":16,"path":["gimli","read","names","DebugNames"],"kind":"struct"},"11402":{"crate_id":40,"path":["object"],"kind":"module"},"9640":{"crate_id":17,"path":["object","elf","Rel32"],"kind":"struct"},"7878":{"crate_id":1,"path":["std","os","unix","net","ancillary","AncillaryError"],"kind":"enum"},"8205":{"crate_id":2,"path":["core","ops","range","RangeToInclusive"],"kind":"struct"},"9967":{"crate_id":27,"path":["libc","new","linux_uapi","linux","netlink","sockaddr_nl"],"kind":"struct"},"10294":{"crate_id":29,"path":["tracing_core","metadata","ParseLevelFilterError"],"kind":"struct"},"8532":{"crate_id":2,"path":["core","ops","try_trait","FromResidual"],"kind":"trait"},"8859":{"crate_id":5,"path":["libc","unix","linux_like","linux","sctp_prinfo"],"kind":"struct"},"10621":{"crate_id":39,"path":["gimli","read","dwarf","DwarfSections"],"kind":"struct"},"10948":{"crate_id":40,"path":["object","read","xcoff","symbol","SymbolTable"],"kind":"struct"},"9186":{"crate_id":16,"path":["gimli","constants","DwDs"],"kind":"struct"},"2138":{"crate_id":2,"path":["core","net","ip_addr","IpAddr"],"kind":"enum"},"9513":{"crate_id":17,"path":["object","read","elf","attributes","AttributesSubsectionIterator"],"kind":"struct"},"7751":{"crate_id":1,"path":["std","thread","functions","park_timeout"],"kind":"function"},"5989":{"crate_id":0,"path":["tokio","sync","oneshot","error","RecvError"],"kind":"struct"},"11275":{"crate_id":41,"path":["memchr","arch","all","packedpair","HeuristicFrequencyRank"],"kind":"trait"},"9840":{"crate_id":18,"path":["memchr","arch","all","twoway","TwoWay"],"kind":"struct"},"8078":{"crate_id":2,"path":["core","iter","adapters","inspect","Inspect"],"kind":"struct"},"10167":{"crate_id":27,"path":["libc","unix","linux_like","linux","__c_anonymous_xsk_tx_metadata_union"],"kind":"union"},"8405":{"crate_id":2,"path":["core","mem","type_info","Bool"],"kind":"struct"},"10494":{"crate_id":37,"path":["rustc_demangle","v0","ParseError"],"kind":"enum"},"8732":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","__c_anonymous_sockaddr_can_can_addr"],"kind":"union"},"10821":{"crate_id":40,"path":["object","read","coff","symbol","CoffSymbol"],"kind":"struct"},"9059":{"crate_id":10,"path":["hashbrown","raw","ProbeSeq"],"kind":"struct"},"11148":{"crate_id":40,"path":["object","pe","ImageEnclaveConfig32"],"kind":"struct"},"7624":{"crate_id":31,"path":["mio","poll","Registry"],"kind":"struct"},"9386":{"crate_id":17,"path":["object","common","AddressSize"],"kind":"enum"},"9713":{"crate_id":17,"path":["object","macho","BuildToolVersion"],"kind":"struct"},"7951":{"crate_id":1,"path":["std","sync","poison","rwlock","MappedRwLockReadGuard"],"kind":"struct"},"8278":{"crate_id":2,"path":["core","iter","sources","once_with","OnceWith"],"kind":"struct"},"10040":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket_stats_v3"],"kind":"struct"},"10367":{"crate_id":33,"path":["io_uring","sys","io_uring_sqe__bindgen_ty_2"],"kind":"union"},"8605":{"crate_id":3,"path":["alloc","collections","vec_deque","into_iter","try_fold","Guard"],"kind":"struct"},"1557":{"crate_id":0,"path":["tokio","io","util","write_buf","WriteBuf"],"kind":"struct"},"8932":{"crate_id":5,"path":["libc","unix","linux_like","linux","iwreq"],"kind":"struct"},"10694":{"crate_id":39,"path":["gimli","read","op","EvaluationResult"],"kind":"enum"},"11021":{"crate_id":40,"path":["object","macho","DyldCacheSlideInfo2"],"kind":"struct"},"9259":{"crate_id":16,"path":["gimli","read","endian_slice","DebugLen"],"kind":"struct"},"7497":{"crate_id":0,"path":["tokio","time","timeout","Timeout"],"kind":"struct"},"122":{"crate_id":1,"path":["std","fs","create_dir"],"kind":"function"},"9586":{"crate_id":17,"path":["object","read","pe","resource","ResourceDirectory"],"kind":"struct"},"7824":{"crate_id":1,"path":["std","backtrace","BytesOrWide"],"kind":"enum"},"11348":{"crate_id":1,"path":["std","process","exit"],"kind":"function"},"9913":{"crate_id":21,"path":["parking_lot","remutex","RawThreadId"],"kind":"struct"},"8151":{"crate_id":2,"path":["core","num","imp","fmt","Part"],"kind":"enum"},"10240":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","cpu_set_t"],"kind":"struct"},"8478":{"crate_id":2,"path":["core","ops","arith","Neg"],"kind":"trait"},"10567":{"crate_id":39,"path":["gimli","constants","DwCc"],"kind":"struct"},"8805":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket2_hdr"],"kind":"struct"},"9132":{"crate_id":15,"path":["addr2line","RangeAttributes"],"kind":"struct"},"10894":{"crate_id":40,"path":["object","read","macho","file","MachOFile"],"kind":"struct"},"11221":{"crate_id":41,"path":["memchr","arch","all","twoway","Finder"],"kind":"struct"},"7697":{"crate_id":31,"path":["mio","net","udp","UdpSocket"],"kind":"struct"},"9459":{"crate_id":17,"path":["object","read","coff","section","CoffSegmentIterator"],"kind":"struct"},"649":{"crate_id":0,"path":["tokio","net","windows","named_pipe","NamedPipeServer"],"kind":"struct"},"9786":{"crate_id":17,"path":["object","pe","ImageHotPatchBase"],"kind":"struct"},"8024":{"crate_id":2,"path":["core","error","Request"],"kind":"struct"},"8351":{"crate_id":2,"path":["core","str","CharEscapeDebugContinue"],"kind":"struct"},"10113":{"crate_id":27,"path":["libc","unix","linux_like","linux","epoll_params"],"kind":"struct"},"10440":{"crate_id":33,"path":["io_uring","opcode","FutexWaitV"],"kind":"struct"},"8678":{"crate_id":3,"path":["alloc","collections","vec_deque","iter_mut","IterMut"],"kind":"struct"},"6916":{"crate_id":0,"path":["tokio","task","coop","unconstrained","Unconstrained"],"kind":"struct"},"10767":{"crate_id":40,"path":["object","read","read_cache","ReadCache"],"kind":"struct"},"9005":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","passwd"],"kind":"struct"},"11094":{"crate_id":40,"path":["object","pe","ImageNtHeaders32"],"kind":"struct"},"9332":{"crate_id":16,"path":["gimli","read","op","OperationEvaluationResult"],"kind":"enum"},"4046":{"crate_id":0,"path":["tokio","runtime","dump","Dump"],"kind":"struct"},"522":{"crate_id":0,"path":["tokio","future","maybe_done","MaybeDone","Gone"],"kind":"variant"},"7897":{"crate_id":1,"path":["std","path","Display"],"kind":"struct"},"9659":{"crate_id":17,"path":["object","macho","PtrauthKey"],"kind":"enum"},"11421":{"crate_id":1,"path":["std","f64"],"kind":"primitive"},"9986":{"crate_id":27,"path":["libc","unix","winsize"],"kind":"struct"},"8224":{"crate_id":2,"path":["core","range","RangeToInclusive"],"kind":"struct"},"8551":{"crate_id":2,"path":["core","random","Distribution"],"kind":"trait"},"10313":{"crate_id":29,"path":["tracing_core","callsite","Callsite"],"kind":"trait"},"10640":{"crate_id":39,"path":["gimli","read","abbrev","Abbreviations"],"kind":"struct"},"8878":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_pmksa"],"kind":"struct"},"9205":{"crate_id":16,"path":["gimli","constants","DwRle"],"kind":"struct"},"10967":{"crate_id":40,"path":["object","read","SymbolMapEntry"],"kind":"trait"},"11294":{"crate_id":45,"path":["signal_hook_registry","half_lock","ReadGuard"],"kind":"struct"},"9532":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldCacheRelocationIteratorV2"],"kind":"struct"},"7770":{"crate_id":33,"path":["io_uring","cqueue","Entry"],"kind":"struct"},"9859":{"crate_id":18,"path":["memchr","vector","SensibleMoveMask"],"kind":"struct"},"8097":{"crate_id":2,"path":["core","ops","index","IndexMut"],"kind":"trait"},"1049":{"crate_id":0,"path":["tokio","io","bsd","poll_aio","AioSource"],"kind":"trait"},"10186":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","ptrace_syscall_info"],"kind":"struct"},"8424":{"crate_id":2,"path":["core","cell","BorrowError"],"kind":"struct"},"10513":{"crate_id":39,"path":["gimli","common","DebugAbbrevOffset"],"kind":"struct"},"8751":{"crate_id":5,"path":["libc","unix","ipv6_mreq"],"kind":"struct"},"10840":{"crate_id":40,"path":["object","read","elf","symbol","ElfSymbol"],"kind":"struct"},"9078":{"crate_id":10,"path":["hashbrown","table","Iter"],"kind":"struct"},"11167":{"crate_id":40,"path":["object","xcoff","SymbolBytes"],"kind":"struct"},"9405":{"crate_id":17,"path":["object","endian","U32"],"kind":"struct"},"7643":{"crate_id":2,"path":["core","cmp"],"kind":"module"},"7970":{"crate_id":1,"path":["std","sys","fs","unix","Mode"],"kind":"struct"},"9732":{"crate_id":17,"path":["object","pe","MaskedRichHeaderEntry"],"kind":"struct"},"10059":{"crate_id":27,"path":["libc","unix","linux_like","linux","uinput_ff_upload"],"kind":"struct"},"8297":{"crate_id":2,"path":["core","hash","sip","Sip13Rounds"],"kind":"struct"},"8624":{"crate_id":3,"path":["alloc","vec","in_place_drop","InPlaceDrop"],"kind":"struct"},"10386":{"crate_id":33,"path":["io_uring","sys","io_uring_probe_op"],"kind":"struct"},"10713":{"crate_id":39,"path":["gimli","read","rnglists","Range"],"kind":"struct"},"8951":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","seminfo"],"kind":"struct"},"9278":{"crate_id":16,"path":["gimli","read","index","UnitIndexSection"],"kind":"struct"},"11040":{"crate_id":40,"path":["object","macho","FvmlibCommand"],"kind":"struct"},"468":{"crate_id":1,"path":["std","fs","write"],"kind":"function"},"9605":{"crate_id":17,"path":["object","read","xcoff","comdat","XcoffComdatSectionIterator"],"kind":"struct"},"7843":{"crate_id":1,"path":["std","collections","hash","set","Intersection"],"kind":"struct"},"11367":{"crate_id":4,"path":["compiler_builtins"],"kind":"module"},"9932":{"crate_id":24,"path":["parking_lot_core","parking_lot","ThreadData"],"kind":"struct"},"8170":{"crate_id":2,"path":["core","num","niche_types","NonZeroI128Inner"],"kind":"struct"},"10259":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","__c_anonymous_ifru_map"],"kind":"struct"},"8497":{"crate_id":2,"path":["core","slice","sort","stable","merge","MergeState"],"kind":"struct"},"3211":{"crate_id":0,"path":["tokio","net","windows","named_pipe","PipeMode"],"kind":"enum"},"8824":{"crate_id":5,"path":["libc","unix","linux_like","linux","ff_ramp_effect"],"kind":"struct"},"7062":{"crate_id":0,"path":["tokio","task","task_local","TaskLocalFuture"],"kind":"struct"},"10586":{"crate_id":39,"path":["gimli","read","addr","DebugAddr"],"kind":"struct"},"10913":{"crate_id":40,"path":["object","read","pe","file","PeFile"],"kind":"struct"},"9151":{"crate_id":16,"path":["gimli","common","DebugMacroOffset"],"kind":"struct"},"9478":{"crate_id":17,"path":["object","read","elf","segment","ElfSegment"],"kind":"struct"},"7716":{"crate_id":1,"path":["std","panic"],"kind":"module"},"11240":{"crate_id":41,"path":["memchr","memmem","searcher","PrefilterKind"],"kind":"union"},"8043":{"crate_id":1,"path":["std","sys","thread_local","abort_on_dtor_unwind","DtorUnwindGuard"],"kind":"struct"},"9805":{"crate_id":17,"path":["object","pe","ImageCor20Header"],"kind":"struct"},"10132":{"crate_id":27,"path":["libc","unix","linux_like","linux","xdp_desc"],"kind":"struct"},"8370":{"crate_id":2,"path":["core","core_arch","x86","__m128"],"kind":"struct"},"10459":{"crate_id":34,"path":["bitflags","iter","Iter"],"kind":"struct"},"8697":{"crate_id":3,"path":["alloc","collections","linked_list","ExtractIf"],"kind":"struct"},"10786":{"crate_id":40,"path":["object","read","any","ComdatIteratorInternal"],"kind":"enum"},"9024":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","mntent"],"kind":"struct"},"11113":{"crate_id":40,"path":["object","pe","ImageBaseRelocation"],"kind":"struct"},"9351":{"crate_id":16,"path":["gimli","read","pubtypes","PubTypesEntryIter"],"kind":"struct"},"9678":{"crate_id":17,"path":["object","macho","SegmentCommand32"],"kind":"struct"},"7916":{"crate_id":1,"path":["std","sync","mpmc","IntoIter"],"kind":"struct"},"8243":{"crate_id":2,"path":["core","core_arch","x86","cpuid","CpuidResult"],"kind":"struct"},"10005":{"crate_id":27,"path":["libc","unix","linux_like","fd_set"],"kind":"struct"},"10332":{"crate_id":31,"path":["mio","event","events","Iter"],"kind":"struct"},"8570":{"crate_id":2,"path":["core","core_simd","cast","sealed","Sealed"],"kind":"trait"},"8897":{"crate_id":5,"path":["libc","unix","linux_like","linux","xdp_umem_reg"],"kind":"struct"},"10659":{"crate_id":39,"path":["gimli","read","line","LineInstructions"],"kind":"struct"},"10986":{"crate_id":40,"path":["object","elf","FileHeader32"],"kind":"struct"},"9224":{"crate_id":16,"path":["gimli","read","cfi","EhFrame"],"kind":"struct"},"3938":{"crate_id":0,"path":["tokio","runtime","builder","Builder"],"kind":"struct"},"414":{"crate_id":1,"path":["std","fs","DirEntry"],"kind":"struct"},"9551":{"crate_id":17,"path":["object","read","macho","load_command","LoadCommandData"],"kind":"struct"},"7789":{"crate_id":1,"path":["std","hash","random","DefaultHasher"],"kind":"struct"},"4265":{"crate_id":0,"path":["tokio","runtime","handle","Handle"],"kind":"struct"},"11313":{"crate_id":47,"path":["socket2","MsgHdr"],"kind":"struct"},"9878":{"crate_id":18,"path":["memchr","memchr","Memchr"],"kind":"struct"},"8116":{"crate_id":1,"path":["std","sealed","Sealed"],"kind":"trait"},"10205":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","msqid_ds"],"kind":"struct"},"8443":{"crate_id":2,"path":["core","cell","SyncUnsafeCell"],"kind":"struct"},"10532":{"crate_id":39,"path":["gimli","common","DebugStrOffsetsIndex"],"kind":"struct"},"8770":{"crate_id":5,"path":["libc","unix","linux_like","sockaddr_in"],"kind":"struct"},"10859":{"crate_id":40,"path":["object","read","elf","version","Version"],"kind":"struct"},"9097":{"crate_id":10,"path":["hashbrown","table","IterHashMut"],"kind":"struct"},"11186":{"crate_id":40,"path":["object","read","traits","Object"],"kind":"trait"},"7662":{"crate_id":2,"path":["core","mem"],"kind":"module"},"5900":{"crate_id":0,"path":["tokio","sync","notify","Notify"],"kind":"struct"},"9424":{"crate_id":17,"path":["object","read","any","File"],"kind":"enum"},"9751":{"crate_id":17,"path":["object","pe","ImageAuxSymbolFunction"],"kind":"struct"},"7989":{"crate_id":1,"path":["std","sys","time","unix","SystemTime"],"kind":"struct"},"8316":{"crate_id":2,"path":["core","str","iter","Split"],"kind":"struct"},"10078":{"crate_id":27,"path":["libc","unix","linux_like","linux","open_how"],"kind":"struct"},"1268":{"crate_id":2,"path":["core","fmt","Display"],"kind":"trait"},"10405":{"crate_id":33,"path":["io_uring","sys","io_uring_zcrx_area_reg"],"kind":"struct"},"8643":{"crate_id":3,"path":["alloc","collections","btree","map","UnorderedKeyError"],"kind":"struct"},"5119":{"crate_id":0,"path":["tokio","sync","broadcast","error"],"kind":"module"},"8970":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","sifields"],"kind":"union"},"10732":{"crate_id":39,"path":["gimli","read","unit","DebugTypesUnitHeadersIter"],"kind":"struct"},"11059":{"crate_id":40,"path":["object","macho","TwolevelHint"],"kind":"struct"},"9297":{"crate_id":16,"path":["gimli","read","loclists","RawLocListIter"],"kind":"struct"},"9624":{"crate_id":17,"path":["object","read","CompressedData"],"kind":"struct"},"7862":{"crate_id":1,"path":["std","io","buffered","bufreader","BufReader"],"kind":"struct"},"11386":{"crate_id":24,"path":["parking_lot_core"],"kind":"module"},"9951":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","bcm","bcm_msg_head"],"kind":"struct"},"8189":{"crate_id":2,"path":["core","mem","Discriminant"],"kind":"struct"},"1141":{"crate_id":1,"path":["std","net","udp","UdpSocket"],"kind":"struct"},"8516":{"crate_id":2,"path":["core","pin","PinCoerceUnsized"],"kind":"trait"},"10278":{"crate_id":28,"path":["tracing","__macro_support","FieldName"],"kind":"struct"},"10605":{"crate_id":39,"path":["gimli","read","cfi","CommonInformationEntry"],"kind":"struct"},"8843":{"crate_id":5,"path":["libc","unix","linux_like","linux","seccomp_notif_sizes"],"kind":"struct"},"9170":{"crate_id":16,"path":["gimli","arch","LoongArch"],"kind":"struct"},"10932":{"crate_id":40,"path":["object","read","pe","import","DelayLoadDescriptorIterator"],"kind":"struct"},"11259":{"crate_id":41,"path":["memchr","cow","CowBytes"],"kind":"struct"},"7735":{"crate_id":21,"path":["parking_lot","mutex","MutexGuard"],"kind":"type_alias"},"9497":{"crate_id":17,"path":["object","read","elf","dynamic","DynamicIterator"],"kind":"struct"},"9824":{"crate_id":17,"path":["object","xcoff","StatAux"],"kind":"struct"},"8062":{"crate_id":2,"path":["core","iter","adapters","intersperse","IntersperseWith"],"kind":"struct"},"10151":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_thrspy"],"kind":"struct"},"8389":{"crate_id":2,"path":["core","mem","type_info","TypeKind"],"kind":"enum"},"4865":{"crate_id":0,"path":["tokio","signal","windows","CtrlBreak"],"kind":"struct"},"10478":{"crate_id":36,"path":["backtrace","capture","Frame"],"kind":"enum"},"8716":{"crate_id":4,"path":["compiler_builtins","math","libm_math","support","modular","Reducer"],"kind":"struct"},"10805":{"crate_id":40,"path":["object","read","archive","ArchiveOffset"],"kind":"struct"},"9043":{"crate_id":8,"path":["miniz_oxide","inflate","core","LocalVars"],"kind":"struct"},"11132":{"crate_id":40,"path":["object","pe","ImageDynamicRelocation32"],"kind":"struct"},"9370":{"crate_id":16,"path":["gimli","read","unit","DebuggingInformationEntry"],"kind":"struct"},"7935":{"crate_id":1,"path":["std","sync","barrier","Barrier"],"kind":"struct"},"9697":{"crate_id":17,"path":["object","macho","DysymtabCommand"],"kind":"struct"},"4411":{"crate_id":0,"path":["tokio","runtime","runtime","is_rt_shutdown_err"],"kind":"function"},"10024":{"crate_id":27,"path":["libc","unix","linux_like","statx_timestamp"],"kind":"struct"},"8262":{"crate_id":2,"path":["core","char","ToTitlecase"],"kind":"struct"},"8589":{"crate_id":3,"path":["alloc","boxed","try_clone_from_ref_in","DeallocDropGuard"],"kind":"struct"},"10351":{"crate_id":33,"path":["io_uring","cqueue","CompletionQueue"],"kind":"struct"},"1541":{"crate_id":0,"path":["tokio","io","util","read_to_end","ReadToEnd"],"kind":"struct"},"10678":{"crate_id":39,"path":["gimli","read","lookup","LookupEntryIter"],"kind":"struct"},"8916":{"crate_id":5,"path":["libc","unix","linux_like","linux","mq_attr"],"kind":"struct"},"9243":{"crate_id":16,"path":["gimli","read","cfi","CallFrameInstruction"],"kind":"enum"},"11005":{"crate_id":40,"path":["object","elf","Dyn32"],"kind":"struct"},"11332":{"crate_id":2,"path":["core","ffi","primitives","c_char"],"kind":"type_alias"},"9570":{"crate_id":17,"path":["object","read","pe","section","PeSectionIterator"],"kind":"struct"},"7808":{"crate_id":1,"path":["std","panic","resume_unwind"],"kind":"function"},"4284":{"crate_id":0,"path":["tokio","runtime","metrics","runtime","RuntimeMetrics"],"kind":"struct"},"9897":{"crate_id":21,"path":["parking_lot","raw_fair_mutex","RawFairMutex"],"kind":"struct"},"8135":{"crate_id":1,"path":["std","os","net","linux_ext","tcp","TcpStreamExt"],"kind":"trait"},"10224":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","mcontext_t"],"kind":"struct"},"8462":{"crate_id":2,"path":["core","task","wake","ExtData"],"kind":"enum"},"10551":{"crate_id":39,"path":["gimli","constants","DwUt"],"kind":"struct"},"8789":{"crate_id":5,"path":["libc","unix","linux_like","if_nameindex"],"kind":"struct"},"10878":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldCacheMappingIterator"],"kind":"struct"},"9116":{"crate_id":10,"path":["hashbrown","table","AbsentEntry"],"kind":"struct"},"9443":{"crate_id":17,"path":["object","read","any","DynamicRelocationIteratorInternal"],"kind":"enum"},"7681":{"crate_id":3,"path":["alloc","alloc","Global"],"kind":"struct"},"11205":{"crate_id":40,"path":["object","read","macho","section","Section"],"kind":"trait"},"8008":{"crate_id":1,"path":["std","sys","fs","unix","StatxExtraFields"],"kind":"struct"},"9770":{"crate_id":17,"path":["object","pe","ImageResourceDirectory"],"kind":"struct"},"10097":{"crate_id":27,"path":["libc","unix","linux_like","linux","tls12_crypto_info_sm4_ccm"],"kind":"struct"},"8335":{"crate_id":2,"path":["core","str","iter","EncodeUtf16"],"kind":"struct"},"1287":{"crate_id":0,"path":["tokio","io","unix"],"kind":"module"},"8662":{"crate_id":3,"path":["alloc","collections","vec_deque","iter","Iter"],"kind":"struct"},"10424":{"crate_id":33,"path":["io_uring","opcode","Nop"],"kind":"struct"},"10751":{"crate_id":40,"path":["object","common","RelocationEncoding"],"kind":"enum"},"8989":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","_libc_fpxreg"],"kind":"struct"},"179":{"crate_id":2,"path":["core","any","TypeId"],"kind":"struct"},"1941":{"crate_id":2,"path":["core","io","util","Sink"],"kind":"struct"},"9316":{"crate_id":16,"path":["gimli","read","names","NameTableIndex"],"kind":"struct"},"11078":{"crate_id":40,"path":["object","macho","NoteCommand"],"kind":"struct"},"11405":{"crate_id":43,"path":["adler2"],"kind":"module"},"9643":{"crate_id":17,"path":["object","elf","Rela64"],"kind":"struct"},"7881":{"crate_id":1,"path":["std","os","unix","net","ucred","UCred"],"kind":"struct"},"8208":{"crate_id":2,"path":["core","bstr","ByteStr"],"kind":"struct"},"9970":{"crate_id":27,"path":["libc","new","linux_uapi","linux","netlink","nl_pktinfo"],"kind":"struct"},"10297":{"crate_id":29,"path":["tracing_core","subscriber","InterestKind"],"kind":"enum"},"6773":{"crate_id":0,"path":["tokio","sync","watch","error"],"kind":"module"},"8535":{"crate_id":2,"path":["core","str","pattern","DoubleEndedSearcher"],"kind":"trait"},"8862":{"crate_id":5,"path":["libc","unix","linux_like","linux","tls12_crypto_info_aes_gcm_128"],"kind":"struct"},"10624":{"crate_id":39,"path":["gimli","read","dwarf","DwarfPackage"],"kind":"struct"},"10951":{"crate_id":40,"path":["object","read","xcoff","symbol","XcoffSymbolIterator"],"kind":"struct"},"9189":{"crate_id":16,"path":["gimli","constants","DwVis"],"kind":"struct"},"379":{"crate_id":0,"path":["tokio","task","blocking","spawn_blocking"],"kind":"function"},"9516":{"crate_id":17,"path":["object","read","elf","attributes","AttributesSubsubsection"],"kind":"struct"},"7754":{"crate_id":1,"path":["std","thread","builder","Builder"],"kind":"struct"},"11278":{"crate_id":42,"path":["miniz_oxide","inflate","core","State"],"kind":"enum"},"9843":{"crate_id":18,"path":["memchr","arch","all","twoway","SuffixOrdering"],"kind":"enum"},"8081":{"crate_id":2,"path":["core","iter","adapters","copied","Copied"],"kind":"struct"},"10170":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","__timeval"],"kind":"struct"},"8408":{"crate_id":2,"path":["core","mem","type_info","Float"],"kind":"struct"},"10497":{"crate_id":37,"path":["rustc_demangle","SizeLimitedFmtAdapter"],"kind":"struct"},"8735":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","can_filter"],"kind":"struct"},"3449":{"crate_id":1,"path":["std","process","Child"],"kind":"struct"},"10824":{"crate_id":40,"path":["object","read","coff","comdat","CoffComdat"],"kind":"struct"},"9062":{"crate_id":10,"path":["hashbrown","raw","RawIterRange"],"kind":"struct"},"252":{"crate_id":0,"path":["tokio","io","read_buf","ReadBuf"],"kind":"struct"},"9389":{"crate_id":17,"path":["object","common","ComdatKind"],"kind":"enum"},"11151":{"crate_id":40,"path":["object","pe","ImageDebugDirectory"],"kind":"struct"},"2341":{"crate_id":0,"path":["tokio","net","tcp","split_owned","ReuniteError"],"kind":"struct"},"579":{"crate_id":0,"path":["tokio","io","util","empty","Empty"],"kind":"struct"},"9716":{"crate_id":17,"path":["object","macho","SymsegCommand"],"kind":"struct"},"7954":{"crate_id":1,"path":["std","sync","WaitTimeoutResult"],"kind":"struct"},"8281":{"crate_id":2,"path":["core","iter","sources","repeat_n","RepeatN"],"kind":"struct"},"10043":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket_hdr_v1"],"kind":"struct"},"10370":{"crate_id":33,"path":["io_uring","sys","io_uring_sqe__bindgen_ty_4"],"kind":"union"},"8608":{"crate_id":3,"path":["alloc","collections","vec_deque","Dropper"],"kind":"struct"},"5084":{"crate_id":0,"path":["tokio","sync","broadcast","error","TryRecvError","Closed"],"kind":"variant"},"8935":{"crate_id":5,"path":["libc","unix","linux_like","linux","ptp_perout_request"],"kind":"struct"},"10697":{"crate_id":39,"path":["gimli","read","op","Evaluation"],"kind":"struct"},"11024":{"crate_id":40,"path":["object","macho","DyldCacheSlideInfo5"],"kind":"struct"},"9262":{"crate_id":16,"path":["gimli","read","abbrev","DebugAbbrev"],"kind":"struct"},"9589":{"crate_id":17,"path":["object","read","pe","resource","ResourceName"],"kind":"struct"},"7827":{"crate_id":1,"path":["std","collections","hash","map","Values"],"kind":"struct"},"11351":{"crate_id":2,"path":["core","intrinsics","unchecked_funnel_shr"],"kind":"function"},"9916":{"crate_id":22,"path":["lock_api","mutex","MappedMutexGuard"],"kind":"struct"},"8154":{"crate_id":2,"path":["core","num","error","IntErrorKind"],"kind":"enum"},"10243":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","Elf32_Ehdr"],"kind":"struct"},"8481":{"crate_id":2,"path":["core","ops","bit","Not"],"kind":"trait"},"10570":{"crate_id":39,"path":["gimli","constants","DwDsc"],"kind":"struct"},"8808":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket_rollover_stats"],"kind":"struct"},"1760":{"crate_id":0,"path":["tokio","io","util","empty","empty"],"kind":"function"},"9135":{"crate_id":16,"path":["gimli","common","Vendor"],"kind":"enum"},"10897":{"crate_id":40,"path":["object","read","macho","file","MachOComdat"],"kind":"struct"},"11224":{"crate_id":41,"path":["memchr","arch","all","twoway","Shift"],"kind":"enum"},"7700":{"crate_id":31,"path":["mio","net","uds","datagram","UnixDatagram"],"kind":"struct"},"9462":{"crate_id":17,"path":["object","read","coff","section","CoffSection"],"kind":"struct"},"652":{"crate_id":0,"path":["tokio","net","windows","named_pipe","NamedPipeClient"],"kind":"struct"},"9789":{"crate_id":17,"path":["object","pe","ImageArm64RuntimeFunctionEntry"],"kind":"struct"},"8027":{"crate_id":1,"path":["std","io","buffered","bufwriter","flush_buf","BufGuard"],"kind":"struct"},"8354":{"crate_id":2,"path":["core","str","IsWhitespace"],"kind":"struct"},"10116":{"crate_id":27,"path":["libc","unix","linux_like","linux","pthread_condattr_t"],"kind":"struct"},"10443":{"crate_id":33,"path":["io_uring","opcode","Ftruncate"],"kind":"struct"},"8681":{"crate_id":3,"path":["alloc","collections","btree","map","entry","Entry"],"kind":"enum"},"10770":{"crate_id":40,"path":["object","read","read_cache","ReadCacheRange"],"kind":"struct"},"9008":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","fsid_t"],"kind":"struct"},"3722":{"crate_id":0,"path":["tokio","runtime","task","join","JoinHandle"],"kind":"struct"},"198":{"crate_id":1,"path":["std","fs","File"],"kind":"struct"},"9335":{"crate_id":16,"path":["gimli","read","op","EvaluationState"],"kind":"enum"},"11097":{"crate_id":40,"path":["object","pe","AnonObjectHeader"],"kind":"struct"},"525":{"crate_id":2,"path":["core","future","into_future","IntoFuture"],"kind":"trait"},"7900":{"crate_id":1,"path":["std","process","ExitStatusError"],"kind":"struct"},"9662":{"crate_id":17,"path":["object","macho","DyldCacheMappingAndSlideInfo"],"kind":"struct"},"11424":{"crate_id":1,"path":["std","i16"],"kind":"primitive"},"9989":{"crate_id":27,"path":["libc","unix","itimerval"],"kind":"struct"},"8227":{"crate_id":2,"path":["core","fmt","Sign"],"kind":"enum"},"1179":{"crate_id":0,"path":["tokio","io","async_fd","TryIoError"],"kind":"struct"},"8554":{"crate_id":2,"path":["core","sync","atomic","private","Align4"],"kind":"struct"},"10316":{"crate_id":29,"path":["tracing_core","subscriber","Subscriber"],"kind":"trait"},"10643":{"crate_id":39,"path":["gimli","read","abbrev","AttributeSpecification"],"kind":"struct"},"8881":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_range"],"kind":"struct"},"9208":{"crate_id":16,"path":["gimli","constants","GdbIndexSymbolKind"],"kind":"struct"},"10970":{"crate_id":40,"path":["object","read","ObjectMapEntry"],"kind":"struct"},"5684":{"crate_id":1,"path":["std","sync","poison","mutex","Mutex"],"kind":"struct"},"2160":{"crate_id":1,"path":["std","net","tcp","TcpListener"],"kind":"struct"},"11297":{"crate_id":45,"path":["signal_hook_registry","ErrnoGuard"],"kind":"struct"},"9535":{"crate_id":17,"path":["object","read","macho","dyld_cache","RelocationStateV5"],"kind":"enum"},"7773":{"crate_id":2,"path":["core","option","Iter"],"kind":"struct"},"9862":{"crate_id":18,"path":["memchr","arch","all","memchr","ThreeIter"],"kind":"struct"},"8100":{"crate_id":3,"path":["alloc","slice","Join"],"kind":"trait"},"10189":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","tcp_info"],"kind":"struct"},"8427":{"crate_id":2,"path":["core","io","error","SimpleMessage"],"kind":"struct"},"10516":{"crate_id":39,"path":["gimli","common","DebugAddrIndex"],"kind":"struct"},"8754":{"crate_id":5,"path":["libc","unix","pollfd"],"kind":"struct"},"5230":{"crate_id":0,"path":["tokio","sync","mpsc","error","SendError"],"kind":"struct"},"10843":{"crate_id":40,"path":["object","read","elf","relocation","ElfSectionRelocationIterator"],"kind":"struct"},"9081":{"crate_id":10,"path":["hashbrown","table","IterHashBuckets"],"kind":"struct"},"11170":{"crate_id":40,"path":["object","xcoff","FileAux32"],"kind":"struct"},"9408":{"crate_id":17,"path":["object","endian","I32"],"kind":"struct"},"7646":{"crate_id":27,"path":["libc","unix","linux_like","linux","mode_t"],"kind":"type_alias"},"7973":{"crate_id":1,"path":["std","sys","net","connection","socket","UdpSocket"],"kind":"struct"},"9735":{"crate_id":17,"path":["object","pe","ImageOptionalHeader32"],"kind":"struct"},"10062":{"crate_id":27,"path":["libc","unix","linux_like","linux","__c_anonymous__kernel_fsid_t"],"kind":"struct"},"8300":{"crate_id":2,"path":["core","slice","ascii","EscapeByte"],"kind":"struct"},"8627":{"crate_id":3,"path":["alloc","vec","dedup_by","FillGapOnDrop"],"kind":"struct"},"10389":{"crate_id":33,"path":["io_uring","sys","io_uring_clock_register"],"kind":"struct"},"10716":{"crate_id":39,"path":["gimli","read","str","DebugLineStr"],"kind":"struct"},"8954":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","__c_anonymous_ptrace_syscall_info_exit"],"kind":"struct"},"144":{"crate_id":2,"path":["core","marker","Sync"],"kind":"trait"},"9281":{"crate_id":16,"path":["gimli","read","line","LineRows"],"kind":"struct"},"11043":{"crate_id":40,"path":["object","macho","SubFrameworkCommand"],"kind":"struct"},"471":{"crate_id":1,"path":["std","fs","copy"],"kind":"function"},"9608":{"crate_id":17,"path":["object","read","traits","NoDynamicRelocationIterator"],"kind":"struct"},"7846":{"crate_id":1,"path":["std","collections","hash","set","Union"],"kind":"struct"},"11370":{"crate_id":7,"path":["unwind"],"kind":"module"},"9935":{"crate_id":24,"path":["parking_lot_core","parking_lot","RequeueOp"],"kind":"enum"},"8173":{"crate_id":2,"path":["core","num","niche_types","NonZeroIsizeInner"],"kind":"struct"},"10262":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","__c_anonymous_elf32_rela"],"kind":"struct"},"8500":{"crate_id":2,"path":["core","slice","sort","shared","smallsort","CopyOnDrop"],"kind":"struct"},"8827":{"crate_id":5,"path":["libc","unix","linux_like","linux","ff_rumble_effect"],"kind":"struct"},"10589":{"crate_id":39,"path":["gimli","read","reader","ReaderOffset"],"kind":"trait"},"10916":{"crate_id":40,"path":["object","read","pe","file","PeComdat"],"kind":"struct"},"9154":{"crate_id":16,"path":["gimli","common","RangeListsOffset"],"kind":"struct"},"5630":{"crate_id":0,"path":["tokio","sync","mpsc","error","SendTimeoutError","Timeout"],"kind":"variant"},"9481":{"crate_id":17,"path":["object","read","elf","section","ElfSection"],"kind":"struct"},"7719":{"crate_id":2,"path":["core","sync","atomic","AtomicU32"],"kind":"type_alias"},"11243":{"crate_id":41,"path":["memchr","arch","all","memchr","OneIter"],"kind":"struct"},"8046":{"crate_id":1,"path":["std","backtrace_rs","print","BacktraceFrameFmt"],"kind":"struct"},"9808":{"crate_id":17,"path":["object","xcoff","AuxHeader32"],"kind":"struct"},"10135":{"crate_id":27,"path":["libc","unix","linux_like","linux","mount_attr"],"kind":"struct"},"8373":{"crate_id":2,"path":["core","core_arch","x86","__m256"],"kind":"struct"},"10462":{"crate_id":34,"path":["bitflags","parser","ParseError"],"kind":"struct"},"8700":{"crate_id":3,"path":["alloc","task","LocalWake"],"kind":"trait"},"10789":{"crate_id":40,"path":["object","read","any","ComdatSectionIteratorInternal"],"kind":"enum"},"9027":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","regmatch_t"],"kind":"struct"},"11116":{"crate_id":40,"path":["object","pe","ImageImportByName"],"kind":"struct"},"9354":{"crate_id":16,"path":["gimli","read","rnglists","DebugRngLists"],"kind":"struct"},"9681":{"crate_id":17,"path":["object","macho","Section64"],"kind":"struct"},"7919":{"crate_id":1,"path":["std","sync","mpsc","TryIter"],"kind":"struct"},"8246":{"crate_id":2,"path":["core","core_simd","vector","SimdElement"],"kind":"trait"},"10008":{"crate_id":27,"path":["libc","unix","linux_like","Dl_info"],"kind":"struct"},"10335":{"crate_id":31,"path":["mio","sys","unix","selector","event","debug_details","EventsDetails"],"kind":"struct"},"8573":{"crate_id":2,"path":["core","core_simd","to_bytes","ToBytes"],"kind":"trait"},"8900":{"crate_id":5,"path":["libc","unix","linux_like","linux","xdp_statistics_v1"],"kind":"struct"},"10662":{"crate_id":39,"path":["gimli","read","line","LineSequence"],"kind":"struct"},"10989":{"crate_id":40,"path":["object","elf","SectionHeader32"],"kind":"struct"},"9227":{"crate_id":16,"path":["gimli","read","cfi","SectionBaseAddresses"],"kind":"struct"},"3941":{"crate_id":0,"path":["tokio","runtime","local_runtime","runtime","LocalRuntime"],"kind":"struct"},"9554":{"crate_id":17,"path":["object","read","macho","segment","MachOSegment"],"kind":"struct"},"7792":{"crate_id":2,"path":["core","fmt","Write"],"kind":"trait"},"11316":{"crate_id":2,"path":["core","num","traits","TruncateTarget"],"kind":"trait"},"9881":{"crate_id":18,"path":["memchr","memmem","searcher","Searcher"],"kind":"struct"},"8119":{"crate_id":1,"path":["std","os","unix","ffi","os_str","OsStringExt"],"kind":"trait"},"10208":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","sigaction"],"kind":"struct"},"8446":{"crate_id":2,"path":["core","slice","iter","SplitInclusiveMut"],"kind":"struct"},"10535":{"crate_id":39,"path":["gimli","common","DebugFrameOffset"],"kind":"struct"},"8773":{"crate_id":5,"path":["libc","unix","linux_like","sockaddr_ll"],"kind":"struct"},"5249":{"crate_id":0,"path":["tokio","sync","mpsc","error","TrySendError","Closed"],"kind":"variant"},"10862":{"crate_id":40,"path":["object","read","elf","version","VerdauxIterator"],"kind":"struct"},"9100":{"crate_id":10,"path":["hashbrown","table","ExtractIf"],"kind":"struct"},"290":{"crate_id":0,"path":["tokio","doc","os","windows","io","RawHandle"],"kind":"type_alias"},"7665":{"crate_id":2,"path":["core","convert","AsMut"],"kind":"trait"},"9427":{"crate_id":17,"path":["object","read","any","SegmentInternal"],"kind":"enum"},"11189":{"crate_id":40,"path":["object","read","traits","ObjectComdat"],"kind":"trait"},"617":{"crate_id":0,"path":["tokio","io","util","mem","DuplexStream"],"kind":"struct"},"9754":{"crate_id":17,"path":["object","pe","ImageAuxSymbolSection"],"kind":"struct"},"7992":{"crate_id":1,"path":["std","panicking","panic_count","MustAbort"],"kind":"enum"},"8319":{"crate_id":2,"path":["core","str","iter","SplitTerminator"],"kind":"struct"},"10081":{"crate_id":27,"path":["libc","unix","linux_like","linux","ptp_sys_offset_extended"],"kind":"struct"},"10408":{"crate_id":33,"path":["io_uring","types","Fd"],"kind":"struct"},"8646":{"crate_id":3,"path":["alloc","collections","btree","navigate","LeafRange"],"kind":"struct"},"5122":{"crate_id":0,"path":["tokio","sync","broadcast","channel"],"kind":"function"},"8973":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","sigset_t"],"kind":"struct"},"10735":{"crate_id":39,"path":["gimli","read","StoreOnHeap"],"kind":"struct"},"3687":{"crate_id":0,"path":["tokio","task"],"kind":"module"},"11062":{"crate_id":40,"path":["object","macho","RpathCommand"],"kind":"struct"},"9300":{"crate_id":16,"path":["gimli","read","loclists","LocationListEntry"],"kind":"struct"},"9627":{"crate_id":17,"path":["object","archive","AixFileHeader"],"kind":"struct"},"7865":{"crate_id":1,"path":["std","io","buffered","linewriter","LineWriter"],"kind":"struct"},"11389":{"crate_id":27,"path":["libc"],"kind":"module"},"9954":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","netlink","can_bittiming_const"],"kind":"struct"},"8192":{"crate_id":2,"path":["core","cmp","Reverse"],"kind":"struct"},"1144":{"crate_id":2,"path":["core","ops","function","FnMut"],"kind":"trait"},"8519":{"crate_id":2,"path":["core","convert","num","FloatToInt"],"kind":"trait"},"10281":{"crate_id":28,"path":["tracing","instrument","_","__Origin"],"kind":"struct"},"1471":{"crate_id":0,"path":["tokio","select"],"kind":"macro"},"10608":{"crate_id":39,"path":["gimli","read","cfi","UnwindContext"],"kind":"struct"},"8846":{"crate_id":5,"path":["libc","unix","linux_like","linux","seccomp_notif_addfd"],"kind":"struct"},"9173":{"crate_id":16,"path":["gimli","arch","X86"],"kind":"struct"},"10935":{"crate_id":40,"path":["object","read","pe","relocation","Relocation"],"kind":"struct"},"2125":{"crate_id":0,"path":["tokio","net","addr","sealed","Internal"],"kind":"struct"},"11262":{"crate_id":41,"path":["memchr","memchr","Memchr2"],"kind":"struct"},"7738":{"crate_id":1,"path":["std","sync","poison","rwlock","RwLockWriteGuard"],"kind":"struct"},"9500":{"crate_id":17,"path":["object","read","elf","note","Note"],"kind":"struct"},"9827":{"crate_id":17,"path":["object","xcoff","Rel32"],"kind":"struct"},"8065":{"crate_id":2,"path":["core","iter","adapters","filter_map","FilterMap"],"kind":"struct"},"10154":{"crate_id":27,"path":["libc","unix","linux_like","linux","af_alg_iv"],"kind":"struct"},"8392":{"crate_id":2,"path":["core","mem","type_info","Array"],"kind":"struct"},"3106":{"crate_id":0,"path":["tokio","net","unix"],"kind":"module"},"10481":{"crate_id":36,"path":["backtrace","symbolize","gimli","parse_running_mmaps","MapsEntry"],"kind":"struct"},"8719":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","bcm","bcm_timeval"],"kind":"struct"},"10808":{"crate_id":40,"path":["object","read","archive","ArchiveSymbol"],"kind":"struct"},"9046":{"crate_id":8,"path":["miniz_oxide","MZFlush"],"kind":"enum"},"11135":{"crate_id":40,"path":["object","pe","ImageDynamicRelocation64V2"],"kind":"struct"},"9373":{"crate_id":16,"path":["gimli","read","unit","EntriesRaw"],"kind":"struct"},"7938":{"crate_id":1,"path":["std","sync","reentrant_lock","ReentrantLock"],"kind":"struct"},"9700":{"crate_id":17,"path":["object","macho","DylibModule64"],"kind":"struct"},"10027":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket_versions"],"kind":"enum"},"8265":{"crate_id":2,"path":["core","char","CaseMappingIter"],"kind":"struct"},"8592":{"crate_id":3,"path":["alloc","collections","binary_heap","Hole"],"kind":"struct"},"10354":{"crate_id":33,"path":["io_uring","squeue","EntryMarker"],"kind":"trait"},"10681":{"crate_id":39,"path":["gimli","read","macros","DebugMacinfo"],"kind":"struct"},"8919":{"crate_id":5,"path":["libc","unix","linux_like","linux","file_handle"],"kind":"struct"},"5395":{"crate_id":0,"path":["tokio","sync","mpsc","error","TryRecvError","Disconnected"],"kind":"variant"},"9246":{"crate_id":16,"path":["gimli","read","cfi","Pointer"],"kind":"enum"},"11008":{"crate_id":40,"path":["object","elf","Verdef"],"kind":"struct"},"2198":{"crate_id":0,"path":["tokio","doc","os","windows","io","AsSocket"],"kind":"trait"},"11335":{"crate_id":2,"path":["core","str","pattern"],"kind":"module"},"9573":{"crate_id":17,"path":["object","read","pe","data_directory","DataDirectories"],"kind":"struct"},"7811":{"crate_id":22,"path":["lock_api","mutex","Mutex"],"kind":"struct"},"9900":{"crate_id":22,"path":["lock_api","mutex","RawMutexFair"],"kind":"trait"},"8138":{"crate_id":2,"path":["core","clone","Share"],"kind":"trait"},"10227":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","ptrace_rseq_configuration"],"kind":"struct"},"8465":{"crate_id":2,"path":["core","fmt","builders","PadAdapterState"],"kind":"struct"},"10554":{"crate_id":39,"path":["gimli","constants","DwTag"],"kind":"struct"},"8792":{"crate_id":5,"path":["libc","unix","linux_like","sock_fprog"],"kind":"struct"},"10881":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldCacheSlideInfo"],"kind":"enum"},"9119":{"crate_id":12,"path":["std_detect","detect","cache","Initializer"],"kind":"struct"},"11208":{"crate_id":40,"path":["object","read","pe","import","ImageThunkData"],"kind":"trait"},"9446":{"crate_id":17,"path":["object","read","archive","ArchiveKind"],"kind":"enum"},"7684":{"crate_id":3,"path":["alloc","vec"],"kind":"macro"},"8011":{"crate_id":1,"path":["std","backtrace_rs","backtrace","libunwind","Frame"],"kind":"enum"},"9773":{"crate_id":17,"path":["object","pe","ImageResourceDirStringU"],"kind":"struct"},"963":{"crate_id":2,"path":["core","marker","StructuralPartialEq"],"kind":"trait"},"10100":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_param"],"kind":"struct"},"8338":{"crate_id":2,"path":["core","str","iter","EscapeUnicode"],"kind":"struct"},"4814":{"crate_id":0,"path":["tokio","signal","unix","Signal"],"kind":"struct"},"8665":{"crate_id":3,"path":["alloc","ffi","c_str","FromBytesWithNulErrorKind"],"kind":"enum"},"10427":{"crate_id":33,"path":["io_uring","opcode","Fsync"],"kind":"struct"},"10754":{"crate_id":40,"path":["object","common","SectionFlags"],"kind":"enum"},"8992":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","user_regs_struct"],"kind":"struct"},"9319":{"crate_id":16,"path":["gimli","read","names","NameTableIter"],"kind":"struct"},"11081":{"crate_id":40,"path":["object","macho","Relocation"],"kind":"struct"},"11408":{"crate_id":46,"path":["errno"],"kind":"module"},"9646":{"crate_id":17,"path":["object","elf","ProgramHeader32"],"kind":"struct"},"6122":{"crate_id":0,"path":["tokio","sync","batch_semaphore","TryAcquireError","NoPermits"],"kind":"variant"},"7884":{"crate_id":1,"path":["std","panic","PanicHookInfo"],"kind":"struct"},"836":{"crate_id":0,"path":["tokio","net","unix","split","WriteHalf"],"kind":"struct"},"8211":{"crate_id":2,"path":["core","char","convert","CharErrorKind"],"kind":"enum"},"9973":{"crate_id":27,"path":["libc","new","linux_uapi","linux","netlink","nlattr"],"kind":"struct"},"10300":{"crate_id":29,"path":["tracing_core","dispatcher","DefaultGuard"],"kind":"struct"},"8538":{"crate_id":2,"path":["core","iter","traits","marker","TrustedStep"],"kind":"trait"},"1490":{"crate_id":0,"path":["tokio","io","util","read","Read"],"kind":"struct"},"8865":{"crate_id":5,"path":["libc","unix","linux_like","linux","tls12_crypto_info_chacha20_poly1305"],"kind":"struct"},"10627":{"crate_id":39,"path":["gimli","read","dwarf","RangeIter"],"kind":"struct"},"10954":{"crate_id":40,"path":["object","read","xcoff","comdat","XcoffComdatIterator"],"kind":"struct"},"9192":{"crate_id":16,"path":["gimli","constants","DwAddr"],"kind":"struct"},"382":{"crate_id":3,"path":["alloc","vec","Vec"],"kind":"struct"},"9519":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldCache"],"kind":"struct"},"7757":{"crate_id":27,"path":["libc","unix","linux_like","linux","syscall"],"kind":"function"},"11281":{"crate_id":42,"path":["miniz_oxide","inflate","stream","InflateState"],"kind":"struct"},"9846":{"crate_id":18,"path":["memchr","arch","x86_64","avx2","memchr","Two"],"kind":"struct"},"8084":{"crate_id":2,"path":["core","iter","adapters","array_chunks","ArrayChunks"],"kind":"struct"},"10173":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","cmsghdr"],"kind":"struct"},"8411":{"crate_id":2,"path":["core","mem","type_info","Pointer"],"kind":"struct"},"4887":{"crate_id":0,"path":["tokio","signal","windows","ctrl_break"],"kind":"function"},"10500":{"crate_id":38,"path":["addr2line","frame","Location"],"kind":"struct"},"8738":{"crate_id":5,"path":["libc","new","linux_uapi","linux","netlink","nlmsgerr"],"kind":"struct"},"10827":{"crate_id":40,"path":["object","read","coff","import","ImportName"],"kind":"enum"},"9065":{"crate_id":10,"path":["hashbrown","raw","RawIterHashIndices"],"kind":"struct"},"11154":{"crate_id":40,"path":["object","pe","ImageFunctionEntry"],"kind":"struct"},"7630":{"crate_id":0,"path":["tokio","doc"],"kind":"module"},"9392":{"crate_id":17,"path":["object","common","RelocationKind"],"kind":"enum"},"9719":{"crate_id":17,"path":["object","macho","EntryPointCommand"],"kind":"struct"},"7957":{"crate_id":1,"path":["std","sys","pal","unix","time","Timespec"],"kind":"struct"},"8284":{"crate_id":2,"path":["core","net","ip_addr","fmt","Span"],"kind":"struct"},"10046":{"crate_id":27,"path":["libc","unix","linux_like","linux","input_id"],"kind":"struct"},"4760":{"crate_id":0,"path":["tokio","signal","ctrl_c","ctrl_c"],"kind":"function"},"10373":{"crate_id":33,"path":["io_uring","sys","io_uring_sqe__bindgen_ty_5__bindgen_ty_2"],"kind":"struct"},"8611":{"crate_id":3,"path":["alloc","rc","from_iter_exact","Guard"],"kind":"struct"},"5087":{"crate_id":0,"path":["tokio","sync","broadcast","error","TryRecvError","Lagged"],"kind":"variant"},"8938":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","aiocb"],"kind":"struct"},"10700":{"crate_id":39,"path":["gimli","read","pubnames","DebugPubNames"],"kind":"struct"},"11027":{"crate_id":40,"path":["object","macho","DyldSubCacheEntryV2"],"kind":"struct"},"9265":{"crate_id":16,"path":["gimli","read","abbrev","Abbreviations"],"kind":"struct"},"9592":{"crate_id":17,"path":["object","read","pe","rich","RichHeaderEntry"],"kind":"struct"},"7830":{"crate_id":1,"path":["std","collections","hash","map","VacantEntry"],"kind":"struct"},"11354":{"crate_id":2,"path":["core","ptr","with_exposed_provenance"],"kind":"function"},"9919":{"crate_id":22,"path":["lock_api","remutex","ReentrantMutexGuard"],"kind":"struct"},"8157":{"crate_id":2,"path":["core","num","nonzero","ZeroablePrimitive"],"kind":"trait"},"1109":{"crate_id":0,"path":["tokio","io","bsd"],"kind":"module"},"10246":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","Elf64_Sym"],"kind":"struct"},"8484":{"crate_id":2,"path":["core","ops","bit","Shl"],"kind":"trait"},"4960":{"crate_id":0,"path":["tokio","signal","windows"],"kind":"module"},"10573":{"crate_id":39,"path":["gimli","constants","DwLns"],"kind":"struct"},"8811":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket3_hdr"],"kind":"struct"},"10900":{"crate_id":40,"path":["object","read","macho","load_command","LoadCommandData"],"kind":"struct"},"9138":{"crate_id":16,"path":["gimli","common","Register"],"kind":"struct"},"328":{"crate_id":2,"path":["core","io","error","ErrorKind"],"kind":"enum"},"7703":{"crate_id":47,"path":["socket2","Type"],"kind":"struct"},"9465":{"crate_id":17,"path":["object","read","coff","symbol","CoffSymbolTable"],"kind":"struct"},"11227":{"crate_id":41,"path":["memchr","arch","all","twoway","ApproximateByteSet"],"kind":"struct"},"655":{"crate_id":0,"path":["tokio","process","ChildStdout"],"kind":"struct"},"9792":{"crate_id":17,"path":["object","pe","ImageRuntimeFunctionEntry"],"kind":"struct"},"8030":{"crate_id":1,"path":["std","sync","mpmc","waker","Waker"],"kind":"struct"},"8357":{"crate_id":2,"path":["core","str","BytesIsNotEmpty"],"kind":"struct"},"10119":{"crate_id":27,"path":["libc","unix","linux_like","linux","ptp_sys_offset"],"kind":"struct"},"10446":{"crate_id":33,"path":["io_uring","sys","io_uring_cqe"],"kind":"struct"},"8684":{"crate_id":3,"path":["alloc","collections","btree","map","entry","OccupiedError"],"kind":"struct"},"9011":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","sembuf"],"kind":"struct"},"10773":{"crate_id":40,"path":["object","read","util","DebugLen"],"kind":"struct"},"3725":{"crate_id":0,"path":["tokio","runtime","task","id","try_id"],"kind":"function"},"11100":{"crate_id":40,"path":["object","pe","ImageSectionHeader"],"kind":"struct"},"9338":{"crate_id":16,"path":["gimli","read","op","Expression"],"kind":"struct"},"11427":{"crate_id":1,"path":["std","i128"],"kind":"primitive"},"7903":{"crate_id":1,"path":["std","sync","mpmc","array","ArrayToken"],"kind":"struct"},"9665":{"crate_id":17,"path":["object","macho","DyldCacheSlideInfo3"],"kind":"struct"},"9992":{"crate_id":27,"path":["libc","unix","protoent"],"kind":"struct"},"8230":{"crate_id":2,"path":["core","hash","BuildHasherDefault"],"kind":"struct"},"8557":{"crate_id":2,"path":["core","alloc","global","GlobalAlloc"],"kind":"trait"},"10319":{"crate_id":29,"path":["tracing_core","field","Visit"],"kind":"trait"},"10646":{"crate_id":39,"path":["gimli","read","aranges","ArangeHeader"],"kind":"struct"},"8884":{"crate_id":5,"path":["libc","unix","linux_like","linux","pthread_mutexattr_t"],"kind":"struct"},"9211":{"crate_id":16,"path":["gimli","endianity","BigEndian"],"kind":"struct"},"10973":{"crate_id":40,"path":["object","read","Export"],"kind":"struct"},"5687":{"crate_id":0,"path":["tokio","sync","mutex","Mutex"],"kind":"struct"},"11300":{"crate_id":45,"path":["signal_hook_registry","SigId"],"kind":"struct"},"9538":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldRelocationAuth"],"kind":"struct"},"7776":{"crate_id":2,"path":["core","sync","atomic","Ordering","AcqRel"],"kind":"variant"},"9865":{"crate_id":18,"path":["memchr","arch","generic","memchr","One"],"kind":"struct"},"8103":{"crate_id":2,"path":["core","io","util","Chain"],"kind":"struct"},"10192":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","sem_t"],"kind":"struct"},"8430":{"crate_id":2,"path":["core","io","error","Custom"],"kind":"struct"},"1382":{"crate_id":1,"path":["std","io","stdio","stdout"],"kind":"function"},"10519":{"crate_id":39,"path":["gimli","common","DebugLineOffset"],"kind":"struct"},"8757":{"crate_id":5,"path":["libc","unix","sigval"],"kind":"struct"},"5233":{"crate_id":0,"path":["tokio","sync","mpsc","error","TrySendError"],"kind":"enum"},"10846":{"crate_id":40,"path":["object","read","elf","relocation","CrelIteratorHeader"],"kind":"struct"},"9084":{"crate_id":10,"path":["hashbrown","raw","RawDrain"],"kind":"struct"},"3798":{"crate_id":1,"path":["std","thread","join_handle","JoinHandle"],"kind":"struct"},"11173":{"crate_id":40,"path":["object","xcoff","CsectAux64"],"kind":"struct"},"9411":{"crate_id":17,"path":["object","read","read_cache","ReadCacheInternal"],"kind":"struct"},"7649":{"crate_id":1,"path":["std","fs","ReadDir"],"kind":"struct"},"7976":{"crate_id":1,"path":["std","sys","paths","unix","JoinPathsError"],"kind":"struct"},"9738":{"crate_id":17,"path":["object","pe","ImageNtHeaders64"],"kind":"struct"},"10065":{"crate_id":27,"path":["libc","unix","linux_like","linux","genlmsghdr"],"kind":"struct"},"8303":{"crate_id":2,"path":["core","slice","iter","SplitInclusive"],"kind":"struct"},"8630":{"crate_id":3,"path":["alloc","collections","btree","node","Handle"],"kind":"struct"},"10392":{"crate_id":33,"path":["io_uring","sys","io_uring_buf_ring__bindgen_ty_1__bindgen_ty_1"],"kind":"struct"},"10719":{"crate_id":39,"path":["gimli","read","unit","DebugInfoUnitHeadersIter"],"kind":"struct"},"8957":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","ptrace_sud_config"],"kind":"struct"},"5433":{"crate_id":0,"path":["tokio","sync","mpsc","unbounded","UnboundedSender"],"kind":"struct"},"9284":{"crate_id":16,"path":["gimli","read","line","LineRow"],"kind":"struct"},"11046":{"crate_id":40,"path":["object","macho","SubLibraryCommand"],"kind":"struct"},"11373":{"crate_id":10,"path":["hashbrown"],"kind":"module"},"9611":{"crate_id":17,"path":["object","read","ObjectKind"],"kind":"enum"},"7849":{"crate_id":1,"path":["std","collections","hash","set","VacantEntry"],"kind":"struct"},"9938":{"crate_id":24,"path":["parking_lot_core","parking_lot","ParkToken"],"kind":"struct"},"8176":{"crate_id":2,"path":["core","num","niche_types","U64NotAllOnes"],"kind":"struct"},"1128":{"crate_id":2,"path":["core","task","wake","Waker"],"kind":"struct"},"10265":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","ifreq"],"kind":"struct"},"8503":{"crate_id":2,"path":["core","intrinsics","fallback","FunnelShift"],"kind":"trait"},"10592":{"crate_id":39,"path":["gimli","read","cfi","EhFrameHdr"],"kind":"struct"},"8830":{"crate_id":5,"path":["libc","unix","linux_like","linux","uinput_ff_erase"],"kind":"struct"},"10919":{"crate_id":40,"path":["object","read","pe","section","PeSegment"],"kind":"struct"},"7395":{"crate_id":0,"path":["tokio","time","interval","MissedTickBehavior"],"kind":"enum"},"9157":{"crate_id":16,"path":["gimli","common","DebugStrOffset"],"kind":"struct"},"3871":{"crate_id":0,"path":["tokio","runtime","task","trace","TraceMeta"],"kind":"struct"},"9484":{"crate_id":17,"path":["object","read","elf","symbol","ElfSymbolIterator"],"kind":"struct"},"7722":{"crate_id":2,"path":["core","sync","atomic","Atomic"],"kind":"struct"},"11246":{"crate_id":41,"path":["memchr","arch","all","rabinkarp","Finder"],"kind":"struct"},"8049":{"crate_id":1,"path":["std","panicking","Hook"],"kind":"enum"},"9811":{"crate_id":17,"path":["object","xcoff","SectionHeader64"],"kind":"struct"},"4525":{"crate_id":2,"path":["core","ops","range","Range"],"kind":"struct"},"10138":{"crate_id":27,"path":["libc","unix","linux_like","linux","dmabuf_token"],"kind":"struct"},"8376":{"crate_id":2,"path":["core","core_arch","x86","__m512"],"kind":"struct"},"8703":{"crate_id":3,"path":["alloc","collections","btree","node","marker","Mut"],"kind":"struct"},"10465":{"crate_id":34,"path":["bitflags","parser","WriteHex"],"kind":"trait"},"10792":{"crate_id":40,"path":["object","read","any","SymbolIterator"],"kind":"struct"},"9030":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","__c_anonymous_ifru_map"],"kind":"struct"},"11119":{"crate_id":40,"path":["object","pe","ImageTlsDirectory64"],"kind":"struct"},"9357":{"crate_id":16,"path":["gimli","read","rnglists","RawRngListIter"],"kind":"struct"},"9684":{"crate_id":17,"path":["object","macho","Dylib"],"kind":"struct"},"7922":{"crate_id":1,"path":["std","sync","mpsc","TryRecvError"],"kind":"enum"},"8249":{"crate_id":2,"path":["core","mem","maybe_dangling","MaybeDangling"],"kind":"struct"},"10011":{"crate_id":27,"path":["libc","unix","linux_like","ifaddrs"],"kind":"struct"},"10338":{"crate_id":31,"path":["mio","io_source","IoSource"],"kind":"struct"},"8576":{"crate_id":2,"path":["core","core_simd","vector","sealed","Sealed"],"kind":"trait"},"5052":{"crate_id":0,"path":["tokio","sync","broadcast","error","RecvError"],"kind":"enum"},"8903":{"crate_id":5,"path":["libc","unix","linux_like","linux","xsk_tx_metadata_completion"],"kind":"struct"},"10665":{"crate_id":39,"path":["gimli","read","line","CompleteLineProgram"],"kind":"struct"},"10992":{"crate_id":40,"path":["object","elf","CompressionHeader64"],"kind":"struct"},"9230":{"crate_id":16,"path":["gimli","read","cfi","CfiEntryPrefix"],"kind":"struct"},"3944":{"crate_id":0,"path":["tokio"],"kind":"module"},"9557":{"crate_id":17,"path":["object","read","macho","section","MachOSection"],"kind":"struct"},"7795":{"crate_id":2,"path":["core","ops","range","RangeBounds"],"kind":"trait"},"4271":{"crate_id":0,"path":["tokio","runtime","handle","TryCurrentError"],"kind":"struct"},"2509":{"crate_id":3,"path":["alloc","sync","Arc"],"kind":"struct"},"11319":{"crate_id":2,"path":["core","ptr","eq"],"kind":"function"},"9884":{"crate_id":18,"path":["memchr","memmem","FindIter"],"kind":"struct"},"8122":{"crate_id":1,"path":["std","os","unix","fs","MetadataExt"],"kind":"trait"},"10211":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","flock64"],"kind":"struct"},"8449":{"crate_id":2,"path":["core","slice","iter","SplitN"],"kind":"struct"},"10538":{"crate_id":39,"path":["gimli","common","SectionId"],"kind":"enum"},"8776":{"crate_id":5,"path":["libc","unix","linux_like","sched_param"],"kind":"struct"},"10865":{"crate_id":40,"path":["object","read","elf","attributes","AttributesSection"],"kind":"struct"},"9103":{"crate_id":10,"path":["hashbrown","map","VacantEntry"],"kind":"struct"},"11192":{"crate_id":40,"path":["object","read","private","Sealed"],"kind":"trait"},"7668":{"crate_id":3,"path":["alloc","ffi","c_str","CString"],"kind":"struct"},"9430":{"crate_id":17,"path":["object","read","any","SectionIteratorInternal"],"kind":"enum"},"620":{"crate_id":0,"path":["tokio","io","util","mem","SimplexStream"],"kind":"struct"},"9757":{"crate_id":17,"path":["object","pe","ImageLinenumber"],"kind":"struct"},"7995":{"crate_id":1,"path":["std","backtrace_rs","symbolize","SymbolName"],"kind":"struct"},"8322":{"crate_id":2,"path":["core","str","iter","SplitN"],"kind":"struct"},"10084":{"crate_id":27,"path":["libc","unix","linux_like","linux","sctp_initmsg"],"kind":"struct"},"10411":{"crate_id":33,"path":["io_uring","types","_","InternalBitFlags"],"kind":"struct"},"8649":{"crate_id":3,"path":["alloc","collections","btree","set","BTreeSet"],"kind":"struct"},"5125":{"crate_id":0,"path":["tokio","sync","broadcast","WeakSender"],"kind":"struct"},"8976":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","semid_ds"],"kind":"struct"},"10738":{"crate_id":39,"path":["gimli","read","util","sealed","Sealed"],"kind":"trait"},"11065":{"crate_id":40,"path":["object","macho","EncryptionInfoCommand32"],"kind":"struct"},"9303":{"crate_id":16,"path":["gimli","read","lookup","PubSetEntryIter"],"kind":"struct"},"4017":{"crate_id":0,"path":["tokio","runtime","builder","UnhandledPanic","Ignore"],"kind":"variant"},"9630":{"crate_id":17,"path":["object","elf","FileHeader64"],"kind":"struct"},"7868":{"crate_id":1,"path":["std","io","pipe","PipeReader"],"kind":"struct"},"11392":{"crate_id":30,"path":["once_cell"],"kind":"module"},"9957":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","netlink","can_ctrlmode"],"kind":"struct"},"8195":{"crate_id":2,"path":["core","marker","variance","PhantomContravariantLifetime"],"kind":"struct"},"1147":{"crate_id":2,"path":["core","ops","function","FnOnce"],"kind":"trait"},"10284":{"crate_id":29,"path":["tracing_core","field","ValueSet"],"kind":"struct"},"8522":{"crate_id":2,"path":["core","iter","adapters","GenericShunt"],"kind":"struct"},"10611":{"crate_id":39,"path":["gimli","read","cfi","RegisterRuleMap"],"kind":"struct"},"8849":{"crate_id":5,"path":["libc","unix","linux_like","linux","ptp_clock_time"],"kind":"struct"},"9176":{"crate_id":16,"path":["gimli","constants","DwSect"],"kind":"struct"},"10938":{"crate_id":40,"path":["object","read","pe","resource","ResourceDirectoryEntryData"],"kind":"enum"},"2128":{"crate_id":0,"path":["tokio","net","addr","ToSocketAddrs"],"kind":"trait"},"366":{"crate_id":3,"path":["alloc","borrow","ToOwned"],"kind":"trait"},"7741":{"crate_id":1,"path":["std","hash","random","RandomState"],"kind":"struct"},"9503":{"crate_id":17,"path":["object","read","elf","hash","HashTable"],"kind":"struct"},"11265":{"crate_id":41,"path":["memchr","memmem","searcher","SearcherRev"],"kind":"struct"},"693":{"crate_id":2,"path":["core","write"],"kind":"macro"},"9830":{"crate_id":17,"path":["object","endian","FixedEndian"],"kind":"trait"},"8068":{"crate_id":2,"path":["core","iter","adapters","skip_while","SkipWhile"],"kind":"struct"},"8395":{"crate_id":2,"path":["core","mem","type_info","DynTraitPredicate"],"kind":"struct"},"10157":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket_block_desc"],"kind":"struct"},"10484":{"crate_id":36,"path":["backtrace","symbolize","gimli","mmap","Mmap"],"kind":"struct"},"8722":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","netlink","can_bittiming"],"kind":"struct"},"10811":{"crate_id":40,"path":["object","read","coff","file","CoffHeader"],"kind":"trait"},"9049":{"crate_id":8,"path":["miniz_oxide","DataFormat"],"kind":"enum"},"11138":{"crate_id":40,"path":["object","pe","ImageLoadConfigDirectory32"],"kind":"struct"},"9376":{"crate_id":16,"path":["gimli","read","unit","EntriesTreeNode"],"kind":"struct"},"7941":{"crate_id":1,"path":["std","sync","nonpoison","condvar","Condvar"],"kind":"struct"},"9703":{"crate_id":17,"path":["object","macho","TwolevelHint"],"kind":"struct"},"10030":{"crate_id":27,"path":["libc","unix","linux_like","linux","fanout_args"],"kind":"struct"},"8268":{"crate_id":2,"path":["core","ffi","va_list","VaList"],"kind":"struct"},"8595":{"crate_id":3,"path":["alloc","collections","btree","map","BTreeMap"],"kind":"struct"},"10357":{"crate_id":33,"path":["io_uring","squeue","Flags"],"kind":"struct"},"10684":{"crate_id":39,"path":["gimli","read","macros","MacroString"],"kind":"enum"},"8922":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_mlme"],"kind":"struct"},"5398":{"crate_id":0,"path":["tokio","sync","mpsc","error","TryRecvError"],"kind":"enum"},"9249":{"crate_id":16,"path":["gimli","read","dwarf","Dwarf"],"kind":"struct"},"11011":{"crate_id":40,"path":["object","elf","Vernaux"],"kind":"struct"},"3963":{"crate_id":0,"path":["tokio","runtime","local_runtime","options","LocalOptions"],"kind":"struct"},"11338":{"crate_id":2,"path":["core","panic"],"kind":"macro"},"9576":{"crate_id":17,"path":["object","read","pe","export","ExportTable"],"kind":"struct"},"7814":{"crate_id":44,"path":["tokio_macros","select_priv_declare_output_enum"],"kind":"macro"},"9903":{"crate_id":22,"path":["lock_api","rwlock","RawRwLock"],"kind":"trait"},"8141":{"crate_id":1,"path":["std","os","linux","process","ChildExt"],"kind":"trait"},"10230":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","ucontext_t"],"kind":"struct"},"8468":{"crate_id":2,"path":["core","fmt","Octal"],"kind":"trait"},"10557":{"crate_id":39,"path":["gimli","constants","DwAte"],"kind":"struct"},"8795":{"crate_id":5,"path":["libc","unix","linux_like","epoll_event"],"kind":"struct"},"10884":{"crate_id":40,"path":["object","read","macho","dyld_cache","RelocationStateV2"],"kind":"enum"},"9122":{"crate_id":13,"path":["rustc_demangle","v0","Ident"],"kind":"struct"},"11211":{"crate_id":40,"path":["object","read","xcoff","symbol","Symbol"],"kind":"trait"},"9449":{"crate_id":17,"path":["object","read","archive","ArchiveMemberIterator"],"kind":"struct"},"7687":{"crate_id":2,"path":["core","future"],"kind":"module"},"8014":{"crate_id":1,"path":["std","sys","thread","unix","cgroups","Cgroup"],"kind":"enum"},"9776":{"crate_id":17,"path":["object","pe","ImageDynamicRelocationTable"],"kind":"struct"},"966":{"crate_id":2,"path":["core","cmp","PartialEq"],"kind":"trait"},"10103":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_quality"],"kind":"struct"},"8341":{"crate_id":2,"path":["core","str","pattern","CharArraySearcher"],"kind":"struct"},"8668":{"crate_id":3,"path":["alloc","string","FromUtf16ErrorKind"],"kind":"enum"},"10430":{"crate_id":33,"path":["io_uring","opcode","PollAdd"],"kind":"struct"},"10757":{"crate_id":40,"path":["object","endian","Endianness"],"kind":"enum"},"8995":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","ipc_perm"],"kind":"struct"},"185":{"crate_id":28,"path":["tracing","instrument","WithSubscriber"],"kind":"trait"},"9322":{"crate_id":16,"path":["gimli","read","names","NameEntryIter"],"kind":"struct"},"11084":{"crate_id":40,"path":["object","pe","ImageDosHeader"],"kind":"struct"},"512":{"crate_id":0,"path":["tokio","io","async_fd","AsyncFd"],"kind":"struct"},"9649":{"crate_id":17,"path":["object","elf","Dyn64"],"kind":"struct"},"7887":{"crate_id":1,"path":["std","path","State"],"kind":"enum"},"11411":{"crate_id":1,"path":["std","never"],"kind":"primitive"},"9976":{"crate_id":27,"path":["libc","unix","DIR"],"kind":"enum"},"8214":{"crate_id":2,"path":["core","char","TryFromCharError"],"kind":"struct"},"10303":{"crate_id":29,"path":["tracing_core","field","Empty"],"kind":"struct"},"6779":{"crate_id":0,"path":["tokio","sync","watch","channel"],"kind":"function"},"8541":{"crate_id":2,"path":["core","async_iter","async_iter","AsyncIterator"],"kind":"trait"},"1493":{"crate_id":0,"path":["tokio","io","util","read_buf","ReadBuf"],"kind":"struct"},"8868":{"crate_id":5,"path":["libc","unix","linux_like","linux","tls12_crypto_info_aria_gcm_128"],"kind":"struct"},"10630":{"crate_id":39,"path":["gimli","endianity","Endianity"],"kind":"trait"},"10957":{"crate_id":40,"path":["object","read","xcoff","segment","XcoffSegmentIterator"],"kind":"struct"},"9195":{"crate_id":16,"path":["gimli","constants","DwInl"],"kind":"struct"},"385":{"crate_id":0,"path":["tokio","fs","read_dir","read_dir"],"kind":"function"},"9522":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldCacheImageIterator"],"kind":"struct"},"7760":{"crate_id":27,"path":["libc","new","linux_uapi","linux","pidfd","PIDFD_NONBLOCK"],"kind":"constant"},"11284":{"crate_id":42,"path":["miniz_oxide","MZStatus"],"kind":"enum"},"8087":{"crate_id":2,"path":["core","iter","adapters","zip","TrustedRandomAccessNoCoerce"],"kind":"trait"},"9849":{"crate_id":18,"path":["memchr","arch","x86_64","sse2","memchr","One"],"kind":"struct"},"1039":{"crate_id":2,"path":["core","ops","arith","Sub"],"kind":"trait"},"10176":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","mallinfo2"],"kind":"struct"},"8414":{"crate_id":2,"path":["core","error","tags","Value"],"kind":"struct"},"10503":{"crate_id":38,"path":["addr2line","lookup","MappedLookup"],"kind":"struct"},"8741":{"crate_id":5,"path":["libc","new","linux_uapi","linux","netlink","nl_mmap_hdr"],"kind":"struct"},"10830":{"crate_id":40,"path":["object","read","elf","file","ElfFile"],"kind":"struct"},"9068":{"crate_id":10,"path":["hashbrown","map","Iter"],"kind":"struct"},"11157":{"crate_id":40,"path":["object","pe","NonPagedDebugInfo"],"kind":"struct"},"9395":{"crate_id":17,"path":["object","common","SegmentFlags"],"kind":"enum"},"585":{"crate_id":1,"path":["std","io","Read"],"kind":"trait"},"9722":{"crate_id":17,"path":["object","macho","NoteCommand"],"kind":"struct"},"7960":{"crate_id":1,"path":["std","sys","fd","unix","FileDesc"],"kind":"struct"},"8287":{"crate_id":2,"path":["core","range","iter","RangeInclusiveIter"],"kind":"struct"},"10049":{"crate_id":27,"path":["libc","unix","linux_like","linux","input_mask"],"kind":"struct"},"10376":{"crate_id":33,"path":["io_uring","sys","io_uring_attr_pi"],"kind":"struct"},"8614":{"crate_id":3,"path":["alloc","slice","to_vec_in","to_vec","DropGuard"],"kind":"struct"},"8941":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","glob64_t"],"kind":"struct"},"10703":{"crate_id":39,"path":["gimli","read","pubtypes","DebugPubTypes"],"kind":"struct"},"131":{"crate_id":0,"path":["tokio","fs","dir_builder","DirBuilder"],"kind":"struct"},"9268":{"crate_id":16,"path":["gimli","read","abbrev","AttributeSpecification"],"kind":"struct"},"11030":{"crate_id":40,"path":["object","macho","FatArch64"],"kind":"struct"},"3982":{"crate_id":0,"path":["tokio","runtime","metrics","histogram","h2_histogram","LogHistogramBuilder"],"kind":"struct"},"9595":{"crate_id":17,"path":["object","read","xcoff","section","XcoffSection"],"kind":"struct"},"7833":{"crate_id":1,"path":["std","collections","hash","map","IntoIter"],"kind":"struct"},"11357":{"crate_id":29,"path":["tracing_core","callsite"],"kind":"module"},"9922":{"crate_id":22,"path":["lock_api","rwlock","RwLockReadGuard"],"kind":"struct"},"6398":{"crate_id":0,"path":["tokio","sync","rwlock","read_guard","RwLockReadGuard"],"kind":"struct"},"8160":{"crate_id":2,"path":["core","num","niche_types","Nanoseconds"],"kind":"struct"},"10249":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","Elf32_Shdr"],"kind":"struct"},"8487":{"crate_id":2,"path":["core","ops","bit","ShrAssign"],"kind":"trait"},"10576":{"crate_id":39,"path":["gimli","constants","DwMacinfo"],"kind":"struct"},"8814":{"crate_id":5,"path":["libc","unix","linux_like","linux","msginfo"],"kind":"struct"},"10903":{"crate_id":40,"path":["object","read","macho","segment","MachOSegment"],"kind":"struct"},"9141":{"crate_id":16,"path":["gimli","common","DebugAddrBase"],"kind":"struct"},"11230":{"crate_id":41,"path":["memchr","arch","x86_64","avx2","memchr","Three"],"kind":"struct"},"7706":{"crate_id":27,"path":["libc","unix","linux_like","linux","socklen_t"],"kind":"type_alias"},"9468":{"crate_id":17,"path":["object","read","coff","relocation","CoffRelocationIterator"],"kind":"struct"},"658":{"crate_id":0,"path":["tokio","process","ChildStderr"],"kind":"struct"},"9795":{"crate_id":17,"path":["object","pe","ImageEnclaveImport"],"kind":"struct"},"8033":{"crate_id":1,"path":["std","sys","pal","unix","stack_overflow","Handler"],"kind":"struct"},"8360":{"crate_id":2,"path":["core","wtf8","EncodeWide"],"kind":"struct"},"10122":{"crate_id":27,"path":["libc","unix","linux_like","linux","sockaddr_xdp"],"kind":"struct"},"4836":{"crate_id":45,"path":["signal_hook_registry","register"],"kind":"function"},"10449":{"crate_id":33,"path":["io_uring","types","sealed","Target"],"kind":"enum"},"8687":{"crate_id":3,"path":["alloc","collections","btree","map","CursorMutKey"],"kind":"struct"},"9014":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","Elf64_Ehdr"],"kind":"struct"},"10776":{"crate_id":40,"path":["object","read","read_ref","ReadRef"],"kind":"trait"},"7252":{"crate_id":1,"path":["std","thread","functions","yield_now"],"kind":"function"},"204":{"crate_id":0,"path":["tokio","fs","file","File"],"kind":"struct"},"9341":{"crate_id":16,"path":["gimli","read","pubnames","DebugPubNames"],"kind":"struct"},"11103":{"crate_id":40,"path":["object","pe","ImageSymbolEx"],"kind":"struct"},"9668":{"crate_id":17,"path":["object","macho","DyldCacheSlidePointer5"],"kind":"struct"},"7906":{"crate_id":1,"path":["std","sync","mpmc","error","SendTimeoutError"],"kind":"enum"},"11430":{"crate_id":1,"path":["std","u32"],"kind":"primitive"},"9995":{"crate_id":27,"path":["libc","unix","linux_like","timezone"],"kind":"enum"},"8233":{"crate_id":2,"path":["core","str","pattern","Utf8Pattern"],"kind":"enum"},"8560":{"crate_id":2,"path":["core","core_simd","swizzle","rotate_elements_right","Rotate"],"kind":"struct"},"10322":{"crate_id":30,"path":["once_cell","imp","OnceCell"],"kind":"struct"},"10649":{"crate_id":39,"path":["gimli","read","index","DebugCuIndex"],"kind":"struct"},"7125":{"crate_id":0,"path":["tokio","task","join_set","Builder"],"kind":"struct"},"8887":{"crate_id":5,"path":["libc","unix","linux_like","linux","pthread_barrierattr_t"],"kind":"struct"},"9214":{"crate_id":16,"path":["gimli","read","util","ArrayVec"],"kind":"struct"},"10976":{"crate_id":40,"path":["object","read","Relocation"],"kind":"struct"},"11303":{"crate_id":45,"path":["signal_hook_registry","Prev"],"kind":"struct"},"7779":{"crate_id":1,"path":["std","thread"],"kind":"module"},"9541":{"crate_id":17,"path":["object","read","macho","exports_trie","Frame"],"kind":"struct"},"9868":{"crate_id":18,"path":["memchr","arch","generic","memchr","Iter"],"kind":"struct"},"8106":{"crate_id":2,"path":["core","io","IoHandle"],"kind":"trait"},"10195":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","fpos_t"],"kind":"struct"},"8433":{"crate_id":2,"path":["core","panic","panic_info","PanicInfo"],"kind":"struct"},"1385":{"crate_id":0,"path":["tokio","io","split","split"],"kind":"function"},"10522":{"crate_id":39,"path":["gimli","common","DebugLocListsBase"],"kind":"struct"},"8760":{"crate_id":5,"path":["libc","unix","servent"],"kind":"struct"},"10849":{"crate_id":40,"path":["object","read","elf","comdat","ElfComdatIterator"],"kind":"struct"},"7325":{"crate_id":0,"path":["tokio","time","error"],"kind":"module"},"9087":{"crate_id":10,"path":["hashbrown","map","ExtractIf"],"kind":"struct"},"277":{"crate_id":1,"path":["std","os","fd","raw","AsRawFd"],"kind":"trait"},"9414":{"crate_id":17,"path":["object","read","symbol_map","SymbolMapName"],"kind":"struct"},"7652":{"crate_id":2,"path":["core","marker","PhantomData"],"kind":"struct"},"11176":{"crate_id":40,"path":["object","xcoff","ExpAux"],"kind":"struct"},"7979":{"crate_id":1,"path":["std","sys","process","unix","common","ProgramKind"],"kind":"enum"},"9741":{"crate_id":17,"path":["object","pe","Guid"],"kind":"struct"},"10068":{"crate_id":27,"path":["libc","unix","linux_like","linux","fanotify_event_info_header"],"kind":"struct"},"8306":{"crate_id":2,"path":["core","slice","iter","Chunks"],"kind":"struct"},"8633":{"crate_id":3,"path":["alloc","bstr","ByteString"],"kind":"struct"},"10395":{"crate_id":33,"path":["io_uring","sys","io_uring_buf_status"],"kind":"struct"},"10722":{"crate_id":39,"path":["gimli","read","unit","DebuggingInformationEntry"],"kind":"struct"},"8960":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","fanotify_event_info_pidfd"],"kind":"struct"},"150":{"crate_id":2,"path":["core","marker","Unpin"],"kind":"trait"},"9287":{"crate_id":16,"path":["gimli","read","line","LineProgramHeader"],"kind":"struct"},"11049":{"crate_id":40,"path":["object","macho","ThreadCommand"],"kind":"struct"},"477":{"crate_id":1,"path":["std","os","unix","fs","symlink"],"kind":"function"},"9614":{"crate_id":17,"path":["object","read","SymbolSection"],"kind":"enum"},"7852":{"crate_id":1,"path":["std","env","VarError"],"kind":"enum"},"11376":{"crate_id":13,"path":["rustc_demangle"],"kind":"module"},"9941":{"crate_id":25,"path":["smallvec","Drain"],"kind":"struct"},"8179":{"crate_id":2,"path":["core","num","niche_types","CodePointInner"],"kind":"struct"},"1131":{"crate_id":0,"path":["tokio","io","async_fd","AsyncFdReadyMutGuard"],"kind":"struct"},"10268":{"crate_id":27,"path":["libc","types","Padding"],"kind":"struct"},"8506":{"crate_id":2,"path":["core","slice","index","SliceIndex"],"kind":"trait"},"10595":{"crate_id":39,"path":["gimli","read","cfi","EhHdrTable"],"kind":"struct"},"8833":{"crate_id":5,"path":["libc","unix","linux_like","linux","posix_spawn_file_actions_t"],"kind":"struct"},"10922":{"crate_id":40,"path":["object","read","pe","section","PeRelocationIterator"],"kind":"struct"},"7398":{"crate_id":0,"path":["tokio","time","interval","interval_at"],"kind":"function"},"9160":{"crate_id":16,"path":["gimli","common","DebugTypesOffset"],"kind":"struct"},"9487":{"crate_id":17,"path":["object","read","elf","relocation","ElfDynamicRelocationIterator"],"kind":"struct"},"7725":{"crate_id":1,"path":["std","sync"],"kind":"module"},"11249":{"crate_id":41,"path":["memchr","arch","generic","memchr","Two"],"kind":"struct"},"8052":{"crate_id":1,"path":["std","thread","thread","thread_name_string","ThreadNameString"],"kind":"struct"},"9814":{"crate_id":17,"path":["object","xcoff","Symbol64"],"kind":"struct"},"10141":{"crate_id":27,"path":["libc","unix","linux_like","linux","pthread_mutex_t"],"kind":"struct"},"8379":{"crate_id":2,"path":["core","core_arch","x86","__m256bh"],"kind":"struct"},"8706":{"crate_id":3,"path":["alloc","collections","btree","node","marker","Dying"],"kind":"enum"},"10468":{"crate_id":35,"path":["slab","Entry"],"kind":"enum"},"3420":{"crate_id":0,"path":["tokio","process","Command"],"kind":"struct"},"10795":{"crate_id":40,"path":["object","read","any","DynamicRelocationIterator"],"kind":"struct"},"9033":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","__c_anonymous_elf32_rela"],"kind":"struct"},"223":{"crate_id":1,"path":["std","fs","Permissions"],"kind":"struct"},"9360":{"crate_id":16,"path":["gimli","read","rnglists","RawRange"],"kind":"struct"},"11122":{"crate_id":40,"path":["object","pe","ImageBoundImportDescriptor"],"kind":"struct"},"550":{"crate_id":2,"path":["core","ops","deref","Deref"],"kind":"trait"},"9687":{"crate_id":17,"path":["object","macho","SubFrameworkCommand"],"kind":"struct"},"7925":{"crate_id":1,"path":["std","sync","mpsc","SyncSender"],"kind":"struct"},"8252":{"crate_id":2,"path":["core","array","iter","iter_inner","PolymorphicIter"],"kind":"struct"},"10014":{"crate_id":27,"path":["libc","unix","linux_like","arpreq_old"],"kind":"struct"},"10341":{"crate_id":32,"path":["bytes","buf","chain","Chain"],"kind":"struct"},"8579":{"crate_id":2,"path":["core","core_simd","simd","num","sealed","Sealed"],"kind":"trait"},"8906":{"crate_id":5,"path":["libc","unix","linux_like","linux","mnt_ns_info"],"kind":"struct"},"10668":{"crate_id":39,"path":["gimli","read","lists","ListsHeader"],"kind":"struct"},"10995":{"crate_id":40,"path":["object","elf","Syminfo32"],"kind":"struct"},"9233":{"crate_id":16,"path":["gimli","read","cfi","CommonInformationEntry"],"kind":"struct"},"9560":{"crate_id":17,"path":["object","read","macho","symbol","MachOSymbolTable"],"kind":"struct"},"7798":{"crate_id":3,"path":["alloc","vec","splice","Splice"],"kind":"struct"},"11322":{"crate_id":2,"path":["core","slice","raw","from_raw_parts"],"kind":"function"},"750":{"crate_id":0,"path":["tokio","io","stderr","Stderr"],"kind":"struct"},"9887":{"crate_id":18,"path":["memchr","memmem","FinderRev"],"kind":"struct"},"8125":{"crate_id":1,"path":["std","os","unix","fs","DirBuilderExt"],"kind":"trait"},"10214":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","stat"],"kind":"struct"},"8452":{"crate_id":2,"path":["core","slice","iter","RSplitNMut"],"kind":"struct"},"10541":{"crate_id":39,"path":["gimli","arch","Arm"],"kind":"struct"},"8779":{"crate_id":5,"path":["libc","unix","linux_like","in_pktinfo"],"kind":"struct"},"10868":{"crate_id":40,"path":["object","read","elf","attributes","AttributesSubsubsectionIterator"],"kind":"struct"},"9106":{"crate_id":10,"path":["hashbrown","map","OccupiedError"],"kind":"struct"},"296":{"crate_id":0,"path":["tokio","doc","os","windows","io","AsHandle"],"kind":"trait"},"7671":{"crate_id":2,"path":["core","ffi","c_str","CStr"],"kind":"struct"},"9433":{"crate_id":17,"path":["object","read","any","ComdatIteratorInternal"],"kind":"enum"},"11195":{"crate_id":40,"path":["object","read","elf","segment","ProgramHeader"],"kind":"trait"},"623":{"crate_id":0,"path":["tokio","io","util","repeat","Repeat"],"kind":"struct"},"9760":{"crate_id":17,"path":["object","pe","ImageExportDirectory"],"kind":"struct"},"7998":{"crate_id":2,"path":["core","clone","TrivialClone"],"kind":"trait"},"8325":{"crate_id":2,"path":["core","str","iter","MatchIndices"],"kind":"struct"},"10087":{"crate_id":27,"path":["libc","unix","linux_like","linux","sctp_rcvinfo"],"kind":"struct"},"1277":{"crate_id":2,"path":["core","error","Error"],"kind":"trait"},"10414":{"crate_id":33,"path":["io_uring","types","AsyncCancelFlags"],"kind":"struct"},"8652":{"crate_id":3,"path":["alloc","collections","btree","set","Difference"],"kind":"struct"},"8979":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","statfs"],"kind":"struct"},"10741":{"crate_id":39,"path":["gimli","read","cfi","_UnwindSectionPrivate"],"kind":"trait"},"169":{"crate_id":2,"path":["core","convert","TryFrom"],"kind":"trait"},"9306":{"crate_id":16,"path":["gimli","read","lookup","PubSetEntry"],"kind":"struct"},"11068":{"crate_id":40,"path":["object","macho","BuildVersionCommand"],"kind":"struct"},"9633":{"crate_id":17,"path":["object","elf","SectionHeader64"],"kind":"struct"},"7871":{"crate_id":1,"path":["std","io","stdio","StdoutLock"],"kind":"struct"},"11395":{"crate_id":33,"path":["io_uring"],"kind":"module"},"823":{"crate_id":0,"path":["tokio","net","tcp","split_owned","OwnedWriteHalf"],"kind":"struct"},"9960":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","canfd_frame"],"kind":"struct"},"6436":{"crate_id":0,"path":["tokio","sync","rwlock","write_guard","RwLockWriteGuard"],"kind":"struct"},"8198":{"crate_id":2,"path":["core","marker","variance","PhantomContravariant"],"kind":"struct"},"10287":{"crate_id":29,"path":["tracing_core","dispatcher","WeakDispatch"],"kind":"struct"},"8525":{"crate_id":2,"path":["core","str","pattern","ReverseSearcher"],"kind":"trait"},"1477":{"crate_id":0,"path":["tokio","io","util","read_line","ReadLine"],"kind":"struct"},"10614":{"crate_id":39,"path":["gimli","read","cfi","CfaRule"],"kind":"enum"},"8852":{"crate_id":5,"path":["libc","unix","linux_like","linux","ptp_sys_offset_precise"],"kind":"struct"},"9179":{"crate_id":16,"path":["gimli","constants","DwCfa"],"kind":"struct"},"10941":{"crate_id":40,"path":["object","read","pe","rich","RichHeaderInfo"],"kind":"struct"},"11268":{"crate_id":41,"path":["memchr","memmem","FindRevIter"],"kind":"struct"},"7744":{"crate_id":2,"path":["core","sync","atomic","Ordering","Relaxed"],"kind":"variant"},"9506":{"crate_id":17,"path":["object","read","elf","version","Version"],"kind":"struct"},"696":{"crate_id":2,"path":["core","io","write","Write"],"kind":"trait"},"9833":{"crate_id":18,"path":["memchr","arch","all","memchr","Two"],"kind":"struct"},"8071":{"crate_id":2,"path":["core","iter","adapters","skip","Skip"],"kind":"struct"},"1023":{"crate_id":2,"path":["core","cmp","PartialOrd"],"kind":"trait"},"8398":{"crate_id":2,"path":["core","mem","type_info","Union"],"kind":"struct"},"10160":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_event"],"kind":"struct"},"3112":{"crate_id":0,"path":["tokio","runtime","runtime","Runtime"],"kind":"struct"},"10487":{"crate_id":36,"path":["backtrace","symbolize","gimli","lru","Lru"],"kind":"struct"},"8725":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","netlink","can_berr_counter"],"kind":"struct"},"10814":{"crate_id":40,"path":["object","read","coff","section","CoffSegment"],"kind":"struct"},"9052":{"crate_id":10,"path":["hashbrown","control","bitmask","BitMask"],"kind":"struct"},"11141":{"crate_id":40,"path":["object","pe","ImageHotPatchBase"],"kind":"struct"},"9379":{"crate_id":16,"path":["gimli","read","unit","DebugTypesUnitHeadersIter"],"kind":"struct"},"7944":{"crate_id":1,"path":["std","sync","nonpoison","mutex","MappedMutexGuard"],"kind":"struct"},"6182":{"crate_id":0,"path":["tokio","sync","semaphore","OwnedSemaphorePermit"],"kind":"struct"},"9706":{"crate_id":17,"path":["object","macho","RpathCommand"],"kind":"struct"},"10033":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket_hdr"],"kind":"struct"},"8271":{"crate_id":2,"path":["core","iter","adapters","flatten","FlattenCompat"],"kind":"struct"},"2985":{"crate_id":2,"path":["core","hash","Hash"],"kind":"trait"},"8598":{"crate_id":3,"path":["alloc","collections","btree","mem","replace","PanicGuard"],"kind":"struct"},"10360":{"crate_id":33,"path":["io_uring","submit","EnterFlags"],"kind":"struct"},"10687":{"crate_id":39,"path":["gimli","read","op","DieReference"],"kind":"enum"},"8925":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket_req_u"],"kind":"union"},"115":{"crate_id":1,"path":["std","fs","canonicalize"],"kind":"function"},"9252":{"crate_id":16,"path":["gimli","read","dwarf","Unit"],"kind":"struct"},"11014":{"crate_id":40,"path":["object","elf","HashHeader"],"kind":"struct"},"11341":{"crate_id":2,"path":["core","iter"],"kind":"module"},"9579":{"crate_id":17,"path":["object","read","pe","import","ImportThunkList"],"kind":"struct"},"7817":{"crate_id":1,"path":["std","thread","scoped","Scope"],"kind":"struct"},"9906":{"crate_id":22,"path":["lock_api","rwlock","RawRwLockTimed"],"kind":"trait"},"8144":{"crate_id":2,"path":["core","num","imp","bignum","tests","Big8x3"],"kind":"struct"},"10233":{"crate_id":27,"path":["libc","unix","linux_like","linux","arch","generic","termios2"],"kind":"struct"},"8471":{"crate_id":2,"path":["core","fmt","LowerExp"],"kind":"trait"},"10560":{"crate_id":39,"path":["gimli","constants","DwEnd"],"kind":"struct"},"8798":{"crate_id":5,"path":["libc","unix","linux_like","linux","dqblk"],"kind":"struct"},"10887":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldCacheRelocationIteratorV3"],"kind":"struct"},"9125":{"crate_id":13,"path":["rustc_demangle","v0","ParseError"],"kind":"enum"},"11214":{"crate_id":40,"path":["object","read","xcoff","relocation","Rel"],"kind":"trait"},"9452":{"crate_id":17,"path":["object","read","archive","ArchiveOffset"],"kind":"struct"},"7690":{"crate_id":1,"path":["std","net"],"kind":"module"},"8017":{"crate_id":1,"path":["std","sync","mpmc","counter","Receiver"],"kind":"struct"},"9779":{"crate_id":17,"path":["object","pe","ImageDynamicRelocation32V2"],"kind":"struct"},"10106":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_scan_req"],"kind":"struct"},"8344":{"crate_id":2,"path":["core","str","pattern","CharPredicateSearcher"],"kind":"struct"},"8671":{"crate_id":3,"path":["alloc","collections","btree","map","IterMut"],"kind":"struct"},"10433":{"crate_id":33,"path":["io_uring","opcode","SendMsg"],"kind":"struct"},"10760":{"crate_id":40,"path":["object","endian","U16Bytes"],"kind":"struct"},"8998":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","clone_args"],"kind":"struct"},"188":{"crate_id":2,"path":["core","fmt","Result"],"kind":"type_alias"},"9325":{"crate_id":16,"path":["gimli","read","names","NameAttribute"],"kind":"struct"},"11087":{"crate_id":40,"path":["object","pe","MaskedRichHeaderEntry"],"kind":"struct"},"515":{"crate_id":1,"path":["std","fs"],"kind":"module"},"9652":{"crate_id":17,"path":["object","elf","Verdaux"],"kind":"struct"},"7890":{"crate_id":1,"path":["std","path","Components"],"kind":"struct"},"11414":{"crate_id":1,"path":["std","pointer"],"kind":"primitive"},"9979":{"crate_id":27,"path":["libc","unix","timeval"],"kind":"struct"},"8217":{"crate_id":2,"path":["core","ffi","c_str","FromBytesUntilNulError"],"kind":"struct"},"10306":{"crate_id":29,"path":["tracing_core","field","FieldSet"],"kind":"struct"},"8544":{"crate_id":2,"path":["core","ffi","va_list","VaArgSafe"],"kind":"trait"},"1496":{"crate_id":0,"path":["tokio","io","util","read_exact","ReadExact"],"kind":"struct"},"8871":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_point"],"kind":"struct"},"10633":{"crate_id":39,"path":["gimli","read","endian_slice","DebugLen"],"kind":"struct"},"10960":{"crate_id":40,"path":["object","read","Error"],"kind":"struct"},"9198":{"crate_id":16,"path":["gimli","constants","DwIdx"],"kind":"struct"},"388":{"crate_id":0,"path":["tokio","fs","read_dir","DirEntry"],"kind":"struct"},"9525":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldCacheMappingIterator"],"kind":"struct"},"7763":{"crate_id":2,"path":["core","cell","RefCell"],"kind":"struct"},"11287":{"crate_id":42,"path":["miniz_oxide","StreamResult"],"kind":"struct"},"8090":{"crate_id":1,"path":["std","os","unix","net","ancillary","ScmCredentials"],"kind":"struct"},"9852":{"crate_id":18,"path":["memchr","arch","x86_64","sse2","packedpair","Finder"],"kind":"struct"},"10179":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","Elf64_Chdr"],"kind":"struct"},"8417":{"crate_id":2,"path":["core","index","Clamp"],"kind":"struct"},"10506":{"crate_id":38,"path":["addr2line","RangeAttributes"],"kind":"struct"},"8744":{"crate_id":5,"path":["libc","new","glibc","sysdeps","unix","linux","net","route","rtentry"],"kind":"struct"},"5220":{"crate_id":3,"path":["alloc","alloc","handle_alloc_error"],"kind":"function"},"10833":{"crate_id":40,"path":["object","read","elf","segment","ElfSegment"],"kind":"struct"},"9071":{"crate_id":10,"path":["hashbrown","set","HashSet"],"kind":"struct"},"261":{"crate_id":2,"path":["core","io","io_slice","IoSlice"],"kind":"struct"},"7636":{"crate_id":0,"path":["tokio","pin"],"kind":"macro"},"9398":{"crate_id":17,"path":["object","common","SymbolFlags"],"kind":"enum"},"11160":{"crate_id":40,"path":["object","pe","ImageCor20Header"],"kind":"struct"},"9725":{"crate_id":17,"path":["object","macho","Nlist64"],"kind":"struct"},"7963":{"crate_id":1,"path":["std","sys","fs","unix","FileTimes"],"kind":"struct"},"8290":{"crate_id":2,"path":["core","fmt","rt","ArgumentType"],"kind":"enum"},"10052":{"crate_id":27,"path":["libc","unix","linux_like","linux","ff_envelope"],"kind":"struct"},"4766":{"crate_id":1,"path":["std","os","raw","c_int"],"kind":"type_alias"},"10379":{"crate_id":33,"path":["io_uring","sys","io_uring_params"],"kind":"struct"},"8617":{"crate_id":3,"path":["alloc","sync","from_iter_exact","Guard"],"kind":"struct"},"8944":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","termios"],"kind":"struct"},"10706":{"crate_id":39,"path":["gimli","read","rnglists","DebugRngLists"],"kind":"struct"},"11033":{"crate_id":40,"path":["object","macho","LoadCommand"],"kind":"struct"},"9271":{"crate_id":16,"path":["gimli","read","aranges","ArangeHeader"],"kind":"struct"},"9598":{"crate_id":17,"path":["object","read","xcoff","symbol","SymbolIterator"],"kind":"struct"},"7836":{"crate_id":1,"path":["std","collections","hash","map","IntoValues"],"kind":"struct"},"11360":{"crate_id":40,"path":["object","macho","LC_SEGMENT"],"kind":"constant"},"9925":{"crate_id":22,"path":["lock_api","rwlock","MappedRwLockReadGuard"],"kind":"struct"},"8163":{"crate_id":2,"path":["core","num","niche_types","NonZeroU32Inner"],"kind":"struct"},"10252":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","__c_anonymous_elf64_rel"],"kind":"struct"},"8490":{"crate_id":2,"path":["core","clone","uninit","InitializingSlice"],"kind":"struct"},"4966":{"crate_id":0,"path":["tokio","sync","notify","OwnedNotified"],"kind":"struct"},"10579":{"crate_id":39,"path":["gimli","constants","DwOp"],"kind":"struct"},"8817":{"crate_id":5,"path":["libc","unix","linux_like","linux","input_absinfo"],"kind":"struct"},"10906":{"crate_id":40,"path":["object","read","macho","section","MachOSection"],"kind":"struct"},"9144":{"crate_id":16,"path":["gimli","common","DebugInfoOffset"],"kind":"struct"},"11233":{"crate_id":41,"path":["memchr","arch","x86_64","sse2","memchr","Two"],"kind":"struct"},"7709":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","ucred"],"kind":"struct"},"9471":{"crate_id":17,"path":["object","read","coff","comdat","CoffComdatSectionIterator"],"kind":"struct"},"9798":{"crate_id":17,"path":["object","pe","ImageDebugMisc"],"kind":"struct"},"8036":{"crate_id":1,"path":["std","sys","net","connection","socket","LookupHost"],"kind":"struct"},"6274":{"crate_id":0,"path":["tokio","sync","rwlock","owned_read_guard","OwnedRwLockReadGuard"],"kind":"struct"},"8363":{"crate_id":2,"path":["core","future","ResumeTy"],"kind":"struct"},"10125":{"crate_id":27,"path":["libc","unix","linux_like","linux","xdp_ring_offset_v1"],"kind":"struct"},"10452":{"crate_id":33,"path":["io_uring","sys","io_uring_sqe__bindgen_ty_6"],"kind":"struct"},"8690":{"crate_id":3,"path":["alloc","collections","btree","set","entry","VacantEntry"],"kind":"struct"},"9017":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","Elf32_Phdr"],"kind":"struct"},"7255":{"crate_id":0,"path":["tokio","time","clock","resume"],"kind":"function"},"10779":{"crate_id":40,"path":["object","read","any","SegmentIteratorInternal"],"kind":"enum"},"11106":{"crate_id":40,"path":["object","pe","ImageAuxSymbolFunction"],"kind":"struct"},"9344":{"crate_id":16,"path":["gimli","read","pubnames","PubNamesSet"],"kind":"struct"},"9671":{"crate_id":17,"path":["object","macho","FatHeader"],"kind":"struct"},"7909":{"crate_id":1,"path":["std","sync","mpmc","select","Token"],"kind":"struct"},"11433":{"crate_id":1,"path":["std","isize"],"kind":"primitive"},"9998":{"crate_id":27,"path":["libc","unix","linux_like","ip_mreqn"],"kind":"struct"},"8236":{"crate_id":2,"path":["core","time","TryFromFloatSecsError"],"kind":"struct"},"8563":{"crate_id":2,"path":["core","core_simd","swizzle","interleave","Lo"],"kind":"struct"},"10325":{"crate_id":30,"path":["once_cell","sync","OnceCell"],"kind":"struct"},"10652":{"crate_id":39,"path":["gimli","read","index","UnitIndexSectionIterator"],"kind":"struct"},"8890":{"crate_id":5,"path":["libc","unix","linux_like","linux","ptp_pin_desc"],"kind":"struct"},"9217":{"crate_id":16,"path":["gimli","read","addr","AddrHeader"],"kind":"struct"},"10979":{"crate_id":40,"path":["object","read","CompressionFormat"],"kind":"enum"},"11306":{"crate_id":47,"path":["socket2","socket","InterfaceIndexOrAddress"],"kind":"enum"},"7782":{"crate_id":2,"path":["core","result","IterMut"],"kind":"struct"},"6020":{"crate_id":0,"path":["tokio","sync","oneshot","error","TryRecvError","Empty"],"kind":"variant"},"9544":{"crate_id":17,"path":["object","read","macho","fat","MachOFatFile"],"kind":"struct"},"9871":{"crate_id":18,"path":["memchr","arch","x86_64","avx2","memchr","TwoIter"],"kind":"struct"},"8109":{"crate_id":1,"path":["std","sys","fs","unix","cfm","CachedFileMetadata"],"kind":"struct"},"10198":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","ethhdr"],"kind":"struct"},"8436":{"crate_id":2,"path":["core","panicking","assert_matches_failed","Pattern"],"kind":"struct"},"4912":{"crate_id":0,"path":["tokio","signal","windows","ctrl_shutdown"],"kind":"function"},"10525":{"crate_id":39,"path":["gimli","common","DebugMacroOffset"],"kind":"struct"},"8763":{"crate_id":5,"path":["libc","unix","FILE"],"kind":"enum"},"10852":{"crate_id":40,"path":["object","read","elf","note","NoteIterator"],"kind":"struct"},"7328":{"crate_id":0,"path":["tokio","time","instant","Instant"],"kind":"struct"},"9090":{"crate_id":10,"path":["hashbrown","map","ValuesMut"],"kind":"struct"},"11179":{"crate_id":40,"path":["object","xcoff","StatAux"],"kind":"struct"},"9417":{"crate_id":17,"path":["object","read","symbol_map","ObjectMapFile"],"kind":"struct"},"7655":{"crate_id":2,"path":["core","ops"],"kind":"module"},"7982":{"crate_id":1,"path":["std","sys","process","unix","common","CommandArgs"],"kind":"struct"},"9744":{"crate_id":17,"path":["object","pe","AnonObjectHeaderBigobj"],"kind":"struct"},"10071":{"crate_id":27,"path":["libc","unix","linux_like","linux","sock_extended_err"],"kind":"struct"},"8309":{"crate_id":2,"path":["core","slice","iter","RChunks"],"kind":"struct"},"8636":{"crate_id":3,"path":["alloc","collections","binary_heap","IntoIter"],"kind":"struct"},"10398":{"crate_id":33,"path":["io_uring","sys","io_uring_getevents_arg"],"kind":"struct"},"10725":{"crate_id":39,"path":["gimli","read","unit","AttrsIter"],"kind":"struct"},"8963":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","mbstate_t"],"kind":"struct"},"9290":{"crate_id":16,"path":["gimli","read","line","FileEntry"],"kind":"struct"},"11052":{"crate_id":40,"path":["object","macho","SymtabCommand"],"kind":"struct"},"480":{"crate_id":0,"path":["tokio","fs","symlink_dir","symlink_dir"],"kind":"function"},"9617":{"crate_id":17,"path":["object","read","CodeView"],"kind":"struct"},"7855":{"crate_id":1,"path":["std","env","Args"],"kind":"struct"},"11379":{"crate_id":16,"path":["gimli"],"kind":"module"},"9944":{"crate_id":25,"path":["smallvec","IntoIter"],"kind":"struct"},"8182":{"crate_id":2,"path":["core","intrinsics","simd","SimdAlign"],"kind":"enum"},"10271":{"crate_id":28,"path":["tracing","field","AsField"],"kind":"trait"},"8509":{"crate_id":2,"path":["core","slice","GetDisjointMutIndex"],"kind":"trait"},"3223":{"crate_id":1,"path":["std","ffi","os_str","OsStr"],"kind":"struct"},"10598":{"crate_id":39,"path":["gimli","read","cfi","BaseAddresses"],"kind":"struct"},"8836":{"crate_id":5,"path":["libc","unix","linux_like","linux","inotify_event"],"kind":"struct"},"10925":{"crate_id":40,"path":["object","read","pe","export","ExportTarget"],"kind":"enum"},"7401":{"crate_id":0,"path":["tokio","time","interval","MissedTickBehavior","Delay"],"kind":"variant"},"9163":{"crate_id":16,"path":["gimli","common","EhFrameOffset"],"kind":"struct"},"11252":{"crate_id":41,"path":["memchr","arch","generic","packedpair","Finder"],"kind":"struct"},"9490":{"crate_id":17,"path":["object","read","elf","relocation","Crel"],"kind":"struct"},"7728":{"crate_id":1,"path":["std","sync","poison","LockResult"],"kind":"type_alias"},"8055":{"crate_id":2,"path":["core","ops","range","RangeFull"],"kind":"struct"},"9817":{"crate_id":17,"path":["object","xcoff","CsectAux32"],"kind":"struct"},"2769":{"crate_id":0,"path":["tokio","net","unix","split_owned","ReuniteError"],"kind":"struct"},"10144":{"crate_id":27,"path":["libc","unix","linux_like","linux","uinput_setup"],"kind":"struct"},"8382":{"crate_id":2,"path":["core","core_arch","x86","__m256h"],"kind":"struct"},"8709":{"crate_id":4,"path":["compiler_builtins","float","cmp","Result"],"kind":"enum"},"10471":{"crate_id":35,"path":["slab","IterMut"],"kind":"struct"},"10798":{"crate_id":40,"path":["object","read","any","SectionRelocationIteratorInternal"],"kind":"enum"},"9036":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","ifreq"],"kind":"struct"},"9363":{"crate_id":16,"path":["gimli","read","str","DebugStrOffsets"],"kind":"struct"},"11125":{"crate_id":40,"path":["object","pe","ImageResourceDirectory"],"kind":"struct"},"9690":{"crate_id":17,"path":["object","macho","SubLibraryCommand"],"kind":"struct"},"7928":{"crate_id":1,"path":["std","sync","mpsc","TrySendError"],"kind":"enum"},"880":{"crate_id":2,"path":["core","mem","maybe_uninit","MaybeUninit"],"kind":"union"},"8255":{"crate_id":2,"path":["core","async_iter","from_iter","FromIter"],"kind":"struct"},"10017":{"crate_id":27,"path":["libc","unix","linux_like","sockaddr_un"],"kind":"struct"},"10344":{"crate_id":32,"path":["bytes","buf","writer","Writer"],"kind":"struct"},"8582":{"crate_id":2,"path":["core","core_simd","simd","ptr","sealed","Sealed"],"kind":"trait"},"8909":{"crate_id":5,"path":["libc","unix","linux_like","linux","sockaddr_alg"],"kind":"struct"},"10671":{"crate_id":39,"path":["gimli","read","loclists","LocationLists"],"kind":"struct"},"10998":{"crate_id":40,"path":["object","elf","Rela32"],"kind":"struct"},"9236":{"crate_id":16,"path":["gimli","read","cfi","UnwindContext"],"kind":"struct"},"9563":{"crate_id":17,"path":["object","read","macho","relocation","MachORelocationIterator"],"kind":"struct"},"7801":{"crate_id":1,"path":["std","error"],"kind":"module"},"4277":{"crate_id":0,"path":["tokio","time"],"kind":"module"},"11325":{"crate_id":2,"path":["core","mem","replace"],"kind":"function"},"9890":{"crate_id":18,"path":["memchr","memmem","searcher","Pre"],"kind":"struct"},"8128":{"crate_id":1,"path":["std","sys","net","connection","socket","unix","Socket"],"kind":"struct"},"10217":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","statvfs64"],"kind":"struct"},"8455":{"crate_id":2,"path":["core","slice","iter","RChunksMut"],"kind":"struct"},"10544":{"crate_id":39,"path":["gimli","arch","MIPS"],"kind":"struct"},"8782":{"crate_id":5,"path":["libc","unix","linux_like","arpreq"],"kind":"struct"},"10871":{"crate_id":40,"path":["object","read","elf","attributes","AttributeReader"],"kind":"struct"},"9109":{"crate_id":10,"path":["hashbrown","rustc_entry","RustcVacantEntry"],"kind":"struct"},"299":{"crate_id":0,"path":["tokio","doc","os","windows","io","FromRawHandle"],"kind":"trait"},"7674":{"crate_id":2,"path":["core","alloc","Allocator"],"kind":"trait"},"9436":{"crate_id":17,"path":["object","read","any","ComdatSectionIteratorInternal"],"kind":"enum"},"11198":{"crate_id":40,"path":["object","read","elf","note","NoteHeader"],"kind":"trait"},"9763":{"crate_id":17,"path":["object","pe","ImageThunkData32"],"kind":"struct"},"8001":{"crate_id":1,"path":["std","backtrace_rs","print","PrintFmt"],"kind":"enum"},"8328":{"crate_id":2,"path":["core","str","iter","Matches"],"kind":"struct"},"10090":{"crate_id":27,"path":["libc","unix","linux_like","linux","sctp_authinfo"],"kind":"struct"},"10417":{"crate_id":33,"path":["io_uring","types","Timespec"],"kind":"struct"},"8655":{"crate_id":3,"path":["alloc","collections","btree","set","Union"],"kind":"struct"},"1607":{"crate_id":0,"path":["tokio","io","util","flush","Flush"],"kind":"struct"},"8982":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","siginfo_t"],"kind":"struct"},"10744":{"crate_id":40,"path":["object","common","AddressSize"],"kind":"enum"},"1934":{"crate_id":2,"path":["core","io","util","repeat"],"kind":"function"},"11071":{"crate_id":40,"path":["object","macho","LinkerOptionCommand"],"kind":"struct"},"9309":{"crate_id":16,"path":["gimli","read","macros","MacroUnitHeader"],"kind":"struct"},"9636":{"crate_id":17,"path":["object","elf","Sym32"],"kind":"struct"},"7874":{"crate_id":1,"path":["std","io","Split"],"kind":"struct"},"11398":{"crate_id":36,"path":["backtrace"],"kind":"module"},"9963":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","__c_anonymous_sockaddr_can_can_addr"],"kind":"union"},"8201":{"crate_id":2,"path":["core","ops","index_range","IndexRange"],"kind":"struct"},"10290":{"crate_id":29,"path":["tracing_core","field","DebugValue"],"kind":"struct"},"8528":{"crate_id":2,"path":["core","ops","async_function","AsyncFnMut"],"kind":"trait"},"1480":{"crate_id":0,"path":["tokio","io","util","split","Split"],"kind":"struct"},"10617":{"crate_id":39,"path":["gimli","read","cfi","CallFrameInstructionIter"],"kind":"struct"},"8855":{"crate_id":5,"path":["libc","unix","linux_like","linux","sctp_sndrcvinfo"],"kind":"struct"},"10944":{"crate_id":40,"path":["object","read","xcoff","file","FileHeader"],"kind":"trait"},"9182":{"crate_id":16,"path":["gimli","constants","DwAt"],"kind":"struct"},"2134":{"crate_id":2,"path":["core","net","socket_addr","SocketAddrV4"],"kind":"struct"},"11271":{"crate_id":41,"path":["memchr","memmem","FinderBuilder"],"kind":"struct"},"7747":{"crate_id":2,"path":["core","sync","atomic","AtomicPtr"],"kind":"type_alias"},"9509":{"crate_id":17,"path":["object","read","elf","version","VerdauxIterator"],"kind":"struct"},"9836":{"crate_id":18,"path":["memchr","arch","all","packedpair","Pair"],"kind":"struct"},"8074":{"crate_id":2,"path":["core","iter","adapters","flatten","FlatMap"],"kind":"struct"},"1026":{"crate_id":2,"path":["core","cmp","Ord"],"kind":"trait"},"8401":{"crate_id":2,"path":["core","mem","type_info","Generic"],"kind":"enum"},"10163":{"crate_id":27,"path":["libc","unix","linux_like","linux","__c_anonymous_ptp_perout_request_1"],"kind":"union"},"10490":{"crate_id":37,"path":["rustc_demangle","v0","Demangle"],"kind":"struct"},"8728":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","can_frame"],"kind":"struct"},"9055":{"crate_id":10,"path":["hashbrown","raw","Fallibility"],"kind":"enum"},"10817":{"crate_id":40,"path":["object","read","coff","symbol","SymbolTable"],"kind":"struct"},"11144":{"crate_id":40,"path":["object","pe","ImageArm64RuntimeFunctionEntry"],"kind":"struct"},"9382":{"crate_id":16,"path":["gimli","read","StoreOnHeap"],"kind":"struct"},"7947":{"crate_id":1,"path":["std","sync","nonpoison","rwlock","RwLockWriteGuard"],"kind":"struct"},"9709":{"crate_id":17,"path":["object","macho","EncryptionInfoCommand32"],"kind":"struct"},"10036":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket_req"],"kind":"struct"},"8274":{"crate_id":2,"path":["core","iter","sources","empty","Empty"],"kind":"struct"},"8601":{"crate_id":3,"path":["alloc","collections","linked_list","drop","DropGuard"],"kind":"struct"},"10363":{"crate_id":33,"path":["io_uring","sys","__kernel_timespec"],"kind":"struct"},"3315":{"crate_id":0,"path":["tokio","net","windows","named_pipe","PipeEnd"],"kind":"enum"},"10690":{"crate_id":39,"path":["gimli","read","op","Location"],"kind":"enum"},"8928":{"crate_id":5,"path":["libc","unix","linux_like","linux","sock_txtime"],"kind":"struct"},"118":{"crate_id":1,"path":["std","path","Path"],"kind":"struct"},"9255":{"crate_id":16,"path":["gimli","read","dwarf","RangeIterInner"],"kind":"enum"},"11017":{"crate_id":40,"path":["object","macho","DyldCacheHeader"],"kind":"struct"},"3969":{"crate_id":0,"path":["tokio","runtime","builder","UnhandledPanic","ShutdownRuntime"],"kind":"variant"},"11344":{"crate_id":2,"path":["core","ptr","metadata","metadata"],"kind":"function"},"9582":{"crate_id":17,"path":["object","read","pe","import","DelayLoadDescriptorIterator"],"kind":"struct"},"6058":{"crate_id":0,"path":["tokio","sync","oneshot","channel"],"kind":"function"},"7820":{"crate_id":1,"path":["std","backtrace","RawFrame"],"kind":"enum"},"9909":{"crate_id":22,"path":["lock_api","rwlock","RawRwLockUpgrade"],"kind":"trait"},"8147":{"crate_id":2,"path":["core","num","imp","dec2flt","decimal_seq","DecimalSeq"],"kind":"struct"},"10236":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","spwd"],"kind":"struct"},"8474":{"crate_id":2,"path":["core","ops","arith","Div"],"kind":"trait"},"10563":{"crate_id":39,"path":["gimli","constants","DwVirtuality"],"kind":"struct"},"8801":{"crate_id":5,"path":["libc","unix","linux_like","linux","sockaddr_pkt"],"kind":"struct"},"1753":{"crate_id":0,"path":["tokio","io","util","copy","copy"],"kind":"function"},"10890":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldRelocation"],"kind":"struct"},"9128":{"crate_id":13,"path":["rustc_demangle","SizeLimitedFmtAdapter"],"kind":"struct"},"11217":{"crate_id":41,"path":["memchr","arch","all","memchr","Three"],"kind":"struct"},"9455":{"crate_id":17,"path":["object","read","archive","ArchiveSymbol"],"kind":"struct"},"7693":{"crate_id":47,"path":["socket2","Domain"],"kind":"struct"},"8020":{"crate_id":1,"path":["std","panicking","panic_handler","StaticStrPayload"],"kind":"struct"},"9782":{"crate_id":17,"path":["object","pe","ImageEpilogueDynamicRelocationHeader"],"kind":"struct"},"10109":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_pmkid_cand"],"kind":"struct"},"8347":{"crate_id":2,"path":["core","str","pattern","EmptyNeedle"],"kind":"struct"},"8674":{"crate_id":3,"path":["alloc","collections","btree","map","IntoKeys"],"kind":"struct"},"6912":{"crate_id":0,"path":["tokio","task","coop","consume_budget","consume_budget"],"kind":"function"},"10436":{"crate_id":33,"path":["io_uring","opcode","Timeout"],"kind":"struct"},"10763":{"crate_id":40,"path":["object","endian","U64Bytes"],"kind":"struct"},"9001":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","max_align_t"],"kind":"struct"},"9328":{"crate_id":16,"path":["gimli","read","names","NameAbbreviation"],"kind":"struct"},"11090":{"crate_id":40,"path":["object","pe","ImageOptionalHeader32"],"kind":"struct"},"518":{"crate_id":0,"path":["tokio","future","maybe_done","MaybeDone","Future"],"kind":"variant"},"9655":{"crate_id":17,"path":["object","elf","NoteHeader32"],"kind":"struct"},"7893":{"crate_id":1,"path":["std","path","fmt","DebugHelper"],"kind":"struct"},"11417":{"crate_id":1,"path":["std","str"],"kind":"primitive"},"9982":{"crate_id":27,"path":["libc","unix","ipv6_mreq"],"kind":"struct"},"8220":{"crate_id":2,"path":["core","net","parser","AddrParseError"],"kind":"struct"},"10309":{"crate_id":29,"path":["tracing_core","span","Attributes"],"kind":"struct"},"6785":{"crate_id":0,"path":["tokio","sync","watch","Ref"],"kind":"struct"},"5023":{"crate_id":0,"path":["tokio","sync","broadcast","Sender"],"kind":"struct"},"8547":{"crate_id":2,"path":["core","net","display_buffer","DisplayBuffer"],"kind":"struct"},"10636":{"crate_id":39,"path":["gimli","read","relocate","Relocate"],"kind":"trait"},"8874":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_discarded"],"kind":"struct"},"10963":{"crate_id":40,"path":["object","read","SectionIndex"],"kind":"struct"},"9201":{"crate_id":16,"path":["gimli","constants","DwLne"],"kind":"struct"},"391":{"crate_id":2,"path":["core","option","Option"],"kind":"enum"},"9528":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldCacheSlideInfo"],"kind":"enum"},"7766":{"crate_id":2,"path":["core","task","wake","RawWaker"],"kind":"struct"},"11290":{"crate_id":42,"path":["miniz_oxide","inflate","stream","ZeroReset"],"kind":"struct"},"8093":{"crate_id":1,"path":["std","sys","helpers","wstr","WStrUnits"],"kind":"struct"},"9855":{"crate_id":18,"path":["memchr","memmem","searcher","PrefilterConfig"],"kind":"enum"},"10182":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","ptrace_peeksiginfo_args"],"kind":"struct"},"8420":{"crate_id":2,"path":["core","asserting","Capture"],"kind":"struct"},"8747":{"crate_id":5,"path":["libc","unix","utimbuf"],"kind":"struct"},"10509":{"crate_id":39,"path":["gimli","common","Vendor"],"kind":"enum"},"5223":{"crate_id":0,"path":["tokio","sync","mpsc","bounded","channel"],"kind":"function"},"10836":{"crate_id":40,"path":["object","read","elf","section","ElfSection"],"kind":"struct"},"9074":{"crate_id":10,"path":["hashbrown","set","Difference"],"kind":"struct"},"11163":{"crate_id":40,"path":["object","xcoff","AuxHeader32"],"kind":"struct"},"9401":{"crate_id":17,"path":["object","endian","Endianness"],"kind":"enum"},"7639":{"crate_id":21,"path":["parking_lot"],"kind":"module"},"9728":{"crate_id":17,"path":["object","macho","ScatteredRelocationInfo"],"kind":"struct"},"7966":{"crate_id":1,"path":["std","sys","fs","unix","ReadDir"],"kind":"struct"},"8293":{"crate_id":2,"path":["core","hash","sip","SipHasher24"],"kind":"struct"},"10055":{"crate_id":27,"path":["libc","unix","linux_like","linux","ff_condition_effect"],"kind":"struct"},"10382":{"crate_id":33,"path":["io_uring","sys","io_uring_mem_region_reg"],"kind":"struct"},"8620":{"crate_id":3,"path":["alloc","sync","UniqueArc"],"kind":"struct"},"8947":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","ntptimeval"],"kind":"struct"},"10709":{"crate_id":39,"path":["gimli","read","rnglists","RawRngListIter"],"kind":"struct"},"11036":{"crate_id":40,"path":["object","macho","SegmentCommand64"],"kind":"struct"},"9274":{"crate_id":16,"path":["gimli","read","index","DebugCuIndex"],"kind":"struct"},"9601":{"crate_id":17,"path":["object","read","xcoff","symbol","XcoffSymbol"],"kind":"struct"},"7839":{"crate_id":1,"path":["std","collections","hash","set","Iter"],"kind":"struct"},"11363":{"crate_id":40,"path":["object","elf","NT_GNU_BUILD_ID"],"kind":"constant"},"9928":{"crate_id":22,"path":["lock_api","remutex","fmt","LockedPlaceholder"],"kind":"struct"},"8166":{"crate_id":2,"path":["core","num","niche_types","NonZeroI8Inner"],"kind":"struct"},"10255":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","arpd_request"],"kind":"struct"},"8493":{"crate_id":2,"path":["core","array","GuardBack"],"kind":"struct"},"10582":{"crate_id":39,"path":["gimli","endianity","LittleEndian"],"kind":"struct"},"7058":{"crate_id":0,"path":["tokio","task","task_local","LocalKey"],"kind":"struct"},"8820":{"crate_id":5,"path":["libc","unix","linux_like","linux","ff_replay"],"kind":"struct"},"10909":{"crate_id":40,"path":["object","read","macho","symbol","MachOSymbolTable"],"kind":"struct"},"9147":{"crate_id":16,"path":["gimli","common","LocationListsOffset"],"kind":"struct"},"11236":{"crate_id":41,"path":["memchr","memmem","searcher","SearcherKind"],"kind":"union"},"7712":{"crate_id":31,"path":["mio","sys","unix","pipe","Receiver"],"kind":"struct"},"9474":{"crate_id":17,"path":["object","read","coff","import","ImportType"],"kind":"enum"},"9801":{"crate_id":17,"path":["object","pe","ImageSeparateDebugHeader"],"kind":"struct"},"8039":{"crate_id":1,"path":["std","sys","process","unix","unix","posix_spawn","PosixSpawnattr"],"kind":"struct"},"8366":{"crate_id":2,"path":["core","escape","AlwaysEscaped"],"kind":"struct"},"10128":{"crate_id":27,"path":["libc","unix","linux_like","linux","xdp_umem_reg_v1"],"kind":"struct"},"10455":{"crate_id":33,"path":["io_uring","sys","io_uring_buf_ring"],"kind":"struct"},"8693":{"crate_id":3,"path":["alloc","collections","btree","set","ExtractIf"],"kind":"struct"},"9020":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","Elf64_Shdr"],"kind":"struct"},"10782":{"crate_id":40,"path":["object","read","any","SectionIterator"],"kind":"struct"},"11109":{"crate_id":40,"path":["object","pe","ImageAuxSymbolSection"],"kind":"struct"},"9347":{"crate_id":16,"path":["gimli","read","pubtypes","DebugPubTypes"],"kind":"struct"},"537":{"crate_id":0,"path":["tokio","io","util","async_buf_read_ext","AsyncBufReadExt"],"kind":"trait"},"9674":{"crate_id":17,"path":["object","macho","MachHeader32"],"kind":"struct"},"7912":{"crate_id":1,"path":["std","sync","mpmc","zero","ZeroToken"],"kind":"struct"},"11436":{"crate_id":1,"path":["std","fn"],"kind":"primitive"},"4388":{"crate_id":0,"path":["tokio","runtime","runtime","RuntimeFlavor","MultiThread"],"kind":"variant"},"10001":{"crate_id":27,"path":["libc","unix","linux_like","sockaddr_in"],"kind":"struct"},"8239":{"crate_id":2,"path":["core","wtf8","Wtf8"],"kind":"struct"},"2953":{"crate_id":0,"path":["tokio","net","unix","gid_t"],"kind":"type_alias"},"10328":{"crate_id":30,"path":["once_cell","race","OnceBool"],"kind":"struct"},"8566":{"crate_id":2,"path":["core","core_simd","swizzle","deinterleave","Odd"],"kind":"struct"},"10655":{"crate_id":39,"path":["gimli","read","line","DebugLine"],"kind":"struct"},"8893":{"crate_id":5,"path":["libc","unix","linux_like","linux","xdp_ring_offset"],"kind":"struct"},"9220":{"crate_id":16,"path":["gimli","read","cfi","EhFrameHdr"],"kind":"struct"},"10982":{"crate_id":40,"path":["object","archive","Header"],"kind":"struct"},"11309":{"crate_id":47,"path":["socket2","sys","SockFilter"],"kind":"struct"},"7785":{"crate_id":35,"path":["slab","Slab"],"kind":"struct"},"9547":{"crate_id":17,"path":["object","read","macho","file","MachOComdat"],"kind":"struct"},"9874":{"crate_id":18,"path":["memchr","arch","x86_64","sse2","memchr","TwoIter"],"kind":"struct"},"8112":{"crate_id":1,"path":["std","io","stdio","StderrRaw"],"kind":"struct"},"8439":{"crate_id":2,"path":["core","fmt","num_buffer","NumBuffer"],"kind":"struct"},"10201":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","siginfo_f"],"kind":"struct"},"10528":{"crate_id":39,"path":["gimli","common","DebugRngListsBase"],"kind":"struct"},"8766":{"crate_id":5,"path":["libc","unix","linux_like","ip_mreq"],"kind":"struct"},"10855":{"crate_id":40,"path":["object","read","elf","note","GnuProperty"],"kind":"struct"},"7331":{"crate_id":1,"path":["std","time","Instant"],"kind":"struct"},"9093":{"crate_id":10,"path":["hashbrown","set","Drain"],"kind":"struct"},"11182":{"crate_id":40,"path":["object","xcoff","Rel32"],"kind":"struct"},"9420":{"crate_id":17,"path":["object","read","util","DebugByte"],"kind":"struct"},"7658":{"crate_id":1,"path":["std","io","stdio","Stderr"],"kind":"struct"},"7985":{"crate_id":1,"path":["std","sys","process","unix","pidfd","PidFd"],"kind":"struct"},"9747":{"crate_id":17,"path":["object","pe","ImageSymbolBytes"],"kind":"struct"},"10074":{"crate_id":27,"path":["libc","unix","linux_like","linux","seccomp_notif"],"kind":"struct"},"8312":{"crate_id":2,"path":["core","str","iter","Chars"],"kind":"struct"},"8639":{"crate_id":3,"path":["alloc","collections","btree","map","Keys"],"kind":"struct"},"10401":{"crate_id":33,"path":["io_uring","sys","io_uring_recvmsg_out"],"kind":"struct"},"10728":{"crate_id":39,"path":["gimli","read","unit","EntriesTree"],"kind":"struct"},"8966":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","timespec"],"kind":"struct"},"9293":{"crate_id":16,"path":["gimli","read","loclists","DebugLoc"],"kind":"struct"},"11055":{"crate_id":40,"path":["object","macho","DylibModule32"],"kind":"struct"},"11382":{"crate_id":19,"path":["panic_unwind"],"kind":"module"},"9620":{"crate_id":17,"path":["object","read","RelocationMap"],"kind":"struct"},"7858":{"crate_id":1,"path":["std","ffi","os_str","Display"],"kind":"struct"},"9947":{"crate_id":25,"path":["smallvec","SetLenOnDrop"],"kind":"struct"},"8185":{"crate_id":2,"path":["core","mem","alignment","AlignmentEnum"],"kind":"enum"},"10274":{"crate_id":28,"path":["tracing","span","Inner"],"kind":"struct"},"8512":{"crate_id":2,"path":["core","pin","helper","PinHelper"],"kind":"struct"},"10601":{"crate_id":39,"path":["gimli","read","cfi","UnwindSection"],"kind":"trait"},"8839":{"crate_id":5,"path":["libc","unix","linux_like","linux","fanotify_event_info_fid"],"kind":"struct"},"10928":{"crate_id":40,"path":["object","read","pe","import","ImportDescriptorIterator"],"kind":"struct"},"9166":{"crate_id":16,"path":["gimli","common","DwoId"],"kind":"struct"},"356":{"crate_id":2,"path":["core","clone","CloneToUninit"],"kind":"trait"},"9493":{"crate_id":17,"path":["object","read","elf","comdat","ElfComdatIterator"],"kind":"struct"},"7731":{"crate_id":1,"path":["std","sync","poison","rwlock","RwLock"],"kind":"struct"},"11255":{"crate_id":41,"path":["memchr","arch","x86_64","avx2","memchr","ThreeIter"],"kind":"struct"},"8058":{"crate_id":2,"path":["core","iter","adapters","step_by","StepBy"],"kind":"struct"},"9820":{"crate_id":17,"path":["object","xcoff","FunAux64"],"kind":"struct"},"10147":{"crate_id":27,"path":["libc","unix","linux_like","linux","hwtstamp_config"],"kind":"struct"},"8385":{"crate_id":2,"path":["core","core_arch","x86_64","__tile1024i"],"kind":"struct"},"8712":{"crate_id":4,"path":["compiler_builtins","math","libm_math","support","env","Round"],"kind":"enum"},"10474":{"crate_id":36,"path":["backtrace","backtrace","Frame"],"kind":"struct"},"10801":{"crate_id":40,"path":["object","read","archive","ArchiveFile"],"kind":"struct"},"9039":{"crate_id":5,"path":["libc","types","Padding"],"kind":"struct"},"9366":{"crate_id":16,"path":["gimli","read","unit","DebugInfo"],"kind":"struct"},"7604":{"crate_id":0,"path":["tokio","doc","os"],"kind":"module"},"11128":{"crate_id":40,"path":["object","pe","ImageResourceDirStringU"],"kind":"struct"},"9693":{"crate_id":17,"path":["object","macho","ThreadCommand"],"kind":"struct"},"7931":{"crate_id":1,"path":["std","sync","oneshot","TryRecvError"],"kind":"enum"},"10020":{"crate_id":27,"path":["libc","unix","linux_like","if_nameindex"],"kind":"struct"},"8258":{"crate_id":2,"path":["core","char","EscapeUnicode"],"kind":"struct"},"10347":{"crate_id":32,"path":["bytes","fmt","BytesRef"],"kind":"struct"},"8585":{"crate_id":2,"path":["core","core_simd","simd","cmp","ord","SimdPartialOrd"],"kind":"trait"},"8912":{"crate_id":5,"path":["libc","unix","linux_like","linux","pthread_rwlock_t"],"kind":"struct"},"10674":{"crate_id":39,"path":["gimli","read","loclists","RawLocListEntry"],"kind":"enum"},"11001":{"crate_id":40,"path":["object","elf","Relr32"],"kind":"struct"},"9239":{"crate_id":16,"path":["gimli","read","cfi","RegisterRuleIter"],"kind":"struct"},"9566":{"crate_id":17,"path":["object","read","pe","file","PeComdat"],"kind":"struct"},"7804":{"crate_id":2,"path":["core","panic","unwind_safe","AssertUnwindSafe"],"kind":"struct"},"4280":{"crate_id":0,"path":["tokio","runtime","runtime","RuntimeFlavor"],"kind":"enum"},"11328":{"crate_id":1,"path":["std","path","MAIN_SEPARATOR"],"kind":"constant"},"8131":{"crate_id":1,"path":["std","os","unix","thread","JoinHandleExt"],"kind":"trait"},"9893":{"crate_id":20,"path":["pin_project_lite","__private","UnsafeOverwriteGuard"],"kind":"struct"},"10220":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","_libc_xmmreg"],"kind":"struct"},"8458":{"crate_id":2,"path":["core","str","lossy","Debug"],"kind":"struct"},"10547":{"crate_id":39,"path":["gimli","arch","X86_64"],"kind":"struct"},"8785":{"crate_id":5,"path":["libc","unix","linux_like","mmsghdr"],"kind":"struct"},"10874":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldFile"],"kind":"struct"},"9112":{"crate_id":10,"path":["hashbrown","set","VacantEntry"],"kind":"struct"},"302":{"crate_id":0,"path":["tokio","fs","hard_link","hard_link"],"kind":"function"},"7677":{"crate_id":2,"path":["core","ops","try_trait","Try"],"kind":"trait"},"9439":{"crate_id":17,"path":["object","read","any","SymbolIterator"],"kind":"struct"},"11201":{"crate_id":40,"path":["object","read","elf","relocation","Rel"],"kind":"trait"},"9766":{"crate_id":17,"path":["object","pe","ImageImportDescriptor"],"kind":"struct"},"8004":{"crate_id":1,"path":["std","os","linux","raw","arch","stat"],"kind":"struct"},"8331":{"crate_id":2,"path":["core","str","iter","LinesAny"],"kind":"struct"},"10093":{"crate_id":27,"path":["libc","unix","linux_like","linux","tls12_crypto_info_aes_gcm_256"],"kind":"struct"},"10420":{"crate_id":33,"path":["io_uring","types","FutexWaitV"],"kind":"struct"},"8658":{"crate_id":3,"path":["alloc","collections","linked_list","Iter"],"kind":"struct"},"3372":{"crate_id":0,"path":["tokio","net","windows","named_pipe"],"kind":"module"},"8985":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","stat64"],"kind":"struct"},"10747":{"crate_id":40,"path":["object","common","ComdatKind"],"kind":"enum"},"175":{"crate_id":2,"path":["core","convert","Infallible"],"kind":"enum"},"9312":{"crate_id":16,"path":["gimli","read","macros","MacroIter"],"kind":"struct"},"11074":{"crate_id":40,"path":["object","macho","FvmfileCommand"],"kind":"struct"},"9639":{"crate_id":17,"path":["object","elf","Syminfo64"],"kind":"struct"},"7877":{"crate_id":1,"path":["std","net","tcp","IntoIncoming"],"kind":"struct"},"11401":{"crate_id":39,"path":["gimli"],"kind":"module"},"9966":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","can_filter"],"kind":"struct"},"8204":{"crate_id":2,"path":["core","ops","range","RangeInclusive"],"kind":"struct"},"10293":{"crate_id":29,"path":["tracing_core","metadata","LevelFilter"],"kind":"struct"},"8531":{"crate_id":2,"path":["core","ops","async_function","AsyncFnOnce"],"kind":"trait"},"1483":{"crate_id":0,"path":["tokio","io","util","fill_buf","FillBuf"],"kind":"struct"},"10620":{"crate_id":39,"path":["gimli","read","cfi","PointerEncodingParameters"],"kind":"struct"},"8858":{"crate_id":5,"path":["libc","unix","linux_like","linux","sctp_nxtinfo"],"kind":"struct"},"10947":{"crate_id":40,"path":["object","read","xcoff","section","SectionTable"],"kind":"struct"},"9185":{"crate_id":16,"path":["gimli","constants","DwLle"],"kind":"struct"},"11274":{"crate_id":41,"path":["memchr","arch","all","packedpair","DefaultFrequencyRank"],"kind":"struct"},"7750":{"crate_id":1,"path":["std","thread","functions","panicking"],"kind":"function"},"9512":{"crate_id":17,"path":["object","read","elf","attributes","AttributesSection"],"kind":"struct"},"9839":{"crate_id":18,"path":["memchr","arch","all","twoway","FinderRev"],"kind":"struct"},"8077":{"crate_id":2,"path":["core","iter","adapters","fuse","Fuse"],"kind":"struct"},"8404":{"crate_id":2,"path":["core","mem","type_info","Const"],"kind":"struct"},"10166":{"crate_id":27,"path":["libc","unix","linux_like","linux","xsk_tx_metadata"],"kind":"struct"},"10493":{"crate_id":37,"path":["rustc_demangle","Demangle"],"kind":"struct"},"8731":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","sockaddr_can"],"kind":"struct"},"6969":{"crate_id":2,"path":["core","task","poll","Poll","Pending"],"kind":"variant"},"3445":{"crate_id":0,"path":["tokio","signal"],"kind":"module"},"9058":{"crate_id":10,"path":["hashbrown","hasher","DefaultHashBuilder"],"kind":"struct"},"7296":{"crate_id":0,"path":["tokio","time","error","Elapsed"],"kind":"struct"},"10820":{"crate_id":40,"path":["object","read","coff","symbol","CoffSymbolIterator"],"kind":"struct"},"11147":{"crate_id":40,"path":["object","pe","ImageRuntimeFunctionEntry"],"kind":"struct"},"9385":{"crate_id":17,"path":["object","common","SubArchitecture"],"kind":"enum"},"575":{"crate_id":0,"path":["tokio","io","util","chain","Chain"],"kind":"struct"},"9712":{"crate_id":17,"path":["object","macho","BuildVersionCommand"],"kind":"struct"},"7950":{"crate_id":1,"path":["std","sync","poison","mutex","MappedMutexGuard"],"kind":"struct"},"10039":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket_stats"],"kind":"struct"},"8277":{"crate_id":2,"path":["core","iter","sources","once","Once"],"kind":"struct"},"8604":{"crate_id":3,"path":["alloc","collections","vec_deque","extract_if","ExtractIf"],"kind":"struct"},"10366":{"crate_id":33,"path":["io_uring","sys","io_uring_sqe__bindgen_ty_1__bindgen_ty_1"],"kind":"struct"},"10693":{"crate_id":39,"path":["gimli","read","op","EvaluationWaiting"],"kind":"enum"},"7169":{"crate_id":2,"path":["core","iter","traits","collect","FromIterator"],"kind":"trait"},"8931":{"crate_id":5,"path":["libc","unix","linux_like","linux","__c_anonymous_iwreq"],"kind":"union"},"9258":{"crate_id":16,"path":["gimli","read","endian_slice","DebugByte"],"kind":"struct"},"11020":{"crate_id":40,"path":["object","macho","DyldCacheImageInfo"],"kind":"struct"},"448":{"crate_id":3,"path":["alloc","string","String"],"kind":"struct"},"7823":{"crate_id":1,"path":["std","backtrace","BacktraceSymbol"],"kind":"struct"},"9585":{"crate_id":17,"path":["object","read","pe","relocation","Relocation"],"kind":"struct"},"11347":{"crate_id":1,"path":["std","panic","always_abort"],"kind":"function"},"9912":{"crate_id":22,"path":["lock_api","rwlock","RawRwLockUpgradeTimed"],"kind":"trait"},"8150":{"crate_id":2,"path":["core","num","imp","flt2dec","Sign"],"kind":"enum"},"10239":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","packet_mreq"],"kind":"struct"},"8477":{"crate_id":2,"path":["core","ops","arith","RemAssign"],"kind":"trait"},"10566":{"crate_id":39,"path":["gimli","constants","DwId"],"kind":"struct"},"8804":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket_hdr_variant1"],"kind":"struct"},"1756":{"crate_id":0,"path":["tokio","io","util","copy_bidirectional","copy_bidirectional"],"kind":"function"},"10893":{"crate_id":40,"path":["object","read","macho","fat","FatArch"],"kind":"trait"},"9131":{"crate_id":15,"path":["addr2line","unit","SupUnits"],"kind":"struct"},"11220":{"crate_id":41,"path":["memchr","arch","all","rabinkarp","Hash"],"kind":"struct"},"9458":{"crate_id":17,"path":["object","read","coff","section","SectionTable"],"kind":"struct"},"7696":{"crate_id":31,"path":["mio","net","tcp","stream","TcpStream"],"kind":"struct"},"8023":{"crate_id":2,"path":["core","error","private","Internal"],"kind":"struct"},"9785":{"crate_id":17,"path":["object","pe","ImageHotPatchInfo"],"kind":"struct"},"10112":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_priv_args"],"kind":"struct"},"8350":{"crate_id":2,"path":["core","str","LinesMap"],"kind":"struct"},"8677":{"crate_id":3,"path":["alloc","collections","linked_list","IterMut"],"kind":"struct"},"6915":{"crate_id":0,"path":["tokio","task","coop","unconstrained","unconstrained"],"kind":"function"},"10439":{"crate_id":33,"path":["io_uring","opcode","FutexWake"],"kind":"struct"},"10766":{"crate_id":40,"path":["object","endian","I64Bytes"],"kind":"struct"},"9004":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","glob_t"],"kind":"struct"},"9331":{"crate_id":16,"path":["gimli","read","op","Operation"],"kind":"enum"},"11093":{"crate_id":40,"path":["object","pe","ImageNtHeaders64"],"kind":"struct"},"521":{"crate_id":0,"path":["tokio","future","maybe_done","MaybeDone","Done"],"kind":"variant"},"9658":{"crate_id":17,"path":["object","elf","GnuHashHeader"],"kind":"struct"},"7896":{"crate_id":1,"path":["std","path","NormalizeError"],"kind":"struct"},"11420":{"crate_id":1,"path":["std","f32"],"kind":"primitive"},"9985":{"crate_id":27,"path":["libc","unix","pollfd"],"kind":"struct"},"8223":{"crate_id":2,"path":["core","range","RangeFrom"],"kind":"struct"},"10312":{"crate_id":29,"path":["tracing_core","span","CurrentInner"],"kind":"enum"},"8550":{"crate_id":2,"path":["core","pat","RangePattern"],"kind":"trait"},"10639":{"crate_id":39,"path":["gimli","read","abbrev","AbbreviationsCache"],"kind":"struct"},"8877":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_encode_ext"],"kind":"struct"},"10966":{"crate_id":40,"path":["object","read","SymbolMap"],"kind":"struct"},"9204":{"crate_id":16,"path":["gimli","constants","DwMacro"],"kind":"struct"},"5680":{"crate_id":0,"path":["tokio","sync","mpsc"],"kind":"module"},"9531":{"crate_id":17,"path":["object","read","macho","dyld_cache","RelocationStateV2"],"kind":"enum"},"7769":{"crate_id":33,"path":["io_uring","squeue","Entry"],"kind":"struct"},"11293":{"crate_id":43,"path":["adler2","Adler32"],"kind":"struct"},"8096":{"crate_id":2,"path":["core","fmt","Arguments"],"kind":"struct"},"9858":{"crate_id":18,"path":["memchr","memmem","searcher","PrefilterState"],"kind":"struct"},"1048":{"crate_id":0,"path":["tokio","io","bsd","poll_aio","Aio"],"kind":"struct"},"10185":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","__c_anonymous_ptrace_syscall_info_seccomp"],"kind":"struct"},"8423":{"crate_id":2,"path":["core","cell","lazy","LazyCell"],"kind":"struct"},"8750":{"crate_id":5,"path":["libc","unix","rusage"],"kind":"struct"},"10512":{"crate_id":39,"path":["gimli","common","Register"],"kind":"struct"},"5226":{"crate_id":0,"path":["tokio","sync","mpsc","bounded","Receiver"],"kind":"struct"},"10839":{"crate_id":40,"path":["object","read","elf","symbol","ElfSymbolIterator"],"kind":"struct"},"9077":{"crate_id":10,"path":["hashbrown","table","HashTable"],"kind":"struct"},"9404":{"crate_id":17,"path":["object","endian","U16"],"kind":"struct"},"7642":{"crate_id":2,"path":["core","task","ready","ready"],"kind":"macro"},"11166":{"crate_id":40,"path":["object","xcoff","SectionHeader64"],"kind":"struct"},"9731":{"crate_id":17,"path":["object","pe","ImageVxdHeader"],"kind":"struct"},"7969":{"crate_id":1,"path":["std","sys","fs","unix","File"],"kind":"struct"},"8296":{"crate_id":2,"path":["core","hash","sip","Hasher"],"kind":"struct"},"10058":{"crate_id":27,"path":["libc","unix","linux_like","linux","ff_effect"],"kind":"struct"},"10385":{"crate_id":33,"path":["io_uring","sys","io_uring_rsrc_update2"],"kind":"struct"},"8623":{"crate_id":3,"path":["alloc","vec","set_len_on_drop","SetLenOnDrop"],"kind":"struct"},"8950":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","Elf32_Chdr"],"kind":"struct"},"10712":{"crate_id":39,"path":["gimli","read","rnglists","RawRange"],"kind":"struct"},"11039":{"crate_id":40,"path":["object","macho","Fvmlib"],"kind":"struct"},"9277":{"crate_id":16,"path":["gimli","read","index","UnitIndexSectionIterator"],"kind":"struct"},"9604":{"crate_id":17,"path":["object","read","xcoff","comdat","XcoffComdat"],"kind":"struct"},"7842":{"crate_id":1,"path":["std","collections","hash","set","ExtractIf"],"kind":"struct"},"11366":{"crate_id":3,"path":["alloc"],"kind":"module"},"9931":{"crate_id":23,"path":["scopeguard","Strategy"],"kind":"trait"},"8169":{"crate_id":2,"path":["core","num","niche_types","NonZeroI64Inner"],"kind":"struct"},"4645":{"crate_id":0,"path":["tokio","runtime","metrics","histogram","h2_histogram","InvalidHistogramConfiguration","TooManyBuckets"],"kind":"variant"},"10258":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","rlimit64"],"kind":"struct"},"8496":{"crate_id":2,"path":["core","iter","adapters","filter_map","next_chunk","Guard"],"kind":"struct"},"4972":{"crate_id":0,"path":["tokio","sync","barrier","Barrier"],"kind":"struct"},"3210":{"crate_id":0,"path":["tokio","net","windows","named_pipe","PipeMode","Byte"],"kind":"variant"},"10585":{"crate_id":39,"path":["gimli","read","util","ArrayVec"],"kind":"struct"},"8823":{"crate_id":5,"path":["libc","unix","linux_like","linux","ff_constant_effect"],"kind":"struct"},"10912":{"crate_id":40,"path":["object","read","macho","relocation","MachORelocationIterator"],"kind":"struct"},"9150":{"crate_id":16,"path":["gimli","common","DebugMacinfoOffset"],"kind":"struct"},"11239":{"crate_id":41,"path":["memchr","memmem","searcher","Prefilter"],"kind":"struct"},"7715":{"crate_id":2,"path":["core","cell","UnsafeCell"],"kind":"struct"},"9477":{"crate_id":17,"path":["object","read","elf","segment","ElfSegmentIterator"],"kind":"struct"},"9804":{"crate_id":17,"path":["object","pe","ImportObjectHeader"],"kind":"struct"},"8042":{"crate_id":1,"path":["std","sys","thread","unix","Thread"],"kind":"struct"},"8369":{"crate_id":2,"path":["core","core_arch","x86","__m128i"],"kind":"struct"},"10131":{"crate_id":27,"path":["libc","unix","linux_like","linux","xdp_options"],"kind":"struct"},"10458":{"crate_id":34,"path":["bitflags","traits","Bits"],"kind":"trait"},"8696":{"crate_id":3,"path":["alloc","collections","linked_list","CursorMut"],"kind":"struct"},"9023":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","ucred"],"kind":"struct"},"10785":{"crate_id":40,"path":["object","read","any","ComdatIterator"],"kind":"struct"},"11112":{"crate_id":40,"path":["object","pe","ImageLinenumber"],"kind":"struct"},"9350":{"crate_id":16,"path":["gimli","read","pubtypes","PubTypesSet"],"kind":"struct"},"9677":{"crate_id":17,"path":["object","macho","LcStr"],"kind":"struct"},"7915":{"crate_id":1,"path":["std","sync","mpmc","TryIter"],"kind":"struct"},"6153":{"crate_id":0,"path":["tokio","sync","batch_semaphore","AcquireError"],"kind":"struct"},"10004":{"crate_id":27,"path":["libc","unix","linux_like","sockaddr_ll"],"kind":"struct"},"8242":{"crate_id":2,"path":["core","core_arch","simd","SimdM"],"kind":"struct"},"10331":{"crate_id":30,"path":["once_cell","imp","Guard"],"kind":"struct"},"8569":{"crate_id":2,"path":["core","core_simd","cast","SimdCast"],"kind":"trait"},"3283":{"crate_id":0,"path":["tokio","net","windows","named_pipe","PipeMode","Message"],"kind":"variant"},"10658":{"crate_id":39,"path":["gimli","read","line","LineInstruction"],"kind":"enum"},"8896":{"crate_id":5,"path":["libc","unix","linux_like","linux","xdp_mmap_offsets_v1"],"kind":"struct"},"9223":{"crate_id":16,"path":["gimli","read","cfi","EhHdrTable"],"kind":"struct"},"10985":{"crate_id":40,"path":["object","archive","AixMemberOffset"],"kind":"struct"},"11312":{"crate_id":47,"path":["socket2","TcpKeepalive"],"kind":"struct"},"7788":{"crate_id":2,"path":["core","mem","manually_drop","ManuallyDrop"],"kind":"struct"},"9550":{"crate_id":17,"path":["object","read","macho","load_command","LoadCommandIterator"],"kind":"struct"},"9877":{"crate_id":18,"path":["memchr","cow","Imp"],"kind":"struct"},"8115":{"crate_id":1,"path":["std","io","stdio","IsTerminal"],"kind":"trait"},"8442":{"crate_id":2,"path":["core","cell","RefMut"],"kind":"struct"},"10204":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","sysinfo"],"kind":"struct"},"10531":{"crate_id":39,"path":["gimli","common","DebugStrOffsetsBase"],"kind":"struct"},"8769":{"crate_id":5,"path":["libc","unix","linux_like","sockaddr"],"kind":"struct"},"10858":{"crate_id":40,"path":["object","read","elf","version","VersionIndex"],"kind":"struct"},"9096":{"crate_id":10,"path":["hashbrown","table","UnsafeIter"],"kind":"struct"},"286":{"crate_id":0,"path":["tokio","doc","os","windows","io","OwnedHandle"],"kind":"type_alias"},"9423":{"crate_id":17,"path":["object","read","util","StringTable"],"kind":"struct"},"7661":{"crate_id":2,"path":["core","marker","PhantomPinned"],"kind":"struct"},"11185":{"crate_id":40,"path":["object","pod","Pod"],"kind":"trait"},"7988":{"crate_id":1,"path":["std","sys","process","env","CommandResolvedEnvs"],"kind":"struct"},"9750":{"crate_id":17,"path":["object","pe","ImageAuxSymbolTokenDef"],"kind":"struct"},"10077":{"crate_id":27,"path":["libc","unix","linux_like","linux","in6_ifreq"],"kind":"struct"},"8315":{"crate_id":2,"path":["core","str","iter","SplitInternal"],"kind":"struct"},"8642":{"crate_id":3,"path":["alloc","collections","btree","map","Cursor"],"kind":"struct"},"10404":{"crate_id":33,"path":["io_uring","sys","io_uring_zcrx_offsets"],"kind":"struct"},"10731":{"crate_id":39,"path":["gimli","read","unit","DebugTypes"],"kind":"struct"},"8969":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","sifields_sigchld"],"kind":"struct"},"9296":{"crate_id":16,"path":["gimli","read","loclists","LocListsFormat"],"kind":"enum"},"11058":{"crate_id":40,"path":["object","macho","TwolevelHintsCommand"],"kind":"struct"},"11385":{"crate_id":23,"path":["scopeguard"],"kind":"module"},"9623":{"crate_id":17,"path":["object","read","CompressedFileRange"],"kind":"struct"},"7861":{"crate_id":1,"path":["std","fs","Dir"],"kind":"struct"},"9950":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","bcm","bcm_timeval"],"kind":"struct"},"8188":{"crate_id":2,"path":["core","mem","type_info","FieldId"],"kind":"struct"},"10277":{"crate_id":28,"path":["tracing","span","PhantomNotSend"],"kind":"struct"},"8515":{"crate_id":2,"path":["core","ops","unsize","CoerceUnsized"],"kind":"trait"},"10604":{"crate_id":39,"path":["gimli","read","cfi","AugmentationData"],"kind":"struct"},"8842":{"crate_id":5,"path":["libc","unix","linux_like","linux","seccomp_data"],"kind":"struct"},"10931":{"crate_id":40,"path":["object","read","pe","import","DelayLoadImportTable"],"kind":"struct"},"9169":{"crate_id":16,"path":["gimli","arch","AArch64"],"kind":"struct"},"11258":{"crate_id":41,"path":["memchr","arch","x86_64","sse2","memchr","ThreeIter"],"kind":"struct"},"9496":{"crate_id":17,"path":["object","read","elf","dynamic","DynamicTable"],"kind":"struct"},"7734":{"crate_id":21,"path":["parking_lot","condvar","Condvar"],"kind":"struct"},"8061":{"crate_id":2,"path":["core","iter","adapters","intersperse","Intersperse"],"kind":"struct"},"9823":{"crate_id":17,"path":["object","xcoff","BlockAux64"],"kind":"struct"},"10150":{"crate_id":27,"path":["libc","unix","linux_like","linux","ifinfomsg"],"kind":"struct"},"8388":{"crate_id":2,"path":["core","mem","type_info","Type"],"kind":"struct"},"8715":{"crate_id":4,"path":["compiler_builtins","math","libm_math","support","hex_float","HexFloatParseError"],"kind":"struct"},"10477":{"crate_id":36,"path":["backtrace","capture","TracePtr"],"kind":"struct"},"10804":{"crate_id":40,"path":["object","read","archive","ArchiveMember"],"kind":"struct"},"9042":{"crate_id":8,"path":["miniz_oxide","inflate","core","State"],"kind":"enum"},"9369":{"crate_id":16,"path":["gimli","read","unit","UnitHeader"],"kind":"struct"},"11131":{"crate_id":40,"path":["object","pe","ImageDynamicRelocationTable"],"kind":"struct"},"9696":{"crate_id":17,"path":["object","macho","SymtabCommand"],"kind":"struct"},"7934":{"crate_id":1,"path":["std","sync","once","OnceState"],"kind":"struct"},"10023":{"crate_id":27,"path":["libc","unix","linux_like","sock_fprog"],"kind":"struct"},"8261":{"crate_id":2,"path":["core","char","ToUppercase"],"kind":"struct"},"10350":{"crate_id":33,"path":["io_uring","util","fd","OwnedFd"],"kind":"struct"},"8588":{"crate_id":3,"path":["alloc","boxed","thin","drop","DropGuard"],"kind":"struct"},"8915":{"crate_id":5,"path":["libc","unix","linux_like","linux","uinput_user_dev"],"kind":"struct"},"10677":{"crate_id":39,"path":["gimli","read","lookup","DebugLookup"],"kind":"struct"},"11004":{"crate_id":40,"path":["object","elf","ProgramHeader64"],"kind":"struct"},"9242":{"crate_id":16,"path":["gimli","read","cfi","RegisterRule"],"kind":"enum"},"2194":{"crate_id":0,"path":["tokio","doc","os","windows","io","AsRawSocket"],"kind":"trait"},"9569":{"crate_id":17,"path":["object","read","pe","section","PeSegment"],"kind":"struct"},"7807":{"crate_id":2,"path":["core","marker"],"kind":"module"},"11331":{"crate_id":1,"path":["std","fs","exists"],"kind":"function"},"8134":{"crate_id":1,"path":["std","os","net","linux_ext","socket","UnixSocketExt"],"kind":"trait"},"9896":{"crate_id":21,"path":["parking_lot","once","call_once_slow","PanicGuard"],"kind":"struct"},"10223":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","user"],"kind":"struct"},"8461":{"crate_id":2,"path":["core","future","poll_fn","PollFn"],"kind":"struct"},"4937":{"crate_id":0,"path":["tokio","signal","windows","CtrlLogoff"],"kind":"struct"},"10550":{"crate_id":39,"path":["gimli","constants","DwSectV2"],"kind":"struct"},"8788":{"crate_id":5,"path":["libc","unix","linux_like","utsname"],"kind":"struct"},"10877":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldCacheMappingSlice"],"kind":"enum"},"9115":{"crate_id":10,"path":["hashbrown","table","VacantEntry"],"kind":"struct"},"305":{"crate_id":0,"path":["tokio","fs","metadata","metadata"],"kind":"function"},"7680":{"crate_id":3,"path":["alloc","sync","ArcInner"],"kind":"struct"},"9442":{"crate_id":17,"path":["object","read","any","DynamicRelocationIterator"],"kind":"struct"},"11204":{"crate_id":40,"path":["object","read","macho","segment","Segment"],"kind":"trait"},"9769":{"crate_id":17,"path":["object","pe","ImageDelayloadDescriptor"],"kind":"struct"},"8007":{"crate_id":1,"path":["std","sys","fs","unix","FileAttr"],"kind":"struct"},"959":{"crate_id":2,"path":["core","marker","Copy"],"kind":"trait"},"8334":{"crate_id":2,"path":["core","str","iter","SplitInclusive"],"kind":"struct"},"10096":{"crate_id":27,"path":["libc","unix","linux_like","linux","tls12_crypto_info_sm4_gcm"],"kind":"struct"},"10423":{"crate_id":33,"path":["io_uring","util","private","Sealed"],"kind":"trait"},"8661":{"crate_id":3,"path":["alloc","collections","vec_deque","into_iter","IntoIter"],"kind":"struct"},"8988":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","pthread_attr_t"],"kind":"struct"},"10750":{"crate_id":40,"path":["object","common","RelocationKind"],"kind":"enum"},"1940":{"crate_id":0,"path":["tokio","io","util","sink","sink"],"kind":"function"},"11077":{"crate_id":40,"path":["object","macho","DataInCodeEntry"],"kind":"struct"},"9315":{"crate_id":16,"path":["gimli","read","names","NameIndexHeader"],"kind":"struct"},"9642":{"crate_id":17,"path":["object","elf","Rel64"],"kind":"struct"},"7880":{"crate_id":1,"path":["std","os","unix","net","listener","Incoming"],"kind":"struct"},"11404":{"crate_id":42,"path":["miniz_oxide"],"kind":"module"},"9969":{"crate_id":27,"path":["libc","new","linux_uapi","linux","netlink","nlmsgerr"],"kind":"struct"},"8207":{"crate_id":2,"path":["core","ascii","ascii_char","AsciiChar"],"kind":"enum"},"10296":{"crate_id":29,"path":["tracing_core","subscriber","Interest"],"kind":"struct"},"8534":{"crate_id":2,"path":["core","ops","try_trait","NeverShortCircuitResidual"],"kind":"enum"},"1486":{"crate_id":0,"path":["tokio","io","util","lines","Lines"],"kind":"struct"},"10623":{"crate_id":39,"path":["gimli","read","dwarf","DwarfPackageSections"],"kind":"struct"},"8861":{"crate_id":5,"path":["libc","unix","linux_like","linux","tls_crypto_info"],"kind":"struct"},"10950":{"crate_id":40,"path":["object","read","xcoff","symbol","XcoffSymbolTable"],"kind":"struct"},"9188":{"crate_id":16,"path":["gimli","constants","DwAccess"],"kind":"struct"},"2140":{"crate_id":2,"path":["core","net","ip_addr","Ipv4Addr"],"kind":"struct"},"11277":{"crate_id":42,"path":["miniz_oxide","inflate","core","DecompressorOxide"],"kind":"struct"},"7753":{"crate_id":1,"path":["std","thread","local","AccessError"],"kind":"struct"},"9515":{"crate_id":17,"path":["object","read","elf","attributes","AttributesSubsubsectionIterator"],"kind":"struct"},"378":{"crate_id":1,"path":["std","fs","read"],"kind":"function"},"9842":{"crate_id":18,"path":["memchr","arch","all","twoway","SuffixKind"],"kind":"enum"},"8080":{"crate_id":2,"path":["core","iter","adapters","rev","Rev"],"kind":"struct"},"8407":{"crate_id":2,"path":["core","mem","type_info","Int"],"kind":"struct"},"10169":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","__exit_status"],"kind":"struct"},"10496":{"crate_id":37,"path":["rustc_demangle","SizeLimitExhausted"],"kind":"struct"},"8734":{"crate_id":5,"path":["libc","new","linux_uapi","linux","can","__c_anonymous_sockaddr_can_j1939"],"kind":"struct"},"6972":{"crate_id":0,"path":["tokio","task","coop","Coop"],"kind":"struct"},"9061":{"crate_id":10,"path":["hashbrown","raw","RawTable"],"kind":"struct"},"10823":{"crate_id":40,"path":["object","read","coff","comdat","CoffComdatIterator"],"kind":"struct"},"251":{"crate_id":2,"path":["core","task","wake","Context"],"kind":"struct"},"9388":{"crate_id":17,"path":["object","common","SectionKind"],"kind":"enum"},"7626":{"crate_id":31,"path":["mio","interest","Interest"],"kind":"struct"},"11150":{"crate_id":40,"path":["object","pe","ImageEnclaveImport"],"kind":"struct"},"9715":{"crate_id":17,"path":["object","macho","LinkerOptionCommand"],"kind":"struct"},"7953":{"crate_id":1,"path":["std","sync","poison","PoisonError"],"kind":"struct"},"10042":{"crate_id":27,"path":["libc","unix","linux_like","linux","tpacket_bd_ts"],"kind":"struct"},"8280":{"crate_id":2,"path":["core","iter","sources","repeat_n","RepeatNInner"],"kind":"struct"},"8607":{"crate_id":3,"path":["alloc","collections","vec_deque","splice","Splice"],"kind":"struct"},"10369":{"crate_id":33,"path":["io_uring","sys","io_uring_sqe__bindgen_ty_3"],"kind":"union"},"5083":{"crate_id":0,"path":["tokio","sync","broadcast","error","TryRecvError","Empty"],"kind":"variant"},"10696":{"crate_id":39,"path":["gimli","read","op","OperationIter"],"kind":"struct"},"7172":{"crate_id":2,"path":["core","iter","traits","collect","Extend"],"kind":"trait"},"8934":{"crate_id":5,"path":["libc","unix","linux_like","linux","__c_anonymous_ptp_perout_request_2"],"kind":"union"},"124":{"crate_id":0,"path":["tokio","fs","create_dir","create_dir"],"kind":"function"},"9261":{"crate_id":16,"path":["gimli","read","relocate","RelocateReader"],"kind":"struct"},"11023":{"crate_id":40,"path":["object","macho","DyldCacheSlidePointer3"],"kind":"struct"},"451":{"crate_id":0,"path":["tokio","fs","remove_dir","remove_dir"],"kind":"function"},"7826":{"crate_id":1,"path":["std","collections","hash","map","Keys"],"kind":"struct"},"9588":{"crate_id":17,"path":["object","read","pe","resource","ResourceDirectoryEntryData"],"kind":"enum"},"11350":{"crate_id":2,"path":["core","intrinsics","unchecked_funnel_shl"],"kind":"function"},"9915":{"crate_id":22,"path":["lock_api","mutex","MutexGuard"],"kind":"struct"},"8153":{"crate_id":2,"path":["core","num","error","ParseIntError"],"kind":"struct"},"10242":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","dl_phdr_info"],"kind":"struct"},"8480":{"crate_id":2,"path":["core","ops","arith","MulAssign"],"kind":"trait"},"10569":{"crate_id":39,"path":["gimli","constants","DwOrd"],"kind":"struct"},"8807":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket_req3"],"kind":"struct"},"10896":{"crate_id":40,"path":["object","read","macho","file","MachOComdatIterator"],"kind":"struct"},"9134":{"crate_id":16,"path":["gimli","common","Format"],"kind":"enum"},"11223":{"crate_id":41,"path":["memchr","arch","all","twoway","TwoWay"],"kind":"struct"},"9461":{"crate_id":17,"path":["object","read","coff","section","CoffSectionIterator"],"kind":"struct"},"7699":{"crate_id":1,"path":["std","os","unix","net"],"kind":"module"},"8026":{"crate_id":1,"path":["std","thread","lifecycle","Packet"],"kind":"struct"},"9788":{"crate_id":17,"path":["object","pe","ImageArmRuntimeFunctionEntry"],"kind":"struct"},"978":{"crate_id":0,"path":["tokio","io","ready","Ready"],"kind":"struct"},"10115":{"crate_id":27,"path":["libc","unix","linux_like","linux","pthread_rwlockattr_t"],"kind":"struct"},"8353":{"crate_id":2,"path":["core","str","CharEscapeDefault"],"kind":"struct"},"8680":{"crate_id":3,"path":["alloc","collections","binary_heap","Drain"],"kind":"struct"},"10442":{"crate_id":33,"path":["io_uring","opcode","FixedFdInstall"],"kind":"struct"},"10769":{"crate_id":40,"path":["object","read","read_cache","ReadCacheInternal"],"kind":"struct"},"9007":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","itimerspec"],"kind":"struct"},"9334":{"crate_id":16,"path":["gimli","read","op","Piece"],"kind":"struct"},"11096":{"crate_id":40,"path":["object","pe","Guid"],"kind":"struct"},"4048":{"crate_id":0,"path":["tokio","runtime","dump","Tasks"],"kind":"struct"},"524":{"crate_id":0,"path":["tokio","future","maybe_done","maybe_done"],"kind":"function"},"9661":{"crate_id":17,"path":["object","macho","DyldCacheMappingInfo"],"kind":"struct"},"7899":{"crate_id":1,"path":["std","process","CommandEnvs"],"kind":"struct"},"11423":{"crate_id":1,"path":["std","i8"],"kind":"primitive"},"9988":{"crate_id":27,"path":["libc","unix","sigval"],"kind":"struct"},"8226":{"crate_id":2,"path":["core","fmt","Alignment"],"kind":"enum"},"10315":{"crate_id":29,"path":["tracing_core","field","fmt","NullCallsite"],"kind":"struct"},"8553":{"crate_id":2,"path":["core","sync","atomic","private","Align2"],"kind":"struct"},"10642":{"crate_id":39,"path":["gimli","read","abbrev","Attributes"],"kind":"enum"},"8880":{"crate_id":5,"path":["libc","unix","linux_like","linux","iw_statistics"],"kind":"struct"},"10969":{"crate_id":40,"path":["object","read","ObjectMap"],"kind":"struct"},"9207":{"crate_id":16,"path":["gimli","constants","DwEhPe"],"kind":"struct"},"11296":{"crate_id":45,"path":["signal_hook_registry","half_lock","HalfLock"],"kind":"struct"},"9534":{"crate_id":17,"path":["object","read","macho","dyld_cache","DyldCacheRelocationIteratorV3"],"kind":"struct"},"7772":{"crate_id":31,"path":["mio","poll","Poll"],"kind":"struct"},"8099":{"crate_id":2,"path":["core","str","error","Utf8Error"],"kind":"struct"},"9861":{"crate_id":18,"path":["memchr","arch","all","memchr","TwoIter"],"kind":"struct"},"10188":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","iocb"],"kind":"struct"},"8426":{"crate_id":2,"path":["core","io","borrowed_buf","BorrowedBuf"],"kind":"struct"},"8753":{"crate_id":5,"path":["libc","unix","iovec"],"kind":"struct"},"10515":{"crate_id":39,"path":["gimli","common","DebugAddrBase"],"kind":"struct"},"10842":{"crate_id":40,"path":["object","read","elf","relocation","ElfDynamicRelocationIterator"],"kind":"struct"},"9080":{"crate_id":10,"path":["hashbrown","table","IterHash"],"kind":"struct"},"9407":{"crate_id":17,"path":["object","endian","I16"],"kind":"struct"},"7645":{"crate_id":1,"path":["std","os","unix","fs","OpenOptionsExt"],"kind":"trait"},"11169":{"crate_id":40,"path":["object","xcoff","Symbol64"],"kind":"struct"},"4121":{"crate_id":0,"path":["tokio","runtime","dump","BacktraceSymbol"],"kind":"struct"},"9734":{"crate_id":17,"path":["object","pe","ImageDataDirectory"],"kind":"struct"},"7972":{"crate_id":1,"path":["std","sys","net","connection","socket","TcpListener"],"kind":"struct"},"924":{"crate_id":0,"path":["tokio","io","interest","Interest"],"kind":"struct"},"8299":{"crate_id":2,"path":["core","slice","sort","stable","drift","DriftsortRun"],"kind":"struct"},"10061":{"crate_id":27,"path":["libc","unix","linux_like","linux","uinput_abs_setup"],"kind":"struct"},"10388":{"crate_id":33,"path":["io_uring","sys","io_uring_restriction__bindgen_ty_1"],"kind":"union"},"8626":{"crate_id":3,"path":["alloc","vec","retain_mut","PanicGuard"],"kind":"struct"},"8953":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","__c_anonymous_ptrace_syscall_info_entry"],"kind":"struct"},"10715":{"crate_id":39,"path":["gimli","read","str","DebugStrOffsets"],"kind":"struct"},"11042":{"crate_id":40,"path":["object","macho","DylibCommand"],"kind":"struct"},"9280":{"crate_id":16,"path":["gimli","read","line","DebugLine"],"kind":"struct"},"9607":{"crate_id":17,"path":["object","read","xcoff","segment","XcoffSegment"],"kind":"struct"},"7845":{"crate_id":1,"path":["std","collections","hash","set","SymmetricDifference"],"kind":"struct"},"11369":{"crate_id":6,"path":["rustc_std_workspace_core"],"kind":"module"},"9934":{"crate_id":24,"path":["parking_lot_core","parking_lot","UnparkResult"],"kind":"struct"},"8172":{"crate_id":2,"path":["core","num","niche_types","NonZeroUsizeInner"],"kind":"struct"},"1124":{"crate_id":0,"path":["tokio","io","async_fd","AsyncFdTryNewError"],"kind":"struct"},"10261":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","dirent64"],"kind":"struct"},"8499":{"crate_id":2,"path":["core","slice","sort","unstable","quicksort","GapGuardRaw"],"kind":"struct"},"4975":{"crate_id":0,"path":["tokio","sync","barrier","BarrierWaitResult"],"kind":"struct"},"10588":{"crate_id":39,"path":["gimli","read","addr","AddrHeader"],"kind":"struct"},"7064":{"crate_id":0,"path":["tokio","task","task_local","AccessError"],"kind":"struct"},"8826":{"crate_id":5,"path":["libc","unix","linux_like","linux","ff_periodic_effect"],"kind":"struct"},"10915":{"crate_id":40,"path":["object","read","pe","file","PeComdatIterator"],"kind":"struct"},"9153":{"crate_id":16,"path":["gimli","common","RawRangeListsOffset"],"kind":"struct"},"11242":{"crate_id":41,"path":["memchr","vector","SensibleMoveMask"],"kind":"struct"},"7718":{"crate_id":2,"path":["core","sync","atomic","AtomicU16"],"kind":"type_alias"},"9480":{"crate_id":17,"path":["object","read","elf","section","ElfSectionIterator"],"kind":"struct"},"9807":{"crate_id":17,"path":["object","xcoff","FileHeader64"],"kind":"struct"},"8045":{"crate_id":1,"path":["std","backtrace_rs","symbolize","gimli","mmap","Mmap"],"kind":"struct"},"8372":{"crate_id":2,"path":["core","core_arch","x86","__m256i"],"kind":"struct"},"10134":{"crate_id":27,"path":["libc","unix","linux_like","linux","xsk_tx_metadata_request"],"kind":"struct"},"10461":{"crate_id":34,"path":["bitflags","iter","IterDefinedNames"],"kind":"struct"},"8699":{"crate_id":3,"path":["alloc","task","Wake"],"kind":"trait"},"9026":{"crate_id":5,"path":["libc","unix","linux_like","linux_l4re_shared","arpd_request"],"kind":"struct"},"10788":{"crate_id":40,"path":["object","read","any","ComdatSectionIterator"],"kind":"struct"},"11115":{"crate_id":40,"path":["object","pe","ImageExportDirectory"],"kind":"struct"},"9353":{"crate_id":16,"path":["gimli","read","rnglists","DebugRanges"],"kind":"struct"},"9680":{"crate_id":17,"path":["object","macho","Section32"],"kind":"struct"},"7918":{"crate_id":1,"path":["std","sync","mpsc","Iter"],"kind":"struct"},"2632":{"crate_id":1,"path":["std","os","unix","net","listener","UnixListener"],"kind":"struct"},"10007":{"crate_id":27,"path":["libc","unix","linux_like","sched_param"],"kind":"struct"},"8245":{"crate_id":2,"path":["core","core_simd","masks","MaskElement"],"kind":"trait"},"10334":{"crate_id":31,"path":["mio","sys","unix","selector","Selector"],"kind":"struct"},"8572":{"crate_id":2,"path":["core","core_simd","select","Select"],"kind":"trait"},"10661":{"crate_id":39,"path":["gimli","read","line","ColumnType"],"kind":"enum"},"8899":{"crate_id":5,"path":["libc","unix","linux_like","linux","xdp_statistics"],"kind":"struct"},"10988":{"crate_id":40,"path":["object","elf","Ident"],"kind":"struct"},"9226":{"crate_id":16,"path":["gimli","read","cfi","BaseAddresses"],"kind":"struct"},"11315":{"crate_id":47,"path":["socket2","sys","MaybeUninitSlice"],"kind":"struct"},"7791":{"crate_id":1,"path":["std","collections","hash","set","HashSet"],"kind":"struct"},"9553":{"crate_id":17,"path":["object","read","macho","segment","MachOSegmentIterator"],"kind":"struct"},"9880":{"crate_id":18,"path":["memchr","memchr","Memchr3"],"kind":"struct"},"8118":{"crate_id":2,"path":["core","slice","iter","Iter"],"kind":"struct"},"8445":{"crate_id":2,"path":["core","slice","iter","SplitMut"],"kind":"struct"},"10207":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","timex"],"kind":"struct"},"10534":{"crate_id":39,"path":["gimli","common","DebugTypeSignature"],"kind":"struct"},"8772":{"crate_id":5,"path":["libc","unix","linux_like","addrinfo"],"kind":"struct"},"5248":{"crate_id":0,"path":["tokio","sync","mpsc","error","TrySendError","Full"],"kind":"variant"},"9099":{"crate_id":10,"path":["hashbrown","table","Drain"],"kind":"struct"},"10861":{"crate_id":40,"path":["object","read","elf","version","VerdefIterator"],"kind":"struct"},"11188":{"crate_id":40,"path":["object","read","traits","ObjectSection"],"kind":"trait"},"9426":{"crate_id":17,"path":["object","read","any","SegmentIteratorInternal"],"kind":"enum"},"7664":{"crate_id":3,"path":["alloc","string","FromUtf8Error"],"kind":"struct"},"7991":{"crate_id":1,"path":["std","alloc","System"],"kind":"struct"},"9753":{"crate_id":17,"path":["object","pe","ImageAuxSymbolWeak"],"kind":"struct"},"10080":{"crate_id":27,"path":["libc","unix","linux_like","linux","ptp_extts_request"],"kind":"struct"},"6556":{"crate_id":0,"path":["tokio","sync","once_cell","OnceCell"],"kind":"struct"},"8318":{"crate_id":2,"path":["core","str","iter","RSplit"],"kind":"struct"},"8645":{"crate_id":3,"path":["alloc","collections","btree","merge_iter","MergeIterInner"],"kind":"struct"},"10407":{"crate_id":33,"path":["io_uring","sys","futex_waitv"],"kind":"struct"},"5121":{"crate_id":0,"path":["tokio","sync","broadcast"],"kind":"module"},"10734":{"crate_id":39,"path":["gimli","read","value","Value"],"kind":"enum"},"8972":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","__c_anonymous_ptrace_syscall_info_data"],"kind":"union"},"3686":{"crate_id":0,"path":["tokio","runtime","task","error","JoinError"],"kind":"struct"},"162":{"crate_id":2,"path":["core","convert","From"],"kind":"trait"},"9299":{"crate_id":16,"path":["gimli","read","loclists","LocListIter"],"kind":"struct"},"11061":{"crate_id":40,"path":["object","macho","UuidCommand"],"kind":"struct"},"11388":{"crate_id":26,"path":["cfg_if"],"kind":"module"},"9626":{"crate_id":17,"path":["object","archive","AixHeader"],"kind":"struct"},"7864":{"crate_id":1,"path":["std","io","buffered","bufwriter","BufWriter"],"kind":"struct"},"816":{"crate_id":0,"path":["tokio","net","tcp","split","WriteHalf"],"kind":"struct"},"9953":{"crate_id":27,"path":["libc","new","linux_uapi","linux","can","netlink","can_bittiming"],"kind":"struct"},"8191":{"crate_id":2,"path":["core","marker","FnPtr"],"kind":"trait"},"2905":{"crate_id":1,"path":["std","os","unix","net","stream","UnixStream"],"kind":"struct"},"10280":{"crate_id":20,"path":["pin_project_lite","__private","PinnedFieldsOfHelperStruct"],"kind":"struct"},"8518":{"crate_id":2,"path":["core","fmt","Pointer"],"kind":"trait"},"10607":{"crate_id":39,"path":["gimli","read","cfi","FrameDescriptionEntry"],"kind":"struct"},"8845":{"crate_id":5,"path":["libc","unix","linux_like","linux","seccomp_notif_resp"],"kind":"struct"},"10934":{"crate_id":40,"path":["object","read","pe","relocation","RelocationIterator"],"kind":"struct"},"9172":{"crate_id":16,"path":["gimli","arch","RiscV"],"kind":"struct"},"2124":{"crate_id":1,"path":["std","io"],"kind":"module"},"11261":{"crate_id":41,"path":["memchr","memchr","Memchr"],"kind":"struct"},"9499":{"crate_id":17,"path":["object","read","elf","note","NoteIterator"],"kind":"struct"},"7737":{"crate_id":21,"path":["parking_lot","rwlock","RwLockReadGuard"],"kind":"type_alias"},"8064":{"crate_id":2,"path":["core","iter","adapters","filter","Filter"],"kind":"struct"},"9826":{"crate_id":17,"path":["object","xcoff","DwarfAux64"],"kind":"struct"},"10153":{"crate_id":27,"path":["libc","unix","linux_like","linux","iw_michaelmicfailure"],"kind":"struct"},"8391":{"crate_id":2,"path":["core","mem","type_info","Field"],"kind":"struct"},"8718":{"crate_id":4,"path":["compiler_builtins","math","libm_math","support","hex_float","hex_fmt","Hex"],"kind":"struct"},"10480":{"crate_id":36,"path":["backtrace","symbolize","SymbolName"],"kind":"struct"},"10807":{"crate_id":40,"path":["object","read","archive","SymbolIteratorInternal"],"kind":"enum"},"9045":{"crate_id":8,"path":["miniz_oxide","inflate","TINFLStatus"],"kind":"enum"},"9372":{"crate_id":16,"path":["gimli","read","unit","Attribute"],"kind":"struct"},"11134":{"crate_id":40,"path":["object","pe","ImageDynamicRelocation32V2"],"kind":"struct"},"9699":{"crate_id":17,"path":["object","macho","DylibModule32"],"kind":"struct"},"7937":{"crate_id":1,"path":["std","sync","lazy_lock","LazyLock"],"kind":"struct"},"10026":{"crate_id":27,"path":["libc","unix","linux_like","sigevent"],"kind":"struct"},"8264":{"crate_id":2,"path":["core","char","ToCasefold"],"kind":"struct"},"4740":{"crate_id":0,"path":["tokio","runtime","worker_index"],"kind":"function"},"10353":{"crate_id":33,"path":["io_uring","squeue","SubmissionQueue"],"kind":"struct"},"8591":{"crate_id":3,"path":["alloc","collections","binary_heap","RebuildOnDrop"],"kind":"struct"},"1543":{"crate_id":0,"path":["tokio","io","util","read_to_string","ReadToString"],"kind":"struct"},"10680":{"crate_id":39,"path":["gimli","read","lookup","PubStuffParser"],"kind":"struct"},"8918":{"crate_id":5,"path":["libc","unix","linux_like","linux","sched_attr"],"kind":"struct"},"5394":{"crate_id":0,"path":["tokio","sync","mpsc","error","TryRecvError","Empty"],"kind":"variant"},"1870":{"crate_id":0,"path":["tokio","io","util","mem","duplex"],"kind":"function"},"11007":{"crate_id":40,"path":["object","elf","Versym"],"kind":"struct"},"9245":{"crate_id":16,"path":["gimli","read","cfi","UnwindExpression"],"kind":"struct"},"3959":{"crate_id":0,"path":["tokio","runtime","task_hooks","TaskMeta"],"kind":"struct"},"9572":{"crate_id":17,"path":["object","read","pe","section","PeRelocationIterator"],"kind":"struct"},"7810":{"crate_id":2,"path":["core","fmt"],"kind":"module"},"4286":{"crate_id":0,"path":["tokio","time","timeout","timeout"],"kind":"function"},"11334":{"crate_id":2,"path":["core","str","converts","from_utf8"],"kind":"function"},"762":{"crate_id":0,"path":["tokio","io","split","WriteHalf"],"kind":"struct"},"8137":{"crate_id":2,"path":["core","random","Rng"],"kind":"trait"},"9899":{"crate_id":22,"path":["lock_api","GuardNoSend"],"kind":"struct"},"10226":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","shmid_ds"],"kind":"struct"},"8464":{"crate_id":2,"path":["core","ptr","metadata","Thin"],"kind":"trait_alias"},"8791":{"crate_id":5,"path":["libc","unix","linux_like","sock_filter"],"kind":"struct"},"10553":{"crate_id":39,"path":["gimli","constants","DwChildren"],"kind":"struct"},"10880":{"crate_id":40,"path":["object","read","macho","dyld_cache","DyldCacheMapping"],"kind":"struct"},"9118":{"crate_id":12,"path":["std_detect","detect","arch","x86","Feature"],"kind":"enum"},"11207":{"crate_id":40,"path":["object","read","pe","file","ImageOptionalHeader"],"kind":"trait"},"7683":{"crate_id":3,"path":["alloc","vec"],"kind":"module"},"9445":{"crate_id":17,"path":["object","read","any","SectionRelocationIteratorInternal"],"kind":"enum"},"9772":{"crate_id":17,"path":["object","pe","ImageResourceDirectoryString"],"kind":"struct"},"8010":{"crate_id":1,"path":["std","sys","thread_local","native","lazy","State"],"kind":"enum"},"8337":{"crate_id":2,"path":["core","str","iter","EscapeDefault"],"kind":"struct"},"10099":{"crate_id":27,"path":["libc","unix","linux_like","linux","tls12_crypto_info_aria_gcm_256"],"kind":"struct"},"10426":{"crate_id":33,"path":["io_uring","opcode","Writev"],"kind":"struct"},"8664":{"crate_id":3,"path":["alloc","ffi","c_str","NulError"],"kind":"struct"},"8991":{"crate_id":5,"path":["libc","unix","linux_like","linux","gnu","b64","x86_64","_libc_fpstate"],"kind":"struct"},"10753":{"crate_id":40,"path":["object","common","SegmentFlags"],"kind":"enum"},"181":{"crate_id":2,"path":["core","any","Any"],"kind":"trait"},"9318":{"crate_id":16,"path":["gimli","read","names","NameIndex"],"kind":"struct"},"11080":{"crate_id":40,"path":["object","macho","Nlist64"],"kind":"struct"},"9645":{"crate_id":17,"path":["object","elf","Relr64"],"kind":"struct"},"7883":{"crate_id":1,"path":["std","os","linux","process","PidFd"],"kind":"struct"},"6121":{"crate_id":0,"path":["tokio","sync","batch_semaphore","TryAcquireError","Closed"],"kind":"variant"},"11407":{"crate_id":45,"path":["signal_hook_registry"],"kind":"module"},"9972":{"crate_id":27,"path":["libc","new","linux_uapi","linux","netlink","nl_mmap_hdr"],"kind":"struct"},"8210":{"crate_id":2,"path":["core","char","convert","ParseCharError"],"kind":"struct"},"10299":{"crate_id":29,"path":["tracing_core","callsite","DefaultCallsite"],"kind":"struct"},"8537":{"crate_id":2,"path":["core","iter","adapters","zip","TrustedRandomAccess"],"kind":"trait"},"10626":{"crate_id":39,"path":["gimli","read","dwarf","UnitRef"],"kind":"struct"},"8864":{"crate_id":5,"path":["libc","unix","linux_like","linux","tls12_crypto_info_aes_ccm_128"],"kind":"struct"},"10953":{"crate_id":40,"path":["object","read","xcoff","relocation","XcoffRelocationIterator"],"kind":"struct"},"9191":{"crate_id":16,"path":["gimli","constants","DwLang"],"kind":"struct"},"381":{"crate_id":0,"path":["tokio","fs","read","read"],"kind":"function"},"7756":{"crate_id":1,"path":["std","thread","thread","Thread"],"kind":"struct"},"9518":{"crate_id":17,"path":["object","read","elf","attributes","AttributeReader"],"kind":"struct"},"11280":{"crate_id":42,"path":["miniz_oxide","inflate","output_buffer","InputWrapper"],"kind":"struct"},"9845":{"crate_id":18,"path":["memchr","arch","x86_64","avx2","memchr","One"],"kind":"struct"},"8083":{"crate_id":2,"path":["core","iter","adapters","cycle","Cycle"],"kind":"struct"},"1035":{"crate_id":2,"path":["core","ops","bit","BitAnd"],"kind":"trait"},"8410":{"crate_id":2,"path":["core","mem","type_info","Reference"],"kind":"struct"},"10172":{"crate_id":27,"path":["libc","unix","linux_like","linux","gnu","msghdr"],"kind":"struct"},"10499":{"crate_id":38,"path":["addr2line","unit","LocationRangeIter"],"kind":"struct"},"8737":{"crate_id":5,"path":["libc","new","linux_uapi","linux","netlink","nlmsghdr"],"kind":"struct"},"3451":{"crate_id":1,"path":["std","process","Output"],"kind":"struct"},"9064":{"crate_id":10,"path":["hashbrown","raw","FullBucketsIndices"],"kind":"struct"},"10826":{"crate_id":40,"path":["object","read","coff","import","ImportFile"],"kind":"struct"},"11153":{"crate_id":40,"path":["object","pe","ImageDebugMisc"],"kind":"struct"},"9391":{"crate_id":17,"path":["object","common","SymbolScope"],"kind":"enum"},"9718":{"crate_id":17,"path":["object","macho","FvmfileCommand"],"kind":"struct"},"7956":{"crate_id":1,"path":["std","time","SystemTime"],"kind":"struct"},"10045":{"crate_id":27,"path":["libc","unix","linux_like","linux","input_event"],"kind":"struct"},"8283":{"crate_id":2,"path":["core","iter","sources","successors","Successors"],"kind":"struct"},"4759":{"crate_id":0,"path":["tokio","task","coop"],"kind":"module"},"10372":{"crate_id":33,"path":["io_uring","sys","io_uring_sqe__bindgen_ty_5__bindgen_ty_1"],"kind":"struct"},"8610":{"crate_id":3,"path":["alloc","collections","vec_deque","shrink_to","Guard"],"kind":"struct"},"1562":{"crate_id":0,"path":["tokio","io","util","write_all","WriteAll"],"kind":"struct"},"10699":{"crate_id":39,"path":["gimli","read","pubnames","PubNamesEntry"],"kind":"struct"},"7175":{"crate_id":0,"path":["tokio","task","builder","Builder"],"kind":"struct"},"8937":{"crate_id":5,"path":["libc","unix","linux_like","linux","__c_anonymous_xsk_tx_metadata_union"],"kind":"union"},"9264":{"crate_id":16,"path":["gimli","read","abbrev","AbbreviationsCache"],"kind":"struct"},"11026":{"crate_id":40,"path":["object","macho","DyldSubCacheEntryV1"],"kind":"struct"},"3978":{"crate_id":0,"path":["tokio","runtime","metrics","histogram","h2_histogram","LogHistogram"],"kind":"struct"},"454":{"crate_id":0,"path":["tokio","fs","remove_dir_all","remove_dir_all"],"kind":"function"},"7829":{"crate_id":1,"path":["std","collections","hash","map","OccupiedEntry"],"kind":"struct"},"9591":{"crate_id":17,"path":["object","read","pe","rich","RichHeaderInfo"],"kind":"struct"},"11353":{"crate_id":2,"path":["core","ptr","without_provenance"],"kind":"function"},"9918":{"crate_id":22,"path":["lock_api","remutex","ReentrantMutex"],"kind":"struct"},"8156":{"crate_id":2,"path":["core","num","float_parse","FloatErrorKind"],"kind":"enum"},"8483":{"crate_id":2,"path":["core","ops","bit","BitAndAssign"],"kind":"trait"},"10245":{"crate_id":27,"path":["libc","unix","linux_like","linux_l4re_shared","Elf32_Sym"],"kind":"struct"},"10572":{"crate_id":39,"path":["gimli","constants","DwDefaulted"],"kind":"struct"},"8810":{"crate_id":5,"path":["libc","unix","linux_like","linux","tpacket_stats_v3"],"kind":"struct"}},"external_crates":{"44":{"name":"tokio_macros","html_root_url":"https://docs.rs/tokio-macros/2.7.1/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/debug/deps/libtokio_macros-8dbb690e340d971e.so"},"22":{"name":"lock_api","html_root_url":"https://docs.rs/lock_api/0.4.14/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/liblock_api-42e5867f82d93ad6.rmeta"},"3":{"name":"alloc","html_root_url":"https://doc.rust-lang.org/nightly/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c1e6b2550c724aad.rmeta"},"47":{"name":"socket2","html_root_url":"https://docs.rs/socket2/0.6.4/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libsocket2-b64a88d109026a40.rmeta"},"25":{"name":"smallvec","html_root_url":"https://docs.rs/smallvec/1.15.1/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libsmallvec-7c9db62d6b063961.rmeta"},"6":{"name":"rustc_std_workspace_core","html_root_url":"https://doc.rust-lang.org/nightly/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-e09ae1d627fcdb49.rmeta"},"28":{"name":"tracing","html_root_url":"https://docs.rs/tracing/0.1.44/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libtracing-2332e9fb7a54a59d.rmeta"},"9":{"name":"adler2","html_root_url":"https://docs.rs/adler2/2.0.1/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler2-f89cab2548c331eb.rmeta"},"31":{"name":"mio","html_root_url":"https://docs.rs/mio/1.2.1/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libmio-3d112a7ffa81149e.rmeta"},"12":{"name":"std_detect","html_root_url":"https://doc.rust-lang.org/nightly/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-ecb11932ec7b79e2.rmeta"},"34":{"name":"bitflags","html_root_url":"https://docs.rs/bitflags/2.11.1/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libbitflags-f81846cfeec43cdc.rmeta"},"15":{"name":"addr2line","html_root_url":"https://docs.rs/addr2line/0.25.1/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-eba1b97965333698.rmeta"},"37":{"name":"rustc_demangle","html_root_url":"https://docs.rs/rustc-demangle/0.1.27/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/librustc_demangle-67f6a2d17b150045.rmeta"},"18":{"name":"memchr","html_root_url":"https://docs.rs/memchr/2.8.1/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-41cb4e5414d35146.rmeta"},"40":{"name":"object","html_root_url":"https://docs.rs/object/0.37.3/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libobject-31a3600ff3b226b4.rmeta"},"21":{"name":"parking_lot","html_root_url":"https://docs.rs/parking_lot/0.12.5/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libparking_lot-4a9966d08e6ed885.rmeta"},"43":{"name":"adler2","html_root_url":"https://docs.rs/adler2/2.0.1/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libadler2-cec264a7a0f6bbf9.rmeta"},"2":{"name":"core","html_root_url":"https://doc.rust-lang.org/nightly/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-12f52b5fd4389540.rmeta"},"24":{"name":"parking_lot_core","html_root_url":"https://docs.rs/parking_lot_core/0.9.12/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libparking_lot_core-d2af0b1b671e53a8.rmeta"},"46":{"name":"errno","html_root_url":"https://docs.rs/errno/0.3.14/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/liberrno-27b74e70cc9241d9.rmeta"},"27":{"name":"libc","html_root_url":"https://docs.rs/libc/0.2.186/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/liblibc-de65a3043bc6c12f.rmeta"},"5":{"name":"libc","html_root_url":"https://docs.rs/libc/0.2.186/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e231efadfeadf411.rmeta"},"8":{"name":"miniz_oxide","html_root_url":"https://docs.rs/miniz_oxide/0.8.9/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b9fe9a8a36c29ee.rmeta"},"30":{"name":"once_cell","html_root_url":"https://docs.rs/once_cell/1.21.4/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libonce_cell-dfd652173fb097fe.rmeta"},"33":{"name":"io_uring","html_root_url":"https://docs.rs/io-uring/0.7.12/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libio_uring-0f4262249d1c41a4.rmeta"},"11":{"name":"rustc_std_workspace_alloc","html_root_url":"https://doc.rust-lang.org/nightly/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-a3c9111364fed246.rmeta"},"36":{"name":"backtrace","html_root_url":"https://docs.rs/backtrace/0.3.76/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libbacktrace-ad5f7ece815f5f7d.rmeta"},"14":{"name":"cfg_if","html_root_url":"https://docs.rs/cfg-if/1.0.4/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-3f2239d4f881ce50.rmeta"},"17":{"name":"object","html_root_url":"https://docs.rs/object/0.37.3/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-7e6275bba5937c15.rmeta"},"39":{"name":"gimli","html_root_url":"https://docs.rs/gimli/0.32.3/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libgimli-00bfef19adc3bfde.rmeta"},"20":{"name":"pin_project_lite","html_root_url":"https://docs.rs/pin-project-lite/0.2.17/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libpin_project_lite-3a97ddce9522bf71.rmeta"},"42":{"name":"miniz_oxide","html_root_url":"https://docs.rs/miniz_oxide/0.8.9/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libminiz_oxide-63b6c0fa0bb8e178.rmeta"},"1":{"name":"std","html_root_url":"https://doc.rust-lang.org/nightly/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1143cdb186b7e82f.rmeta"},"45":{"name":"signal_hook_registry","html_root_url":"https://docs.rs/signal-hook-registry/1.4.8/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libsignal_hook_registry-e0817483d4481075.rmeta"},"23":{"name":"scopeguard","html_root_url":"https://docs.rs/scopeguard/1.2.0/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libscopeguard-5552f840f8f4f62a.rmeta"},"4":{"name":"compiler_builtins","html_root_url":"https://doc.rust-lang.org/nightly/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-cf72fdf33ceae1ae.rmeta"},"26":{"name":"cfg_if","html_root_url":"https://docs.rs/cfg-if/1.0.4/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libcfg_if-fca84416493977ba.rmeta"},"7":{"name":"unwind","html_root_url":"https://doc.rust-lang.org/nightly/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-9670de9c9a1a43e4.rmeta"},"29":{"name":"tracing_core","html_root_url":"https://docs.rs/tracing-core/0.1.36/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libtracing_core-2e1be4fa49dfb855.rmeta"},"10":{"name":"hashbrown","html_root_url":"https://doc.rust-lang.org/nightly/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-ecf1ee2f14b59d7f.rmeta"},"32":{"name":"bytes","html_root_url":"https://docs.rs/bytes/1.11.1/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libbytes-25ef115b408631d0.rmeta"},"13":{"name":"rustc_demangle","html_root_url":"https://docs.rs/rustc-demangle/0.1.27/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c20b96772112d39e.rmeta"},"35":{"name":"slab","html_root_url":"https://docs.rs/slab/0.4.12/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libslab-24757c335aaf15d0.rmeta"},"16":{"name":"gimli","html_root_url":"https://docs.rs/gimli/0.32.3/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-6a07f992e573cbb2.rmeta"},"38":{"name":"addr2line","html_root_url":"https://docs.rs/addr2line/0.25.1/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libaddr2line-045189442322b322.rmeta"},"19":{"name":"panic_unwind","html_root_url":"https://doc.rust-lang.org/nightly/","path":"/opt/rustwide/rustup-home/toolchains/nightly-2026-07-16-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-8acaeb7f32696b23.rmeta"},"41":{"name":"memchr","html_root_url":"https://docs.rs/memchr/2.8.1/x86_64-unknown-linux-gnu/","path":"/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libmemchr-414700f3af9ee363.rmeta"}},"target":{"triple":"x86_64-unknown-linux-gnu","target_features":[{"name":"adx","implies_features":[],"unstable_feature_gate":null,"globally_enabled":false},{"name":"aes","implies_features":["sse2"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"amx-avx512","implies_features":["amx-tile"],"unstable_feature_gate":"x86_amx_intrinsics","globally_enabled":false},{"name":"amx-bf16","implies_features":["amx-tile"],"unstable_feature_gate":"x86_amx_intrinsics","globally_enabled":false},{"name":"amx-complex","implies_features":["amx-tile"],"unstable_feature_gate":"x86_amx_intrinsics","globally_enabled":false},{"name":"amx-fp8","implies_features":["amx-tile"],"unstable_feature_gate":"x86_amx_intrinsics","globally_enabled":false},{"name":"amx-fp16","implies_features":["amx-tile"],"unstable_feature_gate":"x86_amx_intrinsics","globally_enabled":false},{"name":"amx-int8","implies_features":["amx-tile"],"unstable_feature_gate":"x86_amx_intrinsics","globally_enabled":false},{"name":"amx-movrs","implies_features":["amx-tile"],"unstable_feature_gate":"x86_amx_intrinsics","globally_enabled":false},{"name":"amx-tile","implies_features":[],"unstable_feature_gate":"x86_amx_intrinsics","globally_enabled":false},{"name":"apxf","implies_features":[],"unstable_feature_gate":"apx_target_feature","globally_enabled":false},{"name":"avx","implies_features":["sse4.2"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx2","implies_features":["avx"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx10.1","implies_features":["avx512bf16","avx512bitalg","avx512bw","avx512cd","avx512dq","avx512f","avx512fp16","avx512ifma","avx512vbmi","avx512vbmi2","avx512vl","avx512vnni","avx512vpopcntdq"],"unstable_feature_gate":"avx10_target_feature","globally_enabled":false},{"name":"avx10.2","implies_features":["avx10.1","avxvnni","avxvnniint8","avxvnniint16"],"unstable_feature_gate":"avx10_target_feature","globally_enabled":false},{"name":"avx512bf16","implies_features":["avx512bw"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx512bitalg","implies_features":["avx512bw"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx512bw","implies_features":["avx512f"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx512cd","implies_features":["avx512f"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx512dq","implies_features":["avx512f"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx512f","implies_features":["avx2","fma","f16c"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx512fp16","implies_features":["avx512bw"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx512ifma","implies_features":["avx512f"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx512vbmi","implies_features":["avx512bw"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx512vbmi2","implies_features":["avx512bw"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx512vl","implies_features":["avx512f"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx512vnni","implies_features":["avx512f"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx512vp2intersect","implies_features":["avx512f"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avx512vpopcntdq","implies_features":["avx512f"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avxifma","implies_features":["avx2"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avxneconvert","implies_features":["avx2"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avxvnni","implies_features":["avx2"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avxvnniint8","implies_features":["avx2"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"avxvnniint16","implies_features":["avx2"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"bmi1","implies_features":[],"unstable_feature_gate":null,"globally_enabled":false},{"name":"bmi2","implies_features":[],"unstable_feature_gate":null,"globally_enabled":false},{"name":"clflushopt","implies_features":[],"unstable_feature_gate":"clflushopt_target_feature","globally_enabled":false},{"name":"cmpxchg16b","implies_features":[],"unstable_feature_gate":null,"globally_enabled":false},{"name":"ermsb","implies_features":[],"unstable_feature_gate":"ermsb_target_feature","globally_enabled":false},{"name":"f16c","implies_features":["avx"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"fma","implies_features":["avx"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"fma4","implies_features":["avx","sse4a"],"unstable_feature_gate":"fma4_target_feature","globally_enabled":false},{"name":"fxsr","implies_features":[],"unstable_feature_gate":null,"globally_enabled":true},{"name":"gfni","implies_features":["sse2"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"kl","implies_features":["sse2"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"lahfsahf","implies_features":[],"unstable_feature_gate":"lahfsahf_target_feature","globally_enabled":false},{"name":"lzcnt","implies_features":[],"unstable_feature_gate":null,"globally_enabled":false},{"name":"movbe","implies_features":[],"unstable_feature_gate":null,"globally_enabled":false},{"name":"movrs","implies_features":[],"unstable_feature_gate":"movrs_target_feature","globally_enabled":false},{"name":"pclmulqdq","implies_features":["sse2"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"popcnt","implies_features":[],"unstable_feature_gate":null,"globally_enabled":false},{"name":"prfchw","implies_features":[],"unstable_feature_gate":"prfchw_target_feature","globally_enabled":false},{"name":"rdrand","implies_features":[],"unstable_feature_gate":null,"globally_enabled":false},{"name":"rdseed","implies_features":[],"unstable_feature_gate":null,"globally_enabled":false},{"name":"rtm","implies_features":[],"unstable_feature_gate":"rtm_target_feature","globally_enabled":false},{"name":"sha","implies_features":["sse2"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"sha512","implies_features":["avx2"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"sm3","implies_features":["avx"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"sm4","implies_features":["avx2"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"sse","implies_features":[],"unstable_feature_gate":null,"globally_enabled":true},{"name":"sse2","implies_features":["sse"],"unstable_feature_gate":null,"globally_enabled":true},{"name":"sse3","implies_features":["sse2"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"sse4.1","implies_features":["ssse3"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"sse4.2","implies_features":["sse4.1"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"sse4a","implies_features":["sse3"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"ssse3","implies_features":["sse3"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"tbm","implies_features":[],"unstable_feature_gate":null,"globally_enabled":false},{"name":"vaes","implies_features":["avx2","aes"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"vpclmulqdq","implies_features":["avx","pclmulqdq"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"widekl","implies_features":["kl"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"x87","implies_features":[],"unstable_feature_gate":"x87_target_feature","globally_enabled":true},{"name":"xop","implies_features":["fma4","avx","sse4a"],"unstable_feature_gate":"xop_target_feature","globally_enabled":false},{"name":"xsave","implies_features":[],"unstable_feature_gate":null,"globally_enabled":false},{"name":"xsavec","implies_features":["xsave"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"xsaveopt","implies_features":["xsave"],"unstable_feature_gate":null,"globally_enabled":false},{"name":"xsaves","implies_features":["xsave"],"unstable_feature_gate":null,"globally_enabled":false}]},"format_version":60}