pub enum ConfigDispatchStrategy {
NonReliable,
Reliable,
}Expand description
Dispatch strategy for a topic.
Variants§
NonReliable
Non-reliable dispatch strategy.It means that messages are not guaranteed to be delivered.
Reliable
Reliable dispatch strategy.It means that messages are guaranteed to be delivered.
Trait Implementations§
Source§impl Clone for ConfigDispatchStrategy
impl Clone for ConfigDispatchStrategy
Source§fn clone(&self) -> ConfigDispatchStrategy
fn clone(&self) -> ConfigDispatchStrategy
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 ConfigDispatchStrategy
impl Debug for ConfigDispatchStrategy
Source§impl Default for ConfigDispatchStrategy
impl Default for ConfigDispatchStrategy
Source§impl<'de> Deserialize<'de> for ConfigDispatchStrategy
impl<'de> Deserialize<'de> for ConfigDispatchStrategy
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 Display for ConfigDispatchStrategy
impl Display for ConfigDispatchStrategy
Source§impl From<DispatchStrategy> for ConfigDispatchStrategy
impl From<DispatchStrategy> for ConfigDispatchStrategy
Source§fn from(s: ProtoDispatchStrategy) -> Self
fn from(s: ProtoDispatchStrategy) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConfigDispatchStrategy
impl PartialEq for ConfigDispatchStrategy
Source§impl Serialize for ConfigDispatchStrategy
impl Serialize for ConfigDispatchStrategy
impl StructuralPartialEq for ConfigDispatchStrategy
Auto Trait Implementations§
impl Freeze for ConfigDispatchStrategy
impl RefUnwindSafe for ConfigDispatchStrategy
impl Send for ConfigDispatchStrategy
impl Sync for ConfigDispatchStrategy
impl Unpin for ConfigDispatchStrategy
impl UnwindSafe for ConfigDispatchStrategy
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request