pub struct LocalModeConfig {
pub port: u16,
pub dashboard: bool,
pub storage_path: PathBuf,
}Expand description
Configuration for the in-process local-dev control plane.
All fields default to the zero-config developer values documented
in the Epic 17 spec. storage_path is stored raw; ~ is expanded
later by GatewayConfig::expand_paths() (added in AAASM-1691).
Fields§
§port: u16TCP port the local gateway listens on. Default: 7391.
dashboard: boolWhether to serve the dashboard SPA at the same address. Default: true.
storage_path: PathBufSQLite database path. Default: ~/.aasm/local.db (un-expanded).
Trait Implementations§
Source§impl Clone for LocalModeConfig
impl Clone for LocalModeConfig
Source§fn clone(&self) -> LocalModeConfig
fn clone(&self) -> LocalModeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalModeConfig
impl Debug for LocalModeConfig
Source§impl Default for LocalModeConfig
impl Default for LocalModeConfig
impl Eq for LocalModeConfig
Source§impl PartialEq for LocalModeConfig
impl PartialEq for LocalModeConfig
Source§fn eq(&self, other: &LocalModeConfig) -> bool
fn eq(&self, other: &LocalModeConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LocalModeConfig
Auto Trait Implementations§
impl Freeze for LocalModeConfig
impl RefUnwindSafe for LocalModeConfig
impl Send for LocalModeConfig
impl Sync for LocalModeConfig
impl Unpin for LocalModeConfig
impl UnsafeUnpin for LocalModeConfig
impl UnwindSafe for LocalModeConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.