pub struct NetworkHostSystem<S>where
S: Server + 'static,{ /* private fields */ }Trait Implementations§
Source§impl<S> Default for NetworkHostSystem<S>where
S: Server + 'static,
impl<S> Default for NetworkHostSystem<S>where
S: Server + 'static,
Source§impl<'s, S> System<'s> for NetworkHostSystem<S>where
S: Server + 'static,
impl<'s, S> System<'s> for NetworkHostSystem<S>where
S: Server + 'static,
Source§type SystemData = Write<'s, NetworkHost<S>, PanicHandler>
type SystemData = Write<'s, NetworkHost<S>, PanicHandler>
The resource bundle required to execute this system. Read more
Source§fn run(&mut self, network: Self::SystemData)
fn run(&mut self, network: Self::SystemData)
Executes the system with the required system
data.
Source§fn running_time(&self) -> RunningTime
fn running_time(&self) -> RunningTime
Returns a hint how long the system needs for running.
This is used to optimize the way they’re executed (might
allow more parallelization). Read more
Source§fn accessor<'b>(&'b self) -> AccessorCow<'a, 'b, Self>
fn accessor<'b>(&'b self) -> AccessorCow<'a, 'b, Self>
Return the accessor from the
SystemData.Auto Trait Implementations§
impl<S> Freeze for NetworkHostSystem<S>
impl<S> RefUnwindSafe for NetworkHostSystem<S>where
S: RefUnwindSafe,
impl<S> Send for NetworkHostSystem<S>
impl<S> Sync for NetworkHostSystem<S>
impl<S> Unpin for NetworkHostSystem<S>where
S: Unpin,
impl<S> UnwindSafe for NetworkHostSystem<S>where
S: 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
Source§impl<T> TryDefault for Twhere
T: Default,
impl<T> TryDefault for Twhere
T: Default,
Source§fn try_default() -> Result<T, String>
fn try_default() -> Result<T, String>
Tries to create the default.
Source§fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls
try_default and panics on an error case.