blob: bef1667276943aa222e26d9e670976b98ec4735d [file] [log] [blame]
<!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="LayeredAccess is layered accessor that forward all not implemented method to inner."><title>LayeredAccess in opendal::raw - 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" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-916cea96.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="opendal" data-themes="" data-resource-suffix="" data-rustdoc-version="1.87.0-nightly (43a2e9d2c 2025-03-17)" data-channel="nightly" data-search-js="search-e7298875.js" data-settings-js="settings-d72f25bb.js"><script src="../../static.files/storage-d8ac8691.js"></script><script defer="" src="sidebar-items.js"></script><script defer="" src="../../static.files/main-fb8c74a8.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../opendal/index.html"><img src="/img/external/71c0d8847d34b7f8ce3fd204c652c6f9.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../opendal/index.html"><img src="/img/external/71c0d8847d34b7f8ce3fd204c652c6f9.svg" alt="logo"></a><h2><a href="../../opendal/index.html">opendal</a><span class="version">0.53.3</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Layered<wbr>Access</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Deleter" title="Deleter">Deleter</a></li><li><a href="#associatedtype.Inner" title="Inner">Inner</a></li><li><a href="#associatedtype.Lister" title="Lister">Lister</a></li><li><a href="#associatedtype.Reader" title="Reader">Reader</a></li><li><a href="#associatedtype.Writer" title="Writer">Writer</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.delete" title="delete">delete</a></li><li><a href="#tymethod.inner" title="inner">inner</a></li><li><a href="#tymethod.list" title="list">list</a></li><li><a href="#tymethod.read" title="read">read</a></li><li><a href="#tymethod.write" title="write">write</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.copy" title="copy">copy</a></li><li><a href="#method.create_dir" title="create_dir">create_dir</a></li><li><a href="#method.info" title="info">info</a></li><li><a href="#method.presign" title="presign">presign</a></li><li><a href="#method.rename" title="rename">rename</a></li><li><a href="#method.stat" title="stat">stat</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 opendal::<wbr>raw</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">opendal</a>::<wbr><a href="index.html">raw</a></div><h1>Trait <span class="trait">LayeredAccess</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/opendal/raw/layer.rs.html#109-180">Source</a> </span></div><pre class="rust item-decl"><code>pub trait LayeredAccess:
<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>
+ <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>
+ <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>
+ <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>
+ 'static {
type <a href="#associatedtype.Inner" class="associatedtype">Inner</a>: <a class="trait" href="trait.Access.html" title="trait opendal::raw::Access">Access</a>;
type <a href="#associatedtype.Reader" class="associatedtype">Reader</a>: <a class="trait" href="oio/trait.Read.html" title="trait opendal::raw::oio::Read">Read</a>;
type <a href="#associatedtype.Writer" class="associatedtype">Writer</a>: <a class="trait" href="oio/trait.Write.html" title="trait opendal::raw::oio::Write">Write</a>;
type <a href="#associatedtype.Lister" class="associatedtype">Lister</a>: <a class="trait" href="oio/trait.List.html" title="trait opendal::raw::oio::List">List</a>;
type <a href="#associatedtype.Deleter" class="associatedtype">Deleter</a>: <a class="trait" href="oio/trait.Delete.html" title="trait opendal::raw::oio::Delete">Delete</a>;
// Required methods
fn <a href="#tymethod.inner" class="fn">inner</a>(&amp;self) -&gt; &amp;Self::<a class="associatedtype" href="trait.LayeredAccess.html#associatedtype.Inner" title="type opendal::raw::LayeredAccess::Inner">Inner</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.read" class="fn">read</a>(
&amp;self,
path: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpRead.html" title="struct opendal::raw::OpRead">OpRead</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;(<a class="struct" href="struct.RpRead.html" title="struct opendal::raw::RpRead">RpRead</a>, Self::<a class="associatedtype" href="trait.LayeredAccess.html#associatedtype.Reader" title="type opendal::raw::LayeredAccess::Reader">Reader</a>)&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.write" class="fn">write</a>(
&amp;self,
path: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpWrite.html" title="struct opendal::raw::OpWrite">OpWrite</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;(<a class="struct" href="struct.RpWrite.html" title="struct opendal::raw::RpWrite">RpWrite</a>, Self::<a class="associatedtype" href="trait.LayeredAccess.html#associatedtype.Writer" title="type opendal::raw::LayeredAccess::Writer">Writer</a>)&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.delete" class="fn">delete</a>(
&amp;self,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;(<a class="struct" href="struct.RpDelete.html" title="struct opendal::raw::RpDelete">RpDelete</a>, Self::<a class="associatedtype" href="trait.LayeredAccess.html#associatedtype.Deleter" title="type opendal::raw::LayeredAccess::Deleter">Deleter</a>)&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.list" class="fn">list</a>(
&amp;self,
path: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpList.html" title="struct opendal::raw::OpList">OpList</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;(<a class="struct" href="struct.RpList.html" title="struct opendal::raw::RpList">RpList</a>, Self::<a class="associatedtype" href="trait.LayeredAccess.html#associatedtype.Lister" title="type opendal::raw::LayeredAccess::Lister">Lister</a>)&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a>;
// Provided methods
fn <a href="#method.info" class="fn">info</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="struct.AccessorInfo.html" title="struct opendal::raw::AccessorInfo">AccessorInfo</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.create_dir" class="fn">create_dir</a>(
&amp;self,
path: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpCreateDir.html" title="struct opendal::raw::OpCreateDir">OpCreateDir</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;<a class="struct" href="struct.RpCreateDir.html" title="struct opendal::raw::RpCreateDir">RpCreateDir</a>&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a> { ... }
<span class="item-spacer"></span> fn <a href="#method.copy" class="fn">copy</a>(
&amp;self,
from: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
to: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpCopy.html" title="struct opendal::raw::OpCopy">OpCopy</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;<a class="struct" href="struct.RpCopy.html" title="struct opendal::raw::RpCopy">RpCopy</a>&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a> { ... }
<span class="item-spacer"></span> fn <a href="#method.rename" class="fn">rename</a>(
&amp;self,
from: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
to: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpRename.html" title="struct opendal::raw::OpRename">OpRename</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;<a class="struct" href="struct.RpRename.html" title="struct opendal::raw::RpRename">RpRename</a>&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a> { ... }
<span class="item-spacer"></span> fn <a href="#method.stat" class="fn">stat</a>(
&amp;self,
path: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpStat.html" title="struct opendal::raw::OpStat">OpStat</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;<a class="struct" href="struct.RpStat.html" title="struct opendal::raw::RpStat">RpStat</a>&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a> { ... }
<span class="item-spacer"></span> fn <a href="#method.presign" class="fn">presign</a>(
&amp;self,
path: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpPresign.html" title="struct opendal::raw::OpPresign">OpPresign</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;<a class="struct" href="struct.RpPresign.html" title="struct opendal::raw::RpPresign">RpPresign</a>&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a> { ... }
}</code></pre><details class="toggle top-doc" open=""><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>LayeredAccess is layered accessor that forward all not implemented
method to inner.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.Inner" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#110">Source</a><h4 class="code-header">type <a href="#associatedtype.Inner" class="associatedtype">Inner</a>: <a class="trait" href="trait.Access.html" title="trait opendal::raw::Access">Access</a></h4></section><section id="associatedtype.Reader" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#112">Source</a><h4 class="code-header">type <a href="#associatedtype.Reader" class="associatedtype">Reader</a>: <a class="trait" href="oio/trait.Read.html" title="trait opendal::raw::oio::Read">Read</a></h4></section><section id="associatedtype.Writer" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#113">Source</a><h4 class="code-header">type <a href="#associatedtype.Writer" class="associatedtype">Writer</a>: <a class="trait" href="oio/trait.Write.html" title="trait opendal::raw::oio::Write">Write</a></h4></section><section id="associatedtype.Lister" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#114">Source</a><h4 class="code-header">type <a href="#associatedtype.Lister" class="associatedtype">Lister</a>: <a class="trait" href="oio/trait.List.html" title="trait opendal::raw::oio::List">List</a></h4></section><section id="associatedtype.Deleter" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#115">Source</a><h4 class="code-header">type <a href="#associatedtype.Deleter" class="associatedtype">Deleter</a>: <a class="trait" href="oio/trait.Delete.html" title="trait opendal::raw::oio::Delete">Delete</a></h4></section></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.inner" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#117">Source</a><h4 class="code-header">fn <a href="#tymethod.inner" class="fn">inner</a>(&amp;self) -&gt; &amp;Self::<a class="associatedtype" href="trait.LayeredAccess.html#associatedtype.Inner" title="type opendal::raw::LayeredAccess::Inner">Inner</a></h4></section><section id="tymethod.read" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#131-135">Source</a><h4 class="code-header">fn <a href="#tymethod.read" class="fn">read</a>(
&amp;self,
path: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpRead.html" title="struct opendal::raw::OpRead">OpRead</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;(<a class="struct" href="struct.RpRead.html" title="struct opendal::raw::RpRead">RpRead</a>, Self::<a class="associatedtype" href="trait.LayeredAccess.html#associatedtype.Reader" title="type opendal::raw::LayeredAccess::Reader">Reader</a>)&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a></h4></section><section id="tymethod.write" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#137-141">Source</a><h4 class="code-header">fn <a href="#tymethod.write" class="fn">write</a>(
&amp;self,
path: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpWrite.html" title="struct opendal::raw::OpWrite">OpWrite</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;(<a class="struct" href="struct.RpWrite.html" title="struct opendal::raw::RpWrite">RpWrite</a>, Self::<a class="associatedtype" href="trait.LayeredAccess.html#associatedtype.Writer" title="type opendal::raw::LayeredAccess::Writer">Writer</a>)&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a></h4></section><section id="tymethod.delete" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#165">Source</a><h4 class="code-header">fn <a href="#tymethod.delete" class="fn">delete</a>(
&amp;self,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;(<a class="struct" href="struct.RpDelete.html" title="struct opendal::raw::RpDelete">RpDelete</a>, Self::<a class="associatedtype" href="trait.LayeredAccess.html#associatedtype.Deleter" title="type opendal::raw::LayeredAccess::Deleter">Deleter</a>)&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a></h4></section><section id="tymethod.list" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#167-171">Source</a><h4 class="code-header">fn <a href="#tymethod.list" class="fn">list</a>(
&amp;self,
path: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpList.html" title="struct opendal::raw::OpList">OpList</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;(<a class="struct" href="struct.RpList.html" title="struct opendal::raw::RpList">RpList</a>, Self::<a class="associatedtype" href="trait.LayeredAccess.html#associatedtype.Lister" title="type opendal::raw::LayeredAccess::Lister">Lister</a>)&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a></h4></section></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><section id="method.info" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#119-121">Source</a><h4 class="code-header">fn <a href="#method.info" class="fn">info</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="struct.AccessorInfo.html" title="struct opendal::raw::AccessorInfo">AccessorInfo</a>&gt;</h4></section><section id="method.create_dir" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#123-129">Source</a><h4 class="code-header">fn <a href="#method.create_dir" class="fn">create_dir</a>(
&amp;self,
path: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpCreateDir.html" title="struct opendal::raw::OpCreateDir">OpCreateDir</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;<a class="struct" href="struct.RpCreateDir.html" title="struct opendal::raw::RpCreateDir">RpCreateDir</a>&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a></h4></section><section id="method.copy" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#143-150">Source</a><h4 class="code-header">fn <a href="#method.copy" class="fn">copy</a>(
&amp;self,
from: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
to: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpCopy.html" title="struct opendal::raw::OpCopy">OpCopy</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;<a class="struct" href="struct.RpCopy.html" title="struct opendal::raw::RpCopy">RpCopy</a>&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a></h4></section><section id="method.rename" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#152-159">Source</a><h4 class="code-header">fn <a href="#method.rename" class="fn">rename</a>(
&amp;self,
from: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
to: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpRename.html" title="struct opendal::raw::OpRename">OpRename</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;<a class="struct" href="struct.RpRename.html" title="struct opendal::raw::RpRename">RpRename</a>&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a></h4></section><section id="method.stat" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#161-163">Source</a><h4 class="code-header">fn <a href="#method.stat" class="fn">stat</a>(
&amp;self,
path: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpStat.html" title="struct opendal::raw::OpStat">OpStat</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;<a class="struct" href="struct.RpStat.html" title="struct opendal::raw::RpStat">RpStat</a>&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</a></h4></section><section id="method.presign" class="method"><a class="src rightside" href="../../src/opendal/raw/layer.rs.html#173-179">Source</a><h4 class="code-header">fn <a href="#method.presign" class="fn">presign</a>(
&amp;self,
path: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
args: <a class="struct" href="struct.OpPresign.html" title="struct opendal::raw::OpPresign">OpPresign</a>,
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../type.Result.html" title="type opendal::Result">Result</a>&lt;<a class="struct" href="struct.RpPresign.html" title="struct opendal::raw::RpPresign">RpPresign</a>&gt;&gt; + <a class="trait" href="trait.MaybeSend.html" title="trait opendal::raw::MaybeSend">MaybeSend</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/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-LayeredAccess-for-MetricsAccessor%3CA,+I%3E" class="impl"><a class="src rightside" href="../../src/opendal/layers/observe/metrics.rs.html#531-785">Source</a><a href="#impl-LayeredAccess-for-MetricsAccessor%3CA,+I%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A: <a class="trait" href="trait.Access.html" title="trait opendal::raw::Access">Access</a>, I: <a class="trait" href="../layers/observe/trait.MetricsIntercept.html" title="trait opendal::layers::observe::MetricsIntercept">MetricsIntercept</a>&gt; <a class="trait" href="trait.LayeredAccess.html" title="trait opendal::raw::LayeredAccess">LayeredAccess</a> for <a class="struct" href="../layers/observe/struct.MetricsAccessor.html" title="struct opendal::layers::observe::MetricsAccessor">MetricsAccessor</a>&lt;A, I&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Inner-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/opendal/layers/observe/metrics.rs.html#532">Source</a><a href="#associatedtype.Inner-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Inner" class="associatedtype">Inner</a> = A</h4></section><section id="associatedtype.Reader-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/opendal/layers/observe/metrics.rs.html#533">Source</a><a href="#associatedtype.Reader-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Reader" class="associatedtype">Reader</a> = MetricsWrapper&lt;&lt;A as <a class="trait" href="trait.Access.html" title="trait opendal::raw::Access">Access</a>&gt;::<a class="associatedtype" href="trait.Access.html#associatedtype.Reader" title="type opendal::raw::Access::Reader">Reader</a>, I&gt;</h4></section><section id="associatedtype.Writer-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/opendal/layers/observe/metrics.rs.html#534">Source</a><a href="#associatedtype.Writer-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Writer" class="associatedtype">Writer</a> = MetricsWrapper&lt;&lt;A as <a class="trait" href="trait.Access.html" title="trait opendal::raw::Access">Access</a>&gt;::<a class="associatedtype" href="trait.Access.html#associatedtype.Writer" title="type opendal::raw::Access::Writer">Writer</a>, I&gt;</h4></section><section id="associatedtype.Lister-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/opendal/layers/observe/metrics.rs.html#535">Source</a><a href="#associatedtype.Lister-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Lister" class="associatedtype">Lister</a> = MetricsWrapper&lt;&lt;A as <a class="trait" href="trait.Access.html" title="trait opendal::raw::Access">Access</a>&gt;::<a class="associatedtype" href="trait.Access.html#associatedtype.Lister" title="type opendal::raw::Access::Lister">Lister</a>, I&gt;</h4></section><section id="associatedtype.Deleter-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/opendal/layers/observe/metrics.rs.html#536">Source</a><a href="#associatedtype.Deleter-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Deleter" class="associatedtype">Deleter</a> = MetricsWrapper&lt;&lt;A as <a class="trait" href="trait.Access.html" title="trait opendal::raw::Access">Access</a>&gt;::<a class="associatedtype" href="trait.Access.html#associatedtype.Deleter" title="type opendal::raw::Access::Deleter">Deleter</a>, I&gt;</h4></section></div></details></div><script src="../../trait.impl/opendal/raw/layer/trait.LayeredAccess.js" async=""></script></section></div></main></body></html>