pub struct MemoryQueueManager { /* private fields */ }Expand description
内存队列管理器
Implementations§
Trait Implementations§
Source§impl Default for MemoryQueueManager
impl Default for MemoryQueueManager
Source§impl QueueManager for MemoryQueueManager
impl QueueManager for MemoryQueueManager
Source§fn declare_queue<'life0, 'life1, 'async_trait>(
&'life0 self,
config: &'life1 QueueConfig,
) -> Pin<Box<dyn Future<Output = WaeResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn declare_queue<'life0, 'life1, 'async_trait>(
&'life0 self,
config: &'life1 QueueConfig,
) -> Pin<Box<dyn Future<Output = WaeResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
声明队列
Source§fn delete_queue<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = WaeResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_queue<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = WaeResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
删除队列
Source§fn queue_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = WaeResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn queue_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = WaeResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
检查队列是否存在
Auto Trait Implementations§
impl Freeze for MemoryQueueManager
impl !RefUnwindSafe for MemoryQueueManager
impl Send for MemoryQueueManager
impl Sync for MemoryQueueManager
impl Unpin for MemoryQueueManager
impl UnsafeUnpin for MemoryQueueManager
impl !UnwindSafe for MemoryQueueManager
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