pub struct InPipline<R: Read>(/* private fields */);
Trait Implementations§
Source§impl<R: Read> WasiFile for InPipline<R>
impl<R: Read> WasiFile for InPipline<R>
fn fd_advise( &mut self, offset: __wasi_filesize_t, len: __wasi_filesize_t, advice: Advice, ) -> Result<(), Errno>
fn fd_allocate( &mut self, offset: __wasi_filesize_t, len: __wasi_filesize_t, ) -> Result<(), Errno>
fn fd_datasync(&mut self) -> Result<(), Errno>
fn fd_sync(&mut self) -> Result<(), Errno>
fn fd_read(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Errno>
fn fd_pread( &mut self, bufs: &mut [IoSliceMut<'_>], offset: __wasi_filesize_t, ) -> Result<usize, Errno>
fn fd_write(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Errno>
fn fd_pwrite( &mut self, bufs: &[IoSlice<'_>], offset: __wasi_filesize_t, ) -> Result<usize, Errno>
fn fd_seek( &mut self, offset: __wasi_filedelta_t, whence: Type, ) -> Result<__wasi_filesize_t, Errno>
fn fd_tell(&mut self) -> Result<__wasi_filesize_t, Errno>
Source§impl<R: Read> WasiNode for InPipline<R>
impl<R: Read> WasiNode for InPipline<R>
fn fd_fdstat_get(&self) -> Result<FdStat, Errno>
fn fd_fdstat_set_flags(&mut self, flags: FdFlags) -> Result<(), Errno>
fn fd_fdstat_set_rights( &mut self, fs_rights_base: WASIRights, _fs_rights_inheriting: WASIRights, ) -> Result<(), Errno>
fn fd_filestat_get(&self) -> Result<Filestat, Errno>
fn fd_filestat_set_size(&mut self, size: __wasi_filesize_t) -> Result<(), Errno>
fn fd_filestat_set_times( &mut self, atim: __wasi_timestamp_t, mtim: __wasi_timestamp_t, fst_flags: Type, ) -> Result<(), Errno>
Auto Trait Implementations§
impl<R> Freeze for InPipline<R>where
R: Freeze,
impl<R> RefUnwindSafe for InPipline<R>where
R: RefUnwindSafe,
impl<R> Send for InPipline<R>where
R: Send,
impl<R> Sync for InPipline<R>where
R: Sync,
impl<R> Unpin for InPipline<R>where
R: Unpin,
impl<R> UnwindSafe for InPipline<R>where
R: UnwindSafe,
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