// Fetch partition action and get the result.
Fetch partition action and get the result.
Fetch partition action and get the result .
pub async fn fetch_partition_action(&mut self, uuid: String, nums: u32) -> Result<Partitions> {
        let action = DoActionAction::FetchPartition(FetchPartitionAction { uuid, nums });
        let body = self.do_action(&action).await?;
        let parts: Partitions = serde_json::from_slice(&body)?;
        Ok(parts)
    }
pub async fn fetch_partition_action ( & mut self , uuid : String , nums : u32 ) -> Result < Partitions > { let action = DoActionAction :: FetchPartition ( FetchPartitionAction { uuid , nums } ) ; let body = self . do_action ( & action ) . await ? ; let parts : Partitions = serde_json :: from_slice ( & body ) ? ; Ok ( parts ) }
Fetch partition action and get the result.
Fetch partition action and get the result .
&mut self
uuid
String
nums
u32