Struct avassa_client::Client [−][src]
pub struct Client { /* fields omitted */ }Expand description
The Client is used for all interaction with Control Tower or Edge Enforcer instances.
Use one of the login functions to create an instance.
Implementations
Create a Client builder
Returns the login bearer token
GET a json payload from the REST API.
POST arbitrary JSON to a path
PUT arbitrary JSON to a path
Remove me
Open a volga producer on a topic
Open a volga NAT producer on a topic in a site
pub async fn volga_open_consumer(
&self,
consumer_name: &str,
topic: &str,
options: ConsumerOptions
) -> Result<Consumer>
pub async fn volga_open_consumer(
&self,
consumer_name: &str,
topic: &str,
options: ConsumerOptions
) -> Result<Consumer>
Creates and opens a Volga consumer
pub async fn volga_open_nat_consumer(
&self,
consumer_name: &str,
topic: &str,
site: &str,
options: ConsumerOptions
) -> Result<Consumer>
pub async fn volga_open_nat_consumer(
&self,
consumer_name: &str,
topic: &str,
site: &str,
options: ConsumerOptions
) -> Result<Consumer>
Creates and opens a Volga NAT consumer
Opens a query stream
Try to open a Strongbox Vault
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
