mirror of
https://github.com/actix/actix-website
synced 2024-11-27 10:02:57 +01:00
update stable docs
This commit is contained in:
parent
0c2153597f
commit
90165ac1cc
0
static/api/actix-web/0.7.2/.lock
Executable file
0
static/api/actix-web/0.7.2/.lock
Executable file
59
static/api/actix-web/0.7.2/COPYRIGHT.txt
Normal file
59
static/api/actix-web/0.7.2/COPYRIGHT.txt
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
These documentation pages include resources by third parties. This copyright
|
||||||
|
file applies only to those resources. The following third party resources are
|
||||||
|
included, and carry their own copyright notices and license terms:
|
||||||
|
|
||||||
|
* Fira Sans (FiraSans-Regular.woff, FiraSans-Medium.woff):
|
||||||
|
|
||||||
|
Copyright (c) 2014, Mozilla Foundation https://mozilla.org/
|
||||||
|
with Reserved Font Name Fira Sans.
|
||||||
|
|
||||||
|
Copyright (c) 2014, Telefonica S.A.
|
||||||
|
|
||||||
|
Licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
See FiraSans-LICENSE.txt.
|
||||||
|
|
||||||
|
* Heuristica (Heuristica-Italic.woff):
|
||||||
|
|
||||||
|
Copyright 1989, 1991 Adobe Systems Incorporated. All rights reserved.
|
||||||
|
Utopia is either a registered trademark or trademark of Adobe Systems
|
||||||
|
Incorporated in the United States and/or other countries. Used under
|
||||||
|
license.
|
||||||
|
|
||||||
|
Copyright 2006 Han The Thanh, Vntopia font family, http://vntex.sf.net
|
||||||
|
|
||||||
|
Copyright (c) 2008-2012, Andrey V. Panov (panov@canopus.iacp.dvo.ru),
|
||||||
|
with Reserved Font Name Heuristica.
|
||||||
|
|
||||||
|
Licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
See Heuristica-LICENSE.txt.
|
||||||
|
|
||||||
|
* rustdoc.css, main.js, and playpen.js:
|
||||||
|
|
||||||
|
Copyright 2015 The Rust Developers.
|
||||||
|
Licensed under the Apache License, Version 2.0 (see LICENSE-APACHE.txt) or
|
||||||
|
the MIT license (LICENSE-MIT.txt) at your option.
|
||||||
|
|
||||||
|
* normalize.css:
|
||||||
|
|
||||||
|
Copyright (c) Nicolas Gallagher and Jonathan Neal.
|
||||||
|
Licensed under the MIT license (see LICENSE-MIT.txt).
|
||||||
|
|
||||||
|
* Source Code Pro (SourceCodePro-Regular.woff, SourceCodePro-Semibold.woff):
|
||||||
|
|
||||||
|
Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
|
||||||
|
with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark
|
||||||
|
of Adobe Systems Incorporated in the United States and/or other countries.
|
||||||
|
|
||||||
|
Licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
See SourceCodePro-LICENSE.txt.
|
||||||
|
|
||||||
|
* Source Serif Pro (SourceSerifPro-Regular.woff, SourceSerifPro-Bold.woff):
|
||||||
|
|
||||||
|
Copyright 2014 Adobe Systems Incorporated (http://www.adobe.com/), with
|
||||||
|
Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of
|
||||||
|
Adobe Systems Incorporated in the United States and/or other countries.
|
||||||
|
|
||||||
|
Licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
See SourceSerifPro-LICENSE.txt.
|
||||||
|
|
||||||
|
This copyright file is intended to be distributed with rustdoc output.
|
99
static/api/actix-web/0.7.2/FiraSans-LICENSE.txt
Normal file
99
static/api/actix-web/0.7.2/FiraSans-LICENSE.txt
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
Copyright (c) 2014, Mozilla Foundation https://mozilla.org/
|
||||||
|
with Reserved Font Name Fira Sans.
|
||||||
|
|
||||||
|
Copyright (c) 2014, Mozilla Foundation https://mozilla.org/
|
||||||
|
with Reserved Font Name Fira Mono.
|
||||||
|
|
||||||
|
Copyright (c) 2014, Telefonica S.A.
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
BIN
static/api/actix-web/0.7.2/FiraSans-Medium.woff
Normal file
BIN
static/api/actix-web/0.7.2/FiraSans-Medium.woff
Normal file
Binary file not shown.
BIN
static/api/actix-web/0.7.2/FiraSans-Regular.woff
Normal file
BIN
static/api/actix-web/0.7.2/FiraSans-Regular.woff
Normal file
Binary file not shown.
BIN
static/api/actix-web/0.7.2/Heuristica-Italic.woff
Normal file
BIN
static/api/actix-web/0.7.2/Heuristica-Italic.woff
Normal file
Binary file not shown.
101
static/api/actix-web/0.7.2/Heuristica-LICENSE.txt
Normal file
101
static/api/actix-web/0.7.2/Heuristica-LICENSE.txt
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
Copyright 1989, 1991 Adobe Systems Incorporated. All rights reserved.
|
||||||
|
Utopia is either a registered trademark or trademark of Adobe Systems
|
||||||
|
Incorporated in the United States and/or other countries. Used under
|
||||||
|
license.
|
||||||
|
|
||||||
|
Copyright 2006 Han The Thanh, Vntopia font family, http://vntex.sf.net
|
||||||
|
|
||||||
|
Copyright (c) 2008-2012, Andrey V. Panov (panov@canopus.iacp.dvo.ru),
|
||||||
|
with Reserved Font Name Heuristica.
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
201
static/api/actix-web/0.7.2/LICENSE-APACHE.txt
Normal file
201
static/api/actix-web/0.7.2/LICENSE-APACHE.txt
Normal file
@ -0,0 +1,201 @@
|
|||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
23
static/api/actix-web/0.7.2/LICENSE-MIT.txt
Normal file
23
static/api/actix-web/0.7.2/LICENSE-MIT.txt
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
Permission is hereby granted, free of charge, to any
|
||||||
|
person obtaining a copy of this software and associated
|
||||||
|
documentation files (the "Software"), to deal in the
|
||||||
|
Software without restriction, including without
|
||||||
|
limitation the rights to use, copy, modify, merge,
|
||||||
|
publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software
|
||||||
|
is furnished to do so, subject to the following
|
||||||
|
conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice
|
||||||
|
shall be included in all copies or substantial portions
|
||||||
|
of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
||||||
|
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
||||||
|
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
||||||
|
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
||||||
|
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
DEALINGS IN THE SOFTWARE.
|
93
static/api/actix-web/0.7.2/SourceCodePro-LICENSE.txt
Normal file
93
static/api/actix-web/0.7.2/SourceCodePro-LICENSE.txt
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
|
||||||
|
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
BIN
static/api/actix-web/0.7.2/SourceCodePro-Regular.woff
Normal file
BIN
static/api/actix-web/0.7.2/SourceCodePro-Regular.woff
Normal file
Binary file not shown.
BIN
static/api/actix-web/0.7.2/SourceCodePro-Semibold.woff
Normal file
BIN
static/api/actix-web/0.7.2/SourceCodePro-Semibold.woff
Normal file
Binary file not shown.
BIN
static/api/actix-web/0.7.2/SourceSerifPro-Bold.woff
Normal file
BIN
static/api/actix-web/0.7.2/SourceSerifPro-Bold.woff
Normal file
Binary file not shown.
93
static/api/actix-web/0.7.2/SourceSerifPro-LICENSE.txt
Normal file
93
static/api/actix-web/0.7.2/SourceSerifPro-LICENSE.txt
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
Copyright 2014 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
|
||||||
|
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
BIN
static/api/actix-web/0.7.2/SourceSerifPro-Regular.woff
Normal file
BIN
static/api/actix-web/0.7.2/SourceSerifPro-Regular.woff
Normal file
Binary file not shown.
10
static/api/actix-web/0.7.2/actix_web/App.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/App.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.App.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.App.html">struct.App.html</a>...</p>
|
||||||
|
<script>location.replace("struct.App.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/AsyncResponder.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/AsyncResponder.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.AsyncResponder.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.AsyncResponder.html">trait.AsyncResponder.html</a>...</p>
|
||||||
|
<script>location.replace("trait.AsyncResponder.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/Binary.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/Binary.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=enum.Binary.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="enum.Binary.html">enum.Binary.html</a>...</p>
|
||||||
|
<script>location.replace("enum.Binary.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/Body.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/Body.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=enum.Body.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="enum.Body.html">enum.Body.html</a>...</p>
|
||||||
|
<script>location.replace("enum.Body.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/Either.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/Either.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=enum.Either.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="enum.Either.html">enum.Either.html</a>...</p>
|
||||||
|
<script>location.replace("enum.Either.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/Extensions.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/Extensions.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Extensions.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Extensions.html">struct.Extensions.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Extensions.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/Form.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/Form.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Form.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Form.html">struct.Form.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Form.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/FromRequest.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/FromRequest.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.FromRequest.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.FromRequest.html">trait.FromRequest.html</a>...</p>
|
||||||
|
<script>location.replace("trait.FromRequest.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/FutureResponse.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/FutureResponse.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=type.FutureResponse.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="type.FutureResponse.html">type.FutureResponse.html</a>...</p>
|
||||||
|
<script>location.replace("type.FutureResponse.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/HttpContext.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/HttpContext.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.HttpContext.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.HttpContext.html">struct.HttpContext.html</a>...</p>
|
||||||
|
<script>location.replace("struct.HttpContext.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/HttpMessage.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/HttpMessage.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.HttpMessage.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.HttpMessage.html">trait.HttpMessage.html</a>...</p>
|
||||||
|
<script>location.replace("trait.HttpMessage.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/HttpRequest.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/HttpRequest.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.HttpRequest.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.HttpRequest.html">struct.HttpRequest.html</a>...</p>
|
||||||
|
<script>location.replace("struct.HttpRequest.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/HttpResponse.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/HttpResponse.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.HttpResponse.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.HttpResponse.html">struct.HttpResponse.html</a>...</p>
|
||||||
|
<script>location.replace("struct.HttpResponse.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/Json.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/Json.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Json.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Json.html">struct.Json.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Json.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/Path.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/Path.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Path.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Path.html">struct.Path.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Path.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/Query.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/Query.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Query.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Query.html">struct.Query.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Query.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/Request.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/Request.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Request.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Request.html">struct.Request.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Request.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/Responder.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/Responder.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.Responder.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.Responder.html">trait.Responder.html</a>...</p>
|
||||||
|
<script>location.replace("trait.Responder.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/Scope.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/Scope.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Scope.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Scope.html">struct.Scope.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Scope.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/State.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/State.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.State.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.State.html">struct.State.html</a>...</p>
|
||||||
|
<script>location.replace("struct.State.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.Actor.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.Actor.html">trait.Actor.html</a>...</p>
|
||||||
|
<script>location.replace("trait.Actor.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.ActorContext.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.ActorContext.html">trait.ActorContext.html</a>...</p>
|
||||||
|
<script>location.replace("trait.ActorContext.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.ActorFuture.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.ActorFuture.html">trait.ActorFuture.html</a>...</p>
|
||||||
|
<script>location.replace("trait.ActorFuture.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.ActorResponse.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.ActorResponse.html">struct.ActorResponse.html</a>...</p>
|
||||||
|
<script>location.replace("struct.ActorResponse.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=enum.ActorState.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="enum.ActorState.html">enum.ActorState.html</a>...</p>
|
||||||
|
<script>location.replace("enum.ActorState.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.ActorStream.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.ActorStream.html">trait.ActorStream.html</a>...</p>
|
||||||
|
<script>location.replace("trait.ActorStream.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
10
static/api/actix-web/0.7.2/actix_web/actix/actix/Addr.t.html
Normal file
10
static/api/actix-web/0.7.2/actix_web/actix/actix/Addr.t.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Addr.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Addr.html">struct.Addr.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Addr.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Arbiter.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Arbiter.html">struct.Arbiter.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Arbiter.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.ArbiterService.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.ArbiterService.html">trait.ArbiterService.html</a>...</p>
|
||||||
|
<script>location.replace("trait.ArbiterService.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.AsyncContext.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.AsyncContext.html">trait.AsyncContext.html</a>...</p>
|
||||||
|
<script>location.replace("trait.AsyncContext.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Condition.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Condition.html">struct.Condition.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Condition.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Context.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Context.html">struct.Context.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Context.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.ContextFutureSpawner.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.ContextFutureSpawner.html">trait.ContextFutureSpawner.html</a>...</p>
|
||||||
|
<script>location.replace("trait.ContextFutureSpawner.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.Handler.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.Handler.html">trait.Handler.html</a>...</p>
|
||||||
|
<script>location.replace("trait.Handler.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=enum.MailboxError.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="enum.MailboxError.html">enum.MailboxError.html</a>...</p>
|
||||||
|
<script>location.replace("enum.MailboxError.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.Message.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.Message.html">trait.Message.html</a>...</p>
|
||||||
|
<script>location.replace("trait.Message.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.MessageResult.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.MessageResult.html">struct.MessageResult.html</a>...</p>
|
||||||
|
<script>location.replace("struct.MessageResult.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Recipient.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Recipient.html">struct.Recipient.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Recipient.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.RecipientRequest.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.RecipientRequest.html">struct.RecipientRequest.html</a>...</p>
|
||||||
|
<script>location.replace("struct.RecipientRequest.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Request.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Request.html">struct.Request.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Request.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Response.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Response.html">struct.Response.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Response.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=type.ResponseActFuture.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="type.ResponseActFuture.html">type.ResponseActFuture.html</a>...</p>
|
||||||
|
<script>location.replace("type.ResponseActFuture.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=type.ResponseFuture.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="type.ResponseFuture.html">type.ResponseFuture.html</a>...</p>
|
||||||
|
<script>location.replace("type.ResponseFuture.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=enum.Running.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="enum.Running.html">enum.Running.html</a>...</p>
|
||||||
|
<script>location.replace("enum.Running.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=enum.SendError.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="enum.SendError.html">enum.SendError.html</a>...</p>
|
||||||
|
<script>location.replace("enum.SendError.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.SpawnHandle.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.SpawnHandle.html">struct.SpawnHandle.html</a>...</p>
|
||||||
|
<script>location.replace("struct.SpawnHandle.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.StreamHandler.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.StreamHandler.html">trait.StreamHandler.html</a>...</p>
|
||||||
|
<script>location.replace("trait.StreamHandler.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.Supervised.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.Supervised.html">trait.Supervised.html</a>...</p>
|
||||||
|
<script>location.replace("trait.Supervised.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Supervisor.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Supervisor.html">struct.Supervisor.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Supervisor.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.SyncArbiter.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.SyncArbiter.html">struct.SyncArbiter.html</a>...</p>
|
||||||
|
<script>location.replace("struct.SyncArbiter.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.SyncContext.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.SyncContext.html">struct.SyncContext.html</a>...</p>
|
||||||
|
<script>location.replace("struct.SyncContext.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.System.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.System.html">struct.System.html</a>...</p>
|
||||||
|
<script>location.replace("struct.System.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.SystemService.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.SystemService.html">trait.SystemService.html</a>...</p>
|
||||||
|
<script>location.replace("trait.SystemService.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.WrapFuture.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.WrapFuture.html">trait.WrapFuture.html</a>...</p>
|
||||||
|
<script>location.replace("trait.WrapFuture.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=trait.WrapStream.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="trait.WrapStream.html">trait.WrapStream.html</a>...</p>
|
||||||
|
<script>location.replace("trait.WrapStream.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,19 @@
|
|||||||
|
<!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 `actors` mod in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, actors"><title>actix_web::actix::actix::actors - 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="../../../../light.css" id="themeStyle"><script src="../../../../storage.js"></script></head><body class="rustdoc mod"><!--[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'>Module actors</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#modules">Modules</a></li></ul></div><p class='location'><a href='../../../index.html'>actix_web</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actix</a></p><script>window.sidebarCurrent = {name: 'actors', ty: 'mod', 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"><a id="settings-menu" href="../../../../settings.html"><img src="../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Module <a href='../../../index.html'>actix_web</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actix</a>::<wbr><a class="mod" href=''>actors</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></span></h1><div class='docblock'><p>Helper actors</p>
|
||||||
|
</div><h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2>
|
||||||
|
<table>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="mod" href="resolver/index.html"
|
||||||
|
title='mod actix_web::actix::actix::actors::resolver'>resolver</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
<p>DNS resolver and connector utility actor</p>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="mod" href="signal/index.html"
|
||||||
|
title='mod actix_web::actix::actix::actors::signal'>signal</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
<p>An actor implementation of Unix signal handling</p>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr></table></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><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../";window.currentCrate = "actix_web";</script><script src="../../../../aliases.js"></script><script src="../../../../main.js"></script><script defer src="../../../../search-index.js"></script></body></html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Connect.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Connect.html">struct.Connect.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Connect.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.ConnectAddr.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.ConnectAddr.html">struct.ConnectAddr.html</a>...</p>
|
||||||
|
<script>location.replace("struct.ConnectAddr.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=type.Connector.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="type.Connector.html">type.Connector.html</a>...</p>
|
||||||
|
<script>location.replace("type.Connector.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=type.ConnectorError.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="type.ConnectorError.html">type.ConnectorError.html</a>...</p>
|
||||||
|
<script>location.replace("type.ConnectorError.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Resolve.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Resolve.html">struct.Resolve.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Resolve.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Resolver.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Resolver.html">struct.Resolver.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Resolver.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=enum.ResolverError.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="enum.ResolverError.html">enum.ResolverError.html</a>...</p>
|
||||||
|
<script>location.replace("enum.ResolverError.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.TcpConnector.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.TcpConnector.html">struct.TcpConnector.html</a>...</p>
|
||||||
|
<script>location.replace("struct.TcpConnector.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,30 @@
|
|||||||
|
<!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 `ResolverError` enum in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, ResolverError"><title>actix_web::actix::actix::actors::resolver::ResolverError - 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="../../../../../light.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 ResolverError</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.Resolver">Resolver</a><a href="#variant.InvalidInput">InvalidInput</a><a href="#variant.Timeout">Timeout</a><a href="#variant.IoError">IoError</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Debug">Debug</a><a href="#impl-Display">Display</a><a href="#impl-Fail">Fail</a><a href="#impl-From%3CResolverError%3E">From<ResolverError></a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a></div></div><p class='location'><a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a></p><script>window.sidebarCurrent = {name: 'ResolverError', 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"><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Enum <a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a>::<wbr><a class="enum" href=''>ResolverError</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></span></h1><div class="docblock type-decl"><pre class='rust enum'>pub enum ResolverError {
|
||||||
|
Resolver(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
|
||||||
|
InvalidInput(&'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>),
|
||||||
|
Timeout,
|
||||||
|
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>),
|
||||||
|
}</pre></div><h2 id='variants' class='variants small-section-header'>
|
||||||
|
Variants<a href='#variants' class='anchor'></a></h2>
|
||||||
|
<span id="variant.Resolver" class="variant small-section-header"><a href="#variant.Resolver" class="anchor field"></a><span id='Resolver.v' class='invisible'><code>Resolver(<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><div class='docblock'><p>Failed to resolve the hostname</p>
|
||||||
|
</div><span id="variant.InvalidInput" class="variant small-section-header"><a href="#variant.InvalidInput" class="anchor field"></a><span id='InvalidInput.v' class='invisible'><code>InvalidInput(&'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>)</code></span></span><div class='docblock'><p>Address is invalid</p>
|
||||||
|
</div><span id="variant.Timeout" class="variant small-section-header"><a href="#variant.Timeout" class="anchor field"></a><span id='Timeout.v' class='invisible'><code>Timeout</code></span></span><div class='docblock'><p>Connecting took too long</p>
|
||||||
|
</div><span id="variant.IoError" class="variant small-section-header"><a href="#variant.IoError" class="anchor field"></a><span id='IoError.v' class='invisible'><code>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>)</code></span></span><div class='docblock'><p>Connection io error</p>
|
||||||
|
</div>
|
||||||
|
<h2 id='implementations' class='small-section-header'>
|
||||||
|
Trait Implementations<a href='#implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='implementations-list'><h3 id='impl-Debug' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><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="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a></code><a href='#impl-Debug' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code></td><td></td></tr></tbody></table></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-Display' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a></code><a href='#impl-Display' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.fmt-1' class="method"><span id='fmt.v-1' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
|
||||||
|
</div></div><h3 id='impl-Fail' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl Fail for <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a></code><a href='#impl-Fail' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.cause' class="method"><span id='cause.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='#method.cause' class='fnname'>cause</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&(Fail + 'static)></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. <a href="#method.cause">Read more</a></p>
|
||||||
|
</div><h4 id='method.backtrace' class="method"><span id='backtrace.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='#method.backtrace' class='fnname'>backtrace</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&Backtrace></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Returns a reference to the <code>Backtrace</code> carried by this failure, if it carries one. <a href="#method.backtrace">Read more</a></p>
|
||||||
|
</div><h4 id='method.context' class="method"><span id='context.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='#method.context' class='fnname'>context</a><D>(self, context: D) -> Context<D> <span class="where fmt-newline">where<br> D: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + <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> + 'static, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Provides context for this failure. <a href="#method.context">Read more</a></p>
|
||||||
|
</div><h4 id='method.compat' class="method"><span id='compat.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='#method.compat' class='fnname'>compat</a>(self) -> Compat<Self></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Wraps this failure in a compatibility wrapper that implements <code>std::error::Error</code>. <a href="#method.compat">Read more</a></p>
|
||||||
|
</div><h4 id='method.causes' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for Causes<'f></span></div><div class="content hidden"><h3 class="important">Important traits for Causes<'f></h3><code class="content"><span class="where fmt-newline">impl<'f> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for Causes<'f></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = &'f (Fail + 'static);</span></code></div></div><span id='causes.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='#method.causes' class='fnname'>causes</a>(&self) -> Causes</code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Returns a iterator over the causes of this <code>Fail</code> with itself as the first item and the <code>root_cause</code> as the final item. <a href="#method.causes">Read more</a></p>
|
||||||
|
</div><h4 id='method.root_cause' class="method"><span id='root_cause.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='#method.root_cause' class='fnname'>root_cause</a>(&self) -> &(Fail + 'static)</code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Returns the "root cause" of this <code>Fail</code> - the last value in the cause chain which does not return an underlying <code>cause</code>. <a href="#method.root_cause">Read more</a></p>
|
||||||
|
</div></div><h3 id='impl-From%3CResolverError%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><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="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a>> for <a class="enum" href="../../../../../actix_web/client/enum.ClientConnectorError.html" title="enum actix_web::client::ClientConnectorError">ClientConnectorError</a></code><a href='#impl-From%3CResolverError%3E' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../../../../src/actix_web/client/connector.rs.html#159-166' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.from' class="method"><span id='from.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(err: <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a>) -> <a class="enum" href="../../../../../actix_web/client/enum.ClientConnectorError.html" title="enum actix_web::client::ClientConnectorError">ClientConnectorError</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../../../../src/actix_web/client/connector.rs.html#160-165' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Performs the conversion.</p>
|
||||||
|
</div></div></div>
|
||||||
|
<h2 id='synthetic-implementations' class='small-section-header'>
|
||||||
|
Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='synthetic-implementations-list'>
|
||||||
|
<h3 id='impl-Send' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a></code><a href='#impl-Send' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a></code><a href='#impl-Sync' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></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><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "actix_web";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>
|
@ -0,0 +1,93 @@
|
|||||||
|
<!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 `resolver` mod in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, resolver"><title>actix_web::actix::actix::actors::resolver - 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="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script></head><body class="rustdoc mod"><!--[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'>Module resolver</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#types">Type Definitions</a></li></ul></div><p class='location'><a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a></p><script>window.sidebarCurrent = {name: 'resolver', ty: 'mod', 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"><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Module <a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a class="mod" href=''>resolver</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></span></h1><div class='docblock'><p>DNS resolver and connector utility actor</p>
|
||||||
|
<h2 id="example" class="section-header"><a href="#example">Example</a></h2>
|
||||||
|
<pre class="rust rust-example-rendered">
|
||||||
|
<span class="kw">use</span> <span class="ident">actix</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
||||||
|
<span class="kw">use</span> <span class="ident">actix</span>::<span class="ident">actors</span>::<span class="ident">resolver</span>;
|
||||||
|
|
||||||
|
<span class="kw">fn</span> <span class="ident">main</span>() {
|
||||||
|
<span class="ident">System</span>::<span class="ident">run</span>(<span class="op">||</span> {
|
||||||
|
|
||||||
|
<span class="ident">tokio</span>::<span class="ident">spawn</span>({
|
||||||
|
<span class="kw">let</span> <span class="ident">resolver</span> <span class="op">=</span> <span class="ident">resolver</span>::<span class="ident">Resolver</span>::<span class="ident">from_registry</span>();
|
||||||
|
|
||||||
|
<span class="ident">resolver</span>.<span class="ident">send</span>(
|
||||||
|
<span class="ident">resolver</span>::<span class="ident">Resolve</span>::<span class="ident">host</span>(<span class="string">"localhost"</span>)) <span class="comment">// <- resolve "localhost"</span>
|
||||||
|
.<span class="ident">then</span>(<span class="op">|</span><span class="ident">addrs</span><span class="op">|</span> {
|
||||||
|
<span class="macro">println</span><span class="macro">!</span>(<span class="string">"RESULT: {:?}"</span>, <span class="ident">addrs</span>);
|
||||||
|
<span class="prelude-val">Ok</span>::<span class="op"><</span><span class="kw">_</span>, ()<span class="op">></span>(())
|
||||||
|
})
|
||||||
|
});
|
||||||
|
|
||||||
|
<span class="ident">tokio</span>::<span class="ident">spawn</span>({
|
||||||
|
<span class="kw">let</span> <span class="ident">resolver</span> <span class="op">=</span> <span class="ident">resolver</span>::<span class="ident">Resolver</span>::<span class="ident">from_registry</span>();
|
||||||
|
|
||||||
|
<span class="ident">resolver</span>.<span class="ident">send</span>(
|
||||||
|
<span class="ident">resolver</span>::<span class="ident">Resolve</span>::<span class="ident">host</span>(<span class="string">"localhost:5000"</span>)) <span class="comment">// <- connect to a "localhost"</span>
|
||||||
|
.<span class="ident">then</span>(<span class="op">|</span><span class="ident">stream</span><span class="op">|</span> {
|
||||||
|
<span class="macro">println</span><span class="macro">!</span>(<span class="string">"RESULT: {:?}"</span>, <span class="ident">stream</span>);
|
||||||
|
<span class="prelude-val">Ok</span>::<span class="op"><</span><span class="kw">_</span>, ()<span class="op">></span>(())
|
||||||
|
})
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}</pre>
|
||||||
|
</div><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
|
||||||
|
<table>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="struct" href="struct.Connect.html"
|
||||||
|
title='struct actix_web::actix::actix::actors::resolver::Connect'>Connect</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="struct" href="struct.ConnectAddr.html"
|
||||||
|
title='struct actix_web::actix::actix::actors::resolver::ConnectAddr'>ConnectAddr</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="struct" href="struct.Resolve.html"
|
||||||
|
title='struct actix_web::actix::actix::actors::resolver::Resolve'>Resolve</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="struct" href="struct.Resolver.html"
|
||||||
|
title='struct actix_web::actix::actix::actors::resolver::Resolver'>Resolver</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="struct" href="struct.TcpConnector.html"
|
||||||
|
title='struct actix_web::actix::actix::actors::resolver::TcpConnector'>TcpConnector</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
<p>Tcp stream connector</p>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr></table><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2>
|
||||||
|
<table>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="enum" href="enum.ResolverError.html"
|
||||||
|
title='enum actix_web::actix::actix::actors::resolver::ResolverError'>ResolverError</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr></table><h2 id='types' class='section-header'><a href="#types">Type Definitions</a></h2>
|
||||||
|
<table>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="type" href="type.Connector.html"
|
||||||
|
title='type actix_web::actix::actix::actors::resolver::Connector'>Connector</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
[<div class='stab deprecated'>Deprecated</div>]
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="type" href="type.ConnectorError.html"
|
||||||
|
title='type actix_web::actix::actix::actors::resolver::ConnectorError'>ConnectorError</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
[<div class='stab deprecated'>Deprecated</div>]
|
||||||
|
</td>
|
||||||
|
</tr></table></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><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "actix_web";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>
|
@ -0,0 +1 @@
|
|||||||
|
initSidebarItems({"enum":[["ResolverError",""]],"struct":[["Connect",""],["ConnectAddr",""],["Resolve",""],["Resolver",""],["TcpConnector","Tcp stream connector"]],"type":[["Connector",""],["ConnectorError",""]]});
|
@ -0,0 +1,24 @@
|
|||||||
|
<!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 `Connect` struct in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, Connect"><title>actix_web::actix::actix::actors::resolver::Connect - 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="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script></head><body class="rustdoc struct"><!--[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'>Struct Connect</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.host">host</a><a href="#method.host_and_port">host_and_port</a><a href="#method.timeout">timeout</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Eq">Eq</a><a href="#impl-Message">Message</a><a href="#impl-PartialEq%3CConnect%3E">PartialEq<Connect></a><a href="#impl-Handler%3CConnect%3E">Handler<Connect></a><a href="#impl-Debug">Debug</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a></div></div><p class='location'><a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a></p><script>window.sidebarCurrent = {name: 'Connect', ty: 'struct', 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"><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Struct <a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a>::<wbr><a class="struct" href=''>Connect</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></span></h1><div class="docblock type-decl"><pre class='rust struct'>pub struct Connect { /* fields omitted */ }</pre></div>
|
||||||
|
<h2 id='methods' class='small-section-header'>
|
||||||
|
Methods<a href='#methods' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<h3 id='impl' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a></code><a href='#impl' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.host' class="method"><span id='host.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.host' class='fnname'>host</a><T>(host: T) -> <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>, </span></code></td><td></td></tr></tbody></table></span></h4><h4 id='method.host_and_port' class="method"><span id='host_and_port.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.host_and_port' class='fnname'>host_and_port</a><T>(host: T, port: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>, </span></code></td><td></td></tr></tbody></table></span></h4><h4 id='method.timeout' class="method"><span id='timeout.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.timeout' class='fnname'>timeout</a>(self, timeout: <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>) -> <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Set connect timeout</p>
|
||||||
|
<p>By default timeout is set to a 1 second.</p>
|
||||||
|
</div></div>
|
||||||
|
<h2 id='implementations' class='small-section-header'>
|
||||||
|
Trait Implementations<a href='#implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='implementations-list'><h3 id='impl-Eq' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a></code><a href='#impl-Eq' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Message' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Message.html" title="trait actix_web::actix::actix::Message">Message</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a></code><a href='#impl-Message' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Result' class="type"><span id='Result.t' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Message.html#associatedtype.Result' class="type">Result</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://docs.rs/tokio-tcp/0.1.0/tokio_tcp/stream/struct.TcpStream.html" title="struct tokio_tcp::stream::TcpStream">TcpStream</a>, <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a>></code></span></h4>
|
||||||
|
<div class='docblock'><p>The type of value that this message will resolved with if it is successful. <a href="../../../../../actix_web/actix/actix/trait.Message.html#associatedtype.Result">Read more</a></p>
|
||||||
|
</div></div><h3 id='impl-PartialEq%3CConnect%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a>> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a></code><a href='#impl-PartialEq%3CConnect%3E' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
|
||||||
|
</div><h4 id='method.ne' class="method"><span id='ne.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||||||
|
</div></div><h3 id='impl-Handler%3CConnect%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Handler.html" title="trait actix_web::actix::actix::Handler">Handler</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a>> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code><a href='#impl-Handler%3CConnect%3E' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Result-1' class="type"><span id='Result.t-1' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Handler.html#associatedtype.Result' class="type">Result</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><<a class="trait" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html" title="trait actix_web::actix::actix::ActorFuture">ActorFuture</a><Error = <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a>, Item = <a class="struct" href="https://docs.rs/tokio-tcp/0.1.0/tokio_tcp/stream/struct.TcpStream.html" title="struct tokio_tcp::stream::TcpStream">TcpStream</a>, Actor = <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a>> + 'static></code></span></h4>
|
||||||
|
<div class='docblock'><p>The type of value that this handle will return</p>
|
||||||
|
</div><h4 id='method.handle' class="method"><span id='handle.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Handler.html#tymethod.handle' class='fnname'>handle</a>(<br> &mut self, <br> msg: <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a>, <br> &mut <<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a><br>) -> <<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Handler.html" title="trait actix_web::actix::actix::Handler">Handler</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a>>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Handler.html#associatedtype.Result" title="type actix_web::actix::actix::Handler::Result">Result</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called for every message received by this Actor</p>
|
||||||
|
</div></div><h3 id='impl-Debug' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><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="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a></code><a href='#impl-Debug' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code></td><td></td></tr></tbody></table></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></div>
|
||||||
|
<h2 id='synthetic-implementations' class='small-section-header'>
|
||||||
|
Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='synthetic-implementations-list'>
|
||||||
|
<h3 id='impl-Send' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a></code><a href='#impl-Send' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a></code><a href='#impl-Sync' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></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><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "actix_web";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>
|
@ -0,0 +1,18 @@
|
|||||||
|
<!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 `ConnectAddr` struct in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, ConnectAddr"><title>actix_web::actix::actix::actors::resolver::ConnectAddr - 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="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script></head><body class="rustdoc struct"><!--[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'>Struct ConnectAddr</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Eq">Eq</a><a href="#impl-Message">Message</a><a href="#impl-PartialEq%3CConnectAddr%3E">PartialEq<ConnectAddr></a><a href="#impl-Handler%3CConnectAddr%3E">Handler<ConnectAddr></a><a href="#impl-Debug">Debug</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a></div></div><p class='location'><a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a></p><script>window.sidebarCurrent = {name: 'ConnectAddr', ty: 'struct', 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"><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Struct <a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a>::<wbr><a class="struct" href=''>ConnectAddr</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></span></h1><div class="docblock type-decl"><pre class='rust struct'>pub struct ConnectAddr(pub <a class="enum" href="https://doc.rust-lang.org/nightly/std/net/addr/enum.SocketAddr.html" title="enum std::net::addr::SocketAddr">SocketAddr</a>);</pre></div>
|
||||||
|
<h2 id='implementations' class='small-section-header'>
|
||||||
|
Trait Implementations<a href='#implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='implementations-list'><h3 id='impl-Eq' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a></code><a href='#impl-Eq' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Message' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Message.html" title="trait actix_web::actix::actix::Message">Message</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a></code><a href='#impl-Message' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Result' class="type"><span id='Result.t' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Message.html#associatedtype.Result' class="type">Result</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://docs.rs/tokio-tcp/0.1.0/tokio_tcp/stream/struct.TcpStream.html" title="struct tokio_tcp::stream::TcpStream">TcpStream</a>, <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a>></code></span></h4>
|
||||||
|
<div class='docblock'><p>The type of value that this message will resolved with if it is successful. <a href="../../../../../actix_web/actix/actix/trait.Message.html#associatedtype.Result">Read more</a></p>
|
||||||
|
</div></div><h3 id='impl-PartialEq%3CConnectAddr%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a>> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a></code><a href='#impl-PartialEq%3CConnectAddr%3E' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
|
||||||
|
</div><h4 id='method.ne' class="method"><span id='ne.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||||||
|
</div></div><h3 id='impl-Handler%3CConnectAddr%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Handler.html" title="trait actix_web::actix::actix::Handler">Handler</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a>> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code><a href='#impl-Handler%3CConnectAddr%3E' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Result-1' class="type"><span id='Result.t-1' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Handler.html#associatedtype.Result' class="type">Result</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><<a class="trait" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html" title="trait actix_web::actix::actix::ActorFuture">ActorFuture</a><Error = <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a>, Item = <a class="struct" href="https://docs.rs/tokio-tcp/0.1.0/tokio_tcp/stream/struct.TcpStream.html" title="struct tokio_tcp::stream::TcpStream">TcpStream</a>, Actor = <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a>> + 'static></code></span></h4>
|
||||||
|
<div class='docblock'><p>The type of value that this handle will return</p>
|
||||||
|
</div><h4 id='method.handle' class="method"><span id='handle.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Handler.html#tymethod.handle' class='fnname'>handle</a>(<br> &mut self, <br> msg: <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a>, <br> &mut <<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a><br>) -> <<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Handler.html" title="trait actix_web::actix::actix::Handler">Handler</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a>>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Handler.html#associatedtype.Result" title="type actix_web::actix::actix::Handler::Result">Result</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called for every message received by this Actor</p>
|
||||||
|
</div></div><h3 id='impl-Debug' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><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="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a></code><a href='#impl-Debug' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code></td><td></td></tr></tbody></table></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></div>
|
||||||
|
<h2 id='synthetic-implementations' class='small-section-header'>
|
||||||
|
Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='synthetic-implementations-list'>
|
||||||
|
<h3 id='impl-Send' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a></code><a href='#impl-Send' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a></code><a href='#impl-Sync' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></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><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "actix_web";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>
|
@ -0,0 +1,22 @@
|
|||||||
|
<!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 `Resolve` struct in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, Resolve"><title>actix_web::actix::actix::actors::resolver::Resolve - 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="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script></head><body class="rustdoc struct"><!--[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'>Struct Resolve</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.host">host</a><a href="#method.host_and_port">host_and_port</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Eq">Eq</a><a href="#impl-Message">Message</a><a href="#impl-PartialEq%3CResolve%3E">PartialEq<Resolve></a><a href="#impl-Handler%3CResolve%3E">Handler<Resolve></a><a href="#impl-Debug">Debug</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a></div></div><p class='location'><a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a></p><script>window.sidebarCurrent = {name: 'Resolve', ty: 'struct', 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"><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Struct <a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a>::<wbr><a class="struct" href=''>Resolve</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></span></h1><div class="docblock type-decl"><pre class='rust struct'>pub struct Resolve { /* fields omitted */ }</pre></div>
|
||||||
|
<h2 id='methods' class='small-section-header'>
|
||||||
|
Methods<a href='#methods' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<h3 id='impl' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a></code><a href='#impl' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.host' class="method"><span id='host.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.host' class='fnname'>host</a><T>(host: T) -> <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>, </span></code></td><td></td></tr></tbody></table></span></h4><h4 id='method.host_and_port' class="method"><span id='host_and_port.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.host_and_port' class='fnname'>host_and_port</a><T>(host: T, port: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>, </span></code></td><td></td></tr></tbody></table></span></h4></div>
|
||||||
|
<h2 id='implementations' class='small-section-header'>
|
||||||
|
Trait Implementations<a href='#implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='implementations-list'><h3 id='impl-Eq' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a></code><a href='#impl-Eq' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Message' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Message.html" title="trait actix_web::actix::actix::Message">Message</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a></code><a href='#impl-Message' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Result' class="type"><span id='Result.t' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Message.html#associatedtype.Result' class="type">Result</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a><<a class="enum" href="https://doc.rust-lang.org/nightly/std/net/addr/enum.SocketAddr.html" title="enum std::net::addr::SocketAddr">SocketAddr</a>>, <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a>></code></span></h4>
|
||||||
|
<div class='docblock'><p>The type of value that this message will resolved with if it is successful. <a href="../../../../../actix_web/actix/actix/trait.Message.html#associatedtype.Result">Read more</a></p>
|
||||||
|
</div></div><h3 id='impl-PartialEq%3CResolve%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a>> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a></code><a href='#impl-PartialEq%3CResolve%3E' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
|
||||||
|
</div><h4 id='method.ne' class="method"><span id='ne.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||||||
|
</div></div><h3 id='impl-Handler%3CResolve%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Handler.html" title="trait actix_web::actix::actix::Handler">Handler</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a>> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code><a href='#impl-Handler%3CResolve%3E' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Result-1' class="type"><span id='Result.t-1' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Handler.html#associatedtype.Result' class="type">Result</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><<a class="trait" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html" title="trait actix_web::actix::actix::ActorFuture">ActorFuture</a><Error = <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a>, Item = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a><<a class="enum" href="https://doc.rust-lang.org/nightly/std/net/addr/enum.SocketAddr.html" title="enum std::net::addr::SocketAddr">SocketAddr</a>>, Actor = <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a>> + 'static></code></span></h4>
|
||||||
|
<div class='docblock'><p>The type of value that this handle will return</p>
|
||||||
|
</div><h4 id='method.handle' class="method"><span id='handle.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Handler.html#tymethod.handle' class='fnname'>handle</a>(<br> &mut self, <br> msg: <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a>, <br> &mut <<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a><br>) -> <<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Handler.html" title="trait actix_web::actix::actix::Handler">Handler</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a>>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Handler.html#associatedtype.Result" title="type actix_web::actix::actix::Handler::Result">Result</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called for every message received by this Actor</p>
|
||||||
|
</div></div><h3 id='impl-Debug' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><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="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a></code><a href='#impl-Debug' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code></td><td></td></tr></tbody></table></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></div>
|
||||||
|
<h2 id='synthetic-implementations' class='small-section-header'>
|
||||||
|
Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='synthetic-implementations-list'>
|
||||||
|
<h3 id='impl-Send' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a></code><a href='#impl-Send' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a></code><a href='#impl-Sync' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></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><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "actix_web";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>
|
@ -0,0 +1,36 @@
|
|||||||
|
<!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 `Resolver` struct in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, Resolver"><title>actix_web::actix::actix::actors::resolver::Resolver - 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="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script></head><body class="rustdoc struct"><!--[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'>Struct Resolver</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.new">new</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Handler%3CResolve%3E">Handler<Resolve></a><a href="#impl-Handler%3CConnectAddr%3E">Handler<ConnectAddr></a><a href="#impl-Handler%3CConnect%3E">Handler<Connect></a><a href="#impl-SystemService">SystemService</a><a href="#impl-Supervised">Supervised</a><a href="#impl-Default">Default</a><a href="#impl-Actor">Actor</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a></div></div><p class='location'><a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a></p><script>window.sidebarCurrent = {name: 'Resolver', ty: 'struct', 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"><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Struct <a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a>::<wbr><a class="struct" href=''>Resolver</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></span></h1><div class="docblock type-decl"><pre class='rust struct'>pub struct Resolver { /* fields omitted */ }</pre></div>
|
||||||
|
<h2 id='methods' class='small-section-header'>
|
||||||
|
Methods<a href='#methods' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<h3 id='impl' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code><a href='#impl' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.new' class='fnname'>new</a>(config: ResolverConfig, options: ResolverOpts) -> <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code></td><td></td></tr></tbody></table></span></h4></div>
|
||||||
|
<h2 id='implementations' class='small-section-header'>
|
||||||
|
Trait Implementations<a href='#implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='implementations-list'><h3 id='impl-Handler%3CResolve%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Handler.html" title="trait actix_web::actix::actix::Handler">Handler</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a>> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code><a href='#impl-Handler%3CResolve%3E' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Result' class="type"><span id='Result.t' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Handler.html#associatedtype.Result' class="type">Result</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><<a class="trait" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html" title="trait actix_web::actix::actix::ActorFuture">ActorFuture</a><Error = <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a>, Item = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a><<a class="enum" href="https://doc.rust-lang.org/nightly/std/net/addr/enum.SocketAddr.html" title="enum std::net::addr::SocketAddr">SocketAddr</a>>, Actor = <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a>> + 'static></code></span></h4>
|
||||||
|
<div class='docblock'><p>The type of value that this handle will return</p>
|
||||||
|
</div><h4 id='method.handle' class="method"><span id='handle.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Handler.html#tymethod.handle' class='fnname'>handle</a>(<br> &mut self, <br> msg: <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a>, <br> &mut <<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a><br>) -> <<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Handler.html" title="trait actix_web::actix::actix::Handler">Handler</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolve.html" title="struct actix_web::actix::actix::actors::resolver::Resolve">Resolve</a>>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Handler.html#associatedtype.Result" title="type actix_web::actix::actix::Handler::Result">Result</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called for every message received by this Actor</p>
|
||||||
|
</div></div><h3 id='impl-Handler%3CConnectAddr%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Handler.html" title="trait actix_web::actix::actix::Handler">Handler</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a>> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code><a href='#impl-Handler%3CConnectAddr%3E' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Result-1' class="type"><span id='Result.t-1' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Handler.html#associatedtype.Result' class="type">Result</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><<a class="trait" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html" title="trait actix_web::actix::actix::ActorFuture">ActorFuture</a><Error = <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a>, Item = <a class="struct" href="https://docs.rs/tokio-tcp/0.1.0/tokio_tcp/stream/struct.TcpStream.html" title="struct tokio_tcp::stream::TcpStream">TcpStream</a>, Actor = <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a>> + 'static></code></span></h4>
|
||||||
|
<div class='docblock'><p>The type of value that this handle will return</p>
|
||||||
|
</div><h4 id='method.handle-1' class="method"><span id='handle.v-1' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Handler.html#tymethod.handle' class='fnname'>handle</a>(<br> &mut self, <br> msg: <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a>, <br> &mut <<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a><br>) -> <<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Handler.html" title="trait actix_web::actix::actix::Handler">Handler</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.ConnectAddr.html" title="struct actix_web::actix::actix::actors::resolver::ConnectAddr">ConnectAddr</a>>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Handler.html#associatedtype.Result" title="type actix_web::actix::actix::Handler::Result">Result</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called for every message received by this Actor</p>
|
||||||
|
</div></div><h3 id='impl-Handler%3CConnect%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Handler.html" title="trait actix_web::actix::actix::Handler">Handler</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a>> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code><a href='#impl-Handler%3CConnect%3E' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Result-2' class="type"><span id='Result.t-2' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Handler.html#associatedtype.Result' class="type">Result</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><<a class="trait" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html" title="trait actix_web::actix::actix::ActorFuture">ActorFuture</a><Error = <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a>, Item = <a class="struct" href="https://docs.rs/tokio-tcp/0.1.0/tokio_tcp/stream/struct.TcpStream.html" title="struct tokio_tcp::stream::TcpStream">TcpStream</a>, Actor = <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a>> + 'static></code></span></h4>
|
||||||
|
<div class='docblock'><p>The type of value that this handle will return</p>
|
||||||
|
</div><h4 id='method.handle-2' class="method"><span id='handle.v-2' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Handler.html#tymethod.handle' class='fnname'>handle</a>(<br> &mut self, <br> msg: <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a>, <br> &mut <<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a><br>) -> <<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Handler.html" title="trait actix_web::actix::actix::Handler">Handler</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Connect.html" title="struct actix_web::actix::actix::actors::resolver::Connect">Connect</a>>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Handler.html#associatedtype.Result" title="type actix_web::actix::actix::Handler::Result">Result</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called for every message received by this Actor</p>
|
||||||
|
</div></div><h3 id='impl-SystemService' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.SystemService.html" title="trait actix_web::actix::actix::SystemService">SystemService</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code><a href='#impl-SystemService' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.start_service' class="method"><span id='start_service.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.SystemService.html#method.start_service' class='fnname'>start_service</a>(sys: &<a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><<a class="struct" href="../../../../../actix_web/actix/actix/struct.Arbiter.html" title="struct actix_web::actix::actix::Arbiter">Arbiter</a>>) -> <a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><Self></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Construct and srtart system service</p>
|
||||||
|
</div><h4 id='method.service_started' class="method"><span id='service_started.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.SystemService.html#method.service_started' class='fnname'>service_started</a>(&mut self, ctx: &mut <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><Self>)</code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called during service initialization.</p>
|
||||||
|
</div><h4 id='method.from_registry' class="method"><span id='from_registry.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.SystemService.html#method.from_registry' class='fnname'>from_registry</a>() -> <a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><Self></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Get actor's address from system registry</p>
|
||||||
|
</div></div><h3 id='impl-Supervised' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Supervised.html" title="trait actix_web::actix::actix::Supervised">Supervised</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code><a href='#impl-Supervised' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.restarting' class="method"><span id='restarting.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Supervised.html#method.restarting' class='fnname'>restarting</a>(&mut self, ctx: &mut Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>)</code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method called when supervisor restarting failed actor</p>
|
||||||
|
</div></div><h3 id='impl-Default' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code><a href='#impl-Default' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.default' class="method"><span id='default.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -> <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Returns the "default value" for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
|
||||||
|
</div></div><h3 id='impl-Actor' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code><a href='#impl-Actor' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Context' class="type"><span id='Context.t' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context' class="type">Context</a> = <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a>></code></span></h4>
|
||||||
|
<div class='docblock'><p>Actor execution context type</p>
|
||||||
|
</div><h4 id='method.started' class="method"><span id='started.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.started' class='fnname'>started</a>(&mut self, ctx: &mut <<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>)</code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called when actor get polled first time.</p>
|
||||||
|
</div><h4 id='method.stopping' class="method"><span id='stopping.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.stopping' class='fnname'>stopping</a>(&mut self, ctx: &mut Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>) -> <a class="enum" href="../../../../../actix_web/actix/actix/enum.Running.html" title="enum actix_web::actix::actix::Running">Running</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called after an actor is in <code>Actor::Stopping</code> state. There could be several reasons for stopping. <code>Context::stop</code> get called by the actor itself. All addresses to current actor get dropped and no more evented objects left in the context. <a href="../../../../../actix_web/actix/actix/trait.Actor.html#method.stopping">Read more</a></p>
|
||||||
|
</div><h4 id='method.stopped' class="method"><span id='stopped.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.stopped' class='fnname'>stopped</a>(&mut self, ctx: &mut Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>)</code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called after an actor is stopped, it can be used to perform any needed cleanup work or spawning more actors. This is final state, after this call actor get dropped. <a href="../../../../../actix_web/actix/actix/trait.Actor.html#method.stopped">Read more</a></p>
|
||||||
|
</div><h4 id='method.start' class="method"><span id='start.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.start' class='fnname'>start</a>(self) -> <a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a><Context = <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><Self>>, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Start new asynchronous actor, returns address of newly created actor. <a href="../../../../../actix_web/actix/actix/trait.Actor.html#method.start">Read more</a></p>
|
||||||
|
</div><h4 id='method.start_default' class="method"><span id='start_default.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.start_default' class='fnname'>start_default</a>() -> <a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a><Context = <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><Self>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Start new asynchronous actor, returns address of newly created actor.</p>
|
||||||
|
</div><h4 id='method.create' class="method"><span id='create.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.create' class='fnname'>create</a><F>(f: F) -> <a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><Self> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&mut <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><Self>) -> Self + 'static,<br> Self: <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a><Context = <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><Self>>, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Use <code>create</code> method, if you need <code>Context</code> object during actor initialization. <a href="../../../../../actix_web/actix/actix/trait.Actor.html#method.create">Read more</a></p>
|
||||||
|
</div></div></div>
|
||||||
|
<h2 id='synthetic-implementations' class='small-section-header'>
|
||||||
|
Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='synthetic-implementations-list'>
|
||||||
|
<h3 id='impl-Send' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code><a href='#impl-Send' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code><a href='#impl-Sync' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></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><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "actix_web";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>
|
@ -0,0 +1,28 @@
|
|||||||
|
<!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 `TcpConnector` struct in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, TcpConnector"><title>actix_web::actix::actix::actors::resolver::TcpConnector - 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="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script></head><body class="rustdoc struct"><!--[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'>Struct TcpConnector</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.new">new</a><a href="#method.with_timeout">with_timeout</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-ActorFuture">ActorFuture</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a></div></div><p class='location'><a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a></p><script>window.sidebarCurrent = {name: 'TcpConnector', ty: 'struct', 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"><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Struct <a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a>::<wbr><a class="struct" href=''>TcpConnector</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></span></h1><div class="docblock type-decl"><pre class='rust struct'>pub struct TcpConnector { /* fields omitted */ }</pre></div><div class='docblock'><p>Tcp stream connector</p>
|
||||||
|
</div>
|
||||||
|
<h2 id='methods' class='small-section-header'>
|
||||||
|
Methods<a href='#methods' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<h3 id='impl' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.TcpConnector.html" title="struct actix_web::actix::actix::actors::resolver::TcpConnector">TcpConnector</a></code><a href='#impl' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.new' class='fnname'>new</a>(addrs: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a><<a class="enum" href="https://doc.rust-lang.org/nightly/std/net/addr/enum.SocketAddr.html" title="enum std::net::addr::SocketAddr">SocketAddr</a>>) -> <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.TcpConnector.html" title="struct actix_web::actix::actix::actors::resolver::TcpConnector">TcpConnector</a></code></td><td></td></tr></tbody></table></span></h4><h4 id='method.with_timeout' class="method"><span id='with_timeout.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.with_timeout' class='fnname'>with_timeout</a>(<br> addrs: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a><<a class="enum" href="https://doc.rust-lang.org/nightly/std/net/addr/enum.SocketAddr.html" title="enum std::net::addr::SocketAddr">SocketAddr</a>>, <br> timeout: <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a><br>) -> <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.TcpConnector.html" title="struct actix_web::actix::actix::actors::resolver::TcpConnector">TcpConnector</a></code></td><td></td></tr></tbody></table></span></h4></div>
|
||||||
|
<h2 id='implementations' class='small-section-header'>
|
||||||
|
Trait Implementations<a href='#implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='implementations-list'><h3 id='impl-ActorFuture' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html" title="trait actix_web::actix::actix::ActorFuture">ActorFuture</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.TcpConnector.html" title="struct actix_web::actix::actix::actors::resolver::TcpConnector">TcpConnector</a></code><a href='#impl-ActorFuture' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Item' class="type"><span id='Item.t' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Item' class="type">Item</a> = <a class="struct" href="https://docs.rs/tokio-tcp/0.1.0/tokio_tcp/stream/struct.TcpStream.html" title="struct tokio_tcp::stream::TcpStream">TcpStream</a></code></span></h4>
|
||||||
|
<div class='docblock'><p>The type of value that this future will resolved with if it is successful. <a href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Item">Read more</a></p>
|
||||||
|
</div><h4 id='associatedtype.Error' class="type"><span id='Error.t' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a></code></span></h4>
|
||||||
|
<div class='docblock'><p>The type of error that this future will resolve with if it fails in a normal fashion. <a href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Error">Read more</a></p>
|
||||||
|
</div><h4 id='associatedtype.Actor' class="type"><span id='Actor.t' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Actor' class="type">Actor</a> = <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a></code></span></h4>
|
||||||
|
<div class='docblock'><p>The actor within which this future runs</p>
|
||||||
|
</div><h4 id='method.poll' class="method"><span id='poll.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.ActorFuture.html#tymethod.poll' class='fnname'>poll</a>(<br> &mut self, <br> &mut <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a>, <br> &mut <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a>><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://docs.rs/futures/0.1/futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.TcpConnector.html" title="struct actix_web::actix::actix::actors::resolver::TcpConnector">TcpConnector</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html" title="trait actix_web::actix::actix::ActorFuture">ActorFuture</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Item" title="type actix_web::actix::actix::ActorFuture::Item">Item</a>>, <<a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.TcpConnector.html" title="struct actix_web::actix::actix::actors::resolver::TcpConnector">TcpConnector</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html" title="trait actix_web::actix::actix::ActorFuture">ActorFuture</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Error" title="type actix_web::actix::actix::ActorFuture::Error">Error</a>></code></td><td></td></tr></tbody></table></span></h4><h4 id='method.map' class="method"><span id='map.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.ActorFuture.html#method.map' class='fnname'>map</a><F, U>(self, f: F) -> <a class="struct" href="../../../../../actix_web/actix/actix/fut/struct.Map.html" title="struct actix_web::actix::actix::fut::Map">Map</a><Self, F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Item" title="type actix_web::actix::actix::ActorFuture::Item">Item</a>, &mut Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Actor" title="type actix_web::actix::actix::ActorFuture::Actor">Actor</a>, &mut <Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Actor" title="type actix_web::actix::actix::ActorFuture::Actor">Actor</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>) -> U, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Map this future's result to a different type, returning a new future of the resulting type. <a href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#method.map">Read more</a></p>
|
||||||
|
</div><h4 id='method.map_err' class="method"><span id='map_err.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.ActorFuture.html#method.map_err' class='fnname'>map_err</a><F, E>(self, f: F) -> <a class="struct" href="../../../../../actix_web/actix/actix/fut/struct.MapErr.html" title="struct actix_web::actix::actix::fut::MapErr">MapErr</a><Self, F> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Error" title="type actix_web::actix::actix::ActorFuture::Error">Error</a>, &mut Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Actor" title="type actix_web::actix::actix::ActorFuture::Actor">Actor</a>, &mut <Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Actor" title="type actix_web::actix::actix::ActorFuture::Actor">Actor</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>) -> E, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Map this future's error to a different error, returning a new future.</p>
|
||||||
|
</div><h4 id='method.drop_err' class="method"><span id='drop_err.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.ActorFuture.html#method.drop_err' class='fnname'>drop_err</a>(self) -> <a class="struct" href="../../../../../actix_web/actix/actix/fut/struct.DropErr.html" title="struct actix_web::actix::actix::fut::DropErr">DropErr</a><Self></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Drop this future's error, returning a new future.</p>
|
||||||
|
</div><h4 id='method.from_err' class="method"><span id='from_err.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.ActorFuture.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../../../../actix_web/actix/actix/fut/struct.FromErr.html" title="struct actix_web::actix::actix::fut::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Error" title="type actix_web::actix::actix::ActorFuture::Error">Error</a>>, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Map this future's error to any error implementing <code>From</code> for this future's <code>Error</code>, returning a new future. <a href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#method.from_err">Read more</a></p>
|
||||||
|
</div><h4 id='method.then' class="method"><span id='then.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.ActorFuture.html#method.then' class='fnname'>then</a><F, B>(self, f: F) -> <a class="struct" href="../../../../../actix_web/actix/actix/fut/struct.Then.html" title="struct actix_web::actix::actix::fut::Then">Then</a><Self, B, F> <span class="where fmt-newline">where<br> B: <a class="trait" href="../../../../../actix_web/actix/actix/fut/trait.IntoActorFuture.html" title="trait actix_web::actix::actix::fut::IntoActorFuture">IntoActorFuture</a><Actor = Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Actor" title="type actix_web::actix::actix::ActorFuture::Actor">Actor</a>>,<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Item" title="type actix_web::actix::actix::ActorFuture::Item">Item</a>, Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Error" title="type actix_web::actix::actix::ActorFuture::Error">Error</a>>, &mut Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Actor" title="type actix_web::actix::actix::ActorFuture::Actor">Actor</a>, &mut <Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Actor" title="type actix_web::actix::actix::ActorFuture::Actor">Actor</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>) -> B, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Chain on a computation for when a future finished, passing the result of the future to the provided closure <code>f</code>. <a href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#method.then">Read more</a></p>
|
||||||
|
</div><h4 id='method.and_then' class="method"><span id='and_then.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.ActorFuture.html#method.and_then' class='fnname'>and_then</a><F, B>(self, f: F) -> <a class="struct" href="../../../../../actix_web/actix/actix/fut/struct.AndThen.html" title="struct actix_web::actix::actix::fut::AndThen">AndThen</a><Self, B, F> <span class="where fmt-newline">where<br> B: <a class="trait" href="../../../../../actix_web/actix/actix/fut/trait.IntoActorFuture.html" title="trait actix_web::actix::actix::fut::IntoActorFuture">IntoActorFuture</a><Error = Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Error" title="type actix_web::actix::actix::ActorFuture::Error">Error</a>, Actor = Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Actor" title="type actix_web::actix::actix::ActorFuture::Actor">Actor</a>>,<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Item" title="type actix_web::actix::actix::ActorFuture::Item">Item</a>, &mut Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Actor" title="type actix_web::actix::actix::ActorFuture::Actor">Actor</a>, &mut <Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Actor" title="type actix_web::actix::actix::ActorFuture::Actor">Actor</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>) -> B, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Execute another future after this one has resolved successfully.</p>
|
||||||
|
</div><h4 id='method.timeout' class="method"><span id='timeout.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.ActorFuture.html#method.timeout' class='fnname'>timeout</a>(self, timeout: <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>, err: Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#associatedtype.Error" title="type actix_web::actix::actix::ActorFuture::Error">Error</a>) -> <a class="struct" href="../../../../../actix_web/actix/actix/fut/struct.Timeout.html" title="struct actix_web::actix::actix::fut::Timeout">Timeout</a><Self></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Add timeout to futures chain. <a href="../../../../../actix_web/actix/actix/trait.ActorFuture.html#method.timeout">Read more</a></p>
|
||||||
|
</div></div></div>
|
||||||
|
<h2 id='synthetic-implementations' class='small-section-header'>
|
||||||
|
Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='synthetic-implementations-list'>
|
||||||
|
<h3 id='impl-Send' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.TcpConnector.html" title="struct actix_web::actix::actix::actors::resolver::TcpConnector">TcpConnector</a></code><a href='#impl-Send' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.TcpConnector.html" title="struct actix_web::actix::actix::actors::resolver::TcpConnector">TcpConnector</a></code><a href='#impl-Sync' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></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><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "actix_web";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>
|
@ -0,0 +1,2 @@
|
|||||||
|
<!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 `Connector` type in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, Connector"><title>actix_web::actix::actix::actors::resolver::Connector - 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="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script></head><body class="rustdoc type"><!--[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'>Type Definition Connector</p><div class="sidebar-elems"><p class='location'><a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a></p><script>window.sidebarCurrent = {name: 'Connector', ty: 'type', 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"><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Type Definition <a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a>::<wbr><a class="type" href=''>Connector</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></span></h1><pre class='rust typedef'>type Connector = <a class="struct" href="../../../../../actix_web/actix/actix/actors/resolver/struct.Resolver.html" title="struct actix_web::actix::actix::actors::resolver::Resolver">Resolver</a>;</pre><div class='stability'><div class='stab deprecated'>Deprecated since 0.7.0<p>: please use <code>Resolver</code> instead</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><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "actix_web";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>
|
@ -0,0 +1,2 @@
|
|||||||
|
<!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 `ConnectorError` type in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, ConnectorError"><title>actix_web::actix::actix::actors::resolver::ConnectorError - 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="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script></head><body class="rustdoc type"><!--[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'>Type Definition ConnectorError</p><div class="sidebar-elems"><p class='location'><a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a></p><script>window.sidebarCurrent = {name: 'ConnectorError', ty: 'type', 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"><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Type Definition <a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>resolver</a>::<wbr><a class="type" href=''>ConnectorError</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></span></h1><pre class='rust typedef'>type ConnectorError = <a class="enum" href="../../../../../actix_web/actix/actix/actors/resolver/enum.ResolverError.html" title="enum actix_web::actix::actix::actors::resolver::ResolverError">ResolverError</a>;</pre><div class='stability'><div class='stab deprecated'>Deprecated since 0.7.0<p>: please use <code>ResolverError</code> instead</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><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "actix_web";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>
|
@ -0,0 +1 @@
|
|||||||
|
initSidebarItems({"mod":[["resolver","DNS resolver and connector utility actor"],["signal","An actor implementation of Unix signal handling"]]});
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.DefaultSignalsHandler.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.DefaultSignalsHandler.html">struct.DefaultSignalsHandler.html</a>...</p>
|
||||||
|
<script>location.replace("struct.DefaultSignalsHandler.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.ProcessSignals.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.ProcessSignals.html">struct.ProcessSignals.html</a>...</p>
|
||||||
|
<script>location.replace("struct.ProcessSignals.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Signal.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Signal.html">struct.Signal.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Signal.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=enum.SignalType.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="enum.SignalType.html">enum.SignalType.html</a>...</p>
|
||||||
|
<script>location.replace("enum.SignalType.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;URL=struct.Subscribe.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p>Redirecting to <a href="struct.Subscribe.html">struct.Subscribe.html</a>...</p>
|
||||||
|
<script>location.replace("struct.Subscribe.html" + location.search + location.hash);</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,32 @@
|
|||||||
|
<!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 `SignalType` enum in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, SignalType"><title>actix_web::actix::actix::actors::signal::SignalType - 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="../../../../../light.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 SignalType</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.Hup">Hup</a><a href="#variant.Int">Int</a><a href="#variant.Term">Term</a><a href="#variant.Quit">Quit</a><a href="#variant.Child">Child</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Message">Message</a><a href="#impl-PartialEq%3CSignalType%3E">PartialEq<SignalType></a><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-Copy">Copy</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a></div></div><p class='location'><a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>signal</a></p><script>window.sidebarCurrent = {name: 'SignalType', 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"><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Enum <a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>signal</a>::<wbr><a class="enum" href=''>SignalType</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></span></h1><div class="docblock type-decl"><pre class='rust enum'>pub enum SignalType {
|
||||||
|
Hup,
|
||||||
|
Int,
|
||||||
|
Term,
|
||||||
|
Quit,
|
||||||
|
Child,
|
||||||
|
}</pre></div><div class='docblock'><p>Different types of process signals</p>
|
||||||
|
</div><h2 id='variants' class='variants small-section-header'>
|
||||||
|
Variants<a href='#variants' class='anchor'></a></h2>
|
||||||
|
<span id="variant.Hup" class="variant small-section-header"><a href="#variant.Hup" class="anchor field"></a><span id='Hup.v' class='invisible'><code>Hup</code></span></span><div class='docblock'><p>SIGHUP</p>
|
||||||
|
</div><span id="variant.Int" class="variant small-section-header"><a href="#variant.Int" class="anchor field"></a><span id='Int.v' class='invisible'><code>Int</code></span></span><div class='docblock'><p>SIGINT</p>
|
||||||
|
</div><span id="variant.Term" class="variant small-section-header"><a href="#variant.Term" class="anchor field"></a><span id='Term.v' class='invisible'><code>Term</code></span></span><div class='docblock'><p>SIGTERM</p>
|
||||||
|
</div><span id="variant.Quit" class="variant small-section-header"><a href="#variant.Quit" class="anchor field"></a><span id='Quit.v' class='invisible'><code>Quit</code></span></span><div class='docblock'><p>SIGQUIT</p>
|
||||||
|
</div><span id="variant.Child" class="variant small-section-header"><a href="#variant.Child" class="anchor field"></a><span id='Child.v' class='invisible'><code>Child</code></span></span><div class='docblock'><p>SIGCHILD</p>
|
||||||
|
</div>
|
||||||
|
<h2 id='implementations' class='small-section-header'>
|
||||||
|
Trait Implementations<a href='#implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='implementations-list'><h3 id='impl-Message' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Message.html" title="trait actix_web::actix::actix::Message">Message</a> for <a class="enum" href="../../../../../actix_web/actix/actix/actors/signal/enum.SignalType.html" title="enum actix_web::actix::actix::actors::signal::SignalType">SignalType</a></code><a href='#impl-Message' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Result' class="type"><span id='Result.t' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Message.html#associatedtype.Result' class="type">Result</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code></span></h4>
|
||||||
|
<div class='docblock'><p>The type of value that this message will resolved with if it is successful. <a href="../../../../../actix_web/actix/actix/trait.Message.html#associatedtype.Result">Read more</a></p>
|
||||||
|
</div></div><h3 id='impl-PartialEq%3CSignalType%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../../../../../actix_web/actix/actix/actors/signal/enum.SignalType.html" title="enum actix_web::actix::actix::actors::signal::SignalType">SignalType</a>> for <a class="enum" href="../../../../../actix_web/actix/actix/actors/signal/enum.SignalType.html" title="enum actix_web::actix::actix::actors::signal::SignalType">SignalType</a></code><a href='#impl-PartialEq%3CSignalType%3E' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="enum" href="../../../../../actix_web/actix/actix/actors/signal/enum.SignalType.html" title="enum actix_web::actix::actix::actors::signal::SignalType">SignalType</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
|
||||||
|
</div><h4 id='method.ne' class="method"><span id='ne.v' class='invisible'><table class='table-display'><tbody><tr><td><code><div class="docblock attributes">#[must_use]
|
||||||
|
</div>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#126' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||||||
|
</div></div><h3 id='impl-Clone' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../../../../../actix_web/actix/actix/actors/signal/enum.SignalType.html" title="enum actix_web::actix::actix::actors::signal::SignalType">SignalType</a></code><a href='#impl-Clone' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="enum" href="../../../../../actix_web/actix/actix/actors/signal/enum.SignalType.html" title="enum actix_web::actix::actix::actors::signal::SignalType">SignalType</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||||||
|
</div><h4 id='method.clone_from' class="method"><span id='clone_from.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code></span></td><td><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#130-132' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||||||
|
</div></div><h3 id='impl-Debug' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><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="../../../../../actix_web/actix/actix/actors/signal/enum.SignalType.html" title="enum actix_web::actix::actix::actors::signal::SignalType">SignalType</a></code><a href='#impl-Debug' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code></td><td></td></tr></tbody></table></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-Copy' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="../../../../../actix_web/actix/actix/actors/signal/enum.SignalType.html" title="enum actix_web::actix::actix::actors::signal::SignalType">SignalType</a></code><a href='#impl-Copy' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div></div>
|
||||||
|
<h2 id='synthetic-implementations' class='small-section-header'>
|
||||||
|
Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='synthetic-implementations-list'>
|
||||||
|
<h3 id='impl-Send' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../../../../../actix_web/actix/actix/actors/signal/enum.SignalType.html" title="enum actix_web::actix::actix::actors::signal::SignalType">SignalType</a></code><a href='#impl-Send' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../../../../../actix_web/actix/actix/actors/signal/enum.SignalType.html" title="enum actix_web::actix::actix::actors::signal::SignalType">SignalType</a></code><a href='#impl-Sync' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></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><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "actix_web";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>
|
@ -0,0 +1,100 @@
|
|||||||
|
<!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 `signal` mod in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, signal"><title>actix_web::actix::actix::actors::signal - 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="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script></head><body class="rustdoc mod"><!--[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'>Module signal</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div><p class='location'><a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a></p><script>window.sidebarCurrent = {name: 'signal', ty: 'mod', 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"><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Module <a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a class="mod" href=''>signal</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></span></h1><div class='docblock'><p>An actor implementation of Unix signal handling</p>
|
||||||
|
<p>This module implements asynchronous signal handling for Actix. For each
|
||||||
|
signal <code>ProcessSignals</code> actor sends <code>Signal</code> message to all subscriber. To
|
||||||
|
subscriber, send <code>Subscribe</code> message to <code>ProcessSignals</code> actor.</p>
|
||||||
|
<h1 id="examples" class="section-header"><a href="#examples">Examples</a></h1>
|
||||||
|
<pre class="rust rust-example-rendered">
|
||||||
|
<span class="kw">use</span> <span class="ident">actix</span>::<span class="ident">actors</span>::<span class="ident">signal</span>;
|
||||||
|
<span class="kw">use</span> <span class="ident">actix</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
||||||
|
|
||||||
|
<span class="kw">struct</span> <span class="ident">Signals</span>;
|
||||||
|
|
||||||
|
<span class="kw">impl</span> <span class="ident">Actor</span> <span class="kw">for</span> <span class="ident">Signals</span> {
|
||||||
|
<span class="kw">type</span> <span class="ident">Context</span> <span class="op">=</span> <span class="ident">Context</span><span class="op"><</span><span class="self">Self</span><span class="op">></span>;
|
||||||
|
}
|
||||||
|
|
||||||
|
<span class="comment">// Shutdown system on and of `SIGINT`, `SIGTERM`, `SIGQUIT` signals</span>
|
||||||
|
<span class="kw">impl</span> <span class="ident">Handler</span><span class="op"><</span><span class="ident">signal</span>::<span class="ident">Signal</span><span class="op">></span> <span class="kw">for</span> <span class="ident">Signals</span> {
|
||||||
|
<span class="kw">type</span> <span class="prelude-ty">Result</span> <span class="op">=</span> ();
|
||||||
|
|
||||||
|
<span class="kw">fn</span> <span class="ident">handle</span>(<span class="kw-2">&</span><span class="kw-2">mut</span> <span class="self">self</span>, <span class="ident">msg</span>: <span class="ident">signal</span>::<span class="ident">Signal</span>, <span class="kw">_</span>: <span class="kw-2">&</span><span class="kw-2">mut</span> <span class="ident">Context</span><span class="op"><</span><span class="self">Self</span><span class="op">></span>) {
|
||||||
|
<span class="kw">match</span> <span class="ident">msg</span>.<span class="number">0</span> {
|
||||||
|
<span class="ident">signal</span>::<span class="ident">SignalType</span>::<span class="ident">Int</span> <span class="op">=></span> {
|
||||||
|
<span class="macro">println</span><span class="macro">!</span>(<span class="string">"SIGINT received, exiting"</span>);
|
||||||
|
<span class="ident">System</span>::<span class="ident">current</span>().<span class="ident">stop</span>();
|
||||||
|
}
|
||||||
|
<span class="ident">signal</span>::<span class="ident">SignalType</span>::<span class="ident">Hup</span> <span class="op">=></span> {
|
||||||
|
<span class="macro">println</span><span class="macro">!</span>(<span class="string">"SIGHUP received, reloading"</span>);
|
||||||
|
}
|
||||||
|
<span class="ident">signal</span>::<span class="ident">SignalType</span>::<span class="ident">Term</span> <span class="op">=></span> {
|
||||||
|
<span class="macro">println</span><span class="macro">!</span>(<span class="string">"SIGTERM received, stopping"</span>);
|
||||||
|
<span class="ident">System</span>::<span class="ident">current</span>().<span class="ident">stop</span>();
|
||||||
|
}
|
||||||
|
<span class="ident">signal</span>::<span class="ident">SignalType</span>::<span class="ident">Quit</span> <span class="op">=></span> {
|
||||||
|
<span class="macro">println</span><span class="macro">!</span>(<span class="string">"SIGQUIT received, exiting"</span>);
|
||||||
|
<span class="ident">System</span>::<span class="ident">current</span>().<span class="ident">stop</span>();
|
||||||
|
}
|
||||||
|
<span class="kw">_</span> <span class="op">=></span> (),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
<span class="kw">fn</span> <span class="ident">main</span>() {
|
||||||
|
<span class="comment">// initialize system</span>
|
||||||
|
<span class="ident">System</span>::<span class="ident">run</span>(<span class="op">||</span> {
|
||||||
|
<span class="comment">// Start signals handler</span>
|
||||||
|
<span class="kw">let</span> <span class="ident">addr</span> <span class="op">=</span> <span class="ident">Signals</span>.<span class="ident">start</span>();
|
||||||
|
|
||||||
|
<span class="comment">// send SIGTERM</span>
|
||||||
|
<span class="ident">std</span>::<span class="ident">thread</span>::<span class="ident">spawn</span>(<span class="kw">move</span> <span class="op">||</span> {
|
||||||
|
<span class="comment">// emulate SIGNTERM</span>
|
||||||
|
<span class="ident">addr</span>.<span class="ident">do_send</span>(<span class="ident">signal</span>::<span class="ident">Signal</span>(<span class="ident">signal</span>::<span class="ident">SignalType</span>::<span class="ident">Term</span>));
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
<span class="ident">std</span>::<span class="ident">process</span>::<span class="ident">exit</span>(<span class="number">0</span>);
|
||||||
|
}</pre>
|
||||||
|
</div><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
|
||||||
|
<table>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="struct" href="struct.DefaultSignalsHandler.html"
|
||||||
|
title='struct actix_web::actix::actix::actors::signal::DefaultSignalsHandler'>DefaultSignalsHandler</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
<p>Default signals handler. This actor sends <code>SystemExit</code> message to <code>System</code>
|
||||||
|
actor for each of <code>SIGINT</code>, <code>SIGTERM</code>, <code>SIGQUIT</code> signals.</p>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="struct" href="struct.ProcessSignals.html"
|
||||||
|
title='struct actix_web::actix::actix::actors::signal::ProcessSignals'>ProcessSignals</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
<p>An actor implementation of Unix signal handling</p>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="struct" href="struct.Signal.html"
|
||||||
|
title='struct actix_web::actix::actix::actors::signal::Signal'>Signal</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
<p>Process signal message</p>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="struct" href="struct.Subscribe.html"
|
||||||
|
title='struct actix_web::actix::actix::actors::signal::Subscribe'>Subscribe</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
<p>Subscribe to process signals.</p>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr></table><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2>
|
||||||
|
<table>
|
||||||
|
<tr class=' module-item'>
|
||||||
|
<td><a class="enum" href="enum.SignalType.html"
|
||||||
|
title='enum actix_web::actix::actix::actors::signal::SignalType'>SignalType</a></td>
|
||||||
|
<td class='docblock-short'>
|
||||||
|
<p>Different types of process signals</p>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr></table></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><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "actix_web";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>
|
@ -0,0 +1 @@
|
|||||||
|
initSidebarItems({"enum":[["SignalType","Different types of process signals"]],"struct":[["DefaultSignalsHandler","Default signals handler. This actor sends `SystemExit` message to `System` actor for each of `SIGINT`, `SIGTERM`, `SIGQUIT` signals."],["ProcessSignals","An actor implementation of Unix signal handling"],["Signal","Process signal message"],["Subscribe","Subscribe to process signals."]]});
|
@ -0,0 +1,26 @@
|
|||||||
|
<!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 `DefaultSignalsHandler` struct in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, DefaultSignalsHandler"><title>actix_web::actix::actix::actors::signal::DefaultSignalsHandler - 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="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script></head><body class="rustdoc struct"><!--[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'>Struct DefaultSignalsHandler</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Handler%3CSignal%3E">Handler<Signal></a><a href="#impl-Default">Default</a><a href="#impl-Actor">Actor</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a></div></div><p class='location'><a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>signal</a></p><script>window.sidebarCurrent = {name: 'DefaultSignalsHandler', ty: 'struct', 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"><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Struct <a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>signal</a>::<wbr><a class="struct" href=''>DefaultSignalsHandler</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></span></h1><div class="docblock type-decl"><pre class='rust struct'>pub struct DefaultSignalsHandler;</pre></div><div class='docblock'><p>Default signals handler. This actor sends <code>SystemExit</code> message to <code>System</code>
|
||||||
|
actor for each of <code>SIGINT</code>, <code>SIGTERM</code>, <code>SIGQUIT</code> signals.</p>
|
||||||
|
</div>
|
||||||
|
<h2 id='implementations' class='small-section-header'>
|
||||||
|
Trait Implementations<a href='#implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='implementations-list'><h3 id='impl-Handler%3CSignal%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Handler.html" title="trait actix_web::actix::actix::Handler">Handler</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.Signal.html" title="struct actix_web::actix::actix::actors::signal::Signal">Signal</a>> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.DefaultSignalsHandler.html" title="struct actix_web::actix::actix::actors::signal::DefaultSignalsHandler">DefaultSignalsHandler</a></code><a href='#impl-Handler%3CSignal%3E' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='docblock'><p>Handle <code>SIGINT</code>, <code>SIGTERM</code>, <code>SIGQUIT</code> signals and send <code>SystemExit(0)</code>
|
||||||
|
message to <code>System</code> actor.</p>
|
||||||
|
</div><div class='impl-items'><h4 id='associatedtype.Result' class="type"><span id='Result.t' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Handler.html#associatedtype.Result' class="type">Result</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code></span></h4>
|
||||||
|
<div class='docblock'><p>The type of value that this handle will return</p>
|
||||||
|
</div><h4 id='method.handle' class="method"><span id='handle.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Handler.html#tymethod.handle' class='fnname'>handle</a>(<br> &mut self, <br> msg: <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.Signal.html" title="struct actix_web::actix::actix::actors::signal::Signal">Signal</a>, <br> &mut <<a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.DefaultSignalsHandler.html" title="struct actix_web::actix::actix::actors::signal::DefaultSignalsHandler">DefaultSignalsHandler</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a><br>)</code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called for every message received by this Actor</p>
|
||||||
|
</div></div><h3 id='impl-Default' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.DefaultSignalsHandler.html" title="struct actix_web::actix::actix::actors::signal::DefaultSignalsHandler">DefaultSignalsHandler</a></code><a href='#impl-Default' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.default' class="method"><span id='default.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -> <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.DefaultSignalsHandler.html" title="struct actix_web::actix::actix::actors::signal::DefaultSignalsHandler">DefaultSignalsHandler</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Returns the "default value" for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
|
||||||
|
</div></div><h3 id='impl-Actor' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.DefaultSignalsHandler.html" title="struct actix_web::actix::actix::actors::signal::DefaultSignalsHandler">DefaultSignalsHandler</a></code><a href='#impl-Actor' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Context' class="type"><span id='Context.t' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context' class="type">Context</a> = <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.DefaultSignalsHandler.html" title="struct actix_web::actix::actix::actors::signal::DefaultSignalsHandler">DefaultSignalsHandler</a>></code></span></h4>
|
||||||
|
<div class='docblock'><p>Actor execution context type</p>
|
||||||
|
</div><h4 id='method.started' class="method"><span id='started.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.started' class='fnname'>started</a>(&mut self, ctx: &mut <<a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.DefaultSignalsHandler.html" title="struct actix_web::actix::actix::actors::signal::DefaultSignalsHandler">DefaultSignalsHandler</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>)</code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called when actor get polled first time.</p>
|
||||||
|
</div><h4 id='method.stopping' class="method"><span id='stopping.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.stopping' class='fnname'>stopping</a>(&mut self, ctx: &mut Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>) -> <a class="enum" href="../../../../../actix_web/actix/actix/enum.Running.html" title="enum actix_web::actix::actix::Running">Running</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called after an actor is in <code>Actor::Stopping</code> state. There could be several reasons for stopping. <code>Context::stop</code> get called by the actor itself. All addresses to current actor get dropped and no more evented objects left in the context. <a href="../../../../../actix_web/actix/actix/trait.Actor.html#method.stopping">Read more</a></p>
|
||||||
|
</div><h4 id='method.stopped' class="method"><span id='stopped.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.stopped' class='fnname'>stopped</a>(&mut self, ctx: &mut Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>)</code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called after an actor is stopped, it can be used to perform any needed cleanup work or spawning more actors. This is final state, after this call actor get dropped. <a href="../../../../../actix_web/actix/actix/trait.Actor.html#method.stopped">Read more</a></p>
|
||||||
|
</div><h4 id='method.start' class="method"><span id='start.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.start' class='fnname'>start</a>(self) -> <a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a><Context = <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><Self>>, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Start new asynchronous actor, returns address of newly created actor. <a href="../../../../../actix_web/actix/actix/trait.Actor.html#method.start">Read more</a></p>
|
||||||
|
</div><h4 id='method.start_default' class="method"><span id='start_default.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.start_default' class='fnname'>start_default</a>() -> <a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a><Context = <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><Self>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Start new asynchronous actor, returns address of newly created actor.</p>
|
||||||
|
</div><h4 id='method.create' class="method"><span id='create.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.create' class='fnname'>create</a><F>(f: F) -> <a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><Self> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&mut <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><Self>) -> Self + 'static,<br> Self: <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a><Context = <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><Self>>, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Use <code>create</code> method, if you need <code>Context</code> object during actor initialization. <a href="../../../../../actix_web/actix/actix/trait.Actor.html#method.create">Read more</a></p>
|
||||||
|
</div></div></div>
|
||||||
|
<h2 id='synthetic-implementations' class='small-section-header'>
|
||||||
|
Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='synthetic-implementations-list'>
|
||||||
|
<h3 id='impl-Send' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.DefaultSignalsHandler.html" title="struct actix_web::actix::actix::actors::signal::DefaultSignalsHandler">DefaultSignalsHandler</a></code><a href='#impl-Send' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.DefaultSignalsHandler.html" title="struct actix_web::actix::actix::actors::signal::DefaultSignalsHandler">DefaultSignalsHandler</a></code><a href='#impl-Sync' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></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><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "actix_web";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>
|
@ -0,0 +1,28 @@
|
|||||||
|
<!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 `ProcessSignals` struct in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, ProcessSignals"><title>actix_web::actix::actix::actors::signal::ProcessSignals - 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="../../../../../light.css" id="themeStyle"><script src="../../../../../storage.js"></script></head><body class="rustdoc struct"><!--[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'>Struct ProcessSignals</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Handler%3CSubscribe%3E">Handler<Subscribe></a><a href="#impl-SystemService">SystemService</a><a href="#impl-Supervised">Supervised</a><a href="#impl-Default">Default</a><a href="#impl-Actor">Actor</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-Send">Send</a><a href="#impl-Sync">!Sync</a></div></div><p class='location'><a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>signal</a></p><script>window.sidebarCurrent = {name: 'ProcessSignals', ty: 'struct', 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"><a id="settings-menu" href="../../../../../settings.html"><img src="../../../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Struct <a href='../../../../index.html'>actix_web</a>::<wbr><a href='../../../index.html'>actix</a>::<wbr><a href='../../index.html'>actix</a>::<wbr><a href='../index.html'>actors</a>::<wbr><a href='index.html'>signal</a>::<wbr><a class="struct" href=''>ProcessSignals</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></span></h1><div class="docblock type-decl"><pre class='rust struct'>pub struct ProcessSignals { /* fields omitted */ }</pre></div><div class='docblock'><p>An actor implementation of Unix signal handling</p>
|
||||||
|
</div>
|
||||||
|
<h2 id='implementations' class='small-section-header'>
|
||||||
|
Trait Implementations<a href='#implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='implementations-list'><h3 id='impl-Handler%3CSubscribe%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Handler.html" title="trait actix_web::actix::actix::Handler">Handler</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.Subscribe.html" title="struct actix_web::actix::actix::actors::signal::Subscribe">Subscribe</a>> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.ProcessSignals.html" title="struct actix_web::actix::actix::actors::signal::ProcessSignals">ProcessSignals</a></code><a href='#impl-Handler%3CSubscribe%3E' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='docblock'><p>Add subscriber for signals</p>
|
||||||
|
</div><div class='impl-items'><h4 id='associatedtype.Result' class="type"><span id='Result.t' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Handler.html#associatedtype.Result' class="type">Result</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code></span></h4>
|
||||||
|
<div class='docblock'><p>The type of value that this handle will return</p>
|
||||||
|
</div><h4 id='method.handle' class="method"><span id='handle.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Handler.html#tymethod.handle' class='fnname'>handle</a>(&mut self, msg: <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.Subscribe.html" title="struct actix_web::actix::actix::actors::signal::Subscribe">Subscribe</a>, &mut <<a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.ProcessSignals.html" title="struct actix_web::actix::actix::actors::signal::ProcessSignals">ProcessSignals</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>)</code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called for every message received by this Actor</p>
|
||||||
|
</div></div><h3 id='impl-SystemService' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.SystemService.html" title="trait actix_web::actix::actix::SystemService">SystemService</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.ProcessSignals.html" title="struct actix_web::actix::actix::actors::signal::ProcessSignals">ProcessSignals</a></code><a href='#impl-SystemService' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.service_started' class="method"><span id='service_started.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.SystemService.html#method.service_started' class='fnname'>service_started</a>(&mut self, ctx: &mut <<a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.ProcessSignals.html" title="struct actix_web::actix::actix::actors::signal::ProcessSignals">ProcessSignals</a> as <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a>>::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>)</code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called during service initialization.</p>
|
||||||
|
</div><h4 id='method.start_service' class="method"><span id='start_service.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.SystemService.html#method.start_service' class='fnname'>start_service</a>(sys: &<a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><<a class="struct" href="../../../../../actix_web/actix/actix/struct.Arbiter.html" title="struct actix_web::actix::actix::Arbiter">Arbiter</a>>) -> <a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><Self></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Construct and srtart system service</p>
|
||||||
|
</div><h4 id='method.from_registry' class="method"><span id='from_registry.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.SystemService.html#method.from_registry' class='fnname'>from_registry</a>() -> <a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><Self></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Get actor's address from system registry</p>
|
||||||
|
</div></div><h3 id='impl-Supervised' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Supervised.html" title="trait actix_web::actix::actix::Supervised">Supervised</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.ProcessSignals.html" title="struct actix_web::actix::actix::actors::signal::ProcessSignals">ProcessSignals</a></code><a href='#impl-Supervised' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.restarting' class="method"><span id='restarting.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Supervised.html#method.restarting' class='fnname'>restarting</a>(&mut self, ctx: &mut Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>)</code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method called when supervisor restarting failed actor</p>
|
||||||
|
</div></div><h3 id='impl-Default' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.ProcessSignals.html" title="struct actix_web::actix::actix::actors::signal::ProcessSignals">ProcessSignals</a></code><a href='#impl-Default' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.default' class="method"><span id='default.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default' class='fnname'>default</a>() -> <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.ProcessSignals.html" title="struct actix_web::actix::actix::actors::signal::ProcessSignals">ProcessSignals</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Returns the "default value" for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
|
||||||
|
</div></div><h3 id='impl-Actor' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.ProcessSignals.html" title="struct actix_web::actix::actix::actors::signal::ProcessSignals">ProcessSignals</a></code><a href='#impl-Actor' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Context' class="type"><span id='Context.t' class='invisible'><code>type <a href='../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context' class="type">Context</a> = <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><<a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.ProcessSignals.html" title="struct actix_web::actix::actix::actors::signal::ProcessSignals">ProcessSignals</a>></code></span></h4>
|
||||||
|
<div class='docblock'><p>Actor execution context type</p>
|
||||||
|
</div><h4 id='method.started' class="method"><span id='started.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.started' class='fnname'>started</a>(&mut self, ctx: &mut Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>)</code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called when actor get polled first time.</p>
|
||||||
|
</div><h4 id='method.stopping' class="method"><span id='stopping.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.stopping' class='fnname'>stopping</a>(&mut self, ctx: &mut Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>) -> <a class="enum" href="../../../../../actix_web/actix/actix/enum.Running.html" title="enum actix_web::actix::actix::Running">Running</a></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called after an actor is in <code>Actor::Stopping</code> state. There could be several reasons for stopping. <code>Context::stop</code> get called by the actor itself. All addresses to current actor get dropped and no more evented objects left in the context. <a href="../../../../../actix_web/actix/actix/trait.Actor.html#method.stopping">Read more</a></p>
|
||||||
|
</div><h4 id='method.stopped' class="method"><span id='stopped.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.stopped' class='fnname'>stopped</a>(&mut self, ctx: &mut Self::<a class="type" href="../../../../../actix_web/actix/actix/trait.Actor.html#associatedtype.Context" title="type actix_web::actix::actix::Actor::Context">Context</a>)</code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Method is called after an actor is stopped, it can be used to perform any needed cleanup work or spawning more actors. This is final state, after this call actor get dropped. <a href="../../../../../actix_web/actix/actix/trait.Actor.html#method.stopped">Read more</a></p>
|
||||||
|
</div><h4 id='method.start' class="method"><span id='start.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.start' class='fnname'>start</a>(self) -> <a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a><Context = <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><Self>>, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Start new asynchronous actor, returns address of newly created actor. <a href="../../../../../actix_web/actix/actix/trait.Actor.html#method.start">Read more</a></p>
|
||||||
|
</div><h4 id='method.start_default' class="method"><span id='start_default.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.start_default' class='fnname'>start_default</a>() -> <a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a><Context = <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><Self>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Start new asynchronous actor, returns address of newly created actor.</p>
|
||||||
|
</div><h4 id='method.create' class="method"><span id='create.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../../../../../actix_web/actix/actix/trait.Actor.html#method.create' class='fnname'>create</a><F>(f: F) -> <a class="struct" href="../../../../../actix_web/actix/actix/struct.Addr.html" title="struct actix_web::actix::actix::Addr">Addr</a><Self> <span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&mut <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><Self>) -> Self + 'static,<br> Self: <a class="trait" href="../../../../../actix_web/actix/actix/trait.Actor.html" title="trait actix_web::actix::actix::Actor">Actor</a><Context = <a class="struct" href="../../../../../actix_web/actix/actix/struct.Context.html" title="struct actix_web::actix::actix::Context">Context</a><Self>>, </span></code></td><td></td></tr></tbody></table></span></h4><div class='docblock'><p>Use <code>create</code> method, if you need <code>Context</code> object during actor initialization. <a href="../../../../../actix_web/actix/actix/trait.Actor.html#method.create">Read more</a></p>
|
||||||
|
</div></div></div>
|
||||||
|
<h2 id='synthetic-implementations' class='small-section-header'>
|
||||||
|
Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a>
|
||||||
|
</h2>
|
||||||
|
<div id='synthetic-implementations-list'>
|
||||||
|
<h3 id='impl-Send' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.ProcessSignals.html" title="struct actix_web::actix::actix::actors::signal::ProcessSignals">ProcessSignals</a></code><a href='#impl-Send' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../../../actix_web/actix/actix/actors/signal/struct.ProcessSignals.html" title="struct actix_web::actix::actix::actors::signal::ProcessSignals">ProcessSignals</a></code><a href='#impl-Sync' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></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><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../../../../";window.currentCrate = "actix_web";</script><script src="../../../../../aliases.js"></script><script src="../../../../../main.js"></script><script defer src="../../../../../search-index.js"></script></body></html>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user