Struct async_wasi::snapshots::common::vfs::sync::WasiStdout
source · pub struct WasiStdout;
Implementations§
source§impl WasiStdout
impl WasiStdout
pub fn fd_advise( &mut self, offset: __wasi_filesize_t, len: __wasi_filesize_t, advice: Advice ) -> Result<(), Errno>
pub fn fd_allocate( &mut self, offset: __wasi_filesize_t, len: __wasi_filesize_t ) -> Result<(), Errno>
pub fn fd_datasync(&mut self) -> Result<(), Errno>
pub fn fd_sync(&mut self) -> Result<(), Errno>
pub fn fd_fdstat_get(&mut self) -> Result<FdStat, Errno>
pub fn fd_fdstat_set_flags(&mut self, flags: FdFlags) -> Result<(), Errno>
pub fn fd_fdstat_set_rights( &mut self, fs_rights_base: WASIRights, _fs_rights_inheriting: WASIRights ) -> Result<(), Errno>
pub fn fd_filestat_get(&mut self) -> Result<Filestat, Errno>
pub fn fd_filestat_set_size( &mut self, size: __wasi_filesize_t ) -> Result<(), Errno>
pub fn fd_filestat_set_times( &mut self, atim: __wasi_timestamp_t, mtim: __wasi_timestamp_t, fst_flags: Type ) -> Result<(), Errno>
pub fn fd_read(&mut self, bufs: &[IoSliceMut<'_>]) -> Result<usize, Errno>
pub fn fd_pread( &mut self, bufs: &[IoSliceMut<'_>], offset: __wasi_filesize_t ) -> Result<usize, Errno>
pub fn fd_write(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Errno>
pub fn fd_pwrite( &mut self, bufs: &[IoSlice<'_>], offset: __wasi_filesize_t ) -> Result<usize, Errno>
pub fn fd_seek( &mut self, offset: __wasi_filedelta_t, whence: Type ) -> Result<__wasi_filesize_t, Errno>
pub fn fd_tell(&mut self) -> Result<__wasi_filesize_t, Errno>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for WasiStdout
impl Send for WasiStdout
impl Sync for WasiStdout
impl Unpin for WasiStdout
impl UnwindSafe for WasiStdout
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