pub struct PersistentTopics<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PersistentTopics<'a>
impl<'a> PersistentTopics<'a>
pub fn new(inner_http_client: &'a InnerHttpClient) -> Self
pub async fn create_non_partitioned_topic( &self, tenant: &str, namespace: &str, topic: &str, ) -> Result<(), Box<dyn Error>>
pub async fn delete_non_partitioned_topic( &self, tenant: &str, namespace: &str, topic: &str, ) -> Result<(), Box<dyn Error>>
pub async fn list_non_partitioned_topic( &self, tenant: &str, namespace: &str, ) -> Result<Vec<String>, Box<dyn Error>>
pub async fn create_partitioned_topic( &self, tenant: &str, namespace: &str, topic: &str, num_partitions: i32, ) -> Result<(), Box<dyn Error>>
pub async fn delete_partitioned_topic( &self, tenant: &str, namespace: &str, topic: &str, ) -> Result<(), Box<dyn Error>>
pub async fn list_partitioned_topic( &self, tenant: &str, namespace: &str, ) -> Result<Vec<String>, Box<dyn Error>>
pub async fn topic_stats( &self, tenant: &str, namespace: &str, topic: &str, ) -> Result<TopicStats, Box<dyn Error>>
Auto Trait Implementations§
impl<'a> Freeze for PersistentTopics<'a>
impl<'a> !RefUnwindSafe for PersistentTopics<'a>
impl<'a> Send for PersistentTopics<'a>
impl<'a> Sync for PersistentTopics<'a>
impl<'a> Unpin for PersistentTopics<'a>
impl<'a> !UnwindSafe for PersistentTopics<'a>
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