pub struct RemoteModeConfig {
pub listen_addr: SocketAddr,
pub tls: Option<TlsConfig>,
pub database_url: Option<String>,
pub redis_url: Option<String>,
}Expand description
Configuration for the network-reachable remote control plane.
Defaults bind to 0.0.0.0:7391 with no TLS and no database —
production callers must explicitly configure tls and
database_url before serving real traffic.
Fields§
§listen_addr: SocketAddrAddress the gateway binds to. Default: 0.0.0.0:7391.
tls: Option<TlsConfig>TLS cert / key paths. None disables TLS (development only).
database_url: Option<String>PostgreSQL connection URL. None falls back to in-memory storage.
redis_url: Option<String>Optional Redis URL used by the rate-limit and pub/sub subsystems.
Trait Implementations§
Source§impl Clone for RemoteModeConfig
impl Clone for RemoteModeConfig
Source§fn clone(&self) -> RemoteModeConfig
fn clone(&self) -> RemoteModeConfig
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 RemoteModeConfig
impl Debug for RemoteModeConfig
Source§impl Default for RemoteModeConfig
impl Default for RemoteModeConfig
impl Eq for RemoteModeConfig
Source§impl PartialEq for RemoteModeConfig
impl PartialEq for RemoteModeConfig
Source§fn eq(&self, other: &RemoteModeConfig) -> bool
fn eq(&self, other: &RemoteModeConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RemoteModeConfig
Auto Trait Implementations§
impl Freeze for RemoteModeConfig
impl RefUnwindSafe for RemoteModeConfig
impl Send for RemoteModeConfig
impl Sync for RemoteModeConfig
impl Unpin for RemoteModeConfig
impl UnsafeUnpin for RemoteModeConfig
impl UnwindSafe for RemoteModeConfig
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.