fn reset_with_anon_memory(&self) -> Result<()> {
        unsafe {
            let ptr = rustix::io::mmap_anonymous(
                self.base as *mut c_void,
                self.static_size,
                rustix::io::ProtFlags::empty(),
                rustix::io::MapFlags::PRIVATE | rustix::io::MapFlags::FIXED,
            )?;
            assert_eq!(ptr as usize, self.base);
        }
        Ok(())
    }
/// Map anonymous zeroed memory across the whole slot,
/// inaccessible. Used both during instantiate and during drop.
Map anonymous zeroed memory across the whole slot,
inaccessible. Used both during instantiate and during drop.
Map anonymous zeroed memory across the whole slot inaccessible . Used both during instantiate and during drop .
fn reset_with_anon_memory(&self) -> Result<()> {
        unsafe {
            let ptr = rustix::io::mmap_anonymous(
                self.base as *mut c_void,
                self.static_size,
                rustix::io::ProtFlags::empty(),
                rustix::io::MapFlags::PRIVATE | rustix::io::MapFlags::FIXED,
            )?;
            assert_eq!(ptr as usize, self.base);
        }
        Ok(())
    }
fn reset_with_anon_memory ( & self ) -> Result < ( ) > { unsafe { let ptr = rustix :: io :: mmap_anonymous ( self . base as * mut c_void , self . static_size , rustix :: io :: ProtFlags :: empty ( ) , rustix :: io :: MapFlags :: PRIVATE | rustix :: io :: MapFlags :: FIXED , ) ? ; assert_eq ! ( ptr as usize self base ) ; } Ok ( ( ) ) }
Map anonymous zeroed memory across the whole slot,
inaccessible.
Map anonymous zeroed memory across the whole slot inaccessible .
&self
&self