Struct spin_app::locked::ContentPath
source · pub struct ContentPath {
pub content: ContentRef,
pub path: PathBuf,
}Expand description
A ContentPath specifies content mapped to a WASI path.
Fields§
§content: ContentRefContent specification
path: PathBufWASI mount path
Trait Implementations§
source§impl Clone for ContentPath
impl Clone for ContentPath
source§fn clone(&self) -> ContentPath
fn clone(&self) -> ContentPath
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ContentPath
impl Debug for ContentPath
source§impl<'de> Deserialize<'de> for ContentPath
impl<'de> Deserialize<'de> for ContentPath
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ContentPath
impl Send for ContentPath
impl Sync for ContentPath
impl Unpin for ContentPath
impl UnwindSafe for ContentPath
Blanket Implementations§
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.