struct ClientSlot(Arc<Hub>, IpAddr);Expand description
Counts a connected client until dropped.
Tuple Fields§
§0: Arc<Hub>§1: IpAddrImplementations§
Trait Implementations§
Source§impl Drop for ClientSlot
impl Drop for ClientSlot
Auto Trait Implementations§
impl !RefUnwindSafe for ClientSlot
impl !UnwindSafe for ClientSlot
impl Freeze for ClientSlot
impl Send for ClientSlot
impl Sync for ClientSlot
impl Unpin for ClientSlot
impl UnsafeUnpin for ClientSlot
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