pub struct Server { /* private fields */ }
Expand description
An individual server that is part of a Memcached cluster.
Implementations§
Source§impl Server
impl Server
pub fn new(id: ServerID, name: ServerName<'static>) -> Self
pub fn id(&self) -> &ServerID
pub fn server_name(&self) -> &ServerName<'static>
Trait Implementations§
Source§impl ClientFactory<Server, Memcached> for TcpClientFactory
impl ClientFactory<Server, Memcached> for TcpClientFactory
Source§impl Ord for Server
impl Ord for Server
Source§impl PartialOrd for Server
impl PartialOrd for Server
impl Eq for Server
impl StructuralPartialEq for Server
Auto Trait Implementations§
impl Freeze for Server
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnwindSafe for Server
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