189 lines
35 KiB
HTML
189 lines
35 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 `MentatError` enum in crate `public_traits`.">
|
|||
|
<meta name="keywords" content="rust, rustlang, rust-lang, MentatError">
|
|||
|
|
|||
|
<title>public_traits::errors::MentatError - Rust</title>
|
|||
|
|
|||
|
<link rel="stylesheet" type="text/css" href="../../normalize.css">
|
|||
|
<link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle">
|
|||
|
|
|||
|
<link rel="stylesheet" type="text/css" href="../../dark.css">
|
|||
|
<link rel="stylesheet" type="text/css" href="../../main.css" id="themeStyle">
|
|||
|
<script src="../../storage.js"></script>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</head>
|
|||
|
<body class="rustdoc enum">
|
|||
|
<!--[if lte IE 8]>
|
|||
|
<div class="warning">
|
|||
|
This old browser is unsupported and will most likely display funky
|
|||
|
things.
|
|||
|
</div>
|
|||
|
<![endif]-->
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<nav class="sidebar">
|
|||
|
<div class="sidebar-menu">☰</div>
|
|||
|
|
|||
|
<p class='location'>Enum MentatError</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.BadUuid">BadUuid</a><a href="#variant.PathAlreadyExists">PathAlreadyExists</a><a href="#variant.UnboundVariables">UnboundVariables</a><a href="#variant.InvalidArgumentName">InvalidArgumentName</a><a href="#variant.UnknownAttribute">UnknownAttribute</a><a href="#variant.InvalidVocabularyVersion">InvalidVocabularyVersion</a><a href="#variant.ConflictingAttributeDefinitions">ConflictingAttributeDefinitions</a><a href="#variant.ExistingVocabularyTooNew">ExistingVocabularyTooNew</a><a href="#variant.UnexpectedCoreSchema">UnexpectedCoreSchema</a><a href="#variant.UnexpectedLostTransactRace">UnexpectedLostTransactRace</a><a href="#variant.MissingCoreVocabulary">MissingCoreVocabulary</a><a href="#variant.PreparedQuerySchemaMismatch">PreparedQuerySchemaMismatch</a><a href="#variant.ValueTypeMismatch">ValueTypeMismatch</a><a href="#variant.IoError">IoError</a><a href="#variant.NotYetImplemented">NotYetImplemented</a><a href="#variant.RusqliteError">RusqliteError</a><a href="#variant.EdnParseError">EdnParseError</a><a href="#variant.DbError">DbError</a><a href="#variant.AlgebrizerError">AlgebrizerError</a><a href="#variant.ProjectorError">ProjectorError</a><a href="#variant.PullError">PullError</a><a href="#variant.SQLError">SQLError</a><a href="#variant.TolstoyError">TolstoyError</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Debug">Debug</a><a href="#impl-From%3CError%3E">From<Error></a><a href="#impl-From%3CParseError%3E">From<ParseError></a><a href="#impl-From%3CDbError%3E">From<DbError></a><a href="#impl-From%3CAlgebrizerError%3E">From<AlgebrizerError></a><a href="#impl-From%3CProjectorError%3E">From<ProjectorError></a><a href="#impl-From%3CPullError%3E">From<PullError></a><a href="#impl-From%3CSQLError%3E">From<SQLError></a><a href="#impl-From%3CTolstoyError%3E">From<TolstoyError></a></div></div><p class='location'><a href='../index.html'>public_traits</a>::<wbr><a href='index.html'>errors</a></p><script>window.sidebarCurrent = {name: 'MentatError', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div>
|
|||
|
</nav>
|
|||
|
|
|||
|
<div class="theme-picker">
|
|||
|
<button id="theme-picker" aria-label="Pick another theme!">
|
|||
|
<img src="../../brush.svg" width="18" alt="Pick another theme!">
|
|||
|
</button>
|
|||
|
<div id="theme-choices"></div>
|
|||
|
</div>
|
|||
|
<script src="../../theme.js"></script>
|
|||
|
<nav class="sub">
|
|||
|
<form class="search-form js-only">
|
|||
|
<div class="search-container">
|
|||
|
<input class="search-input" name="search"
|
|||
|
autocomplete="off"
|
|||
|
placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
|
|||
|
type="search">
|
|||
|
</div>
|
|||
|
</form>
|
|||
|
</nav>
|
|||
|
|
|||
|
<section id='main' class="content">
|
|||
|
<h1 class='fqn'><span class='in-band'>Enum <a href='../index.html'>public_traits</a>::<wbr><a href='index.html'>errors</a>::<wbr><a class="enum" href=''>MentatError</a></span><span class='out-of-band'><span id='render-detail'>
|
|||
|
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
|||
|
[<span class='inner'>−</span>]
|
|||
|
</a>
|
|||
|
</span><a class='srclink' href='../../src/public_traits/errors.rs.html#50-124' title='goto source code'>[src]</a></span></h1>
|
|||
|
<pre class='rust enum'>pub enum MentatError {
|
|||
|
BadUuid(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
|
|||
|
PathAlreadyExists(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
|
|||
|
UnboundVariables(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/btree/set/struct.BTreeSet.html" title="struct alloc::btree::set::BTreeSet">BTreeSet</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>),
|
|||
|
InvalidArgumentName(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
|
|||
|
UnknownAttribute(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
|
|||
|
InvalidVocabularyVersion,
|
|||
|
ConflictingAttributeDefinitions(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../../core_traits/struct.Attribute.html" title="struct core_traits::Attribute">Attribute</a>, <a class="struct" href="../../core_traits/struct.Attribute.html" title="struct core_traits::Attribute">Attribute</a>),
|
|||
|
ExistingVocabularyTooNew(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
|
|||
|
UnexpectedCoreSchema(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>>),
|
|||
|
UnexpectedLostTransactRace,
|
|||
|
MissingCoreVocabulary(<a class="struct" href="../../edn/symbols/struct.Keyword.html" title="struct edn::symbols::Keyword">Keyword</a>),
|
|||
|
PreparedQuerySchemaMismatch,
|
|||
|
ValueTypeMismatch(<a class="enum" href="../../core_traits/enum.ValueType.html" title="enum core_traits::ValueType">ValueType</a>, <a class="enum" href="../../core_traits/enum.ValueType.html" title="enum core_traits::ValueType">ValueType</a>),
|
|||
|
IoError(<a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>),
|
|||
|
NotYetImplemented(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
|
|||
|
RusqliteError(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
|
|||
|
EdnParseError(<a class="struct" href="../../edn/parse/struct.ParseError.html" title="struct edn::parse::ParseError">ParseError</a>),
|
|||
|
DbError(<a class="struct" href="../../db_traits/errors/struct.DbError.html" title="struct db_traits::errors::DbError">DbError</a>),
|
|||
|
AlgebrizerError(<a class="enum" href="../../query_algebrizer_traits/errors/enum.AlgebrizerError.html" title="enum query_algebrizer_traits::errors::AlgebrizerError">AlgebrizerError</a>),
|
|||
|
ProjectorError(<a class="enum" href="../../query_projector_traits/errors/enum.ProjectorError.html" title="enum query_projector_traits::errors::ProjectorError">ProjectorError</a>),
|
|||
|
PullError(<a class="enum" href="../../query_pull_traits/errors/enum.PullError.html" title="enum query_pull_traits::errors::PullError">PullError</a>),
|
|||
|
SQLError(<a class="enum" href="../../sql_traits/errors/enum.SQLError.html" title="enum sql_traits::errors::SQLError">SQLError</a>),
|
|||
|
TolstoyError(<a class="enum" href="../../tolstoy_traits/errors/enum.TolstoyError.html" title="enum tolstoy_traits::errors::TolstoyError">TolstoyError</a>),
|
|||
|
}</pre><h2 id='variants' class='variants small-section-header'>
|
|||
|
Variants<a href='#variants' class='anchor'></a></h2>
|
|||
|
<span id="variant.BadUuid" class="variant small-section-header"><a href="#variant.BadUuid" class="anchor field"></a><span id='BadUuid.v' class='invisible'><code>BadUuid(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></span></span><span id="variant.PathAlreadyExists" class="variant small-section-header"><a href="#variant.PathAlreadyExists" class="anchor field"></a><span id='PathAlreadyExists.v' class='invisible'><code>PathAlreadyExists(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></span></span><span id="variant.UnboundVariables" class="variant small-section-header"><a href="#variant.UnboundVariables" class="anchor field"></a><span id='UnboundVariables.v' class='invisible'><code>UnboundVariables(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/btree/set/struct.BTreeSet.html" title="struct alloc::btree::set::BTreeSet">BTreeSet</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>)</code></span></span><span id="variant.InvalidArgumentName" class="variant small-section-header"><a href="#variant.InvalidArgumentName" class="anchor field"></a><span id='InvalidArgumentName.v' class='invisible'><code>InvalidArgumentName(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></span></span><span id="variant.UnknownAttribute" class="variant small-section-header"><a href="#variant.UnknownAttribute" class="anchor field"></a><span id='UnknownAttribute.v' class='invisible'><code>UnknownAttribute(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></span></span><span id="variant.InvalidVocabularyVersion" class="variant small-section-header"><a href="#variant.InvalidVocabularyVersion" class="anchor field"></a><span id='InvalidVocabularyVersion.v' class='invisible'><code>InvalidVocabularyVersion</code></span></span><span id="variant.ConflictingAttributeDefinitions" class="variant small-section-header"><a href="#variant.ConflictingAttributeDefinitions" class="anchor field"></a><span id='ConflictingAttributeDefinitions.v' class='invisible'><code>ConflictingAttributeDefinitions(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../../core_traits/struct.Attribute.html" title="struct core_traits::Attribute">Attribute</a>, <a class="struct" href="../../core_traits/struct.Attribute.html" title="struct core_traits::Attribute">Attribute</a>)</code></span></span><span id="variant.ExistingVocabularyTooNew" class="variant small-section-header"><a href="#variant.ExistingVocabularyTooNew" class="anchor field"></a><span id='ExistingVocabularyTooNew.v' class='invisible'><code>ExistingVocabularyTooNew(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.UnexpectedCoreSchema" class="variant small-section-header"><a href="#variant.UnexpectedCoreSchema" class="anchor field"></a><span id='UnexpectedCoreSchema.v' class='invisible'><code>UnexpectedCoreSchema(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="https://doc.rust-lang.
|
|||
|
implemented.</p>
|
|||
|
</div><span id="variant.RusqliteError" class="variant small-section-header"><a href="#variant.RusqliteError" class="anchor field"></a><span id='RusqliteError.v' class='invisible'><code>RusqliteError(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></span></span><span id="variant.EdnParseError" class="variant small-section-header"><a href="#variant.EdnParseError" class="anchor field"></a><span id='EdnParseError.v' class='invisible'><code>EdnParseError(<a class="struct" href="../../edn/parse/struct.ParseError.html" title="struct edn::parse::ParseError">ParseError</a>)</code></span></span><span id="variant.DbError" class="variant small-section-header"><a href="#variant.DbError" class="anchor field"></a><span id='DbError.v' class='invisible'><code>DbError(<a class="struct" href="../../db_traits/errors/struct.DbError.html" title="struct db_traits::errors::DbError">DbError</a>)</code></span></span><span id="variant.AlgebrizerError" class="variant small-section-header"><a href="#variant.AlgebrizerError" class="anchor field"></a><span id='AlgebrizerError.v' class='invisible'><code>AlgebrizerError(<a class="enum" href="../../query_algebrizer_traits/errors/enum.AlgebrizerError.html" title="enum query_algebrizer_traits::errors::AlgebrizerError">AlgebrizerError</a>)</code></span></span><span id="variant.ProjectorError" class="variant small-section-header"><a href="#variant.ProjectorError" class="anchor field"></a><span id='ProjectorError.v' class='invisible'><code>ProjectorError(<a class="enum" href="../../query_projector_traits/errors/enum.ProjectorError.html" title="enum query_projector_traits::errors::ProjectorError">ProjectorError</a>)</code></span></span><span id="variant.PullError" class="variant small-section-header"><a href="#variant.PullError" class="anchor field"></a><span id='PullError.v' class='invisible'><code>PullError(<a class="enum" href="../../query_pull_traits/errors/enum.PullError.html" title="enum query_pull_traits::errors::PullError">PullError</a>)</code></span></span><span id="variant.SQLError" class="variant small-section-header"><a href="#variant.SQLError" class="anchor field"></a><span id='SQLError.v' class='invisible'><code>SQLError(<a class="enum" href="../../sql_traits/errors/enum.SQLError.html" title="enum sql_traits::errors::SQLError">SQLError</a>)</code></span></span><span id="variant.TolstoyError" class="variant small-section-header"><a href="#variant.TolstoyError" class="anchor field"></a><span id='TolstoyError.v' class='invisible'><code>TolstoyError(<a class="enum" href="../../tolstoy_traits/errors/enum.TolstoyError.html" title="enum tolstoy_traits::errors::TolstoyError">TolstoyError</a>)</code></span></span>
|
|||
|
<h2 id='implementations' class='small-section-header'>
|
|||
|
Trait Implementations<a href='#implementations' class='anchor'></a>
|
|||
|
</h2>
|
|||
|
<h3 id='impl-Debug' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code><a href='#impl-Debug' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#49' title='goto source code'>[src]</a></span></h3>
|
|||
|
<div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, __arg_0: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#49' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
|
|||
|
</div></div><h3 id='impl-From%3CError%3E' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>> for <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code><a href='#impl-From%3CError%3E' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#126-130' title='goto source code'>[src]</a></span></h3>
|
|||
|
<div class='impl-items'><h4 id='method.from' class="method"><span id='from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(error: <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>) -> <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#127-129' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='docblock'><p>Performs the conversion.</p>
|
|||
|
</div></div><h3 id='impl-From%3CError%3E-1' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="../../rusqlite/error/enum.Error.html" title="enum rusqlite::error::Error">Error</a>> for <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code><a href='#impl-From%3CError%3E-1' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#132-136' title='goto source code'>[src]</a></span></h3>
|
|||
|
<div class='impl-items'><h4 id='method.from-1' class="method"><span id='from.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(error: <a class="enum" href="../../rusqlite/error/enum.Error.html" title="enum rusqlite::error::Error">Error</a>) -> <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#133-135' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='docblock'><p>Performs the conversion.</p>
|
|||
|
</div></div><h3 id='impl-From%3CParseError%3E' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../edn/parse/struct.ParseError.html" title="struct edn::parse::ParseError">ParseError</a>> for <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code><a href='#impl-From%3CParseError%3E' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#138-142' title='goto source code'>[src]</a></span></h3>
|
|||
|
<div class='impl-items'><h4 id='method.from-2' class="method"><span id='from.v-2' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(error: <a class="struct" href="../../edn/parse/struct.ParseError.html" title="struct edn::parse::ParseError">ParseError</a>) -> <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#139-141' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='docblock'><p>Performs the conversion.</p>
|
|||
|
</div></div><h3 id='impl-From%3CDbError%3E' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../db_traits/errors/struct.DbError.html" title="struct db_traits::errors::DbError">DbError</a>> for <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code><a href='#impl-From%3CDbError%3E' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#144-148' title='goto source code'>[src]</a></span></h3>
|
|||
|
<div class='impl-items'><h4 id='method.from-3' class="method"><span id='from.v-3' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(error: <a class="struct" href="../../db_traits/errors/struct.DbError.html" title="struct db_traits::errors::DbError">DbError</a>) -> <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#145-147' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='docblock'><p>Performs the conversion.</p>
|
|||
|
</div></div><h3 id='impl-From%3CAlgebrizerError%3E' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="../../query_algebrizer_traits/errors/enum.AlgebrizerError.html" title="enum query_algebrizer_traits::errors::AlgebrizerError">AlgebrizerError</a>> for <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code><a href='#impl-From%3CAlgebrizerError%3E' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#150-154' title='goto source code'>[src]</a></span></h3>
|
|||
|
<div class='impl-items'><h4 id='method.from-4' class="method"><span id='from.v-4' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(error: <a class="enum" href="../../query_algebrizer_traits/errors/enum.AlgebrizerError.html" title="enum query_algebrizer_traits::errors::AlgebrizerError">AlgebrizerError</a>) -> <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#151-153' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='docblock'><p>Performs the conversion.</p>
|
|||
|
</div></div><h3 id='impl-From%3CProjectorError%3E' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="../../query_projector_traits/errors/enum.ProjectorError.html" title="enum query_projector_traits::errors::ProjectorError">ProjectorError</a>> for <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code><a href='#impl-From%3CProjectorError%3E' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#156-160' title='goto source code'>[src]</a></span></h3>
|
|||
|
<div class='impl-items'><h4 id='method.from-5' class="method"><span id='from.v-5' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(error: <a class="enum" href="../../query_projector_traits/errors/enum.ProjectorError.html" title="enum query_projector_traits::errors::ProjectorError">ProjectorError</a>) -> <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#157-159' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='docblock'><p>Performs the conversion.</p>
|
|||
|
</div></div><h3 id='impl-From%3CPullError%3E' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="../../query_pull_traits/errors/enum.PullError.html" title="enum query_pull_traits::errors::PullError">PullError</a>> for <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code><a href='#impl-From%3CPullError%3E' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#162-166' title='goto source code'>[src]</a></span></h3>
|
|||
|
<div class='impl-items'><h4 id='method.from-6' class="method"><span id='from.v-6' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(error: <a class="enum" href="../../query_pull_traits/errors/enum.PullError.html" title="enum query_pull_traits::errors::PullError">PullError</a>) -> <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#163-165' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='docblock'><p>Performs the conversion.</p>
|
|||
|
</div></div><h3 id='impl-From%3CSQLError%3E' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="../../sql_traits/errors/enum.SQLError.html" title="enum sql_traits::errors::SQLError">SQLError</a>> for <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code><a href='#impl-From%3CSQLError%3E' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#168-172' title='goto source code'>[src]</a></span></h3>
|
|||
|
<div class='impl-items'><h4 id='method.from-7' class="method"><span id='from.v-7' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(error: <a class="enum" href="../../sql_traits/errors/enum.SQLError.html" title="enum sql_traits::errors::SQLError">SQLError</a>) -> <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#169-171' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='docblock'><p>Performs the conversion.</p>
|
|||
|
</div></div><h3 id='impl-From%3CTolstoyError%3E' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="../../tolstoy_traits/errors/enum.TolstoyError.html" title="enum tolstoy_traits::errors::TolstoyError">TolstoyError</a>> for <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code><a href='#impl-From%3CTolstoyError%3E' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#175-179' title='goto source code'>[src]</a></span></h3>
|
|||
|
<div class='impl-items'><h4 id='method.from-8' class="method"><span id='from.v-8' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(error: <a class="enum" href="../../tolstoy_traits/errors/enum.TolstoyError.html" title="enum tolstoy_traits::errors::TolstoyError">TolstoyError</a>) -> <a class="enum" href="../../public_traits/errors/enum.MentatError.html" title="enum public_traits::errors::MentatError">MentatError</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/public_traits/errors.rs.html#176-178' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='docblock'><p>Performs the conversion.</p>
|
|||
|
</div></div></section>
|
|||
|
<section id='search' class="content hidden"></section>
|
|||
|
|
|||
|
<section class="footer"></section>
|
|||
|
|
|||
|
<aside id="help" class="hidden">
|
|||
|
<div>
|
|||
|
<h1 class="hidden">Help</h1>
|
|||
|
|
|||
|
<div class="shortcuts">
|
|||
|
<h2>Keyboard Shortcuts</h2>
|
|||
|
|
|||
|
<dl>
|
|||
|
<dt><kbd>?</kbd></dt>
|
|||
|
<dd>Show this help dialog</dd>
|
|||
|
<dt><kbd>S</kbd></dt>
|
|||
|
<dd>Focus the search field</dd>
|
|||
|
<dt><kbd>↑</kbd></dt>
|
|||
|
<dd>Move up in search results</dd>
|
|||
|
<dt><kbd>↓</kbd></dt>
|
|||
|
<dd>Move down in search results</dd>
|
|||
|
<dt><kbd>↹</kbd></dt>
|
|||
|
<dd>Switch tab</dd>
|
|||
|
<dt><kbd>⏎</kbd></dt>
|
|||
|
<dd>Go to active search result</dd>
|
|||
|
<dt><kbd>+</kbd></dt>
|
|||
|
<dd>Expand all sections</dd>
|
|||
|
<dt><kbd>-</kbd></dt>
|
|||
|
<dd>Collapse all sections</dd>
|
|||
|
</dl>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="infos">
|
|||
|
<h2>Search Tricks</h2>
|
|||
|
|
|||
|
<p>
|
|||
|
Prefix searches with a type followed by a colon (e.g.
|
|||
|
<code>fn:</code>) to restrict the search to a given type.
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
Accepted types are: <code>fn</code>, <code>mod</code>,
|
|||
|
<code>struct</code>, <code>enum</code>,
|
|||
|
<code>trait</code>, <code>type</code>, <code>macro</code>,
|
|||
|
and <code>const</code>.
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
Search functions by type signature (e.g.
|
|||
|
<code>vec -> usize</code> or <code>* -> vec</code>)
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</aside>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<script>
|
|||
|
window.rootPath = "../../";
|
|||
|
window.currentCrate = "public_traits";
|
|||
|
</script>
|
|||
|
<script src="../../main.js"></script>
|
|||
|
<script defer src="../../search-index.js"></script>
|
|||
|
</body>
|
|||
|
</html>
|