pub enum EventReliability {
Lossless,
BestEffort,
}Expand description
Reliability class for events delivered to hosts.
Variants§
Lossless
Event must be delivered or recovered from durable state.
BestEffort
Event may be dropped under backpressure.
Trait Implementations§
Source§impl Clone for EventReliability
impl Clone for EventReliability
Source§fn clone(&self) -> EventReliability
fn clone(&self) -> EventReliability
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 moreimpl Copy for EventReliability
Source§impl Debug for EventReliability
impl Debug for EventReliability
Source§impl<'de> Deserialize<'de> for EventReliability
impl<'de> Deserialize<'de> for EventReliability
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
impl Eq for EventReliability
Source§impl PartialEq for EventReliability
impl PartialEq for EventReliability
Source§impl Serialize for EventReliability
impl Serialize for EventReliability
impl StructuralPartialEq for EventReliability
Auto Trait Implementations§
impl Freeze for EventReliability
impl RefUnwindSafe for EventReliability
impl Send for EventReliability
impl Sync for EventReliability
impl Unpin for EventReliability
impl UnsafeUnpin for EventReliability
impl UnwindSafe for EventReliability
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