pub struct ChoiceConfig {
pub peers: Option<PeersConfig>,
pub crossing_deadline_ms: u64,
pub broker_address: Option<String>,
pub broker_echo: Option<SocketAddr>,
pub udp_listen: SocketAddr,
pub relay_holder: Option<String>,
pub relay_address: Option<String>,
}Expand description
Bounds and service addresses for opening a configured link.
Fields§
§peers: Option<PeersConfig>Explicit security and discovery bounds for a person’s device links.
crossing_deadline_ms: u64Twice the estate’s 1000ms design RTT budget, including a durable flush.
docs/perf/participant-record-rtt.md documents localhost record RTTs;
it does not itself verify the estate-wide ceiling used by this default.
broker_address: Option<String>The broker’s admitted wire listener.
broker_echo: Option<SocketAddr>The broker’s observed-address echo listener.
udp_listen: SocketAddrThe local device’s UDP listener.
relay_holder: Option<String>The configured relaying machine’s recorded holder.
relay_address: Option<String>The relay’s admitted wire listener.
Trait Implementations§
Source§impl Clone for ChoiceConfig
impl Clone for ChoiceConfig
Source§impl Debug for ChoiceConfig
impl Debug for ChoiceConfig
Source§impl Default for ChoiceConfig
impl Default for ChoiceConfig
Source§impl<'de> Deserialize<'de> for ChoiceConfigwhere
ChoiceConfig: Default,
impl<'de> Deserialize<'de> for ChoiceConfigwhere
ChoiceConfig: Default,
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 ChoiceConfig
Source§impl PartialEq for ChoiceConfig
impl PartialEq for ChoiceConfig
impl StructuralPartialEq for ChoiceConfig
Auto Trait Implementations§
impl Freeze for ChoiceConfig
impl RefUnwindSafe for ChoiceConfig
impl Send for ChoiceConfig
impl Sync for ChoiceConfig
impl Unpin for ChoiceConfig
impl UnsafeUnpin for ChoiceConfig
impl UnwindSafe for ChoiceConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.