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  *     http://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 
20 mod edns;
21 pub mod header;
22 pub mod message;
23 pub mod op_code;
24 pub mod query;
25 pub mod response_code;
26 
27 pub use self::edns::Edns;
28 pub use self::header::Header;
29 pub use self::header::MessageType;
30 pub use self::message::{Message, MessageFinalizer, NoopMessageFinalizer};
31 pub use self::op_code::OpCode;
32 pub use self::query::Query;
33 pub use self::response_code::ResponseCode;
34