[][src]Struct oxygengine_network::resource::Network

pub struct Network<C> where
    C: Client
{ /* fields omitted */ }

Implementations

impl<C> Network<C> where
    C: Client
[src]

pub fn open_client(&mut self, url: &str) -> Option<ClientID>[src]

pub fn close_client(&mut self, id: ClientID) -> bool[src]

pub fn client(&self, id: ClientID) -> Option<&C>[src]

pub fn client_mut(&mut self, id: ClientID) -> Option<&mut C>[src]

pub fn has_client(&self, id: ClientID) -> bool[src]

pub fn process(&mut self)[src]

Trait Implementations

impl<C> Default for Network<C> where
    C: Client
[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Event for T where
    T: Send + Sync + 'static, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Resource for T where
    T: Any, 

impl<T> TryDefault for T where
    T: Default

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,