pub struct MultihostConfig {
pub hosts: u64,
}Expand description
Configuration for a multihost Feldera pipeline.
This configuration is primarily for the coordinator.
JSON schema
{
"description": "Configuration for a multihost Feldera pipeline.\n\nThis configuration is primarily for the coordinator.",
"type": "object",
"required": [
"hosts"
],
"properties": {
"hosts": {
"description": "Number of hosts to launch.\n\nFor the configuration to be truly multihost, this should be at least 2.\nA value of 1 still runs the multihost coordinator but it only\ncoordinates a single host.",
"type": "integer",
"minimum": 0.0
}
}
}Fields§
§hosts: u64Number of hosts to launch.
For the configuration to be truly multihost, this should be at least 2. A value of 1 still runs the multihost coordinator but it only coordinates a single host.
Implementations§
Source§impl MultihostConfig
impl MultihostConfig
pub fn builder() -> MultihostConfig
Trait Implementations§
Source§impl Clone for MultihostConfig
impl Clone for MultihostConfig
Source§fn clone(&self) -> MultihostConfig
fn clone(&self) -> MultihostConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 MultihostConfig
impl Debug for MultihostConfig
Source§impl<'de> Deserialize<'de> for MultihostConfig
impl<'de> Deserialize<'de> for MultihostConfig
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 From<&MultihostConfig> for MultihostConfig
impl From<&MultihostConfig> for MultihostConfig
Source§fn from(value: &MultihostConfig) -> Self
fn from(value: &MultihostConfig) -> Self
Converts to this type from the input type.
Source§impl From<MultihostConfig> for MultihostConfig
impl From<MultihostConfig> for MultihostConfig
Source§fn from(value: MultihostConfig) -> Self
fn from(value: MultihostConfig) -> Self
Converts to this type from the input type.
Source§impl Serialize for MultihostConfig
impl Serialize for MultihostConfig
Source§impl TryFrom<MultihostConfig> for MultihostConfig
impl TryFrom<MultihostConfig> for MultihostConfig
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: MultihostConfig) -> Result<Self, ConversionError>
fn try_from(value: MultihostConfig) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for MultihostConfig
impl RefUnwindSafe for MultihostConfig
impl Send for MultihostConfig
impl Sync for MultihostConfig
impl Unpin for MultihostConfig
impl UnwindSafe for MultihostConfig
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