pub enum QueueRenamingBehavior {
Verbatim,
ReplicaIndex,
ReplicaLifetimeId,
}Expand description
Defines optional queue renaming behavior. Values other than
Verbatim trigger appending of a
suffix to the user-provided queue name.
When a suffix is added, it is separated from the preceding queue name with a
full-stop . character. A suffix is never added to an empty queue name.
Variants§
Verbatim
Leaves the queue name unchanged (doesn’t add any suffix).
ReplicaIndex
Suffixes the queue name with the application replica index (as reported
by AppReplica::index).
ReplicaLifetimeId
Suffixes the queue name with the application replica lifetime ID (as reported
by AppReplica::lifetime_id).
Trait Implementations§
Source§impl Clone for QueueRenamingBehavior
impl Clone for QueueRenamingBehavior
Source§fn clone(&self) -> QueueRenamingBehavior
fn clone(&self) -> QueueRenamingBehavior
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 QueueRenamingBehavior
impl Debug for QueueRenamingBehavior
Source§impl<'de> Deserialize<'de> for QueueRenamingBehavior
impl<'de> Deserialize<'de> for QueueRenamingBehavior
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 Hash for QueueRenamingBehavior
impl Hash for QueueRenamingBehavior
Source§impl Ord for QueueRenamingBehavior
impl Ord for QueueRenamingBehavior
Source§fn cmp(&self, other: &QueueRenamingBehavior) -> Ordering
fn cmp(&self, other: &QueueRenamingBehavior) -> 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 QueueRenamingBehavior
impl PartialEq for QueueRenamingBehavior
Source§impl PartialOrd for QueueRenamingBehavior
impl PartialOrd for QueueRenamingBehavior
impl Copy for QueueRenamingBehavior
impl Eq for QueueRenamingBehavior
impl StructuralPartialEq for QueueRenamingBehavior
Auto Trait Implementations§
impl Freeze for QueueRenamingBehavior
impl RefUnwindSafe for QueueRenamingBehavior
impl Send for QueueRenamingBehavior
impl Sync for QueueRenamingBehavior
impl Unpin for QueueRenamingBehavior
impl UnwindSafe for QueueRenamingBehavior
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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