pub struct AgentConfig {Show 13 fields
pub recovery_ladder: bool,
pub robot_id: String,
pub signal_url: String,
pub credential_path: PathBuf,
pub quic_port: u16,
pub ipv6: bool,
pub port_mapping: bool,
pub host_override: Option<String>,
pub qos_profile: String,
pub max_sessions: u32,
pub channels: Vec<ChannelSpec>,
pub agent_version: String,
pub relay: bool,
}Expand description
How a robot is configured, independent of where that configuration came
from — seydd.toml, a C seyd_config, or a test.
Fields§
§recovery_ladder: boolAsk for the cheapest useful recovery point (LTR → intra-refresh → IDR)
instead of always demanding a keyframe. Turn off for a publisher that
mishandles any kind but idr.
robot_id: String§signal_url: String§credential_path: PathBuf§quic_port: u16§ipv6: bool§port_mapping: bool§host_override: Option<String>Skip discovery and advertise this host only (LAN testing).
qos_profile: String§max_sessions: u32§channels: Vec<ChannelSpec>§agent_version: StringReported to the signal server, e.g. seydd/0.1.0.
relay: boolAccept a session carried by the cloud relay when the pilot could not connect directly (ADR 0010). The relay is a last resort the pilot chooses after its candidate race fails; this only says whether the robot will serve it. Off means such pilots get a diagnosis instead.
Trait Implementations§
Source§impl Clone for AgentConfig
impl Clone for AgentConfig
Source§fn clone(&self) -> AgentConfig
fn clone(&self) -> AgentConfig
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 AgentConfig
impl Debug for AgentConfig
Auto Trait Implementations§
impl Freeze for AgentConfig
impl RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl UnsafeUnpin for AgentConfig
impl UnwindSafe for AgentConfig
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