pub struct Client {
pub nickname: String,
pub cmd_s: Sender<Command>,
pub msg_r: Receiver<Icbmsg>,
}
Expand description
Representation of the client/user state.
Fields§
§nickname: String
§cmd_s: Sender<Command>
§msg_r: Receiver<Icbmsg>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
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