pub async fn with_uid(self, uid: String) -> Result<Self, SafError> {
        let (mut saf, wasm): (SafDef, Vec<wasm::SafWasm>) = self.into();
        saf.uid = uid;
        SafFile::new(saf, wasm).await
    }
/// Transform this SafFile into a new SafFile with a different UID
/// and, hence, a different SafHash.
Transform this SafFile into a new SafFile with a different UID
and, hence, a different SafHash.
Transform this SafFile into a new SafFile with a different UID and hence a different SafHash .
pub async fn with_uid(self, uid: String) -> Result<Self, SafError> {
        let (mut saf, wasm): (SafDef, Vec<wasm::SafWasm>) = self.into();
        saf.uid = uid;
        SafFile::new(saf, wasm).await
    }
pub async fn with_uid ( self , uid : String ) -> Result < Self , SafError > { let ( mut saf , wasm ) : ( SafDef , Vec < wasm :: SafWasm > ) = self . into ( ) ; saf . uid = uid ; SafFile :: new ( saf , wasm ) . await }
Transform this SafFile into a new SafFile with a different UID
and, hence, a different SafHash.
Transform this SafFile into a new SafFile with a different UID and hence a different SafHash .
self
uid
String
self
uid
String