1 2 3 4 5 6 7 8 9 10 11
use crate::encode::Encoder;
impl Encoder {
impl_encode_rr_vec!(EID, data, rr_eid);
impl_encode_rr_vec!(NIMLOC, data, rr_nimloc);
}
impl_encode_rr!(EID, rr_eid);
impl_encode_rr!(NIMLOC, rr_nimloc);
1 2 3 4 5 6 7 8 9 10 11
use crate::encode::Encoder;
impl Encoder {
impl_encode_rr_vec!(EID, data, rr_eid);
impl_encode_rr_vec!(NIMLOC, data, rr_nimloc);
}
impl_encode_rr!(EID, rr_eid);
impl_encode_rr!(NIMLOC, rr_nimloc);