MCPcopy Index your code
hub / github.com/Recordscript/recordscript / IntoUrl

Interface IntoUrl

libs/hbb_common/src/proxy.rs:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56const DEFINE_TIME_OUT: u64 = 600;
57
58pub trait IntoUrl {
59
60 // Besides parsing as a valid `Url`, the `Url` must be a valid
61 // `http::Uri`, in that it makes sense to use in a network request.
62 fn into_url(self) -> Result<Url, ProxyError>;
63
64 fn as_str(&self) -> &str;
65}
66
67impl IntoUrl for Url {
68 fn into_url(self) -> Result<Url, ProxyError> {

Callers

nothing calls this directly

Implementers 1

proxy.rslibs/hbb_common/src/proxy.rs

Calls

no outgoing calls

Tested by

no test coverage detected