Struct fuse::fuzzing::NullMapper
source · struct NullMapper;
Trait Implementations§
source§impl Mapper for NullMapper
impl Mapper for NullMapper
source§fn map(
&self,
_mem_offset: u64,
_size: usize,
_fd: &dyn AsRawFd,
_file_offset: u64,
_prot: Protection
) -> Result<()>
fn map( &self, _mem_offset: u64, _size: usize, _fd: &dyn AsRawFd, _file_offset: u64, _prot: Protection ) -> Result<()>
Maps
size
bytes starting at file_offset
bytes from within the given fd
at mem_offset
bytes from the start of the memory region with prot
protections. mem_offset
must be
page aligned. Read moreAuto Trait Implementations§
impl RefUnwindSafe for NullMapper
impl Send for NullMapper
impl Sync for NullMapper
impl Unpin for NullMapper
impl UnwindSafe for NullMapper
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