[−][src]Struct rsmq_async::Rsmq
Methods
impl Rsmq
[src]
pub async fn new(options: RsmqOptions) -> Result<Rsmq, RsmqError>
[src]
pub async fn change_message_visibility_async<'_, '_, '_>(
&'_ mut self,
qname: &'_ str,
message_id: &'_ str,
hidden_duration: u64
) -> Result<(), RsmqError>
[src]
&'_ mut self,
qname: &'_ str,
message_id: &'_ str,
hidden_duration: u64
) -> Result<(), RsmqError>
pub async fn create_queue_async<'_, '_>(
&'_ mut self,
qname: &'_ str,
seconds_hidden: Option<u32>,
delay: Option<u32>,
maxsize: Option<i32>
) -> Result<(), RsmqError>
[src]
&'_ mut self,
qname: &'_ str,
seconds_hidden: Option<u32>,
delay: Option<u32>,
maxsize: Option<i32>
) -> Result<(), RsmqError>
pub async fn delete_message_async<'_, '_, '_>(
&'_ mut self,
qname: &'_ str,
id: &'_ str
) -> Result<bool, RsmqError>
[src]
&'_ mut self,
qname: &'_ str,
id: &'_ str
) -> Result<bool, RsmqError>
pub async fn delete_queue_async<'_, '_>(
&'_ mut self,
qname: &'_ str
) -> Result<(), RsmqError>
[src]
&'_ mut self,
qname: &'_ str
) -> Result<(), RsmqError>
pub async fn get_queue_attributes_async<'_, '_>(
&'_ mut self,
qname: &'_ str
) -> Result<RsmqQueueAttributes, RsmqError>
[src]
&'_ mut self,
qname: &'_ str
) -> Result<RsmqQueueAttributes, RsmqError>
pub async fn list_queues_async<'_>(
&'_ mut self
) -> Result<Vec<String>, RsmqError>
[src]
&'_ mut self
) -> Result<Vec<String>, RsmqError>
pub async fn pop_message_async<'_, '_>(
&'_ mut self,
qname: &'_ str
) -> Result<RsmqMessage, RsmqError>
[src]
&'_ mut self,
qname: &'_ str
) -> Result<RsmqMessage, RsmqError>
pub async fn receive_message_async<'_, '_>(
&'_ mut self,
qname: &'_ str,
hidden_duration: Option<u64>
) -> Result<RsmqMessage, RsmqError>
[src]
&'_ mut self,
qname: &'_ str,
hidden_duration: Option<u64>
) -> Result<RsmqMessage, RsmqError>
pub async fn send_message_async<'_, '_, '_>(
&'_ mut self,
qname: &'_ str,
message: &'_ str,
delay: Option<u64>
) -> Result<String, RsmqError>
[src]
&'_ mut self,
qname: &'_ str,
message: &'_ str,
delay: Option<u64>
) -> Result<String, RsmqError>
pub async fn set_queue_attributes_async<'_, '_>(
&'_ mut self,
qname: &'_ str,
hidden_duration: Option<u64>,
delay: Option<u64>,
maxsize: Option<i64>
) -> Result<RsmqQueueAttributes, RsmqError>
[src]
&'_ mut self,
qname: &'_ str,
hidden_duration: Option<u64>,
delay: Option<u64>,
maxsize: Option<i64>
) -> Result<RsmqQueueAttributes, RsmqError>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Rsmq
impl Send for Rsmq
impl Sync for Rsmq
impl Unpin for Rsmq
impl !UnwindSafe for Rsmq
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,