pub struct RelayServiceConfig {
pub password: String,
pub network_interfaces_to_allow: Vec<String>,
pub network_interfaces_to_ignore: Vec<String>,
pub streamer_urls: Vec<String>,
pub interface_name_overrides: Vec<String>,
pub runtime_status_file: Option<PathBuf>,
pub database: PathBuf,
}Expand description
Configuration for a RelayService.
Fields§
§password: String§network_interfaces_to_allow: Vec<String>Regex of interface names to allow (^/$ anchors added automatically).
network_interfaces_to_ignore: Vec<String>Regex of interface names to ignore (^/$ anchors added
automatically).
streamer_urls: Vec<String>Streamer URLs to connect to directly instead of discovering over mDNS.
interface_name_overrides: Vec<String>"interface=label" pairs renaming a relay as shown in the Moblin app.
runtime_status_file: Option<PathBuf>File to write relay/streamer state as JSON for external UIs to read.
database: PathBufFile storing the per-interface relay identities.
Auto Trait Implementations§
impl Freeze for RelayServiceConfig
impl RefUnwindSafe for RelayServiceConfig
impl Send for RelayServiceConfig
impl Sync for RelayServiceConfig
impl Unpin for RelayServiceConfig
impl UnsafeUnpin for RelayServiceConfig
impl UnwindSafe for RelayServiceConfig
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