pub struct Instance<S = ConfigState> { /* private fields */ }Expand description
The server instance.
This is the main entry point for the server. It is used to prepare the server, and start it.
Implementations§
Source§impl Instance<ConfigState>
impl Instance<ConfigState>
Auto Trait Implementations§
impl<S> Freeze for Instance<S>
impl<S> RefUnwindSafe for Instance<S>where
S: RefUnwindSafe,
impl<S> Send for Instance<S>where
S: Send,
impl<S> Sync for Instance<S>where
S: Sync,
impl<S> Unpin for Instance<S>where
S: Unpin,
impl<S> UnwindSafe for Instance<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