pub enum FtModel {
AtLeastOnce,
ExactlyOnce,
}Expand description
Fault tolerance model.
The ordering is significant: we consider Self::ExactlyOnce to be a “higher level” of fault tolerance than Self::AtLeastOnce.
Variants§
AtLeastOnce
Each record is output at least once. Crashes may duplicate output, but no input or output is dropped.
ExactlyOnce
Each record is output exactly once. Crashes do not drop or duplicate input or output.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FtModel
impl<'de> Deserialize<'de> for FtModel
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 Ord for FtModel
impl Ord for FtModel
Source§impl PartialOrd for FtModel
impl PartialOrd for FtModel
Source§impl<'__s> ToSchema<'__s> for FtModel
impl<'__s> ToSchema<'__s> for FtModel
impl Copy for FtModel
impl Eq for FtModel
impl StructuralPartialEq for FtModel
Auto Trait Implementations§
impl Freeze for FtModel
impl RefUnwindSafe for FtModel
impl Send for FtModel
impl Sync for FtModel
impl Unpin for FtModel
impl UnwindSafe for FtModel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.