pub struct ControllerContentApi<'a> { /* private fields */ }Implementations§
Source§impl<'a> ControllerContentApi<'a>
impl<'a> ControllerContentApi<'a>
Sourcepub async fn download_nar(&self) -> Result<(), NifiError>
pub async fn download_nar(&self) -> Result<(), NifiError>
Retrieves the content of the NAR with the given id
Calls GET /nifi-api/controller/nar-manager/nars/{id}/content.
§Errors
400: NiFi was unable to complete the request because it was invalid. The request should not be retried without modification.401: Client could not be authenticated.403: Client is not authorized to make this request.409: The request was valid but NiFi was not in the appropriate state to process it.
§Permissions
Requires Read - /controller.
Trait Implementations§
Source§impl ControllerContentApi for ControllerContentApi<'_>
impl ControllerContentApi for ControllerContentApi<'_>
Auto Trait Implementations§
impl<'a> Freeze for ControllerContentApi<'a>
impl<'a> !RefUnwindSafe for ControllerContentApi<'a>
impl<'a> Send for ControllerContentApi<'a>
impl<'a> Sync for ControllerContentApi<'a>
impl<'a> Unpin for ControllerContentApi<'a>
impl<'a> UnsafeUnpin for ControllerContentApi<'a>
impl<'a> !UnwindSafe for ControllerContentApi<'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