pub struct Admin { /* private fields */ }
Implementations§
Source§impl Admin
impl Admin
Sourcepub async fn create_topics(
&self,
request: CreateTopicsRequest,
) -> ClientResult<CreateTopicsResponse>
pub async fn create_topics( &self, request: CreateTopicsRequest, ) -> ClientResult<CreateTopicsResponse>
Creates new topics in the Kafka Cluster.
Sourcepub async fn delete_topics(
&self,
request: DeleteTopicsRequest,
) -> ClientResult<DeleteTopicsResponse>
pub async fn delete_topics( &self, request: DeleteTopicsRequest, ) -> ClientResult<DeleteTopicsResponse>
Delete topics from the Kafka Cluster.
Auto Trait Implementations§
impl Freeze for Admin
impl !RefUnwindSafe for Admin
impl Send for Admin
impl Sync for Admin
impl Unpin for Admin
impl !UnwindSafe for Admin
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