pub struct ServerConfig {Show 24 fields
pub command_socket: String,
pub debug: bool,
pub listen: Vec<SocketAddr>,
pub public_url: String,
pub sse_wildcard_url: Option<(String, String)>,
pub template_dir: String,
pub nwtemplate_dir: String,
pub wasm_dir: String,
pub libexec_dir: String,
pub usvg_bin: String,
pub bundled_sources: String,
pub shapelibs: Vec<ShapelibConfig1>,
pub specs_dir: String,
pub sendmail: String,
pub ssh_proxy_bin: String,
pub ssh_proxy_uid: Uid,
pub ssh_restrictions: String,
pub authorized_keys: String,
pub authorized_keys_include: String,
pub debug_js_inject: Arc<String>,
pub check_bundled_sources: bool,
pub game_rng: RngWrap,
pub global_clock: GlobalClock,
pub prctx: PathResolveContext,
/* private fields */
}Fields§
§command_socket: String§debug: bool§listen: Vec<SocketAddr>§public_url: String§sse_wildcard_url: Option<(String, String)>§template_dir: String§nwtemplate_dir: String§wasm_dir: String§libexec_dir: String§usvg_bin: String§bundled_sources: String§shapelibs: Vec<ShapelibConfig1>§specs_dir: String§sendmail: String§ssh_proxy_bin: String§ssh_proxy_uid: Uid§ssh_restrictions: String§debug_js_inject: Arc<String>§check_bundled_sources: bool§game_rng: RngWrap§global_clock: GlobalClock§prctx: PathResolveContextImplementations§
Source§impl ServerConfig
impl ServerConfig
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ServerConfig
impl !RefUnwindSafe for ServerConfig
impl Send for ServerConfig
impl Sync for ServerConfig
impl Unpin for ServerConfig
impl UnsafeUnpin for ServerConfig
impl UnwindSafe for ServerConfig
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more