pub struct DynamicDataTransferApi<'a> { /* private fields */ }Expand description
Dynamic dispatch wrapper for the DataTransfer API.
Implementations§
Source§impl<'a> DynamicDataTransferApi<'a>
impl<'a> DynamicDataTransferApi<'a>
Sourcepub async fn commit_input_port_transaction(
&self,
port_id: &str,
transaction_id: &str,
response_code: i32,
) -> Result<TransactionResultEntity, NifiError>
pub async fn commit_input_port_transaction( &self, port_id: &str, transaction_id: &str, response_code: i32, ) -> Result<TransactionResultEntity, NifiError>
Commit or cancel the specified transaction
Sourcepub async fn commit_output_port_transaction(
&self,
port_id: &str,
transaction_id: &str,
response_code: i32,
checksum: &str,
) -> Result<TransactionResultEntity, NifiError>
pub async fn commit_output_port_transaction( &self, port_id: &str, transaction_id: &str, response_code: i32, checksum: &str, ) -> Result<TransactionResultEntity, NifiError>
Commit or cancel the specified transaction
Sourcepub async fn create_port_transaction(
&self,
port_id: &str,
port_type: &str,
) -> Result<TransactionResultEntity, NifiError>
pub async fn create_port_transaction( &self, port_id: &str, port_type: &str, ) -> Result<TransactionResultEntity, NifiError>
Create a transaction to the specified output port or input port
Sourcepub async fn extend_input_port_transaction_t_t_l(
&self,
port_id: &str,
transaction_id: &str,
) -> Result<TransactionResultEntity, NifiError>
pub async fn extend_input_port_transaction_t_t_l( &self, port_id: &str, transaction_id: &str, ) -> Result<TransactionResultEntity, NifiError>
Extend transaction TTL
Sourcepub async fn extend_output_port_transaction_t_t_l(
&self,
port_id: &str,
transaction_id: &str,
) -> Result<TransactionResultEntity, NifiError>
pub async fn extend_output_port_transaction_t_t_l( &self, port_id: &str, transaction_id: &str, ) -> Result<TransactionResultEntity, NifiError>
Extend transaction TTL
Auto Trait Implementations§
impl<'a> Freeze for DynamicDataTransferApi<'a>
impl<'a> !RefUnwindSafe for DynamicDataTransferApi<'a>
impl<'a> Send for DynamicDataTransferApi<'a>
impl<'a> Sync for DynamicDataTransferApi<'a>
impl<'a> Unpin for DynamicDataTransferApi<'a>
impl<'a> UnsafeUnpin for DynamicDataTransferApi<'a>
impl<'a> !UnwindSafe for DynamicDataTransferApi<'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