This commit is contained in:
Adam Ierymenko 2021-09-22 10:59:51 -04:00
parent 1fc4bc96d1
commit c5ed599ef3
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
5 changed files with 3 additions and 4 deletions

View file

@ -8,7 +8,7 @@ use crate::util::hex::HEX_CHARS;
/// It also supports binary keys and values which will be minimally escaped but render the result not
/// entirely human readable. Keys are serialized in natural sort order so the result can be consistently
/// checksummed or hashed.
#[derive(Clone, PartialEq, Eq)]
#[derive(Clone)]
pub struct Dictionary(BTreeMap<String, Vec<u8>>);
fn write_escaped<W: Write>(b: &[u8], w: &mut W) -> std::io::Result<()> {

View file

@ -15,7 +15,6 @@ pub(crate) struct FragmentedPacket {
}
impl FragmentedPacket {
#[inline(always)]
pub fn new(ts: i64) -> Self {
Self {
ts_ticks: ts,

View file

@ -16,7 +16,7 @@ pub(crate) mod dictionary;
pub(crate) mod address;
pub(crate) mod mac;
pub(crate) mod fragmentedpacket;
pub(crate) mod whois;
pub(crate) mod whoisqueue;
// Export some core objects into the root namespace, since these are what other code will driectly deal with.
pub use address::Address;

View file

@ -14,7 +14,7 @@ use crate::vl1::buffer::{Buffer, PooledBufferFactory};
use crate::vl1::path::Path;
use crate::vl1::peer::Peer;
use crate::vl1::protocol::*;
use crate::vl1::whois::{WhoisQueue, QueuedPacket};
use crate::vl1::whoisqueue::{WhoisQueue, QueuedPacket};
use crate::vl1::rootset::RootSet;
/// Standard packet buffer type including pool container.