pub struct QueueClient { /* private fields */ }Implementations§
Source§impl QueueClient
impl QueueClient
pub async fn connect(config: &Config) -> Result<Self, ApiError>
pub async fn next_command(&self) -> Result<CommandResponse, ApiError>
pub async fn next_process(&self) -> Result<ProcessResponse, ApiError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueueClient
impl RefUnwindSafe for QueueClient
impl Send for QueueClient
impl Sync for QueueClient
impl Unpin for QueueClient
impl UnwindSafe for QueueClient
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