pub struct Network<C>where
C: Client,{ /* private fields */ }Implementations§
Source§impl<C> Network<C>where
C: Client,
impl<C> Network<C>where
C: Client,
pub fn open_client(&mut self, url: &str) -> Option<ClientId>
pub fn close_client(&mut self, id: ClientId) -> bool
pub fn client(&self, id: ClientId) -> Option<&C>
pub fn client_mut(&mut self, id: ClientId) -> Option<&mut C>
pub fn has_client(&self, id: ClientId) -> bool
pub fn process(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for Network<C>
impl<C> RefUnwindSafe for Network<C>where
C: RefUnwindSafe,
impl<C> Send for Network<C>
impl<C> Sync for Network<C>
impl<C> Unpin for Network<C>where
C: Unpin,
impl<C> UnwindSafe for Network<C>where
C: 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