[−][src]Struct weasel::server::ServerBuilder
A builder object to create a server.
Methods
impl<R: BattleRules> ServerBuilder<R>
[src]
pub fn enforce_authentication(self) -> ServerBuilder<R>
[src]
Enforce authentication on all events sent by clients.
Clients must present a valid PlayerId
each time they want to send an event.
pub fn build(self) -> Server<R>
[src]
Creates a new server.
Auto Trait Implementations
impl<R> !RefUnwindSafe for ServerBuilder<R>
impl<R> !Send for ServerBuilder<R>
impl<R> !Sync for ServerBuilder<R>
impl<R> Unpin for ServerBuilder<R> where
R: Unpin,
<R as BattleRules>::AR: ActorRules<R>,
<<R as BattleRules>::AR as ActorRules<R>>::Ability: Id + Unpin,
<R as BattleRules>::CR: CharacterRules<R>,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: Unpin,
<R as BattleRules>::ER: Unpin,
<<R as BattleRules>::ER as EntropyRules>::EntropyModel: Unpin,
<<<R as BattleRules>::AR as ActorRules<R>>::Ability as Id>::Id: Unpin,
<<<R as BattleRules>::CR as CharacterRules<R>>::Statistic as Id>::Id: Unpin,
<<R as BattleRules>::TR as TeamRules<R>>::Id: Unpin,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: Unpin,
<<R as BattleRules>::SR as SpaceRules<R>>::Position: Unpin,
<R as BattleRules>::RR: Unpin,
<<R as BattleRules>::RR as RoundsRules<R>>::RoundsModel: Unpin,
<R as BattleRules>::SR: Unpin,
<<R as BattleRules>::SR as SpaceRules<R>>::SpaceModel: Unpin,
<<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + Unpin,
<R as BattleRules>::TR: TeamRules<R>,
<R as BattleRules>::UR: UserRules<R>,
<<R as BattleRules>::UR as UserRules<R>>::UserMetricId: Unpin,
R: Unpin,
<R as BattleRules>::AR: ActorRules<R>,
<<R as BattleRules>::AR as ActorRules<R>>::Ability: Id + Unpin,
<R as BattleRules>::CR: CharacterRules<R>,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: Unpin,
<R as BattleRules>::ER: Unpin,
<<R as BattleRules>::ER as EntropyRules>::EntropyModel: Unpin,
<<<R as BattleRules>::AR as ActorRules<R>>::Ability as Id>::Id: Unpin,
<<<R as BattleRules>::CR as CharacterRules<R>>::Statistic as Id>::Id: Unpin,
<<R as BattleRules>::TR as TeamRules<R>>::Id: Unpin,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: Unpin,
<<R as BattleRules>::SR as SpaceRules<R>>::Position: Unpin,
<R as BattleRules>::RR: Unpin,
<<R as BattleRules>::RR as RoundsRules<R>>::RoundsModel: Unpin,
<R as BattleRules>::SR: Unpin,
<<R as BattleRules>::SR as SpaceRules<R>>::SpaceModel: Unpin,
<<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + Unpin,
<R as BattleRules>::TR: TeamRules<R>,
<R as BattleRules>::UR: UserRules<R>,
<<R as BattleRules>::UR as UserRules<R>>::UserMetricId: Unpin,
impl<R> !UnwindSafe for ServerBuilder<R>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,