#[repr(u32)]pub enum MessagingPattern {
PublishSubscribe = 0,
Event = 1,
RequestResponse = 2,
}
Expand description
Identifies the kind of messaging pattern the Service
will use.
Variants§
PublishSubscribe = 0
Unidirectional communication pattern where the
Publisher
sends arbitrary data to the
Subscriber
Event = 1
Unidirectional communication pattern where the Notifier
sends signals/events to the Listener
which has the
ability to sleep until a signal/event arrives.
Building block to realize push-notifications.
RequestResponse = 2
Trait Implementations§
Source§impl Clone for MessagingPattern
impl Clone for MessagingPattern
Source§fn clone(&self) -> MessagingPattern
fn clone(&self) -> MessagingPattern
Returns a copy 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 MessagingPattern
impl Debug for MessagingPattern
Source§impl Ord for MessagingPattern
impl Ord for MessagingPattern
Source§fn cmp(&self, other: &MessagingPattern) -> Ordering
fn cmp(&self, other: &MessagingPattern) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MessagingPattern
impl PartialEq for MessagingPattern
Source§impl PartialOrd for MessagingPattern
impl PartialOrd for MessagingPattern
impl Copy for MessagingPattern
impl Eq for MessagingPattern
impl StructuralPartialEq for MessagingPattern
Auto Trait Implementations§
impl Freeze for MessagingPattern
impl RefUnwindSafe for MessagingPattern
impl Send for MessagingPattern
impl Sync for MessagingPattern
impl Unpin for MessagingPattern
impl UnwindSafe for MessagingPattern
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.