mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-12-04 00:15:29 +00:00
5 lines
15 KiB
HTML
5 lines
15 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `MetadataValue` trait in crate `mito2`."><title>MetadataValue in mito2::cache::columnar - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-1ed95124.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="mito2" data-themes="" data-resource-suffix="" data-rustdoc-version="1.98.1 (48a229cea 2026-09-01)" data-channel="1.98.1" data-search-js="search-9944d736.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-417ebf0a.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">MetadataValue</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../mito2/index.html">mito2</a><span class="version">1.4.0-alpha.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Metadata<wbr>Value</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.extract" title="extract">extract</a></li><li><a href="#tymethod.wrap" title="wrap">wrap</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-MetadataValue-for-(Arc%3CManifest%3E,+Arc%3CSchema%3E)" title="(Arc<Manifest>, SchemaRef)">(Arc<Manifest>, SchemaRef)</a></li><li><a href="#impl-MetadataValue-for-Vec%3CGroup%3E" title="Vec<Group>">Vec<Group></a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In mito2::<wbr>cache::<wbr>columnar</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content" tabindex="-1"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">mito2</a>::<wbr><a href="../index.html">cache</a>::<wbr><a href="index.html">columnar</a></div><h1>Trait <span class="trait">Metadata<wbr>Value</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/mito2/cache/columnar.rs.html#73-76">Source</a> </span></div><pre class="rust item-decl"><code>pub(crate) trait MetadataValue: <a class="trait" href="https://doc.rust-lang.org/1.98.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
|
|
// Required methods
|
|
fn <a href="#tymethod.wrap" class="fn">wrap</a>(value: <a class="struct" href="https://doc.rust-lang.org/1.98.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self>) -> <a class="enum" href="enum.NarthexMetadata.html" title="enum mito2::cache::columnar::NarthexMetadata">NarthexMetadata</a>;
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.extract" class="fn">extract</a>(value: <a class="enum" href="enum.NarthexMetadata.html" title="enum mito2::cache::columnar::NarthexMetadata">NarthexMetadata</a>) -> <a class="struct" href="https://doc.rust-lang.org/1.98.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self> <a href="#" class="tooltip" data-notable-ty="Arc<Self>">ⓘ</a>;
|
|
}</code></pre><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.wrap" class="method"><a class="src rightside" href="../../../src/mito2/cache/columnar.rs.html#74">Source</a><h4 class="code-header">fn <a href="#tymethod.wrap" class="fn">wrap</a>(value: <a class="struct" href="https://doc.rust-lang.org/1.98.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self>) -> <a class="enum" href="enum.NarthexMetadata.html" title="enum mito2::cache::columnar::NarthexMetadata">NarthexMetadata</a></h4></section><section id="tymethod.extract" class="method"><a class="src rightside" href="../../../src/mito2/cache/columnar.rs.html#75">Source</a><h4 class="code-header">fn <a href="#tymethod.extract" class="fn">extract</a>(value: <a class="enum" href="enum.NarthexMetadata.html" title="enum mito2::cache::columnar::NarthexMetadata">NarthexMetadata</a>) -> <a class="struct" href="https://doc.rust-lang.org/1.98.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self> <a href="#" class="tooltip" data-notable-ty="Arc<Self>">ⓘ</a></h4></section></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.98.1/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety".</i></p></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-MetadataValue-for-(Arc%3CManifest%3E,+Arc%3CSchema%3E)" class="impl"><a class="src rightside" href="../../../src/mito2/cache/columnar.rs.html#93">Source</a><a href="#impl-MetadataValue-for-(Arc%3CManifest%3E,+Arc%3CSchema%3E)" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MetadataValue.html" title="trait mito2::cache::columnar::MetadataValue">MetadataValue</a> for (<a class="struct" href="https://doc.rust-lang.org/1.98.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><<a class="struct" href="../../series_index/columnar/struct.Manifest.html" title="struct mito2::series_index::columnar::Manifest">Manifest</a>>, SchemaRef)</h3></section></summary><div class="impl-items"><section id="method.wrap" class="method trait-impl"><a class="src rightside" href="../../../src/mito2/cache/columnar.rs.html#93">Source</a><a href="#method.wrap" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.wrap" class="fn">wrap</a>(value: <a class="struct" href="https://doc.rust-lang.org/1.98.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self>) -> <a class="enum" href="enum.NarthexMetadata.html" title="enum mito2::cache::columnar::NarthexMetadata">NarthexMetadata</a></h4></section><section id="method.extract" class="method trait-impl"><a class="src rightside" href="../../../src/mito2/cache/columnar.rs.html#93">Source</a><a href="#method.extract" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.extract" class="fn">extract</a>(value: <a class="enum" href="enum.NarthexMetadata.html" title="enum mito2::cache::columnar::NarthexMetadata">NarthexMetadata</a>) -> <a class="struct" href="https://doc.rust-lang.org/1.98.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self> <a href="#" class="tooltip" data-notable-ty="Arc<Self>">ⓘ</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-MetadataValue-for-Vec%3CGroup%3E" class="impl"><a class="src rightside" href="../../../src/mito2/cache/columnar.rs.html#96">Source</a><a href="#impl-MetadataValue-for-Vec%3CGroup%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MetadataValue.html" title="trait mito2::cache::columnar::MetadataValue">MetadataValue</a> for <a class="struct" href="https://doc.rust-lang.org/1.98.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../../series_index/samples/metadata/struct.Group.html" title="struct mito2::series_index::samples::metadata::Group">Group</a>></h3></section></summary><div class="impl-items"><section id="method.wrap-1" class="method trait-impl"><a class="src rightside" href="../../../src/mito2/cache/columnar.rs.html#96">Source</a><a href="#method.wrap-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.wrap" class="fn">wrap</a>(value: <a class="struct" href="https://doc.rust-lang.org/1.98.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self>) -> <a class="enum" href="enum.NarthexMetadata.html" title="enum mito2::cache::columnar::NarthexMetadata">NarthexMetadata</a></h4></section><section id="method.extract-1" class="method trait-impl"><a class="src rightside" href="../../../src/mito2/cache/columnar.rs.html#96">Source</a><a href="#method.extract-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.extract" class="fn">extract</a>(value: <a class="enum" href="enum.NarthexMetadata.html" title="enum mito2::cache::columnar::NarthexMetadata">NarthexMetadata</a>) -> <a class="struct" href="https://doc.rust-lang.org/1.98.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self> <a href="#" class="tooltip" data-notable-ty="Arc<Self>">ⓘ</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><div class="negative-marker"></div><section id="impl-MetadataValue-for-Page" class="impl"><a class="src rightside" href="../../../src/mito2/cache/columnar.rs.html#97">Source</a><a href="#impl-MetadataValue-for-Page" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MetadataValue.html" title="trait mito2::cache::columnar::MetadataValue">MetadataValue</a> for mito2::series_index::columnar::metadata::<a class="enum" href="../../series_index/columnar/metadata/enum.Page.html" title="enum mito2::series_index::columnar::metadata::Page">Page</a></h3></section><section id="impl-MetadataValue-for-Page-1" class="impl"><a class="src rightside" href="../../../src/mito2/cache/columnar.rs.html#98">Source</a><a href="#impl-MetadataValue-for-Page-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MetadataValue.html" title="trait mito2::cache::columnar::MetadataValue">MetadataValue</a> for mito2::series_index::samples::metadata::<a class="enum" href="../../series_index/samples/metadata/enum.Page.html" title="enum mito2::series_index::samples::metadata::Page">Page</a></h3></section><section id="impl-MetadataValue-for-SamplesDescriptor" class="impl"><a class="src rightside" href="../../../src/mito2/cache/columnar.rs.html#94">Source</a><a href="#impl-MetadataValue-for-SamplesDescriptor" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MetadataValue.html" title="trait mito2::cache::columnar::MetadataValue">MetadataValue</a> for <a class="struct" href="../../series_index/samples/reader/struct.SamplesDescriptor.html" title="struct mito2::series_index::samples::reader::SamplesDescriptor">SamplesDescriptor</a></h3></section><section id="impl-MetadataValue-for-Trailer" class="impl"><a class="src rightside" href="../../../src/mito2/cache/columnar.rs.html#95">Source</a><a href="#impl-MetadataValue-for-Trailer" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.MetadataValue.html" title="trait mito2::cache::columnar::MetadataValue">MetadataValue</a> for <a class="struct" href="../../series_index/columnar/metadata/struct.Trailer.html" title="struct mito2::series_index::columnar::metadata::Trailer">Trailer</a></h3></section></div><script src="../../../trait.impl/mito2/cache/columnar/trait.MetadataValue.js" data-ignore-extern-crates="std,alloc" async></script><script type="text/json" id="notable-traits-data">{"Arc<Self>":"<h3>Notable traits for <code><a class=\"struct\" href=\"https://doc.rust-lang.org/1.98.1/alloc/sync/struct.Arc.html\" title=\"struct alloc::sync::Arc\">Arc</a><R></code></h3><pre><code><div class=\"where\">impl<R> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.98.1/std/io/trait.Read.html\" title=\"trait std::io::Read\">Read</a> for <a class=\"struct\" href=\"https://doc.rust-lang.org/1.98.1/alloc/sync/struct.Arc.html\" title=\"struct alloc::sync::Arc\">Arc</a><R><div class=\"where\">where\n R: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.98.1/std/io/trait.Read.html\" title=\"trait std::io::Read\">Read</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.98.1/std/io/trait.IoHandle.html\" title=\"trait std::io::IoHandle\">IoHandle</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.98.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,\n <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.98.1/std/primitive.reference.html\">&'a R</a>: for<'a> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.98.1/std/io/trait.Read.html\" title=\"trait std::io::Read\">Read</a>,</div></div><div class=\"where\">impl<W> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.98.1/std/io/trait.Write.html\" title=\"trait std::io::Write\">Write</a> for <a class=\"struct\" href=\"https://doc.rust-lang.org/1.98.1/alloc/sync/struct.Arc.html\" title=\"struct alloc::sync::Arc\">Arc</a><W><div class=\"where\">where\n W: <a class=\"trait\" href=\"https://doc.rust-lang.org/1.98.1/std/io/trait.Write.html\" title=\"trait std::io::Write\">Write</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/1.98.1/std/io/trait.IoHandle.html\" title=\"trait std::io::IoHandle\">IoHandle</a> + ?<a class=\"trait\" href=\"https://doc.rust-lang.org/1.98.1/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,\n <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.98.1/std/primitive.reference.html\">&'a W</a>: for<'a> <a class=\"trait\" href=\"https://doc.rust-lang.org/1.98.1/std/io/trait.Write.html\" title=\"trait std::io::Write\">Write</a>,</div></div>"}</script></section></div></main></body></html> |