hickory_proto/op/
mod.rs

1/*
2 * Copyright (C) 2015 Benjamin Fry <benjaminfry@me.com>
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *     https://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17//! Operations to send with a `Client` or server, e.g. `Query`, `Message`, or `UpdateMessage` can
18//! be used together to either query or update resource records sets.
19
20mod edns;
21pub mod header;
22mod lower_query;
23pub mod message;
24pub mod op_code;
25pub mod query;
26pub mod response_code;
27pub mod update_message;
28
29pub use self::edns::Edns;
30pub use self::header::Header;
31pub use self::header::MessageType;
32pub use self::message::{
33    Message, MessageFinalizer, MessageParts, MessageVerifier, NoopMessageFinalizer,
34};
35pub use self::op_code::OpCode;
36pub use self::query::Query;
37pub use self::response_code::ResponseCode;
38pub use lower_query::LowerQuery;
39pub use update_message::UpdateMessage;