[−][src]Enum wasmer_wasi::state::Kind
Variants
File
Fields of File
Dir
Fields of Dir
Root
The same as Dir but without the irrelevant bits The root is immutable after creation; generally the Kind::Root branch of whatever code you're writing will be a simpler version of your Kind::Dir logic
Fields of Root
Symlink
The first two fields are data about the symlink the last field is the data inside the symlink
base_po_dir
should never be the root because:
- Right now symlinks are not allowed in the immutable root
- There is always a closer pre-opened dir to the symlink file (by definition of the root being a collection of preopened dirs)
Fields of Symlink
base_po_dir: __wasi_fd_t
The preopened dir that this symlink file is relative to (via path_to_symlink
)
path_to_symlink: PathBuf
The path to the symlink from the base_po_dir
relative_path: PathBuf
the value of the symlink as a relative path
Buffer
Fields of Buffer
Trait Implementations
impl Debug for Kind
[src]
impl<'de> Deserialize<'de> for Kind
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Kind
[src]
Auto Trait Implementations
impl !Sync for Kind
impl !Send for Kind
impl Unpin for Kind
impl !UnwindSafe for Kind
impl !RefUnwindSafe for Kind
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,