[][src]Struct wasi_common::virtfs::InMemoryFile

pub struct InMemoryFile { /* fields omitted */ }

An InMemoryFile is a shared handle to some underlying data. The relationship is analagous to a filesystem wherein a file descriptor is one view into a possibly-shared underlying collection of data and permissions on a filesystem.

Implementations

impl InMemoryFile[src]

pub fn memory_backed() -> Self[src]

pub fn new(contents: Box<dyn FileContents>) -> Self[src]

Trait Implementations

impl Handle for InMemoryFile[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointee for T[src]

type Pointer = u32

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.