1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// WARNING: This file is machine generated by fidlgen.

#![warn(clippy::all)]
#![allow(unused_parens, unused_mut, unused_imports, nonstandard_style)]

use {
    bitflags::bitflags,
    fidl::{
        client::QueryResponseFut,
        endpoints::{ControlHandle as _, Responder as _},
    },
    fuchsia_zircon_status as zx_status,
    futures::future::{self, MaybeDone, TryFutureExt},
};

#[cfg(target_os = "fuchsia")]
use fuchsia_zircon as zx;

/// A URL is used to reference a resource from a specified network location.
pub type Url = String;

/// There is no maximum URL length defined by RFC 3986, but this length should
/// be long enough to accommodate most non-data: URLs.
pub const MAX_URL_LENGTH: u32 = 4096;

mod internal {
    use super::*;
}