pub struct WebConfig {
pub host: String,
pub proxy_base_port: u16,
pub zellij_web: bool,
pub herdr_terminal: bool,
pub herdr_terminal_max_observers_per_session: usize,
pub herdr_terminal_max_observers_global: usize,
}Fields§
§host: String§proxy_base_port: u16§zellij_web: boolWhether the daemon starts the local zellij web server on boot.
v1 defaults to true (existing behavior). Set to false to allow a
herdr-only deployment to start without zellij web; only tested
after PR5 lands.
herdr_terminal: boolEmergency kill switch for the Herdr browser terminal. Defaults to
true; set to false to restore the pre-web behavior (Herdr sessions
get a 404 on /s/{session_id} and the card shows the attach hint).
herdr_terminal_max_observers_per_session: usizeMax concurrent herdr terminal session observe children per session.
herdr_terminal_max_observers_global: usizeMax concurrent herdr terminal session observe children daemon-wide.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WebConfig
impl<'de> Deserialize<'de> for WebConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WebConfig
impl StructuralPartialEq for WebConfig
Auto Trait Implementations§
impl Freeze for WebConfig
impl RefUnwindSafe for WebConfig
impl Send for WebConfig
impl Sync for WebConfig
impl Unpin for WebConfig
impl UnsafeUnpin for WebConfig
impl UnwindSafe for WebConfig
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