pub struct RelayOptions {
pub name_suffix: String,
pub session_id: Option<String>,
pub history_limits: Option<HistoryLimits>,
pub buffer_samples: Option<i32>,
pub open_timeout: Duration,
}Expand description
Options for StreamRelay::start.
Fields§
§name_suffix: StringSuffix appended to the published stream name (default "-relay").
Pass an empty string to keep the original stream name.
session_id: Option<String>Optional session identifier override for the relayed outlet.
None keeps the source stream session (or active configuration).
history_limits: Option<HistoryLimits>Optional resume and disk store-and-forward limits for the relayed
outlet. None uses the active configuration (Config::history_limits).
buffer_samples: Option<i32>Input buffer capacity on the relay inlet, in samples.
None picks 360 s for regular streams and 3600 samples for irregular
streams.
open_timeout: DurationTimeout for initial connection and LSL:fullinfo fetch.
Trait Implementations§
Source§impl Clone for RelayOptions
impl Clone for RelayOptions
Source§impl Debug for RelayOptions
impl Debug for RelayOptions
Auto Trait Implementations§
impl Forget for RelayOptions
impl Freeze for RelayOptions
impl Move for RelayOptions
impl RefUnwindSafe for RelayOptions
impl Send for RelayOptions
impl Sync for RelayOptions
impl Unpin for RelayOptions
impl UnsafeUnpin for RelayOptions
impl UnwindSafe for RelayOptions
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