index.html 9.2 KB

123
  1. <!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 `database` crate."><meta name="keywords" content="rust, rustlang, rust-lang, database"><title>database - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../normalize.css"><link rel="stylesheet" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../ayu.css" disabled><link rel="stylesheet" href="../dark.css" disabled><link rel="stylesheet" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="../crates.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc mod crate"><!--[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">&#9776;</button><a class="sidebar-logo" href="../database/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../database/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Crate database</a></h2><div class="sidebar-elems"><div class="block"><ul><li class="version">Version 0.1.0</li><li><a id="all-types" href="all.html">All Items</a></li></ul></div><section><div class="block"><ul><li><a href="#reexports">Re-exports</a></li><li><a href="#modules">Modules</a></li><li><a href="#macros">Macros</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Definitions</a></li></ul></div></section></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../database/index.html"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Crate <a class="mod" href="#">database</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/database/lib.rs.html#2-201">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="reexports" class="small-section-header"><a href="#reexports">Re-exports</a></h2><div class="item-table"><div class="item-row"><div class="item-left import-item" id="reexport.DatabaseError"><code>pub use crate::error::<a class="enum" href="error/enum.DatabaseError.html" title="enum database::error::DatabaseError">DatabaseError</a>;</code></div></div><div class="item-row"><div class="item-left import-item" id="reexport.write_tx"><code>pub use crate::rw_pool::<a class="fn" href="rw_pool/fn.write_tx.html" title="fn database::rw_pool::write_tx">write_tx</a>;</code></div></div></div><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="mod" href="asset/index.html" title="database::asset mod">asset</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="compact_mediafile/index.html" title="database::compact_mediafile mod">compact_mediafile</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="episode/index.html" title="database::episode mod">episode</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="error/index.html" title="database::error mod">error</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="genre/index.html" title="database::genre mod">genre</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="library/index.html" title="database::library mod">library</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="media/index.html" title="database::media mod">media</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="mediafile/index.html" title="database::mediafile mod">mediafile</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="movie/index.html" title="database::movie mod">movie</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="progress/index.html" title="database::progress mod">progress</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="query_ext/index.html" title="database::query_ext mod">query_ext</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="rw_pool/index.html" title="database::rw_pool mod">rw_pool</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="season/index.html" title="database::season mod">season</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="tv/index.html" title="database::tv mod">tv</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="user/index.html" title="database::user mod">user</a></div></div><div class="item-row"><div class="item-left module-item"><a class="mod" href="utils/index.html" title="database::utils mod">utils</a></div></div></div><h2 id="macros" class="small-section-header"><a href="#macros">Macros</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="macro" href="macro.opt_update.html" title="database::opt_update macro">opt_update</a></div></div></div><h2 id="functions" class="small-section-header"><a href="#functions">Functions</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.generate_key.html" title="database::generate_key fn">generate_key</a></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.get_conn.html" title="database::get_conn fn">get_conn</a></div><div class="item-right docblock-short">Function which returns a Result&lt;T, E&gt; where T is a new connection session or E is a connection
  2. error.</div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.get_conn_logged.html" title="database::get_conn_logged fn">get_conn_logged</a></div><div class="item-right docblock-short">Function which returns a Result&lt;T, E&gt; where T is a new connection session or E is a connection
  3. error. It takes in a logger instance.</div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.get_conn_memory.html" title="database::get_conn_memory fn">get_conn_memory</a></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.set_key.html" title="database::set_key fn">set_key</a></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.try_get_conn.html" title="database::try_get_conn fn">try_get_conn</a></div></div></div><h2 id="types" class="small-section-header"><a href="#types">Type Definitions</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="type" href="type.DbConnection.html" title="database::DbConnection type">DbConnection</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.Transaction.html" title="database::Transaction type">Transaction</a></div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="database" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (e7119a030 2022-09-22)" ></div></body></html>