You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: uri.rs
    path of file: ./repos/dog/dns/src/record
    
    the code of the file until where you have to start completion: use log::*;

use crate::wire::*;


/// A **URI** record, which holds a URI along with weight and priority values
/// to balance between several records.
///
/// # References
///
/// - [RFC 7553](https://tools.ietf.org/html/rfc7553) — The Uniform Reso
    
    fn parses() {
        let buf = &[
            0x00, 0x0A,  // priority
            0x00, 0x10,  // weight
            0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x72, 0x66, 0x63,
            0x73, 0x2e, 0x69, 0x6f, 0x2f,  // uri
        ];

        assert_eq!(URI::read(buf.len() as _, &mut Cursor::new(buf)).unwrap(),
                   URI {
                       priority: 10,
                       weight: 16,
                       target: Box::new(*b"https://rfcs.io/"),
                   });
    }