pub struct TransferProcessApi<'a>(/* private fields */);Implementations§
Source§impl<'a> TransferProcessApi<'a>
impl<'a> TransferProcessApi<'a>
pub async fn initiate( &self, transfer_request: &TransferRequest, ) -> EdcResult<IdResponse<String>>
pub async fn get(&self, id: &str) -> EdcResult<TransferProcess>
pub async fn get_state(&self, id: &str) -> EdcResult<TransferProcessState>
pub async fn query(&self, query: Query) -> EdcResult<Vec<TransferProcess>>
pub async fn terminate(&self, id: &str, reason: &str) -> EdcResult<()>
pub async fn suspend(&self, id: &str, reason: &str) -> EdcResult<()>
pub async fn resume(&self, id: &str) -> EdcResult<()>
Auto Trait Implementations§
impl<'a> Freeze for TransferProcessApi<'a>
impl<'a> !RefUnwindSafe for TransferProcessApi<'a>
impl<'a> Send for TransferProcessApi<'a>
impl<'a> Sync for TransferProcessApi<'a>
impl<'a> Unpin for TransferProcessApi<'a>
impl<'a> !UnwindSafe for TransferProcessApi<'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