pub struct IpMarked<I: Ip, T> { /* private fields */ }
Expand description
A wrapper structure to add an IP version marker to an IP-invariant type.
Implementations§
Trait Implementations§
Source§impl<I: Ord + Ip, T: Ord> Ord for IpMarked<I, T>
impl<I: Ord + Ip, T: Ord> Ord for IpMarked<I, T>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<I: PartialOrd + Ip, T: PartialOrd> PartialOrd for IpMarked<I, T>
impl<I: PartialOrd + Ip, T: PartialOrd> PartialOrd for IpMarked<I, T>
impl<I: Eq + Ip, T: Eq> Eq for IpMarked<I, T>
impl<I: Ip, T> StructuralPartialEq for IpMarked<I, T>
Auto Trait Implementations§
impl<I, T> Freeze for IpMarked<I, T>where
T: Freeze,
impl<I, T> RefUnwindSafe for IpMarked<I, T>where
T: RefUnwindSafe,
I: RefUnwindSafe,
impl<I, T> Send for IpMarked<I, T>where
T: Send,
impl<I, T> Sync for IpMarked<I, T>where
T: Sync,
impl<I, T> Unpin for IpMarked<I, T>
impl<I, T> UnwindSafe for IpMarked<I, T>where
T: UnwindSafe,
I: UnwindSafe,
Blanket Implementations§
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