pub enum AggregationControllerOutput {
Sample {
block: PredictionBlock,
},
Unit {
block: AggregatedPredictionBlock,
},
}Variants§
Trait Implementations§
Source§impl Clone for AggregationControllerOutput
impl Clone for AggregationControllerOutput
Source§fn clone(&self) -> AggregationControllerOutput
fn clone(&self) -> AggregationControllerOutput
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 AggregationControllerOutput
impl Debug for AggregationControllerOutput
Source§impl<'de> Deserialize<'de> for AggregationControllerOutput
impl<'de> Deserialize<'de> for AggregationControllerOutput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AggregationControllerOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AggregationControllerOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AggregationControllerOutput
impl PartialEq for AggregationControllerOutput
Source§fn eq(&self, other: &AggregationControllerOutput) -> bool
fn eq(&self, other: &AggregationControllerOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AggregationControllerOutput
impl Serialize for AggregationControllerOutput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AggregationControllerOutput
Auto Trait Implementations§
impl Freeze for AggregationControllerOutput
impl RefUnwindSafe for AggregationControllerOutput
impl Send for AggregationControllerOutput
impl Sync for AggregationControllerOutput
impl Unpin for AggregationControllerOutput
impl UnsafeUnpin for AggregationControllerOutput
impl UnwindSafe for AggregationControllerOutput
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