pub struct AllocateMessageQueueAveragely;Expand description
Allocates contiguous queue ranges as evenly as possible.
Trait Implementations§
Source§impl AllocateMessageQueueStrategy for AllocateMessageQueueAveragely
impl AllocateMessageQueueStrategy for AllocateMessageQueueAveragely
fn allocate( &self, consumer_group: &CheetahString, current_cid: &CheetahString, mq_all: &[MessageQueue], cid_all: &[CheetahString], ) -> Result<Vec<MessageQueue>>
fn get_name(&self) -> &'static str
Auto Trait Implementations§
impl Freeze for AllocateMessageQueueAveragely
impl RefUnwindSafe for AllocateMessageQueueAveragely
impl Send for AllocateMessageQueueAveragely
impl Sync for AllocateMessageQueueAveragely
impl Unpin for AllocateMessageQueueAveragely
impl UnsafeUnpin for AllocateMessageQueueAveragely
impl UnwindSafe for AllocateMessageQueueAveragely
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