pub struct RendezvousConfig {
pub endpoints: Vec<String>,
pub interval_seconds: u64,
}Expand description
Rendezvous settings: other Majordomus servers to register with. Plain HTTP on a private network; there is no TLS in this executable, and the protocol assumes none — candidates verify end-to-end by signature, a poisoned rendezvous can withhold nodes but not invent them.
Fields§
§endpoints: Vec<String>Base URLs, http://host:port. Several endpoints are several independent
sources; one failing never stops another.
interval_seconds: u64Seconds between registrations per endpoint (backoff stretches it on failure).
Trait Implementations§
Source§impl Clone for RendezvousConfig
impl Clone for RendezvousConfig
Source§fn clone(&self) -> RendezvousConfig
fn clone(&self) -> RendezvousConfig
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 RendezvousConfig
impl Debug for RendezvousConfig
Source§impl Default for RendezvousConfig
impl Default for RendezvousConfig
Source§impl<'de> Deserialize<'de> for RendezvousConfig
impl<'de> Deserialize<'de> for RendezvousConfig
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
Source§impl JsonSchema for RendezvousConfig
impl JsonSchema for RendezvousConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for RendezvousConfig
impl RefUnwindSafe for RendezvousConfig
impl Send for RendezvousConfig
impl Sync for RendezvousConfig
impl Unpin for RendezvousConfig
impl UnsafeUnpin for RendezvousConfig
impl UnwindSafe for RendezvousConfig
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