pub enum MountType {
Bind,
Root,
}Expand description
Mount kind for a wasi:filesystem params.mounts entry (topology only).
Variants§
Bind
Bind one host directory to a guest path. Requires host.
Root
Expose the platform root(s) at a guest path. host is forbidden.
Trait Implementations§
impl Copy for MountType
Source§impl<'de> Deserialize<'de> for MountType
impl<'de> Deserialize<'de> for MountType
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
impl Eq for MountType
impl StructuralPartialEq for MountType
Auto Trait Implementations§
impl Freeze for MountType
impl RefUnwindSafe for MountType
impl Send for MountType
impl Sync for MountType
impl Unpin for MountType
impl UnsafeUnpin for MountType
impl UnwindSafe for MountType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more