Struct mtop_client::ServerID
source · pub struct ServerID(/* private fields */);Expand description
Unique ID for a server in a Memcached cluster.
Trait Implementations§
source§impl From<SocketAddr> for ServerID
impl From<SocketAddr> for ServerID
source§fn from(value: SocketAddr) -> Self
fn from(value: SocketAddr) -> Self
Converts to this type from the input type.
source§impl Ord for ServerID
impl Ord for ServerID
source§impl PartialEq for ServerID
impl PartialEq for ServerID
source§impl PartialOrd for ServerID
impl PartialOrd for ServerID
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for ServerID
impl StructuralPartialEq for ServerID
Auto Trait Implementations§
impl Freeze for ServerID
impl RefUnwindSafe for ServerID
impl Send for ServerID
impl Sync for ServerID
impl Unpin for ServerID
impl UnwindSafe for ServerID
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)