pub struct DeleteTopicProcessor { /* private fields */ }Expand description
Delete topic processor
Implementations§
Source§impl DeleteTopicProcessor
impl DeleteTopicProcessor
Sourcepub fn new(metadata: Arc<MetadataStore>, raft: Arc<RaftController>) -> Self
pub fn new(metadata: Arc<MetadataStore>, raft: Arc<RaftController>) -> Self
Create a new delete topic processor
Sourcepub async fn process_request(
&self,
request: DeleteTopicRequest,
) -> Result<DeleteTopicResponse>
pub async fn process_request( &self, request: DeleteTopicRequest, ) -> Result<DeleteTopicResponse>
Process delete topic request
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeleteTopicProcessor
impl !RefUnwindSafe for DeleteTopicProcessor
impl Send for DeleteTopicProcessor
impl Sync for DeleteTopicProcessor
impl Unpin for DeleteTopicProcessor
impl !UnwindSafe for DeleteTopicProcessor
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