use std::fmt;
use crate::prelude::*;
#[create_store((
[5, 5, 4, 3, 3, 3, 3, 3, 3, 3],
[4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4]
))]
struct DefaultStore;
impl<
Meta: routecore::record::Meta + MergeUpdate,
NB: NodeBuckets<IPv4>,
PB: PrefixBuckets<IPv4, Meta>
> fmt::Display for CustomAllocStorage<IPv4, Meta, NB, PB>
{
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(
f,
"CustomAllocStorage<IPv4, {}>",
std::any::type_name::<Meta>()
)
}
}
impl<
Meta: routecore::record::Meta + MergeUpdate,
NB: NodeBuckets<IPv6>,
PB: PrefixBuckets<IPv6, Meta>
> fmt::Display for CustomAllocStorage<IPv6, Meta, NB, PB>
{
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(
f,
"CustomAllocStorage<IPv6, {}>",
std::any::type_name::<Meta>()
)
}
}