pub struct CidrTable { /* private fields */ }Expand description
Zero-allocation /8 radix-indexed IPv4/IPv6 CIDR lookup table using merged disjoint intervals.
Implementations§
Source§impl CidrTable
Inherent compilation and zero-allocation lookup methods for CidrTable.
impl CidrTable
Inherent compilation and zero-allocation lookup methods for CidrTable.
Trait Implementations§
Auto Trait Implementations§
impl Forget for CidrTable
impl Freeze for CidrTablewhere
*const V4CidrCsr is !null: Freeze,
PhantomData<V4CidrCsr>: Freeze,
*const V6CidrCsr is !null: Freeze,
PhantomData<V6CidrCsr>: Freeze,
impl Move for CidrTable
impl RefUnwindSafe for CidrTable
impl Send for CidrTable
impl Sync for CidrTable
impl Unpin for CidrTable
impl UnsafeUnpin for CidrTablewhere
*const V4CidrCsr is !null: UnsafeUnpin,
PhantomData<V4CidrCsr>: UnsafeUnpin,
*const V6CidrCsr is !null: UnsafeUnpin,
PhantomData<V6CidrCsr>: UnsafeUnpin,
impl UnwindSafe for CidrTablewhere
BoxRaw<V4CidrCsr>: UnwindSafe,
BoxRaw<V6CidrCsr>: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more