[−][src]Struct wasi_common::virtfs::VecFileContents
Implementations
impl VecFileContents
[src]
Trait Implementations
impl FileContents for VecFileContents
[src]
fn max_size(&self) -> Filesize
[src]
fn size(&self) -> Filesize
[src]
fn resize(&mut self, new_size: Filesize) -> Result<()>
[src]
fn preadv(&self, iovs: &mut [IoSliceMut<'_>], offset: Filesize) -> Result<usize>
[src]
fn pwritev(&mut self, iovs: &[IoSlice<'_>], offset: Filesize) -> Result<usize>
[src]
fn pread(&self, buf: &mut [u8], offset: Filesize) -> Result<usize>
[src]
fn pwrite(&mut self, buf: &[u8], offset: Filesize) -> Result<usize>
[src]
Auto Trait Implementations
impl RefUnwindSafe for VecFileContents
impl Send for VecFileContents
impl Sync for VecFileContents
impl Unpin for VecFileContents
impl UnwindSafe for VecFileContents
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointee for T
[src]
type Pointer = u32
pub fn debug(
pointer: <T as Pointee>::Pointer,
f: &mut Formatter<'_>
) -> Result<(), Error>
[src]
pointer: <T as Pointee>::Pointer,
f: &mut Formatter<'_>
) -> Result<(), Error>
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.
pub 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>,