#[non_exhaustive]pub enum ControllerServicesApiDispatch<'a> {
V2_6_0(V2_6_0ControllerServicesApi<'a>),
V2_7_2(V2_7_2ControllerServicesApi<'a>),
V2_8_0(V2_8_0ControllerServicesApi<'a>),
}Expand description
Dynamic dispatch enum for the Controller Services API. Use via the ControllerServicesApi 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.
V2_6_0(V2_6_0ControllerServicesApi<'a>)
V2_7_2(V2_7_2ControllerServicesApi<'a>)
V2_8_0(V2_8_0ControllerServicesApi<'a>)
Trait Implementations§
Source§impl ControllerServicesApi for ControllerServicesApiDispatch<'_>
impl ControllerServicesApi for ControllerServicesApiDispatch<'_>
Source§fn bulletins<'b>(
&'b self,
id: &'b str,
) -> impl ControllerServicesBulletinsApi + 'b
fn bulletins<'b>( &'b self, id: &'b str, ) -> impl ControllerServicesBulletinsApi + 'b
Returns a sub-resource accessor for config operations. Read more
Source§fn config<'b>(&'b self, id: &'b str) -> impl ControllerServicesConfigApi + 'b
fn config<'b>(&'b self, id: &'b str) -> impl ControllerServicesConfigApi + 'b
Returns a sub-resource accessor for config operations. Read more
Source§fn descriptors<'b>(
&'b self,
id: &'b str,
) -> impl ControllerServicesDescriptorsApi + 'b
fn descriptors<'b>( &'b self, id: &'b str, ) -> impl ControllerServicesDescriptorsApi + 'b
Returns a sub-resource accessor for config operations. Read more
Source§fn references<'b>(
&'b self,
id: &'b str,
) -> impl ControllerServicesReferencesApi + 'b
fn references<'b>( &'b self, id: &'b str, ) -> impl ControllerServicesReferencesApi + 'b
Returns a sub-resource accessor for config operations. Read more
Source§fn run_status<'b>(
&'b self,
id: &'b str,
) -> impl ControllerServicesRunStatusApi + 'b
fn run_status<'b>( &'b self, id: &'b str, ) -> impl ControllerServicesRunStatusApi + 'b
Returns a sub-resource accessor for config operations. Read more
Source§fn state<'b>(&'b self, id: &'b str) -> impl ControllerServicesStateApi + 'b
fn state<'b>(&'b self, id: &'b str) -> impl ControllerServicesStateApi + 'b
Returns a sub-resource accessor for config operations. Read more
Source§async fn get_controller_service(
&self,
id: &str,
ui_only: Option<bool>,
) -> Result<ControllerServiceEntity, NifiError>
async fn get_controller_service( &self, id: &str, ui_only: Option<bool>, ) -> Result<ControllerServiceEntity, NifiError>
Gets a controller service Read more
Source§async fn remove_controller_service(
&self,
id: &str,
version: Option<&str>,
client_id: Option<&str>,
disconnected_node_acknowledged: Option<bool>,
) -> Result<ControllerServiceEntity, NifiError>
async fn remove_controller_service( &self, id: &str, version: Option<&str>, client_id: Option<&str>, disconnected_node_acknowledged: Option<bool>, ) -> Result<ControllerServiceEntity, NifiError>
Deletes a controller service Read more
Source§async fn update_controller_service(
&self,
id: &str,
body: &ControllerServiceEntity,
) -> Result<ControllerServiceEntity, NifiError>
async fn update_controller_service( &self, id: &str, body: &ControllerServiceEntity, ) -> Result<ControllerServiceEntity, NifiError>
Updates a controller service Read more
Auto Trait Implementations§
impl<'a> Freeze for ControllerServicesApiDispatch<'a>
impl<'a> !RefUnwindSafe for ControllerServicesApiDispatch<'a>
impl<'a> Send for ControllerServicesApiDispatch<'a>
impl<'a> Sync for ControllerServicesApiDispatch<'a>
impl<'a> Unpin for ControllerServicesApiDispatch<'a>
impl<'a> UnsafeUnpin for ControllerServicesApiDispatch<'a>
impl<'a> !UnwindSafe for ControllerServicesApiDispatch<'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