Skip to main content

Crate rabbitmqadmin_sdk

Crate rabbitmqadmin_sdk 

Source
Expand description

Async Rust SDK for the RabbitMQ Management HTTP API.

This crate provides a strongly-typed async client for the RabbitMQ Management Plugin HTTP API (/api/*, typically port 15672). It supports monitoring (overview, nodes, queues, exchanges, connections, …) as well as administrative actions (declaring and deleting queues, exchanges, bindings, vhosts, users, policies, purging queues, and more).

§Example

use rabbitmqadmin_sdk::Client;

let client = Client::new("http://localhost:15672", "guest", "guest")?;
let me = client.whoami().await?;
println!("logged in as {} (tags: {})", me.name, me.tags.join(","));

Modules§

types
Response and request payload types for the RabbitMQ Management API.

Structs§

Client
Async client for the RabbitMQ Management HTTP API.
ClientBuilder
Builder for Client. See Client::builder.
Paginated
Envelope returned by paginated list endpoints.
PaginationQuery
Query parameters for paginated list endpoints.

Enums§

Error
Errors returned by the RabbitMQ Management API client.

Constants§

DEFAULT_VHOST
The default RabbitMQ vhost, "/".

Type Aliases§

Result
Result alias using this crate’s Error type.