#[non_exhaustive]pub enum ProcessorsApiDispatch<'a> {
V2_6_0(V2_6_0ProcessorsApi<'a>),
V2_7_2(V2_7_2ProcessorsApi<'a>),
V2_8_0(V2_8_0ProcessorsApi<'a>),
}Expand description
Dynamic dispatch enum for the Processors API. Use via the ProcessorsApi trait.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl ProcessorsApi for ProcessorsApiDispatch<'_>
impl ProcessorsApi for ProcessorsApiDispatch<'_>
Source§fn bulletins<'b>(&'b self, id: &'b str) -> impl ProcessorsBulletinsApi + 'b
fn bulletins<'b>(&'b self, id: &'b str) -> impl ProcessorsBulletinsApi + 'b
Returns a sub-resource accessor for config operations. Read more
Source§fn config<'b>(&'b self, id: &'b str) -> impl ProcessorsConfigApi + 'b
fn config<'b>(&'b self, id: &'b str) -> impl ProcessorsConfigApi + 'b
Returns a sub-resource accessor for config operations. Read more
Source§fn descriptors<'b>(&'b self, id: &'b str) -> impl ProcessorsDescriptorsApi + 'b
fn descriptors<'b>(&'b self, id: &'b str) -> impl ProcessorsDescriptorsApi + 'b
Returns a sub-resource accessor for config operations. Read more
Source§fn diagnostics<'b>(&'b self, id: &'b str) -> impl ProcessorsDiagnosticsApi + 'b
fn diagnostics<'b>(&'b self, id: &'b str) -> impl ProcessorsDiagnosticsApi + 'b
Returns a sub-resource accessor for config operations. Read more
Source§fn run_status<'b>(&'b self, id: &'b str) -> impl ProcessorsRunStatusApi + 'b
fn run_status<'b>(&'b self, id: &'b str) -> impl ProcessorsRunStatusApi + 'b
Returns a sub-resource accessor for config operations. Read more
Source§fn state<'b>(&'b self, id: &'b str) -> impl ProcessorsStateApi + 'b
fn state<'b>(&'b self, id: &'b str) -> impl ProcessorsStateApi + 'b
Returns a sub-resource accessor for config operations. Read more
Source§fn threads<'b>(&'b self, id: &'b str) -> impl ProcessorsThreadsApi + 'b
fn threads<'b>(&'b self, id: &'b str) -> impl ProcessorsThreadsApi + 'b
Returns a sub-resource accessor for config operations. Read more
Source§async fn delete_processor(
&self,
id: &str,
version: Option<&str>,
client_id: Option<&str>,
disconnected_node_acknowledged: Option<bool>,
) -> Result<ProcessorEntity, NifiError>
async fn delete_processor( &self, id: &str, version: Option<&str>, client_id: Option<&str>, disconnected_node_acknowledged: Option<bool>, ) -> Result<ProcessorEntity, NifiError>
Deletes a processor Read more
Source§async fn get_processor(&self, id: &str) -> Result<ProcessorEntity, NifiError>
async fn get_processor(&self, id: &str) -> Result<ProcessorEntity, NifiError>
Gets a processor Read more
Source§async fn get_processor_run_status_details(
&self,
body: &RunStatusDetailsRequestEntity,
) -> Result<ProcessorsRunStatusDetailsEntity, NifiError>
async fn get_processor_run_status_details( &self, body: &RunStatusDetailsRequestEntity, ) -> Result<ProcessorsRunStatusDetailsEntity, NifiError>
Submits a query to retrieve the run status details of all processors that are in the given list of Processor IDs Read more
Source§async fn update_processor(
&self,
id: &str,
body: &ProcessorEntity,
) -> Result<ProcessorEntity, NifiError>
async fn update_processor( &self, id: &str, body: &ProcessorEntity, ) -> Result<ProcessorEntity, NifiError>
Updates a processor Read more
Auto Trait Implementations§
impl<'a> Freeze for ProcessorsApiDispatch<'a>
impl<'a> !RefUnwindSafe for ProcessorsApiDispatch<'a>
impl<'a> Send for ProcessorsApiDispatch<'a>
impl<'a> Sync for ProcessorsApiDispatch<'a>
impl<'a> Unpin for ProcessorsApiDispatch<'a>
impl<'a> UnsafeUnpin for ProcessorsApiDispatch<'a>
impl<'a> !UnwindSafe for ProcessorsApiDispatch<'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