Type Alias holochain_types::app::DnaLocation

source ·
pub type DnaLocation = Location;
Expand description

Specifies remote, local, or bundled location of DNA

Aliased Type§

enum DnaLocation {
    Bundled(PathBuf),
    Path(PathBuf),
    Url(String),
}

Variants§

§

Bundled(PathBuf)

Expect file to be part of this bundle

§

Path(PathBuf)

Get file from local filesystem (not bundled)

§

Url(String)

Get file from URL

Trait Implementations§

source§

impl<'de> Deserialize<'de> for Location

source§

fn deserialize<__D>( __deserializer: __D ) -> Result<Location, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Location

source§

fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more