SYMBOL INDEX (500 symbols across 47 files) FILE: build.rs function main (line 25) | fn main() -> io::Result<()> { function convert_codes (line 70) | fn convert_codes(input: &str) -> String { function strip_codes (line 75) | fn strip_codes(input: &str) -> String { function git_hash (line 88) | fn git_hash() -> String { function is_development_version (line 102) | fn is_development_version() -> bool { function is_debug_build (line 107) | fn is_debug_build() -> bool { function cargo_version (line 112) | fn cargo_version() -> String { function version_string (line 117) | fn version_string() -> String { function feature_enabled (line 129) | fn feature_enabled(name: &str) -> bool { function nonstandard_features_string (line 136) | fn nonstandard_features_string() -> String { function build_date (line 156) | fn build_date() -> String { FILE: dns-transport/src/auto.rs type AutoTransport (line 12) | pub struct AutoTransport { method new (line 19) | pub fn new(addr: String) -> Self { method send (line 26) | fn send(&self, request: &Request) -> Result { FILE: dns-transport/src/error.rs type Error (line 3) | pub enum Error { method from (line 42) | fn from(inner: dns::WireError) -> Self { method from (line 48) | fn from(inner: std::io::Error) -> Self { method from (line 55) | fn from(inner: native_tls::Error) -> Self { method from (line 62) | fn from(inner: native_tls::HandshakeError) -> Self { method from (line 69) | fn from(inner: webpki::InvalidDNSNameError) -> Self { method from (line 76) | fn from(inner: httparse::Error) -> Self { FILE: dns-transport/src/https.rs type HttpsTransport (line 15) | pub struct HttpsTransport { method new (line 22) | pub fn new(url: String) -> Self { method split_domain (line 114) | fn split_domain(&self) -> Option<(&str, &str)> { function find_subsequence (line 27) | fn find_subsequence(haystack: &[u8], needle: &[u8]) -> Option { function contains_header (line 31) | fn contains_header(buf: &[u8]) -> bool { method send (line 41) | fn send(&self, request: &Request) -> Result { method send (line 108) | fn send(&self, request: &Request) -> Result { FILE: dns-transport/src/lib.rs type Transport (line 50) | pub trait Transport { method send (line 61) | fn send(&self, request: &dns::Request) -> Result; FILE: dns-transport/src/tcp.rs type TcpTransport (line 19) | pub struct TcpTransport { method new (line 26) | pub fn new(addr: String) -> Self { method prefix_with_length (line 63) | pub(crate) fn prefix_with_length(bytes: &mut Vec) { method length_prefixed_read (line 81) | pub(crate) fn length_prefixed_read(stream: &mut impl Read) -> Result Result { FILE: dns-transport/src/tls.rs type TlsTransport (line 15) | pub struct TlsTransport { method new (line 22) | pub fn new(addr: String) -> Self { method sni_domain (line 73) | fn sni_domain(&self) -> &str { method send (line 32) | fn send(&self, request: &Request) -> Result { method send (line 67) | fn send(&self, request: &Request) -> Result { FILE: dns-transport/src/tls_stream.rs function stream_nativetls (line 7) | fn stream_nativetls(domain: &str, port: u16) -> Result Result { method stream (line 32) | fn stream(domain: &str, port: u16) -> Result; FILE: dns-transport/src/udp.rs type UdpTransport (line 15) | pub struct UdpTransport { method new (line 22) | pub fn new(addr: String) -> Self { method send (line 29) | fn send(&self, request: &Request) -> Result { FILE: dns/src/record/a.rs type A (line 15) | pub struct A { constant NAME (line 22) | const NAME: &'static str = "A"; constant RR_TYPE (line 23) | const RR_TYPE: u16 = 1; method read (line 26) | fn read(stated_length: u16, c: &mut Cursor<&[u8]>) -> Result) -> Result) -> Result) -> Result String { constant NAME (line 21) | const NAME: &'static str = "EUI48"; constant RR_TYPE (line 22) | const RR_TYPE: u16 = 108; method read (line 25) | fn read(stated_length: u16, c: &mut Cursor<&[u8]>) -> Result String { constant NAME (line 21) | const NAME: &'static str = "EUI64"; constant RR_TYPE (line 22) | const RR_TYPE: u16 = 109; method read (line 25) | fn read(stated_length: u16, c: &mut Cursor<&[u8]>) -> Result) -> Result Self { method fmt (line 194) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Position (line 52) | pub struct Position { method from_u32 (line 146) | fn from_u32(mut input: u32, vertical: bool) -> Option { method fmt (line 200) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Altitude (line 62) | pub struct Altitude { method from_u32 (line 183) | fn from_u32(input: u32) -> Self { method fmt (line 227) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Direction (line 70) | pub enum Direction { method fmt (line 216) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { constant NAME (line 78) | const NAME: &'static str = "LOC"; constant RR_TYPE (line 79) | const RR_TYPE: u16 = 29; method read (line 82) | fn read(stated_length: u16, c: &mut Cursor<&[u8]>) -> Result Self { method from_type_name (line 177) | pub fn from_type_name(type_name: &str) -> Option { method type_number (line 211) | pub fn type_number(self) -> u16 { FILE: dns/src/record/mx.rs type MX (line 15) | pub struct MX { constant NAME (line 26) | const NAME: &'static str = "MX"; constant RR_TYPE (line 27) | const RR_TYPE: u16 = 15; method read (line 30) | fn read(stated_length: u16, c: &mut Cursor<&[u8]>) -> Result) -> Result) -> Result String { constant NAME (line 20) | const NAME: &'static str = "OPENPGPKEY"; constant RR_TYPE (line 21) | const RR_TYPE: u16 = 61; method read (line 24) | fn read(stated_length: u16, c: &mut Cursor<&[u8]>) -> Result) -> Result { method to_bytes (line 93) | pub fn to_bytes(&self) -> io::Result> { function parses_no_data (line 121) | fn parses_no_data() { function parses_with_data (line 141) | fn parses_with_data() { function record_empty (line 162) | fn record_empty() { function buffer_ends_abruptly (line 168) | fn buffer_ends_abruptly() { FILE: dns/src/record/others.rs type UnknownQtype (line 6) | pub enum UnknownQtype { method from_type_name (line 19) | pub fn from_type_name(type_name: &str) -> Option { method type_number (line 25) | pub fn type_number(self) -> u16 { method from (line 34) | fn from(qtype: u16) -> Self { method fmt (line 43) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function known (line 92) | fn known() { function unknown (line 98) | fn unknown() { FILE: dns/src/record/ptr.rs type PTR (line 20) | pub struct PTR { constant NAME (line 27) | const NAME: &'static str = "PTR"; constant RR_TYPE (line 28) | const RR_TYPE: u16 = 12; method read (line 31) | fn read(stated_length: u16, c: &mut Cursor<&[u8]>) -> Result) -> Result) -> Result String { constant NAME (line 30) | const NAME: &'static str = "SSHFP"; constant RR_TYPE (line 31) | const RR_TYPE: u16 = 44; method read (line 34) | fn read(stated_length: u16, c: &mut Cursor<&[u8]>) -> Result String { constant NAME (line 34) | const NAME: &'static str = "TLSA"; constant RR_TYPE (line 35) | const RR_TYPE: u16 = 52; method read (line 38) | fn read(stated_length: u16, c: &mut Cursor<&[u8]>) -> Result) -> Result) -> Result Self { method encode (line 44) | pub fn encode(input: &str) -> Result { method len (line 73) | pub fn len(&self) -> usize { method extend (line 78) | pub fn extend(&self, other: &Self) -> Self { method fmt (line 86) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function label_to_ascii (line 24) | fn label_to_ascii(label: &str) -> Result { function label_to_ascii (line 30) | fn label_to_ascii(label: &str) -> Result { type ReadLabels (line 97) | pub(crate) trait ReadLabels { method read_labels (line 100) | fn read_labels(&mut self) -> Result<(Labels, u16), WireError>; method read_labels (line 104) | fn read_labels(&mut self) -> Result<(Labels, u16), WireError> { type WriteLabels (line 113) | pub(crate) trait WriteLabels { method write_labels (line 123) | fn write_labels(&mut self, input: &Labels) -> io::Result<()>; method write_labels (line 127) | fn write_labels(&mut self, input: &Labels) -> io::Result<()> { constant RECURSION_LIMIT (line 142) | const RECURSION_LIMIT: usize = 8; function read_string_recursive (line 149) | fn read_string_recursive(labels: &mut Labels, c: &mut Cursor<&[u8]>, rec... function nothing (line 220) | fn nothing() { function one_label (line 230) | fn one_label() { function two_labels (line 242) | fn two_labels() { function label_followed_by_backtrack (line 256) | fn label_followed_by_backtrack() { function extremely_long_label (line 272) | fn extremely_long_label() { function immediate_recursion (line 284) | fn immediate_recursion() { function mutual_recursion (line 294) | fn mutual_recursion() { function too_much_recursion (line 307) | fn too_much_recursion() { FILE: dns/src/types.rs type Request (line 12) | pub struct Request { type Response (line 33) | pub struct Response { type Query (line 57) | pub struct Query { type Answer (line 72) | pub enum Answer { method is_standard (line 211) | pub fn is_standard(&self) -> bool { type QClass (line 106) | pub enum QClass { type Flags (line 124) | pub struct Flags { type Opcode (line 159) | pub enum Opcode { type ErrorCode (line 178) | pub enum ErrorCode { FILE: dns/src/wire.rs method to_bytes (line 17) | pub fn to_bytes(&self) -> io::Result> { method additional_record (line 42) | pub fn additional_record() -> OPT { method from_bytes (line 58) | pub fn from_bytes(bytes: &[u8]) -> Result { method from_bytes (line 118) | fn from_bytes(qname: Labels, c: &mut Cursor<&[u8]>) -> Result) -> Result) ... method from_u16 (line 218) | fn from_u16(uu: u16) -> Self { method to_u16 (line 227) | fn to_u16(self) -> u16 { method query (line 241) | pub fn query() -> Self { method standard_response (line 246) | pub fn standard_response() -> Self { method to_u16 (line 251) | pub fn to_u16(self) -> u16 { // 0123 4567 89AB CDEF method from_u16 (line 270) | pub fn from_u16(bits: u16) -> Self { method from_bits (line 292) | fn from_bits(bits: u8) -> Self { method from_bits (line 307) | fn from_bits(bits: u16) -> Option { type Wire (line 327) | pub trait Wire: Sized { constant NAME (line 330) | const NAME: &'static str; constant RR_TYPE (line 334) | const RR_TYPE: u16; method read (line 339) | fn read(len: u16, c: &mut Cursor<&[u8]>) -> Result; type WireError (line 345) | pub enum WireError { method from (line 441) | fn from(ioe: io::Error) -> Self { type MandatedLength (line 431) | pub enum MandatedLength { FILE: dns/tests/wire_building_tests.rs function build_request (line 8) | fn build_request() { FILE: dns/tests/wire_parsing_tests.rs function parse_nothing (line 10) | fn parse_nothing() { function parse_response_standard (line 16) | fn parse_response_standard() { function parse_response_with_mixed_string (line 96) | fn parse_response_with_mixed_string() { function parse_response_with_multiple_additionals (line 158) | fn parse_response_with_multiple_additionals() { FILE: src/colours.rs type Colours (line 9) | pub struct Colours { method pretty (line 43) | pub fn pretty() -> Self { method plain (line 78) | pub fn plain() -> Self { FILE: src/connect.rs type TransportType (line 9) | pub enum TransportType { method make_transport (line 37) | pub fn make_transport(self, param: String) -> Box { FILE: src/hints.rs type LocalHosts (line 18) | pub struct LocalHosts { method load (line 26) | pub fn load() -> io::Result { method load (line 33) | pub fn load() -> io::Result { method load (line 40) | pub fn load() -> io::Result { method load_from_file (line 49) | fn load_from_file(file: File) -> io::Result { method contains (line 84) | pub fn contains(&self, hostname_in_query: &dns::Labels) -> bool { FILE: src/logger.rs function configure (line 10) | pub fn configure>(ev: Option) { type Logger (line 36) | struct Logger; method enabled (line 41) | fn enabled(&self, _: &log::Metadata<'_>) -> bool { method log (line 45) | fn log(&self, record: &log::Record<'_>) { method flush (line 53) | fn flush(&self) { constant GLOBAL_LOGGER (line 38) | const GLOBAL_LOGGER: &Logger = &Logger; function level (line 58) | fn level(level: log::Level) -> ANSIString<'static> { FILE: src/main.rs function main (line 42) | fn main() { function run (line 101) | fn run(Options { requests, format, measure_time }: Options) -> i32 { function disabled_feature_check (line 180) | fn disabled_feature_check(options: &Options) { constant SUCCESS (line 202) | pub const SUCCESS: i32 = 0; constant NETWORK_ERROR (line 205) | pub const NETWORK_ERROR: i32 = 1; constant NO_SHORT_RESULTS (line 209) | pub const NO_SHORT_RESULTS: i32 = 2; constant OPTIONS_ERROR (line 212) | pub const OPTIONS_ERROR: i32 = 3; constant SYSTEM_ERROR (line 215) | pub const SYSTEM_ERROR: i32 = 4; FILE: src/options.rs type Options (line 20) | pub struct Options { method getopts (line 42) | pub fn getopts(args: C) -> OptionsResult method deduce (line 107) | fn deduce(matches: getopts::Matches) -> Result { method deduce (line 118) | fn deduce(matches: getopts::Matches) -> Result { method deduce (line 130) | fn deduce(matches: getopts::Matches) -> Result { method load_transport_types (line 140) | fn load_transport_types(&mut self, matches: &getopts::Matches) { method load_named_args (line 158) | fn load_named_args(&mut self, matches: &getopts::Matches) -> Result<(), ... method load_free_args (line 197) | fn load_free_args(&mut self, matches: getopts::Matches) -> Result<(), Op... method check_for_missing_nameserver (line 229) | fn check_for_missing_nameserver(&self) -> Result<(), OptionsError> { method load_fallbacks (line 238) | fn load_fallbacks(&mut self) { method add_domain (line 256) | fn add_domain(&mut self, input: &str) -> Result<(), OptionsError> { method add_type (line 266) | fn add_type(&mut self, rt: RecordType) { method add_nameserver (line 270) | fn add_nameserver(&mut self, input: &str) { method add_class (line 274) | fn add_class(&mut self, class: QClass) { function is_constant_name (line 279) | fn is_constant_name(argument: &str) -> bool { function parse_class_name (line 292) | fn parse_class_name(input: &str) -> Option { method deduce (line 309) | fn deduce(matches: &getopts::Matches) -> Result { function parse_dec_or_hex (line 324) | fn parse_dec_or_hex(input: &str) -> Option { method deduce (line 351) | fn deduce(matches: &getopts::Matches) -> Self { method deduce (line 369) | fn deduce(matches: &getopts::Matches) -> Self { method deduce (line 384) | fn deduce(matches: &getopts::Matches) -> Self { method deduce (line 392) | fn deduce(matches: &getopts::Matches) -> Result { method deduce (line 409) | fn deduce(matches: &getopts::Matches) -> Result { type OptionsResult (line 448) | pub enum OptionsResult { method unwrap (line 527) | fn unwrap(self) -> Options { type HelpReason (line 469) | pub enum HelpReason { type OptionsError (line 481) | pub enum OptionsError { method fmt (line 493) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fallbacks (line 515) | fn fallbacks() -> Self { function help (line 538) | fn help() { function help_no_colour (line 544) | fn help_no_colour() { function version (line 550) | fn version() { function version_yes_color (line 556) | fn version_yes_color() { function fail (line 562) | fn fail() { function empty (line 568) | fn empty() { function an_unrelated_argument (line 575) | fn an_unrelated_argument() { function just_domain (line 583) | fn just_domain() { function just_named_domain (line 592) | fn just_named_domain() { function domain_and_type (line 601) | fn domain_and_type() { function domain_and_type_lowercase (line 611) | fn domain_and_type_lowercase() { function domain_and_other_type (line 621) | fn domain_and_other_type() { function domain_and_single_domain (line 631) | fn domain_and_single_domain() { function domain_and_nameserver (line 641) | fn domain_and_nameserver() { function domain_and_class (line 651) | fn domain_and_class() { function domain_and_class_lowercase (line 661) | fn domain_and_class_lowercase() { function all_free (line 671) | fn all_free() { function all_parameters (line 683) | fn all_parameters() { function all_parameters_lowercase (line 695) | fn all_parameters_lowercase() { function two_types (line 707) | fn two_types() { function two_classes (line 717) | fn two_classes() { function all_mixed_1 (line 727) | fn all_mixed_1() { function all_mixed_2 (line 739) | fn all_mixed_2() { function all_mixed_3 (line 750) | fn all_mixed_3() { function explicit_numerics (line 761) | fn explicit_numerics() { function edns_and_tweaks (line 772) | fn edns_and_tweaks() { function two_more_tweaks (line 779) | fn two_more_tweaks() { function udp_size (line 786) | fn udp_size() { function short_mode (line 792) | fn short_mode() { function short_mode_seconds (line 799) | fn short_mode_seconds() { function json_output (line 806) | fn json_output() { function specific_txid (line 812) | fn specific_txid() { function all_transport_types (line 819) | fn all_transport_types() { function invalid_named_class (line 830) | fn invalid_named_class() { function invalid_named_class_too_big (line 836) | fn invalid_named_class_too_big() { function invalid_named_type (line 842) | fn invalid_named_type() { function invalid_named_type_too_big (line 848) | fn invalid_named_type_too_big() { function invalid_txid (line 854) | fn invalid_txid() { function invalid_edns (line 860) | fn invalid_edns() { function invalid_tweaks (line 866) | fn invalid_tweaks() { function invalid_udp_size (line 872) | fn invalid_udp_size() { function invalid_udp_size_size (line 878) | fn invalid_udp_size_size() { function invalid_udp_size_missing (line 884) | fn invalid_udp_size_missing() { function missing_https_url (line 890) | fn missing_https_url() { function opt (line 898) | fn opt() { function opt_lowercase (line 904) | fn opt_lowercase() { function opt_arg (line 910) | fn opt_arg() { function opt_arg_lowercase (line 916) | fn opt_arg_lowercase() { function number_parsing (line 924) | fn number_parsing() { FILE: src/output.rs type OutputFormat (line 18) | pub enum OutputFormat { method print (line 81) | pub fn print(self, responses: Vec, duration: Option bool { method palette (line 64) | pub fn palette(self) -> Colours { type TextFormat (line 47) | pub struct TextFormat { method record_payload_summary (line 190) | pub fn record_payload_summary(self, record: Record) -> String { method pseudo_record_payload_summary (line 294) | pub fn pseudo_record_payload_summary(self, opt: OPT) -> String { method format_duration (line 305) | pub fn format_duration(self, seconds: u32) -> String { function format_duration_hms (line 317) | fn format_duration_hms(seconds: u32) -> String { function json_queries (line 342) | fn json_queries(queries: Vec) -> JsonValue { function json_answers (line 355) | fn json_answers(answers: Vec) -> JsonValue { function json_class (line 384) | fn json_class(class: QClass) -> JsonValue { function json_record_type_name (line 395) | fn json_record_type_name(record: RecordType) -> JsonValue { function json_record_name (line 426) | fn json_record_name(record: &Record) -> JsonValue { function json_record_data (line 461) | fn json_record_data(record: Record) -> JsonValue { type Ascii (line 602) | struct Ascii<'a>(&'a [u8]); function fmt (line 605) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function print_error_code (line 631) | pub fn print_error_code(rcode: ErrorCode) { function erroneous_phase (line 646) | fn erroneous_phase(error: &TransportError) -> &'static str { function error_message (line 663) | fn error_message(error: TransportError) -> String { function wire_error_message (line 683) | fn wire_error_message(error: WireError) -> String { function escape_quotes (line 715) | fn escape_quotes() { function escape_backslashes (line 721) | fn escape_backslashes() { function escape_lows (line 727) | fn escape_lows() { function escape_highs (line 733) | fn escape_highs() { FILE: src/requests.rs type RequestGenerator (line 11) | pub struct RequestGenerator { method generate (line 89) | pub fn generate(self) -> Result, ResolverLookupError> { type Inputs (line 28) | pub struct Inputs { type ProtocolTweaks (line 48) | pub struct ProtocolTweaks { method set_request_flags (line 149) | pub fn set_request_flags(self, flags: &mut dns::Flags) { method set_request_opt_fields (line 165) | pub fn set_request_opt_fields(self, opt: &mut dns::record::OPT) { type UseEDNS (line 65) | pub enum UseEDNS { method should_send (line 136) | pub fn should_send(self) -> bool { method should_show (line 141) | pub fn should_show(self) -> bool { type RequestSet (line 83) | pub type RequestSet = (Box, Vec Result { type Resolver (line 45) | pub struct Resolver { method nameserver (line 57) | pub fn nameserver(&self) -> String { method name_list (line 63) | pub fn name_list(&self, name: &Labels) -> Vec { function system_nameservers (line 89) | fn system_nameservers() -> Result { function system_nameservers (line 134) | fn system_nameservers() -> Result { function system_nameservers (line 210) | fn system_nameservers() -> Result { type ResolverLookupError (line 217) | pub enum ResolverLookupError { method from (line 238) | fn from(error: io::Error) -> ResolverLookupError { method from (line 245) | fn from(error: ipconfig::error::Error) -> ResolverLookupError { method fmt (line 251) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: src/table.rs type Table (line 17) | pub struct Table { method new (line 51) | pub fn new(colours: Colours, text_format: TextFormat) -> Self { method add_row (line 57) | pub fn add_row(&mut self, answer: Answer, section: Section) { method print (line 76) | pub fn print(self, duration: Option) { method coloured_record_type (line 115) | fn coloured_record_type(&self, record: &Record) -> ANSIString<'static> { method max_qtype_len (line 141) | fn max_qtype_len(&self) -> usize { method max_qname_len (line 145) | fn max_qname_len(&self) -> usize { method max_ttl_len (line 149) | fn max_ttl_len(&self) -> usize { method format_section (line 153) | fn format_section(&self, section: Section) -> ANSIString<'static> { type Row (line 25) | pub struct Row { type Section (line 35) | pub enum Section { FILE: src/txid.rs type TxidGenerator (line 7) | pub enum TxidGenerator { method generate (line 18) | pub fn generate(self) -> u16 {