fidl_fuchsia_url/
fidl_fuchsia_url.rs

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

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

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

/// 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::*;
}