<p>If the function can not parse an absolute URL from the given string,
a <ahref="enum.ParseError.html"><code>ParseError</code></a> variant will be returned.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.join"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#360">source</a></span><h4class="code-header">pub fn <ahref="#method.join"class="fnname">join</a>(&self, input: &<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>, <aclass="enum"href="https://docs.rs/url/2.3.1/url/parser/enum.ParseError.html"title="enum url::parser::ParseError">ParseError</a>></h4></section></summary><divclass="docblock"><p>Parse a string as an URL, with this URL as the base URL.</p>
<p>The inverse of this is <ahref="#method.make_relative"><code>make_relative</code></a>.</p>
<p>Note: a trailing slash is significant.
Without it, the last path component is considered to be a “file” name
to be removed to get at the “directory” that is used as the base:</p>
<spanclass="macro">assert_eq!</span>(<spanclass="ident">url</span>.<spanclass="ident">as_str</span>(), <spanclass="string">"https://example.net/a/c.png"</span>); <spanclass="comment">// Not /a/b.html/c.png</span>
<p>If the function can not parse an URL from the given string
with this URL as the base URL, a <ahref="enum.ParseError.html"><code>ParseError</code></a> variant will be returned.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.make_relative"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#405">source</a></span><h4class="code-header">pub fn <ahref="#method.make_relative"class="fnname">make_relative</a>(&self, url: &<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>></h4></section></summary><divclass="docblock"><p>Creates a relative URL if possible, with this URL as the base URL.</p>
<p>This is the inverse of <ahref="#method.join"><code>join</code></a>.</p>
<p>If this URL can’t be a base for the given URL, <code>None</code> is returned.
This is for example the case if the scheme, host or port are not the same.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.options"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#515">source</a></span><h4class="code-header">pub fn <ahref="#method.options"class="fnname">options</a><'a>() -><aclass="struct"href="https://docs.rs/url/2.3.1/url/struct.ParseOptions.html"title="struct url::ParseOptions">ParseOptions</a><'a></h4></section></summary><divclass="docblock"><p>Return a default <code>ParseOptions</code> that can fully configure the URL parser.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.as_str"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#542">source</a></span><h4class="code-header">pub fn <ahref="#method.as_str"class="fnname">as_str</a>(&self) ->&<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a></h4></section></summary><divclass="docblock"><p>Return the serialization of this URL.</p>
<p>This is fast since that serialization is already stored in the <code>Url</code> struct.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.origin"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#765">source</a></span><h4class="code-header">pub fn <ahref="#method.origin"class="fnname">origin</a>(&self) -><aclass="enum"href="https://docs.rs/url/2.3.1/url/origin/enum.Origin.html"title="enum url::origin::Origin">Origin</a></h4></section></summary><divclass="docblock"><p>Return the origin of this URL (<ahref="https://url.spec.whatwg.org/#origin">https://url.spec.whatwg.org/#origin</a>)</p>
<p>Note: this returns an opaque origin for <code>file:</code> URLs, which causes
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.scheme"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#785">source</a></span><h4class="code-header">pub fn <ahref="#method.scheme"class="fnname">scheme</a>(&self) ->&<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a></h4></section></summary><divclass="docblock"><p>Return the scheme of this URL, lower-cased, as an ASCII string without the ‘:’ delimiter.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.has_authority"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#815">source</a></span><h4class="code-header">pub fn <ahref="#method.has_authority"class="fnname">has_authority</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass="docblock"><p>Return whether the URL has an ‘authority’,
which can contain a username, password, host, and port number.</p>
<p>URLs that do <em>not</em> are either path-only like <code>unix:/run/foo.socket</code>
or cannot-be-a-base like <code>data:text/plain,Stuff</code>.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.cannot_be_a_base"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#846">source</a></span><h4class="code-header">pub fn <ahref="#method.cannot_be_a_base"class="fnname">cannot_be_a_base</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass="docblock"><p>Return whether this URL is a cannot-be-a-base URL,
meaning that parsing a relative URL string with this URL as the base will return an error.</p>
<p>This is the case if the scheme and <code>:</code> delimiter are not followed by a <code>/</code> slash,
as is typically the case of <code>data:</code> and <code>mailto:</code> URLs.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.username"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#872">source</a></span><h4class="code-header">pub fn <ahref="#method.username"class="fnname">username</a>(&self) ->&<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a></h4></section></summary><divclass="docblock"><p>Return the username for this URL (typically the empty string)
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.password"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#905">source</a></span><h4class="code-header">pub fn <ahref="#method.password"class="fnname">password</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><&<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>></h4></section></summary><divclass="docblock"><p>Return the password for this URL, if any, as a percent-encoded ASCII string.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.host_str"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#977">source</a></span><h4class="code-header">pub fn <ahref="#method.host_str"class="fnname">host_str</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><&<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>></h4></section></summary><divclass="docblock"><p>Return the string representation of the host (domain or IP address) for this URL, if any.</p>
<p>Non-ASCII domains are punycode-encoded per IDNA if this is the host
of a special URL, or percent encoded for non-special URLs.
IPv6 addresses are given between <code>[</code> and <code>]</code> brackets.</p>
<p>Cannot-be-a-base URLs (typical of <code>data:</code> and <code>mailto:</code>) and some <code>file:</code> URLs
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.host"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#1016">source</a></span><h4class="code-header">pub fn <ahref="#method.host"class="fnname">host</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="enum"href="https://docs.rs/url/2.3.1/url/host/enum.Host.html"title="enum url::host::Host">Host</a><&<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>>></h4></section></summary><divclass="docblock"><p>Return the parsed representation of the host for this URL.
Non-ASCII domain labels are punycode-encoded per IDNA if this is the host
of a special URL, or percent encoded for non-special URLs.</p>
<p>Cannot-be-a-base URLs (typical of <code>data:</code> and <code>mailto:</code>) and some <code>file:</code> URLs
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.domain"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#1048">source</a></span><h4class="code-header">pub fn <ahref="#method.domain"class="fnname">domain</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><&<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>></h4></section></summary><divclass="docblock"><p>If this URL has a host and it is a domain name (not an IP address), return it.
Non-ASCII domains are punycode-encoded per IDNA if this is the host
of a special URL, or percent encoded for non-special URLs.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.port"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#1080">source</a></span><h4class="code-header">pub fn <ahref="#method.port"class="fnname">port</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.u16.html">u16</a>></h4></section></summary><divclass="docblock"><p>Return the port number for this URL, if any.</p>
<p>Note that default port numbers are never reflected by the serialization,
use the <code>port_or_known_default()</code> method if you want a default port number returned.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.port_or_known_default"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#1112">source</a></span><h4class="code-header">pub fn <ahref="#method.port_or_known_default"class="fnname">port_or_known_default</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.u16.html">u16</a>></h4></section></summary><divclass="docblock"><p>Return the port number for this URL, or the default port number if it is known.</p>
<p>This method only knows the default port number
of the <code>http</code>, <code>https</code>, <code>ws</code>, <code>wss</code> and <code>ftp</code> schemes.</p>
<p>For URLs in these schemes, this method always returns <code>Some(_)</code>.
For other schemes, it is the same as <code>Url::port()</code>.</p>
<divclass="example-wrap"><preclass="rust rust-example-rendered"><code><spanclass="doccomment">/// With application-specific known default port numbers</span>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.path"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#1194">source</a></span><h4class="code-header">pub fn <ahref="#method.path"class="fnname">path</a>(&self) ->&<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a></h4></section></summary><divclass="docblock"><p>Return the path for this URL, as a percent-encoded ASCII string.
For cannot-be-a-base URLs, this is an arbitrary string that doesn’t start with ‘/’.
For other URLs, this starts with a ‘/’ slash
and continues with slash-separated path segments.</p>
<spanclass="kw">let</span><spanclass="kw-2">mut</span><spanclass="ident">path_segments</span><spanclass="op">=</span><spanclass="ident">url</span>.<spanclass="ident">path_segments</span>().<spanclass="ident">ok_or_else</span>(<spanclass="op">|</span><spanclass="op">|</span><spanclass="string">"cannot be base"</span>)<spanclass="question-mark">?</span>;
<spanclass="kw">let</span><spanclass="kw-2">mut</span><spanclass="ident">path_segments</span><spanclass="op">=</span><spanclass="ident">url</span>.<spanclass="ident">path_segments</span>().<spanclass="ident">ok_or_else</span>(<spanclass="op">|</span><spanclass="op">|</span><spanclass="string">"cannot be base"</span>)<spanclass="question-mark">?</span>;
<spanclass="kw">let</span><spanclass="kw-2">mut</span><spanclass="ident">path_segments</span><spanclass="op">=</span><spanclass="ident">url</span>.<spanclass="ident">path_segments</span>().<spanclass="ident">ok_or_else</span>(<spanclass="op">|</span><spanclass="op">|</span><spanclass="string">"cannot be base"</span>)<spanclass="question-mark">?</span>;
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.query"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#1270">source</a></span><h4class="code-header">pub fn <ahref="#method.query"class="fnname">query</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><&<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>></h4></section></summary><divclass="docblock"><p>Return this URL’s query string, if any, as a percent-encoded ASCII string.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.query_pairs"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#1309">source</a></span><h4class="code-header">pub fn <ahref="#method.query_pairs"class="fnname">query_pairs</a>(&self) -> Parse<'_></h4></section></summary><divclass="docblock"><p>Parse the URL’s query string, if any, as <code>application/x-www-form-urlencoded</code>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fragment"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#1345">source</a></span><h4class="code-header">pub fn <ahref="#method.fragment"class="fnname">fragment</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><&<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>></h4></section></summary><divclass="docblock"><p>Return this URL’s fragment identifier, if any.</p>
<p>A fragment is the part of the URL after the <code>#</code> symbol.
The fragment is optional and, if present, contains a fragment identifier
that identifies a secondary resource, such as a section heading
of a document.</p>
<p>In HTML, the fragment identifier is usually the id attribute of a an element
that is scrolled to on load. Browsers typically will not send the fragment portion
of a URL to the server.</p>
<p><strong>Note:</strong> the parser did <em>not</em> percent-encode this component,
but the input may have been percent-encoded already.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.path_segments_mut"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#1585">source</a></span><h4class="code-header">pub fn <ahref="#method.path_segments_mut"class="fnname">path_segments_mut</a>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="https://docs.rs/url/2.3.1/url/path_segments/struct.PathSegmentsMut.html"title="struct url::path_segments::PathSegmentsMut">PathSegmentsMut</a><'_>, <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>></h4></section></summary><divclass="docblock"><p>Return an object with methods to manipulate this URL’s path segments.</p>
<p>Return <code>Err(())</code> if this URL is cannot-be-a-base.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.set_port"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#1669">source</a></span><h4class="code-header">pub fn <ahref="#method.set_port"class="fnname">set_port</a>(&mut self, port: <aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.u16.html">u16</a>>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>></h4></section></summary><divclass="docblock"><p>Change this URL’s port number.</p>
<p>Note that default port numbers are not reflected in the serialization.</p>
<p>If this URL is cannot-be-a-base, does not have a host, or has the <code>file</code> scheme;
<spanclass="ident">url</span>.<spanclass="ident">set_port</span>(<spanclass="prelude-val">Some</span>(<spanclass="number">4096</span>)).<spanclass="ident">map_err</span>(<spanclass="op">|</span><spanclass="kw">_</span><spanclass="op">|</span><spanclass="string">"cannot be base"</span>)<spanclass="question-mark">?</span>;
<spanclass="ident">url</span>.<spanclass="ident">set_port</span>(<spanclass="prelude-val">None</span>).<spanclass="ident">map_err</span>(<spanclass="op">|</span><spanclass="kw">_</span><spanclass="op">|</span><spanclass="string">"cannot be base"</span>)<spanclass="question-mark">?</span>;
<spanclass="ident">url</span>.<spanclass="ident">set_port</span>(<spanclass="prelude-val">Some</span>(<spanclass="number">443</span>)).<spanclass="ident">map_err</span>(<spanclass="op">|</span><spanclass="kw">_</span><spanclass="op">|</span><spanclass="string">"cannot be base"</span>)<spanclass="question-mark">?</span>;
<p>If this URL is cannot-be-a-base or there is an error parsing the given <code>host</code>,
a <ahref="enum.ParseError.html"><code>ParseError</code></a> variant will be returned.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.set_ip_host"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#1947">source</a></span><h4class="code-header">pub fn <ahref="#method.set_ip_host"class="fnname">set_ip_host</a>(&mut self, address: <aclass="enum"href="https://doc.rust-lang.org/1.64.0/std/net/ip/enum.IpAddr.html"title="enum std::net::ip::IpAddr">IpAddr</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>></h4></section></summary><divclass="docblock"><p>Change this URL’s host to the given IP address.</p>
<p>If this URL is cannot-be-a-base, do nothing and return <code>Err</code>.</p>
<p>Compared to <code>Url::set_host</code>, this skips the host parser.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from_file_path"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2322">source</a></span><h4class="code-header">pub fn <ahref="#method.from_file_path"class="fnname">from_file_path</a><P>(path: P) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>, <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.AsRef.html"title="trait core::convert::AsRef">AsRef</a><<aclass="struct"href="https://doc.rust-lang.org/1.64.0/std/path/struct.Path.html"title="struct std::path::Path">Path</a>>, </span></h4></section></summary><divclass="docblock"><p>Convert a file name as <code>std::path::Path</code> into an URL in the <code>file</code> scheme.</p>
<p>This returns <code>Err</code> if the given path is not absolute or,
on Windows, if the prefix is not a disk prefix (e.g. <code>C:</code>) or a UNC prefix (<code>\\</code>).</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from_directory_path"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2359">source</a></span><h4class="code-header">pub fn <ahref="#method.from_directory_path"class="fnname">from_directory_path</a><P>(path: P) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>, <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.AsRef.html"title="trait core::convert::AsRef">AsRef</a><<aclass="struct"href="https://doc.rust-lang.org/1.64.0/std/path/struct.Path.html"title="struct std::path::Path">Path</a>>, </span></h4></section></summary><divclass="docblock"><p>Convert a directory name as <code>std::path::Path</code> into an URL in the <code>file</code> scheme.</p>
<p>This returns <code>Err</code> if the given path is not absolute or,
on Windows, if the prefix is not a disk prefix (e.g. <code>C:</code>) or a UNC prefix (<code>\\</code>).</p>
<p>Compared to <code>from_file_path</code>, this ensure that URL’s the path has a trailing slash
so that the entire path is considered when using this URL as a base URL.</p>
<p>For example:</p>
<ul>
<li><code>"index.html"</code> parsed with <code>Url::from_directory_path(Path::new("/var/www"))</code>
as the base URL is <code>file:///var/www/index.html</code></li>
<li><code>"index.html"</code> parsed with <code>Url::from_file_path(Path::new("/var/www"))</code>
as the base URL is <code>file:///var/index.html</code>, which might not be what was intended.</li>
</ul>
<p>Note that <code>std::path</code> does not consider trailing slashes significant
and usually does not include them (e.g. in <code>Path::parent()</code>).</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.serialize_internal"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2375-2377">source</a></span><h4class="code-header">pub fn <ahref="#method.serialize_internal"class="fnname">serialize_internal</a><S>(<br> &self,<br> serializer: S<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<S as <aclass="trait"href="https://docs.rs/serde/1.0.147/serde/ser/trait.Serializer.html"title="trait serde::ser::Serializer">Serializer</a>>::<aclass="associatedtype"href="https://docs.rs/serde/1.0.147/serde/ser/trait.Serializer.html#associatedtype.Ok"title="type serde::ser::Serializer::Ok">Ok</a>, <S as <aclass="trait"href="https://docs.rs/serde/1.0.147/serde/ser/trait.Serializer.html"title="trait serde::ser::Serializer">Serializer</a>>::<aclass="associatedtype"href="https://docs.rs/serde/1.0.147/serde/ser/trait.Serializer.html#associatedtype.Error"title="type serde::ser::Serializer::Error">Error</a>><spanclass="where fmt-newline">where<br> S: <aclass="trait"href="https://docs.rs/serde/1.0.147/serde/ser/trait.Serializer.html"title="trait serde::ser::Serializer">Serializer</a>, </span></h4></section></summary><divclass="docblock"><p>Serialize with Serde using the internal representation of the <code>Url</code> struct.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.deserialize_internal"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2417-2419">source</a></span><h4class="code-header">pub fn <ahref="#method.deserialize_internal"class="fnname">deserialize_internal</a><'de, D>(<br> deserializer: D<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>, <D as <aclass="trait"href="https://docs.rs/serde/1.0.147/serde/de/trait.Deserializer.html"title="trait serde::de::Deserializer">Deserializer</a><'de>>::<aclass="associatedtype"href="https://docs.rs/serde/1.0.147/serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> D: <aclass="trait"href="https://docs.rs/serde/1.0.147/serde/de/trait.Deserializer.html"title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></section></summary><divclass="docblock"><p>Serialize with Serde using the internal representation of the <code>Url</code> struct.</p>
<p>The corresponding <code>deserialize_internal</code> method sacrifices some invariant-checking
for speed, compared to the <code>Deserialize</code> trait impl.</p>
<p>This method is only available if the <code>serde</code> Cargo feature is enabled.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.to_file_path"class="method has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2476">source</a></span><h4class="code-header">pub fn <ahref="#method.to_file_path"class="fnname">to_file_path</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="https://doc.rust-lang.org/1.64.0/std/path/struct.PathBuf.html"title="struct std::path::PathBuf">PathBuf</a>, <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>></h4></section></summary><divclass="docblock"><p>Assuming the URL is in the <code>file</code> scheme or similar,
convert its path to an absolute <code>std::path::Path</code>.</p>
<p><strong>Note:</strong> This does not actually check the URL’s <code>scheme</code>,
and may give nonsensical results for other schemes.
It is the user’s responsibility to check the URL’s scheme before calling this.</p>
<p>Returns <code>Err</code> if the host is neither empty nor <code>"localhost"</code> (except on Windows, where
<code>file:</code> URLs may have a non-local host),
or if <code>Path::new_opt()</code> returns <code>None</code>.
(That is, if the percent-decoded path contains a NUL byte or,
for a Windows path, is not UTF-8.)</p>
</div></details></div></details></div><h2id="trait-implementations"class="small-section-header">Trait Implementations<ahref="#trait-implementations"class="anchor"></a></h2><divid="trait-implementations-list"><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-AsRef%3Cstr%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2598">source</a></span><ahref="#impl-AsRef%3Cstr%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.AsRef.html"title="trait core::convert::AsRef">AsRef</a><<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="docblock"><p>Return the serialization of this URL.</p>
</div><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.as_ref"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2600">source</a></span><ahref="#method.as_ref"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.AsRef.html#tymethod.as_ref"class="fnname">as_ref</a>(&self) ->&<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a></h4></section></summary><divclass='docblock'><p>Converts this type into a shared reference of the (usually inferred) input type.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Clone-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#169">source</a></span><ahref="#impl-Clone-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.clone"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#169">source</a></span><ahref="#method.clone"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#tymethod.clone"class="fnname">clone</a>(&self) -><aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h4></section></summary><divclass='docblock'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.clone_from"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/clone.rs.html#132-134">source</a></span><ahref="#method.clone_from"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#method.clone_from"class="fnname">clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&</a>Self)</h4></section></summary><divclass='docblock'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Debug-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2541">source</a></span><ahref="#impl-Debug-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="docblock"><p>Debug the serialization of this URL.</p>
</div><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2543">source</a></span><ahref="#method.fmt"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt"class="fnname">fmt</a>(&self, formatter: &mut <aclass="struct"href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a><'_>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html"title="struct core::fmt::Error">Error</a>></h4></section></summary><divclass='docblock'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Deserialize%3C%27de%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2647">source</a></span><ahref="#impl-Deserialize%3C%27de%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl<'de><aclass="trait"href="https://docs.rs/serde/1.0.147/serde/de/trait.Deserialize.html"title="trait serde::de::Deserialize">Deserialize</a><'de> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="docblock"><p>Deserializes this URL from a <code>serde</code> stream.</p>
</div><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.deserialize"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2648-2650">source</a></span><ahref="#method.deserialize"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/serde/1.0.147/serde/de/trait.Deserialize.html#tymethod.deserialize"class="fnname">deserialize</a><D>(<br> deserializer: D<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>, <D as <aclass="trait"href="https://docs.rs/serde/1.0.147/serde/de/trait.Deserializer.html"title="trait serde::de::Deserializer">Deserializer</a><'de>>::<aclass="associatedtype"href="https://docs.rs/serde/1.0.147/serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><spanclass="where fmt-newline">where<br> D: <aclass="trait"href="https://docs.rs/serde/1.0.147/serde/de/trait.Deserializer.html"title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></section></summary><divclass='docblock'><p>Deserialize this value from the given Serde deserializer. <ahref="https://docs.rs/serde/1.0.147/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Display-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2526">source</a></span><ahref="#impl-Display-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="docblock"><p>Display the serialization of this URL.</p>
</div><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt-1"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2528">source</a></span><ahref="#method.fmt-1"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Display.html#tymethod.fmt"class="fnname">fmt</a>(&self, formatter: &mut <aclass="struct"href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a><'_>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.unit.html">()</a>, <aclass="struct"href="https://doc.rust-lang.org/1.64.0/core/fmt/struct.Error.html"title="struct core::fmt::Error">Error</a>></h4></section></summary><divclass='docblock'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-From%3CUrl%3E-for-PartialValue"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/kanidmd_lib/value.rs.html#397-401">source</a></span><ahref="#impl-From%3CUrl%3E-for-PartialValue"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html"title="trait core::convert::From">From</a><<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>> for <aclass="enum"href="../value/enum.PartialValue.html"title="enum kanidmd_lib::value::PartialValue">PartialValue</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from-1"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/kanidmd_lib/value.rs.html#398-400">source</a></span><ahref="#method.from-1"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from"class="fnname">from</a>(i: <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>) -> Self</h4></section></summary><divclass='docblock'><p>Converts to this type from the input type.</p>
</div><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2535">source</a></span><ahref="#method.from"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from"class="fnname">from</a>(value: <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>) -><aclass="struct"href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></h4></section></summary><divclass='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-From%3CUrl%3E-for-Value"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/kanidmd_lib/value.rs.html#895-899">source</a></span><ahref="#impl-From%3CUrl%3E-for-Value"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html"title="trait core::convert::From">From</a><<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>> for <aclass="enum"href="../value/enum.Value.html"title="enum kanidmd_lib::value::Value">Value</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from-2"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/kanidmd_lib/value.rs.html#896-898">source</a></span><ahref="#method.from-2"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from"class="fnname">from</a>(i: <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>) -> Self</h4></section></summary><divclass='docblock'><p>Converts to this type from the input type.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-FromStr-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2508">source</a></span><ahref="#impl-FromStr-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/str/traits/trait.FromStr.html"title="trait core::str::traits::FromStr">FromStr</a> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="docblock"><p>Parse a string as an URL, without a base URL or encoding override.</p>
</div><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Err"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Err"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.64.0/core/str/traits/trait.FromStr.html#associatedtype.Err"class="associatedtype">Err</a> = <aclass="enum"href="https://docs.rs/url/2.3.1/url/parser/enum.ParseError.html"title="enum url::parser::ParseError">ParseError</a></h4></section></summary><divclass='docblock'><p>The associated error which can be returned from parsing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from_str"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2512">source</a></span><ahref="#method.from_str"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/str/traits/trait.FromStr.html#tymethod.from_str"class="fnname">from_str</a>(input: &<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>, <aclass="enum"href="https://docs.rs/url/2.3.1/url/parser/enum.ParseError.html"title="enum url::parser::ParseError">ParseError</a>></h4></section></summary><divclass='docblock'><p>Parses a string <code>s</code> to return a value of this type. <ahref="https://doc.rust-lang.org/1.64.0/core/str/traits/trait.FromStr.html#tymethod.from_str">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Hash-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2587">source</a></span><ahref="#impl-Hash-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="docblock"><p>URLs hash like their serialization.</p>
</div><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.hash"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2589-2591">source</a></span><ahref="#method.hash"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/hash/trait.Hash.html#tymethod.hash"class="fnname">hash</a><H>(&self, state: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&mut </a>H) <spanclass="where fmt-newline">where<br> H: <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>, </span></h4></section></summary><divclass='docblock'><p>Feeds this value into the given <ahref="https://doc.rust-lang.org/1.64.0/core/hash/trait.Hasher.html"title="Hasher"><code>Hasher</code></a>. <ahref="https://doc.rust-lang.org/1.64.0/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.hash_slice"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.3.0">1.3.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/hash/mod.rs.html#237-239">source</a></span><ahref="#method.hash_slice"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/hash/trait.Hash.html#method.hash_slice"class="fnname">hash_slice</a><H>(data: &<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.slice.html">[Self]</a>, state: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&mut </a>H) <spanclass="where fmt-newline">where<br> H: <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>, </span></h4></section></summary><divclass='docblock'><p>Feeds a slice of this type into the given <ahref="https://doc.rust-lang.org/1.64.0/core/hash/trait.Hasher.html"title="Hasher"><code>Hasher</code></a>. <ahref="https://doc.rust-lang.org/1.64.0/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Index%3CRange%3CPosition%3E%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/slicing.rs.html#33">source</a></span><ahref="#impl-Index%3CRange%3CPosition%3E%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/ops/index/trait.Index.html"title="trait core::ops::index::Index">Index</a><<aclass="struct"href="https://doc.rust-lang.org/1.64.0/core/ops/range/struct.Range.html"title="struct core::ops::range::Range">Range</a><<aclass="enum"href="https://docs.rs/url/2.3.1/url/slicing/enum.Position.html"title="enum url::slicing::Position">Position</a>>> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Output-1"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Output-1"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.64.0/core/ops/index/trait.Index.html#associatedtype.Output"class="associatedtype">Output</a> = <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a></h4></section></summary><divclass='docblock'><p>The returned type after indexing.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Index%3CRangeFrom%3CPosition%3E%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/slicing.rs.html#19">source</a></span><ahref="#impl-Index%3CRangeFrom%3CPosition%3E%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/ops/index/trait.Index.html"title="trait core::ops::index::Index">Index</a><<aclass="struct"href="https://doc.rust-lang.org/1.64.0/core/ops/range/struct.RangeFrom.html"title="struct core::ops::range::RangeFrom">RangeFrom</a><<aclass="enum"href="https://docs.rs/url/2.3.1/url/slicing/enum.Position.html"title="enum url::slicing::Position">Position</a>>> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Output-2"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Output-2"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.64.0/core/ops/index/trait.Index.html#associatedtype.Output"class="associatedtype">Output</a> = <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a></h4></section></summary><divclass='docblock'><p>The returned type after indexing.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Index%3CRangeFull%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/slicing.rs.html#12">source</a></span><ahref="#impl-Index%3CRangeFull%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/ops/index/trait.Index.html"title="trait core::ops::index::Index">Index</a><<aclass="struct"href="https://doc.rust-lang.org/1.64.0/core/ops/range/struct.RangeFull.html"title="struct core::ops::range::RangeFull">RangeFull</a>> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Output"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Output"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.64.0/core/ops/index/trait.Index.html#associatedtype.Output"class="associatedtype">Output</a> = <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a></h4></section></summary><divclass='docblock'><p>The returned type after indexing.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Index%3CRangeTo%3CPosition%3E%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/slicing.rs.html#26">source</a></span><ahref="#impl-Index%3CRangeTo%3CPosition%3E%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/ops/index/trait.Index.html"title="trait core::ops::index::Index">Index</a><<aclass="struct"href="https://doc.rust-lang.org/1.64.0/core/ops/range/struct.RangeTo.html"title="struct core::ops::range::RangeTo">RangeTo</a><<aclass="enum"href="https://docs.rs/url/2.3.1/url/slicing/enum.Position.html"title="enum url::slicing::Position">Position</a>>> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Output-3"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Output-3"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.64.0/core/ops/index/trait.Index.html#associatedtype.Output"class="associatedtype">Output</a> = <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a></h4></section></summary><divclass='docblock'><p>The returned type after indexing.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Ord-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2571">source</a></span><ahref="#impl-Ord-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="docblock"><p>URLs compare like their serialization.</p>
</div><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.cmp"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2573">source</a></span><ahref="#method.cmp"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.Ord.html#tymethod.cmp"class="fnname">cmp</a>(&self, other: &<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><divclass='docblock'><p>This method returns an <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/enum.Ordering.html"title="Ordering"><code>Ordering</code></a> between <code>self</code> and <code>other</code>. <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.max"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.21.0">1.21.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/cmp.rs.html#800-803">source</a></span><ahref="#method.max"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.Ord.html#method.max"class="fnname">max</a>(self, other: Self) -> Self</h4></section></summary><divclass='docblock'><p>Compares and returns the maximum of two values. <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.Ord.html#method.max">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.min"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.21.0">1.21.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/cmp.rs.html#827-830">source</a></span><ahref="#method.min"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.Ord.html#method.min"class="fnname">min</a>(self, other: Self) -> Self</h4></section></summary><divclass='docblock'><p>Compares and returns the minimum of two values. <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.Ord.html#method.min">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.clamp"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.50.0">1.50.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/cmp.rs.html#859-863">source</a></span><ahref="#method.clamp"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.Ord.html#method.clamp"class="fnname">clamp</a>(self, min: Self, max: Self) -> Self <spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><Self>, </span></h4></section></summary><divclass='docblock'><p>Restrict a value to a certain interval. <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.Ord.html#method.clamp">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-PartialEq%3CUrl%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2563">source</a></span><ahref="#impl-PartialEq%3CUrl%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="docblock"><p>URLs compare like their serialization.</p>
</div><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.eq"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2565">source</a></span><ahref="#method.eq"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq"class="fnname">eq</a>(&self, other: &<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>. <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.ne"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/cmp.rs.html#232">source</a></span><ahref="#method.ne"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialEq.html#method.ne"class="fnname">ne</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>This method tests for <code>!=</code>.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-PartialOrd%3CUrl%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2579">source</a></span><ahref="#impl-PartialOrd%3CUrl%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="docblock"><p>URLs compare like their serialization.</p>
</div><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.partial_cmp"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2581">source</a></span><ahref="#method.partial_cmp"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp"class="fnname">partial_cmp</a>(&self, other: &<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><divclass='docblock'><p>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.lt"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/cmp.rs.html#1122">source</a></span><ahref="#method.lt"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialOrd.html#method.lt"class="fnname">lt</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.le"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/cmp.rs.html#1141">source</a></span><ahref="#method.le"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialOrd.html#method.le"class="fnname">le</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code><=</code>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.gt"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/cmp.rs.html#1163">source</a></span><ahref="#method.gt"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialOrd.html#method.gt"class="fnname">gt</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code> operator. <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.ge"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/cmp.rs.html#1182">source</a></span><ahref="#method.ge"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/cmp/trait.PartialOrd.html#method.ge"class="fnname">ge</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'><p>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>>=</code>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Serialize-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2634">source</a></span><ahref="#impl-Serialize-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://docs.rs/serde/1.0.147/serde/ser/trait.Serialize.html"title="trait serde::ser::Serialize">Serialize</a> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="docblock"><p>Serializes this URL into a <code>serde</code> stream.</p>
</div><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.serialize"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2635-2637">source</a></span><ahref="#method.serialize"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/serde/1.0.147/serde/ser/trait.Serialize.html#tymethod.serialize"class="fnname">serialize</a><S>(<br> &self,<br> serializer: S<br>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<S as <aclass="trait"href="https://docs.rs/serde/1.0.147/serde/ser/trait.Serializer.html"title="trait serde::ser::Serializer">Serializer</a>>::<aclass="associatedtype"href="https://docs.rs/serde/1.0.147/serde/ser/trait.Serializer.html#associatedtype.Ok"title="type serde::ser::Serializer::Ok">Ok</a>, <S as <aclass="trait"href="https://docs.rs/serde/1.0.147/serde/ser/trait.Serializer.html"title="trait serde::ser::Serializer">Serializer</a>>::<aclass="associatedtype"href="https://docs.rs/serde/1.0.147/serde/ser/trait.Serializer.html#associatedtype.Error"title="type serde::ser::Serializer::Error">Error</a>><spanclass="where fmt-newline">where<br> S: <aclass="trait"href="https://docs.rs/serde/1.0.147/serde/ser/trait.Serializer.html"title="trait serde::ser::Serializer">Serializer</a>, </span></h4></section></summary><divclass='docblock'><p>Serialize this value into the given Serde serializer. <ahref="https://docs.rs/serde/1.0.147/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-ToListener%3CState%3E-for-Url"class="impl has-srclink"><ahref="#impl-ToListener%3CState%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl<State> ToListener<State> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a><spanclass="where fmt-newline">where<br> State: 'static + <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> + <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> + <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Listener"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Listener"class="anchor"></a><h4class="code-header">type <aclass="associatedtype">Listener</a> = ParsedListener<State></h4></section></summary><divclass='docblock'><p>What listener are we converting into?</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.to_listener"class="method trait-impl has-srclink"><ahref="#method.to_listener"class="anchor"></a><h4class="code-header">fn <aclass="fnname">to_listener</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a> as ToListener<State>>::Listener, <aclass="struct"href="https://doc.rust-lang.org/1.64.0/std/io/error/struct.Error.html"title="struct std::io::error::Error">Error</a>></h4></section></summary><divclass='docblock'><p>Transform self into a
<ahref="crate::listener::Listener"><code>Listener</code></a>. Unless self is
already bound/connected to the underlying io, converting to a
listener does not initiate a connection. An Err return
indicates an unsuccessful conversion to a listener, not an
unsuccessful bind attempt. <a>Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-TryFrom%3C%26%27a%20str%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2517">source</a></span><ahref="#impl-TryFrom%3C%26%27a%20str%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl<'a><aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><&'a <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Error"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Error"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://docs.rs/url/2.3.1/url/parser/enum.ParseError.html"title="enum url::parser::ParseError">ParseError</a></h4></section></summary><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_from"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2520">source</a></span><ahref="#method.try_from"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html#tymethod.try_from"class="fnname">try_from</a>(s: &'a <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a>, <<aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a> as <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><&'a <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'><p>Performs the conversion.</p>
</div></details></div></details><sectionid="impl-Eq-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/url/2.3.1/src/url/lib.rs.html#2560">source</a></span><ahref="#impl-Eq-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section><divclass="docblock"><p>URLs compare like their serialization.</p>
</div></div><h2id="synthetic-implementations"class="small-section-header">Auto Trait Implementations<ahref="#synthetic-implementations"class="anchor"></a></h2><divid="synthetic-implementations-list"><sectionid="impl-RefUnwindSafe-for-Url"class="impl has-srclink"><ahref="#impl-RefUnwindSafe-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/panic/unwind_safe/trait.RefUnwindSafe.html"title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section><sectionid="impl-Send-for-Url"class="impl has-srclink"><ahref="#impl-Send-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section><sectionid="impl-Sync-for-Url"class="impl has-srclink"><ahref="#impl-Sync-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section><sectionid="impl-Unpin-for-Url"class="impl has-srclink"><ahref="#impl-Unpin-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section><sectionid="impl-UnwindSafe-for-Url"class="impl has-srclink"><ahref="#impl-UnwindSafe-for-Url"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/panic/unwind_safe/trait.UnwindSafe.html"title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="struct.Url.html"title="struct kanidmd_lib::prelude::Url">Url</a></h3></section></div><h2id="blanket-implementations"class="small-section-header">Blanket Implementations<ahref="#blanket-implementations"class="anchor"></a></h2><divid="blanket-implementations-list"><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Any-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#203">source</a></span><ahref="#impl-Any-for-Url"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T <spanclass="where fmt-newline">where<br> T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.type_id"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#204">source</a></span><ahref="#method.type_id"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html#tymethod.type_id"class="fnname">type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/1.64.0/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></h4></section></summary><divclass='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-AsTaggedExplicit%3C%27a%3E-for-Url"class="impl has-srclink"><ahref="#impl-AsTaggedExplicit%3C%27a%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl<'a, T> AsTaggedExplicit<'a> for T <spanclass="where fmt-newline">where<br> T: 'a, </span></h3></section></summary><divclass="impl-items"><sectionid="method.explicit"class="method trait-impl has-srclink"><ahref="#method.explicit"class="anchor"></a><h4class="code-header">fn <aclass="fnname">explicit</a>(self, class: Class, tag: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.u32.html">u32</a>) -> TaggedParser<'a, Explicit, Self></h4></section></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-AsTaggedImplicit%3C%27a%3E-for-Url"class="impl has-srclink"><ahref="#impl-AsTaggedImplicit%3C%27a%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl<'a, T> AsTaggedImplicit<'a> for T <spanclass="where fmt-newline">where<br> T: 'a, </span></h3></section></summary><divclass="impl-items"><sectionid="method.implicit"class="method trait-impl has-srclink"><ahref="#method.implicit"class="anchor"></a><h4class="code-header">fn <aclass="fnname">implicit</a>(<br> self,<br> class: Class,<br> constructed: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>,<br> tag: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.u32.html">u32</a><br>) -> TaggedParser<'a, Implicit, Self></h4></section></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Borrow%3CT%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#209">source</a></span><ahref="#impl-Borrow%3CT%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.borrow"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/91522"title="Tracking issue for const_borrow">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#211">source</a></span><ahref="#method.borrow"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow"class="fnname">borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&</a>T</h4></section></summary><divclass='docblock'><p>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-BorrowMut%3CT%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#218">source</a></span><ahref="#impl-BorrowMut%3CT%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.borrow_mut"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/91522"title="Tracking issue for const_borrow">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#219">source</a></span><ahref="#method.borrow_mut"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"class="fnname">borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&mut </a>T</h4></section></summary><divclass='docblock'><p>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/1.64.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Instrument-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#276">source</a></span><ahref="#impl-Instrument-for-Url"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html"title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.instrument"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#82">source</a></span><ahref="#method.instrument"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument"class="fnname">instrument</a>(self, span: <aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'><p>Instruments this type with the provided <ahref="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"title="Span"><code>Span</code></a>, returning an
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.in_current_span"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#121">source</a></span><ahref="#method.in_current_span"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.in_current_span"class="fnname">in_current_span</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'><p>Instruments this type with the <ahref="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html#method.current">current</a><ahref="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"><code>Span</code></a>, returning an
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Into%3CU%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/convert/mod.rs.html#541">source</a></span><ahref="#impl-Into%3CU%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html"title="trait core::convert::From">From</a><T>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.into"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/88674"title="Tracking issue for const_convert">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/convert/mod.rs.html#549">source</a></span><ahref="#method.into"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.Into.html#tymethod.into"class="fnname">into</a>(self) -> U</h4></section></summary><divclass="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html"title="From">From</a><T> for U</code> chooses to do.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Pointable-for-Url"class="impl has-srclink"><ahref="#impl-Pointable-for-Url"class="anchor"></a><h3class="code-header in-band">impl<T> Pointable for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedconstant.ALIGN"class="associatedconstant trait-impl has-srclink"><ahref="#associatedconstant.ALIGN"class="anchor"></a><h4class="code-header">const <aclass="constant">ALIGN</a>: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a> = mem::align_of::<T>()</h4></section></summary><divclass='docblock'><p>The alignment of pointer.</p>
</div></details><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Init"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Init"class="anchor"></a><h4class="code-header">type <aclass="associatedtype">Init</a> = T</h4></section></summary><divclass='docblock'><p>The type for initializers.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.init"class="method trait-impl has-srclink"><ahref="#method.init"class="anchor"></a><h4class="code-header">unsafe fn <aclass="fnname">init</a>(init: <T as Pointable>::Init) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a></h4></section></summary><divclass='docblock'><p>Initializes a with the given initializer. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.deref"class="method trait-impl has-srclink"><ahref="#method.deref"class="anchor"></a><h4class="code-header">unsafe fn <aclass="fnname">deref</a><'a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&'a </a>T</h4></section></summary><divclass='docblock'><p>Dereferences the given pointer. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.deref_mut"class="method trait-impl has-srclink"><ahref="#method.deref_mut"class="anchor"></a><h4class="code-header">unsafe fn <aclass="fnname">deref_mut</a><'a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&'a mut </a>T</h4></section></summary><divclass='docblock'><p>Mutably dereferences the given pointer. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.drop"class="method trait-impl has-srclink"><ahref="#method.drop"class="anchor"></a><h4class="code-header">unsafe fn <aclass="fnname">drop</a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a>)</h4></section></summary><divclass='docblock'><p>Drops the object pointed to by the given pointer. <a>Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Same%3CT%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/typenum/1.15.0/src/typenum/type_operators.rs.html#34">source</a></span><ahref="#impl-Same%3CT%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://docs.rs/typenum/1.15.0/typenum/type_operators/trait.Same.html"title="trait typenum::type_operators::Same">Same</a><T> for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Output-4"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Output-4"class="anchor"></a><h4class="code-header">type <ahref="https://docs.rs/typenum/1.15.0/typenum/type_operators/trait.Same.html#associatedtype.Output"class="associatedtype">Output</a> = T</h4></section></summary><divclass='docblock'><p>Should always be <code>Self</code></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.to_owned"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/alloc/borrow.rs.html#88">source</a></span><ahref="#method.to_owned"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned"class="fnname">to_owned</a>(&self) -> T</h4></section></summary><divclass='docblock'><p>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/1.64.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.clone_into"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/alloc/borrow.rs.html#92">source</a></span><ahref="#method.clone_into"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/alloc/borrow/trait.ToOwned.html#method.clone_into"class="fnname">clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&mut </a>T)</h4></section></summary><divclass='docblock'><p>Uses borrowed data to replace owned data, usually by cloning. <ahref="https://doc.rust-lang.org/1.64.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-ToString-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/alloc/string.rs.html#2479">source</a></span><ahref="#impl-ToString-for-Url"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.64.0/alloc/string/trait.ToString.html"title="trait alloc::string::ToString">ToString</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a> + ?<aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.to_string"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/alloc/string.rs.html#2485">source</a></span><ahref="#method.to_string"class="anchor"></a><h4class="code-header">default fn <ahref="https://doc.rust-lang.org/1.64.0/alloc/string/trait.ToString.html#tymethod.to_string"class="fnname">to_string</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/1.64.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></h4></section></summary><divclass='docblock'><p>Converts the given value to a <code>String</code>. <ahref="https://doc.rust-lang.org/1.64.0/alloc/string/trait.ToString.html#tymethod.to_string">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-TryFrom%3CU%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/convert/mod.rs.html#598">source</a></span><ahref="#impl-TryFrom%3CU%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Error-1"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Error-1"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></h4></section></summary><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_from-1"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/88674"title="Tracking issue for const_convert">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/convert/mod.rs.html#604">source</a></span><ahref="#method.try_from-1"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html#tymethod.try_from"class="fnname">try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'><p>Performs the conversion.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-TryInto%3CU%3E-for-Url"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/convert/mod.rs.html#583">source</a></span><ahref="#impl-TryInto%3CU%3E-for-Url"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Error-2"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Error-2"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryInto.html#associatedtype.Error"class="associatedtype">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_into"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/88674"title="Tracking issue for const_convert">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/convert/mod.rs.html#589">source</a></span><ahref="#method.try_into"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryInto.html#tymethod.try_into"class="fnname">try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'><p>Performs the conversion.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.with_current_subscriber"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#221">source</a></span><ahref="#method.with_current_subscriber"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber"class="fnname">with_current_subscriber</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html"title="struct tracing::instrument::WithDispatch">WithDispatch</a><Self></h4></section></summary><divclass='docblock'><p>Attaches the current <ahref="https://docs.rs/tracing/0.1.37/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a><ahref="https://docs.rs/tracing-core/0.1.22/tracing_core/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a