blob: d10f6476d8b70b1786ce863ce89a4e96e6d011c9 [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="Source of the Rust file `src/services/surrealdb/mod.rs`."><title>mod.rs - source</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="../../../../static.files/src-script-b8d3f215.js"></script><script defer src="../../../../src-files.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 src"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="src-sidebar-title"><h2>Files</h2></div></nav><div class="sidebar-resizer"></div><main><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1><div class="sub-heading">opendal/services/surrealdb/</div>mod.rs</h1><rustdoc-toolbar></rustdoc-toolbar></div><div class="example-wrap digits-2"><pre class="rust"><code><a href=#1 id=1 data-nosnippet>1</a><span class="comment">// Licensed to the Apache Software Foundation (ASF) under one
<a href=#2 id=2 data-nosnippet>2</a>// or more contributor license agreements. See the NOTICE file
<a href=#3 id=3 data-nosnippet>3</a>// distributed with this work for additional information
<a href=#4 id=4 data-nosnippet>4</a>// regarding copyright ownership. The ASF licenses this file
<a href=#5 id=5 data-nosnippet>5</a>// to you under the Apache License, Version 2.0 (the
<a href=#6 id=6 data-nosnippet>6</a>// "License"); you may not use this file except in compliance
<a href=#7 id=7 data-nosnippet>7</a>// with the License. You may obtain a copy of the License at
<a href=#8 id=8 data-nosnippet>8</a>//
<a href=#9 id=9 data-nosnippet>9</a>// http://www.apache.org/licenses/LICENSE-2.0
<a href=#10 id=10 data-nosnippet>10</a>//
<a href=#11 id=11 data-nosnippet>11</a>// Unless required by applicable law or agreed to in writing,
<a href=#12 id=12 data-nosnippet>12</a>// software distributed under the License is distributed on an
<a href=#13 id=13 data-nosnippet>13</a>// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
<a href=#14 id=14 data-nosnippet>14</a>// KIND, either express or implied. See the License for the
<a href=#15 id=15 data-nosnippet>15</a>// specific language governing permissions and limitations
<a href=#16 id=16 data-nosnippet>16</a>// under the License.
<a href=#17 id=17 data-nosnippet>17</a>
<a href=#18 id=18 data-nosnippet>18</a></span><span class="attr">#[cfg(feature = <span class="string">"services-surrealdb"</span>)]
<a href=#19 id=19 data-nosnippet>19</a></span><span class="kw">mod </span>backend;
<a href=#20 id=20 data-nosnippet>20</a><span class="attr">#[cfg(feature = <span class="string">"services-surrealdb"</span>)]
<a href=#21 id=21 data-nosnippet>21</a></span><span class="kw">pub use </span>backend::SurrealdbBuilder <span class="kw">as </span>Surrealdb;
<a href=#22 id=22 data-nosnippet>22</a>
<a href=#23 id=23 data-nosnippet>23</a><span class="kw">mod </span>config;
<a href=#24 id=24 data-nosnippet>24</a><span class="kw">pub use </span>config::SurrealdbConfig;</code></pre></div></section></main></body></html>