#[non_exhaustive]pub enum AuthenticationApiDispatch<'a> {
V2_6_0(V2_6_0AuthenticationApi<'a>),
V2_7_2(V2_7_2AuthenticationApi<'a>),
V2_8_0(V2_8_0AuthenticationApi<'a>),
}Expand description
Dynamic dispatch enum for the Authentication API. Use via the AuthenticationApi 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_0AuthenticationApi<'a>)
V2_7_2(V2_7_2AuthenticationApi<'a>)
V2_8_0(V2_8_0AuthenticationApi<'a>)
Trait Implementations§
Source§impl AuthenticationApi for AuthenticationApiDispatch<'_>
impl AuthenticationApi for AuthenticationApiDispatch<'_>
Source§async fn get_authentication_configuration(
&self,
) -> Result<AuthenticationConfigurationDto, NifiError>
async fn get_authentication_configuration( &self, ) -> Result<AuthenticationConfigurationDto, NifiError>
Retrieves the authentication configuration endpoint and status information Read more
Auto Trait Implementations§
impl<'a> Freeze for AuthenticationApiDispatch<'a>
impl<'a> !RefUnwindSafe for AuthenticationApiDispatch<'a>
impl<'a> Send for AuthenticationApiDispatch<'a>
impl<'a> Sync for AuthenticationApiDispatch<'a>
impl<'a> Unpin for AuthenticationApiDispatch<'a>
impl<'a> UnsafeUnpin for AuthenticationApiDispatch<'a>
impl<'a> !UnwindSafe for AuthenticationApiDispatch<'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