Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite6d4a57

Browse files
committed
rebuild pages at1dc187a
1 parentb005922 commite6d4a57

File tree

13 files changed

+87
-184
lines changed

13 files changed

+87
-184
lines changed

‎doc/implementors/core/fmt/trait.Debug.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function(){varimplementors={};
2-
implementors['r2d2_postgres']=["<a class='stability Stable' title='Stable'></a>impl <a class='trait' href='http://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='enum' href='r2d2_postgres/enum.Error.html' title='r2d2_postgres::Error'>Error</a>","<a class='stability Stable' title='Stable'></a>impl <a class='trait' href='http://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='r2d2_postgres/struct.PostgresConnectionManager.html' title='r2d2_postgres::PostgresConnectionManager'>PostgresConnectionManager</a>",];
2+
implementors['r2d2_postgres']=["impl <a class='trait' href='http://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='enum' href='r2d2_postgres/enum.Error.html' title='r2d2_postgres::Error'>Error</a>","impl <a class='trait' href='http://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='r2d2_postgres/struct.PostgresConnectionManager.html' title='r2d2_postgres::PostgresConnectionManager'>PostgresConnectionManager</a>",];
33

44
if(window.register_implementors){
55
window.register_implementors(implementors);

‎doc/implementors/core/fmt/trait.Display.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function(){varimplementors={};
2-
implementors['r2d2_postgres']=["<a class='stability Stable' title='Stable'></a>impl <a class='trait' href='http://doc.rust-lang.org/nightly/core/fmt/trait.Display.html' title='core::fmt::Display'>Display</a> for <a class='enum' href='r2d2_postgres/enum.Error.html' title='r2d2_postgres::Error'>Error</a>",];
2+
implementors['r2d2_postgres']=["impl <a class='trait' href='http://doc.rust-lang.org/nightly/core/fmt/trait.Display.html' title='core::fmt::Display'>Display</a> for <a class='enum' href='r2d2_postgres/enum.Error.html' title='r2d2_postgres::Error'>Error</a>",];
33

44
if(window.register_implementors){
55
window.register_implementors(implementors);

‎doc/implementors/r2d2/trait.ConnectionManager.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function(){varimplementors={};
2-
implementors['r2d2_postgres']=["<a class='stability Unmarked' title='No stability level'></a>impl <a class='trait' href='https://sfackler.github.io/r2d2/doc/r2d2/trait.ConnectionManager.html' title='r2d2::ConnectionManager'>ConnectionManager</a> for <a class='struct' href='r2d2_postgres/struct.PostgresConnectionManager.html' title='r2d2_postgres::PostgresConnectionManager'>PostgresConnectionManager</a>",];
2+
implementors['r2d2_postgres']=["impl <a class='trait' href='https://sfackler.github.io/r2d2/doc/r2d2/trait.ConnectionManager.html' title='r2d2::ConnectionManager'>ConnectionManager</a> for <a class='struct' href='r2d2_postgres/struct.PostgresConnectionManager.html' title='r2d2_postgres::PostgresConnectionManager'>PostgresConnectionManager</a>",];
33

44
if(window.register_implementors){
55
window.register_implementors(implementors);

‎doc/implementors/std/error/trait.Error.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function(){varimplementors={};
2-
implementors['r2d2_postgres']=["<a class='stability Stable' title='Stable'></a>impl <a class='trait' href='http://doc.rust-lang.org/nightly/std/error/trait.Error.html' title='std::error::Error'>Error</a> for <a class='enum' href='r2d2_postgres/enum.Error.html' title='r2d2_postgres::Error'>Error</a>",];
2+
implementors['r2d2_postgres']=["impl <a class='trait' href='http://doc.rust-lang.org/nightly/std/error/trait.Error.html' title='std::error::Error'>Error</a> for <a class='enum' href='r2d2_postgres/enum.Error.html' title='r2d2_postgres::Error'>Error</a>",];
33

44
if(window.register_implementors){
55
window.register_implementors(implementors);

‎doc/main.css‎

Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,10 @@ nav.sub {
245245
.content .highlighted.tymethod {background-color:#c6afb3; }
246246
.content .highlighted.type {background-color:#c6afb3; }
247247

248+
.docblock.shortp {
249+
display: inline;
250+
}
251+
248252
.docblock.short.nowrap {
249253
display: block;
250254
overflow: hidden;
@@ -337,11 +341,16 @@ nav.sub {
337341
/* Shift "where ..." part of method definition down a line */
338342
.content .method .where {display: block; }
339343
/* Bit of whitespace to indent it */
340-
.content .method .where::before {content:''; }
344+
.content .method .where::before {content:' '; }
341345

342-
.content .methods.docblock {margin-left:40px; }
346+
.content .methods>div {margin-left:40px; }
343347

344-
.content .impl-items .docblock {margin-left:40px; }
348+
.content .impl-items .docblock, .content .impl-items .stability {
349+
margin-left:40px;
350+
}
351+
.content .impl-items .method, .content .impl-items .type {
352+
margin-left:20px;
353+
}
345354

346355
nav {
347356
border-bottom:1px solid#e0e0e0;
@@ -468,30 +477,31 @@ a {
468477
padding:20px;
469478
}
470479

471-
.stability {
472-
border-left:6px solid;
473-
padding:3px6px;
474-
border-radius:3px;
480+
em.stab.unstable {background:#FFF5D6;border-color:#FFC600; }
481+
em.stab.deprecated {background:#F3DFFF;border-color:#7F0087; }
482+
em.stab {
483+
display: inline-block;
484+
border-width:1px;
485+
border-style: solid;
486+
padding:3px;
487+
margin-bottom:5px;
488+
font-size:90%;
489+
font-style: normal;
475490
}
476-
477-
h1 .stability {
478-
text-transform: lowercase;
479-
font-weight:400;
480-
margin-left:14px;
481-
padding:4px10px;
491+
em.stabp {
492+
display: inline;
482493
}
483494

484-
.impl-items .stability, .methods .stability {
485-
margin-right:20px;
495+
.module-item .stab {
496+
border-width:0;
497+
padding:0;
498+
margin:0;
499+
background: inherit!important;
486500
}
487501

488-
.stability.Deprecated {border-color:#A071A8;color:#82478C; }
489-
.stability.Experimental {border-color:#D46D6A;color:#AA3C39; }
490-
.stability.Unstable {border-color:#D4B16A;color:#AA8439; }
491-
.stability.Stable {border-color:#54A759;color:#2D8632; }
492-
.stability.Frozen {border-color:#009431;color:#007726; }
493-
.stability.Locked {border-color:#0084B6;color:#00668c; }
494-
.stability.Unmarked {border-color:#BBBBBB; }
502+
.module-item.unstable {
503+
opacity:0.65;
504+
}
495505

496506
td.summary-column {
497507
width:100%;
@@ -500,11 +510,6 @@ td.summary-column {
500510
.summary {
501511
padding-right:0px;
502512
}
503-
.summary.Deprecated {background-color:#A071A8; }
504-
.summary.Experimental {background-color:#D46D6A; }
505-
.summary.Unstable {background-color:#D4B16A; }
506-
.summary.Stable {background-color:#54A759; }
507-
.summary.Unmarked {background-color:#BBBBBB; }
508513

509514
:target {background:#FDFFD3; }
510515
.line-numbers:target {background-color: transparent; }
@@ -555,9 +560,9 @@ pre.rust { position: relative; }
555560
.collapse-toggle {
556561
font-weight:300;
557562
position: absolute;
558-
left:13px;
563+
left:-23px;
559564
color:#999;
560-
margin-top:2px;
565+
top:0;
561566
}
562567

563568
.toggle-wrapper> .collapse-toggle {

‎doc/main.js‎

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,11 @@
7878
return;
7979
}
8080

81-
if(e.which===191&&$('#help').hasClass('hidden')){// question mark
82-
e.preventDefault();
83-
$('#help').removeClass('hidden');
81+
if(e.which===191){// question mark
82+
if(e.shiftKey&&$('#help').hasClass('hidden')){
83+
e.preventDefault();
84+
$('#help').removeClass('hidden');
85+
}
8486
}elseif(e.which===27){// esc
8587
if(!$('#help').hasClass('hidden')){
8688
e.preventDefault();
@@ -468,6 +470,8 @@
468470
if($active.length){
469471
document.location.href=$active.find('a').prop('href');
470472
}
473+
}else{
474+
$active.removeClass('highlighted');
471475
}
472476
});
473477
}
@@ -713,10 +717,12 @@
713717
if(crates[i]==window.currentCrate){
714718
klass+=' current';
715719
}
716-
vardesc=rawSearchIndex[crates[i]].items[0][3];
717-
div.append($('<a>',{'href':'../'+crates[i]+'/index.html',
718-
'title':plainSummaryLine(desc),
719-
'class':klass}).text(crates[i]));
720+
if(rawSearchIndex[crates[i]].items[0]){
721+
vardesc=rawSearchIndex[crates[i]].items[0][3];
722+
div.append($('<a>',{'href':'../'+crates[i]+'/index.html',
723+
'title':plainSummaryLine(desc),
724+
'class':klass}).text(crates[i]));
725+
}
720726
}
721727
sidebar.append(div);
722728
}
@@ -796,6 +802,9 @@
796802
if(query['gotosrc']){
797803
window.location=$('#src-'+query['gotosrc']).attr('href');
798804
}
805+
if(query['gotomacrosrc']){
806+
window.location=$('.srclink').attr('href');
807+
}
799808

800809
$("#expand-all").on("click",function(){
801810
$(".docblock").show();

‎doc/r2d2_postgres/enum.Error.html‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,20 @@
4141
</nav>
4242

4343
<sectionid='main'class="content enum">
44-
<h1class='fqn'><spanclass='in-band'>Enum<ahref='index.html'>r2d2_postgres</a>::<wbr><aclass='enum'href=''>Error</a><wbr></span><spanclass='out-of-band'><spanid='render-detail'>
44+
<h1class='fqn'><spanclass='in-band'>Enum<ahref='index.html'>r2d2_postgres</a>::<wbr><aclass='enum'href=''>Error</a></span><spanclass='out-of-band'><spanid='render-detail'>
4545
<aid="collapse-all"href="#">[-]</a>&nbsp;<aid="expand-all"href="#">[+]</a>
46-
</span><aid='src-12'href='../src/r2d2_postgres/lib.rs.html#14-19'>[src]</a></span></h1>
46+
</span><aid='src-12'class='srclink'href='../src/r2d2_postgres/lib.rs.html#14-19'>[src]</a></span></h1>
4747
<preclass='rust enum'>pub enum Error {
4848
Connect(<aclass='enum'href='https://sfackler.github.io/rust-postgres/doc/postgres/error/enum.ConnectError.html'title='postgres::error::ConnectError'>ConnectError</a>),
4949
Other(<aclass='enum'href='https://sfackler.github.io/rust-postgres/doc/postgres/error/enum.Error.html'title='postgres::error::Error'>Error</a>),
5050
}</pre><divclass='docblock'><p>A unified enum of errors returned by postgres::Connection</p>
5151
</div><h2class='variants'>Variants</h2>
52-
<table><tr><tdid='variant.Connect'><aclass='stability Unmarked'title='No stability level'></a><code>Connect</code></td><td><divclass='docblock'><p>A postgres::ConnectError</p>
53-
</div></td></tr><tr><tdid='variant.Other'><aclass='stability Unmarked'title='No stability level'></a><code>Other</code></td><td><divclass='docblock'><p>An postgres::Error</p>
54-
</div></td></tr></table><h2id='implementations'>Trait Implementations</h2><h3class='impl'><aclass='stability Stable'title='Stable'></a><code>impl<aclass='trait'href='http://doc.rust-lang.org/nightly/core/fmt/trait.Display.html'title='core::fmt::Display'>Display</a> for<aclass='enum'href='../r2d2_postgres/enum.Error.html'title='r2d2_postgres::Error'>Error</a></code></h3><divclass='impl-items'><h4id='method.fmt'class='method'><aclass='stability Stable'title='Stable'></a><code>fn<ahref='#method.fmt'class='fnname'>fmt</a>(&amp;self, fmt: &amp;mut<aclass='struct'href='http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html'title='core::fmt::Formatter'>Formatter</a>) -&gt;<aclass='type'href='http://doc.rust-lang.org/nightly/core/fmt/type.Result.html'title='core::fmt::Result'>Result</a></code></h4>
55-
</div><h3class='impl'><aclass='stability Stable'title='Stable'></a><code>impl<aclass='trait'href='http://doc.rust-lang.org/nightly/std/error/trait.Error.html'title='std::error::Error'>Error</a> for<aclass='enum'href='../r2d2_postgres/enum.Error.html'title='r2d2_postgres::Error'>Error</a></code></h3><divclass='impl-items'><h4id='method.description'class='method'><aclass='stability Stable'title='Stable'></a><code>fn<ahref='#method.description'class='fnname'>description</a>(&amp;self) -&gt; &amp;<ahref='http://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a></code></h4>
56-
<h4id='method.cause'class='method'><aclass='stability Stable'title='Stable'></a><code>fn<ahref='#method.cause'class='fnname'>cause</a>(&amp;self) -&gt;<aclass='enum'href='http://doc.rust-lang.org/nightly/core/option/enum.Option.html'title='core::option::Option'>Option</a>&lt;&amp;<aclass='trait'href='http://doc.rust-lang.org/nightly/std/error/trait.Error.html'title='std::error::Error'>Error</a>&gt;</code></h4>
57-
</div><h3id='derived_implementations'>Derived Implementations</h3><h3class='impl'><aclass='stability Stable'title='Stable'></a><code>impl<aclass='trait'href='http://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html'title='core::fmt::Debug'>Debug</a> for<aclass='enum'href='../r2d2_postgres/enum.Error.html'title='r2d2_postgres::Error'>Error</a></code></h3><divclass='impl-items'><h4id='method.fmt'class='method'><aclass='stability Stable'title='Stable'></a><code>fn<ahref='#method.fmt'class='fnname'>fmt</a>(&amp;self, __arg_0: &amp;mut<aclass='struct'href='http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html'title='core::fmt::Formatter'>Formatter</a>) -&gt;<aclass='type'href='http://doc.rust-lang.org/nightly/core/fmt/type.Result.html'title='core::fmt::Result'>Result</a></code></h4>
52+
<table><tr><tdid='variant.Connect'><code>Connect</code></td><td><divclass='docblock'><p>A postgres::ConnectError</p>
53+
</div></td></tr><tr><tdid='variant.Other'><code>Other</code></td><td><divclass='docblock'><p>An postgres::Error</p>
54+
</div></td></tr></table><h2id='implementations'>Trait Implementations</h2><h3class='impl'><code>impl<aclass='trait'href='http://doc.rust-lang.org/nightly/core/fmt/trait.Display.html'title='core::fmt::Display'>Display</a> for<aclass='enum'href='../r2d2_postgres/enum.Error.html'title='r2d2_postgres::Error'>Error</a></code></h3><divclass='impl-items'><h4id='method.fmt'class='method'><code>fn<ahref='http://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#method.fmt'class='fnname'>fmt</a>(&amp;self, fmt: &amp;mut<aclass='struct'href='http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html'title='core::fmt::Formatter'>Formatter</a>) -&gt;<aclass='type'href='http://doc.rust-lang.org/nightly/core/fmt/type.Result.html'title='core::fmt::Result'>Result</a></code></h4>
55+
</div><h3class='impl'><code>impl<aclass='trait'href='http://doc.rust-lang.org/nightly/std/error/trait.Error.html'title='std::error::Error'>Error</a> for<aclass='enum'href='../r2d2_postgres/enum.Error.html'title='r2d2_postgres::Error'>Error</a></code></h3><divclass='impl-items'><h4id='method.description'class='method'><code>fn<ahref='http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.description'class='fnname'>description</a>(&amp;self) -&gt; &amp;<ahref='http://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a></code></h4>
56+
<h4id='method.cause'class='method'><code>fn<ahref='http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.cause'class='fnname'>cause</a>(&amp;self) -&gt;<aclass='enum'href='http://doc.rust-lang.org/nightly/core/option/enum.Option.html'title='core::option::Option'>Option</a>&lt;&amp;<aclass='trait'href='http://doc.rust-lang.org/nightly/std/error/trait.Error.html'title='std::error::Error'>Error</a>&gt;</code></h4>
57+
</div><h3id='derived_implementations'>Derived Implementations</h3><h3class='impl'><code>impl<aclass='trait'href='http://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html'title='core::fmt::Debug'>Debug</a> for<aclass='enum'href='../r2d2_postgres/enum.Error.html'title='r2d2_postgres::Error'>Error</a></code></h3><divclass='impl-items'><h4id='method.fmt'class='method'><code>fn<ahref='http://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#method.fmt'class='fnname'>fmt</a>(&amp;self, __arg_0: &amp;mut<aclass='struct'href='http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html'title='core::fmt::Formatter'>Formatter</a>) -&gt;<aclass='type'href='http://doc.rust-lang.org/nightly/core/fmt/type.Result.html'title='core::fmt::Result'>Result</a></code></h4>
5858
</div></section>
5959
<sectionid='search'class="content hidden"></section>
6060

‎doc/r2d2_postgres/index.html‎

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,25 +41,29 @@
4141
</nav>
4242

4343
<sectionid='main'class="content mod">
44-
<h1class='fqn'><spanclass='in-band'>Crate<aclass='mod'href=''>r2d2_postgres</a><wbr></span><spanclass='out-of-band'><ahref='stability.html'>[stability]</a><spanid='render-detail'>
44+
<h1class='fqn'><spanclass='in-band'>Crate<aclass='mod'href=''>r2d2_postgres</a></span><spanclass='out-of-band'><spanid='render-detail'>
4545
<aid="collapse-all"href="#">[-]</a>&nbsp;<aid="expand-all"href="#">[+]</a>
46-
</span><aid='src-0'href='../src/r2d2_postgres/lib.rs.html#1-116'>[src]</a></span></h1>
46+
</span><aid='src-0'class='srclink'href='../src/r2d2_postgres/lib.rs.html#1-110'>[src]</a></span></h1>
4747
<divclass='docblock'><p>Postgres support for the<code>r2d2</code> connection pool.</p>
4848
</div><h2id='structs'class='section-header'><ahref="#structs">Structs</a></h2>
4949
<table>
50-
<tr>
51-
<td><aclass='stability Unmarked'title='No stability level'></a><aclass='struct'href='struct.PostgresConnectionManager.html'
50+
<trclass=' module-item'>
51+
<td><aclass='struct'href='struct.PostgresConnectionManager.html'
5252
title='r2d2_postgres::PostgresConnectionManager'>PostgresConnectionManager</a></td>
53-
<tdclass='docblock short'><p>An<code>r2d2::ConnectionManager</code> for<code>postgres::Connection</code>s.</p>
54-
</td>
53+
<tdclass='docblock short'>
54+
<p>An<code>r2d2::ConnectionManager</code> for<code>postgres::Connection</code>s.</p>
55+
56+
</td>
5557
</tr>
5658
</table><h2id='enums'class='section-header'><ahref="#enums">Enums</a></h2>
5759
<table>
58-
<tr>
59-
<td><aclass='stability Unmarked'title='No stability level'></a><aclass='enum'href='enum.Error.html'
60+
<trclass=' module-item'>
61+
<td><aclass='enum'href='enum.Error.html'
6062
title='r2d2_postgres::Error'>Error</a></td>
61-
<tdclass='docblock short'><p>A unified enum of errors returned by postgres::Connection</p>
62-
</td>
63+
<tdclass='docblock short'>
64+
<p>A unified enum of errors returned by postgres::Connection</p>
65+
66+
</td>
6367
</tr>
6468
</table></section>
6569
<sectionid='search'class="content hidden"></section>

‎doc/r2d2_postgres/sidebar-items.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp