pub struct StreamerConfig {
pub id: String,
pub name: String,
pub address: String,
pub port: u16,
pub tun_ip_network: String,
pub password: String,
pub destination_address: String,
pub destination_port: u16,
pub belabox: bool,
pub belabox_config: PathBuf,
}Expand description
Configuration for a Streamer.
Fields§
§id: String§name: String§address: StringAddress the streamer’s WebSocket server binds to.
port: u16Port the streamer’s WebSocket server binds to.
tun_ip_network: StringTUN device subnet in CIDR notation (e.g. 10.0.0.0/24).
password: String§destination_address: String§destination_port: u16§belabox: boolRun in BELABOX mode, reading destinations from belabox_config.
belabox_config: PathBufAuto Trait Implementations§
impl Freeze for StreamerConfig
impl RefUnwindSafe for StreamerConfig
impl Send for StreamerConfig
impl Sync for StreamerConfig
impl Unpin for StreamerConfig
impl UnsafeUnpin for StreamerConfig
impl UnwindSafe for StreamerConfig
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