pub fn create_chunkable_state(
        &self,
        id: &StateSyncArtifactId,
    ) -> Box<dyn Chunkable + Send + Sync> {
        Box::new(crate::state_sync::chunkable::IncompleteState::new(
            self.log.clone(),
            id.height,
            id.hash.clone(),
            self.state_layout.clone(),
            self.latest_manifest(),
            self.metrics.clone(),
            self.own_subnet_type,
        ))
    }
/// Returns requested state as a Chunkable artifact for StateSync.
Returns requested state as a Chunkable artifact for StateSync.
Returns requested state as a Chunkable artifact for StateSync .
pub fn create_chunkable_state(
        &self,
        id: &StateSyncArtifactId,
    ) -> Box<dyn Chunkable + Send + Sync> {
        Box::new(crate::state_sync::chunkable::IncompleteState::new(
            self.log.clone(),
            id.height,
            id.hash.clone(),
            self.state_layout.clone(),
            self.latest_manifest(),
            self.metrics.clone(),
            self.own_subnet_type,
        ))
    }
pub fn create_chunkable_state ( & self , id : & StateSyncArtifactId , ) -> Box < dyn Chunkable + Send + Sync > { Box :: new ( crate :: state_sync :: chunkable :: IncompleteState :: new ( self . log . clone ( ) , id . height , id . hash . clone ( ) , self . state_layout . clone ( ) , self . latest_manifest ( ) , self . metrics . clone ( ) , self . own_subnet_type , ) ) }
Returns requested state as a Chunkable artifact for StateSync.
Returns requested state as a Chunkable artifact for StateSync .
&self
id
&StateSyncArtifactId
&self
id
&StateSyncArtifactId