pub struct ServerCore<Client, Master>where
Master: MasterServer,{
pub clients: Vec<Client>,
pub read: FramedReader<OwnedReadHalf>,
pub write: OwnedWriteHalf,
pub master: Master,
}Fields§
§clients: Vec<Client>§read: FramedReader<OwnedReadHalf>§write: OwnedWriteHalf§master: MasterImplementations§
Auto Trait Implementations§
impl<Client, Master> Freeze for ServerCore<Client, Master>where
Master: Freeze,
impl<Client, Master> RefUnwindSafe for ServerCore<Client, Master>where
Master: RefUnwindSafe,
Client: RefUnwindSafe,
impl<Client, Master> Send for ServerCore<Client, Master>
impl<Client, Master> Sync for ServerCore<Client, Master>
impl<Client, Master> Unpin for ServerCore<Client, Master>
impl<Client, Master> UnsafeUnpin for ServerCore<Client, Master>where
Master: UnsafeUnpin,
impl<Client, Master> UnwindSafe for ServerCore<Client, Master>where
Master: UnwindSafe,
Client: UnwindSafe,
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