#[non_exhaustive]pub enum SystemDiagnosticsApiDispatch<'a> {
V2_6_0(V2_6_0SystemDiagnosticsApi<'a>),
V2_7_2(V2_7_2SystemDiagnosticsApi<'a>),
V2_8_0(V2_8_0SystemDiagnosticsApi<'a>),
}Expand description
Dynamic dispatch enum for the SystemDiagnostics API. Use via the SystemDiagnosticsApi 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_0SystemDiagnosticsApi<'a>)
V2_7_2(V2_7_2SystemDiagnosticsApi<'a>)
V2_8_0(V2_8_0SystemDiagnosticsApi<'a>)
Trait Implementations§
Source§impl SystemDiagnosticsApi for SystemDiagnosticsApiDispatch<'_>
impl SystemDiagnosticsApi for SystemDiagnosticsApiDispatch<'_>
Source§async fn get_jmx_metrics(
&self,
bean_name_filter: Option<&str>,
) -> Result<JmxMetricsResultsEntity, NifiError>
async fn get_jmx_metrics( &self, bean_name_filter: Option<&str>, ) -> Result<JmxMetricsResultsEntity, NifiError>
Retrieve available JMX metrics Read more
Source§async fn get_system_diagnostics(
&self,
nodewise: Option<bool>,
diagnostic_level: Option<DiagnosticLevel>,
cluster_node_id: Option<&str>,
) -> Result<SystemDiagnosticsDto, NifiError>
async fn get_system_diagnostics( &self, nodewise: Option<bool>, diagnostic_level: Option<DiagnosticLevel>, cluster_node_id: Option<&str>, ) -> Result<SystemDiagnosticsDto, NifiError>
Gets the diagnostics for the system NiFi is running on Read more
Auto Trait Implementations§
impl<'a> Freeze for SystemDiagnosticsApiDispatch<'a>
impl<'a> !RefUnwindSafe for SystemDiagnosticsApiDispatch<'a>
impl<'a> Send for SystemDiagnosticsApiDispatch<'a>
impl<'a> Sync for SystemDiagnosticsApiDispatch<'a>
impl<'a> Unpin for SystemDiagnosticsApiDispatch<'a>
impl<'a> UnsafeUnpin for SystemDiagnosticsApiDispatch<'a>
impl<'a> !UnwindSafe for SystemDiagnosticsApiDispatch<'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