pub struct ClientKey(/* private fields */);Expand description
Key under which per-client state is held: an IPv4 address as /32, an IPv6 address as its
/64 (one subscriber owns a whole /64, so per-address keys would be trivially bypassed).
Implementations§
Trait Implementations§
impl Copy for ClientKey
impl Eq for ClientKey
Source§impl Ord for ClientKey
impl Ord for ClientKey
1.21.0 (const: unstable) · 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 PartialOrd for ClientKey
impl PartialOrd for ClientKey
impl StructuralPartialEq for ClientKey
Auto Trait Implementations§
impl Freeze for ClientKey
impl RefUnwindSafe for ClientKey
impl Send for ClientKey
impl Sync for ClientKey
impl Unpin for ClientKey
impl UnsafeUnpin for ClientKey
impl UnwindSafe for ClientKey
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