[−][src]Struct xaynet_server::state_machine::coordinator::CoordinatorState
The coordinator state.
Fields
keys: EncryptKeyPair
The credentials of the coordinator.
round_id: u64
Internal ID used to identify a round
round_params: RoundParameters
The round parameters.
min_sum_count: u64
The minimum of required sum messages.
min_update_count: u64
The minimum of required update messages.
min_sum2_count: u64
The minimum of required sum2 messages.
max_sum_count: u64
The maximum of accepted sum messages.
max_update_count: u64
The maximum of accepted update messages.
max_sum2_count: u64
The maximum of accepted sum2 messages.
min_sum_time: u64
The minimum time (in seconds) reserved for processing sum messages.
min_update_time: u64
The minimum time (in seconds) reserved for processing update messages.
min_sum2_time: u64
The minimum time (in seconds) reserved for processing sum2 messages.
max_sum_time: u64
The maximum time (in seconds) permitted for processing sum messages.
max_update_time: u64
The maximum time (in seconds) permitted for processing update messages.
max_sum2_time: u64
The maximum time (in seconds) permitted for processing sum2 messages.
Implementations
impl CoordinatorState
[src]
pub fn new(
pet_settings: PetSettings,
mask_settings: MaskSettings,
model_settings: ModelSettings
) -> Self
[src]
pet_settings: PetSettings,
mask_settings: MaskSettings,
model_settings: ModelSettings
) -> Self
Trait Implementations
impl Debug for CoordinatorState
[src]
impl<'de> Deserialize<'de> for CoordinatorState
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl FromRedisValue for CoordinatorState
[src]
pub fn from_redis_value(v: &Value) -> RedisResult<CoordinatorState>
[src]
pub fn from_redis_values(
items: &[Value]
) -> Result<Vec<Self, Global>, RedisError>
[src]
items: &[Value]
) -> Result<Vec<Self, Global>, RedisError>
impl PartialEq<CoordinatorState> for CoordinatorState
[src]
pub fn eq(&self, other: &CoordinatorState) -> bool
[src]
pub fn ne(&self, other: &CoordinatorState) -> bool
[src]
impl Serialize for CoordinatorState
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for CoordinatorState
[src]
impl ToRedisArgs for CoordinatorState
[src]
pub fn write_redis_args<W: ?Sized>(&self, out: &mut W) where
W: RedisWrite,
[src]
W: RedisWrite,
pub fn to_redis_args(&self) -> Vec<Vec<u8, Global>, Global>
[src]
pub fn describe_numeric_behavior(&self) -> NumericBehavior
[src]
pub fn is_single_arg(&self) -> bool
[src]
impl<'a> ToRedisArgs for &'a CoordinatorState
[src]
pub fn write_redis_args<W: ?Sized>(&self, out: &mut W) where
W: RedisWrite,
[src]
W: RedisWrite,
pub fn to_redis_args(&self) -> Vec<Vec<u8, Global>, Global>
[src]
pub fn describe_numeric_behavior(&self) -> NumericBehavior
[src]
pub fn is_single_arg(&self) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for CoordinatorState
[src]
impl Send for CoordinatorState
[src]
impl Sync for CoordinatorState
[src]
impl Unpin for CoordinatorState
[src]
impl UnwindSafe for CoordinatorState
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,