pub struct QueueManager { /* private fields */ }
Expand description
队列管理实例 https://help.aliyun.com/document_detail/140734.html
Implementations§
Source§impl QueueManager
impl QueueManager
pub fn new(c: &Client) -> Self
pub async fn create_queue(&self, q: &CreateQueueRequest) -> Result<()>
pub async fn delete_queue(&self, name: &str) -> Result<()>
pub async fn get_queue_attributes(&self, queue: &str) -> Result<QueueAttribute>
Trait Implementations§
Source§impl Clone for QueueManager
impl Clone for QueueManager
Source§fn clone(&self) -> QueueManager
fn clone(&self) -> QueueManager
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for QueueManager
impl !RefUnwindSafe for QueueManager
impl Send for QueueManager
impl Sync for QueueManager
impl Unpin for QueueManager
impl !UnwindSafe for QueueManager
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