[−][src]Struct gcsf::NullFS
An empty FUSE file system. It can be used in a mounting test aimed to determine whether or not the real file system can be mounted as well. If the test fails, the application can fail early instead of wasting time constructing the real file system.
Trait Implementations
impl Filesystem for NullFS[src]
fn init(&mut self, _req: &Request) -> Result<(), i32>[src]
fn destroy(&mut self, _req: &Request)[src]
fn lookup(
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
reply: ReplyEntry
)[src]
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
reply: ReplyEntry
)
fn forget(&mut self, _req: &Request, _ino: u64, _nlookup: u64)[src]
fn getattr(&mut self, _req: &Request, _ino: u64, reply: ReplyAttr)[src]
fn setattr(
&mut self,
_req: &Request,
_ino: u64,
_mode: Option<u32>,
_uid: Option<u32>,
_gid: Option<u32>,
_size: Option<u64>,
_atime: Option<Timespec>,
_mtime: Option<Timespec>,
_fh: Option<u64>,
_crtime: Option<Timespec>,
_chgtime: Option<Timespec>,
_bkuptime: Option<Timespec>,
_flags: Option<u32>,
reply: ReplyAttr
)[src]
&mut self,
_req: &Request,
_ino: u64,
_mode: Option<u32>,
_uid: Option<u32>,
_gid: Option<u32>,
_size: Option<u64>,
_atime: Option<Timespec>,
_mtime: Option<Timespec>,
_fh: Option<u64>,
_crtime: Option<Timespec>,
_chgtime: Option<Timespec>,
_bkuptime: Option<Timespec>,
_flags: Option<u32>,
reply: ReplyAttr
)
fn readlink(&mut self, _req: &Request, _ino: u64, reply: ReplyData)[src]
fn mknod(
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
_mode: u32,
_rdev: u32,
reply: ReplyEntry
)[src]
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
_mode: u32,
_rdev: u32,
reply: ReplyEntry
)
fn mkdir(
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
_mode: u32,
reply: ReplyEntry
)[src]
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
_mode: u32,
reply: ReplyEntry
)
fn unlink(
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
reply: ReplyEmpty
)[src]
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
reply: ReplyEmpty
)
fn rmdir(
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
reply: ReplyEmpty
)[src]
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
reply: ReplyEmpty
)
fn symlink(
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
_link: &Path,
reply: ReplyEntry
)[src]
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
_link: &Path,
reply: ReplyEntry
)
fn rename(
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
_newparent: u64,
_newname: &OsStr,
reply: ReplyEmpty
)[src]
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
_newparent: u64,
_newname: &OsStr,
reply: ReplyEmpty
)
fn link(
&mut self,
_req: &Request,
_ino: u64,
_newparent: u64,
_newname: &OsStr,
reply: ReplyEntry
)[src]
&mut self,
_req: &Request,
_ino: u64,
_newparent: u64,
_newname: &OsStr,
reply: ReplyEntry
)
fn open(&mut self, _req: &Request, _ino: u64, _flags: u32, reply: ReplyOpen)[src]
fn read(
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_offset: i64,
_size: u32,
reply: ReplyData
)[src]
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_offset: i64,
_size: u32,
reply: ReplyData
)
fn write(
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_offset: i64,
_data: &[u8],
_flags: u32,
reply: ReplyWrite
)[src]
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_offset: i64,
_data: &[u8],
_flags: u32,
reply: ReplyWrite
)
fn flush(
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_lock_owner: u64,
reply: ReplyEmpty
)[src]
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_lock_owner: u64,
reply: ReplyEmpty
)
fn release(
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_flags: u32,
_lock_owner: u64,
_flush: bool,
reply: ReplyEmpty
)[src]
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_flags: u32,
_lock_owner: u64,
_flush: bool,
reply: ReplyEmpty
)
fn fsync(
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_datasync: bool,
reply: ReplyEmpty
)[src]
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_datasync: bool,
reply: ReplyEmpty
)
fn opendir(&mut self, _req: &Request, _ino: u64, _flags: u32, reply: ReplyOpen)[src]
fn readdir(
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_offset: i64,
reply: ReplyDirectory
)[src]
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_offset: i64,
reply: ReplyDirectory
)
fn releasedir(
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_flags: u32,
reply: ReplyEmpty
)[src]
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_flags: u32,
reply: ReplyEmpty
)
fn fsyncdir(
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_datasync: bool,
reply: ReplyEmpty
)[src]
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_datasync: bool,
reply: ReplyEmpty
)
fn statfs(&mut self, _req: &Request, _ino: u64, reply: ReplyStatfs)[src]
fn setxattr(
&mut self,
_req: &Request,
_ino: u64,
_name: &OsStr,
_value: &[u8],
_flags: u32,
_position: u32,
reply: ReplyEmpty
)[src]
&mut self,
_req: &Request,
_ino: u64,
_name: &OsStr,
_value: &[u8],
_flags: u32,
_position: u32,
reply: ReplyEmpty
)
fn getxattr(
&mut self,
_req: &Request,
_ino: u64,
_name: &OsStr,
_size: u32,
reply: ReplyXattr
)[src]
&mut self,
_req: &Request,
_ino: u64,
_name: &OsStr,
_size: u32,
reply: ReplyXattr
)
fn listxattr(
&mut self,
_req: &Request,
_ino: u64,
_size: u32,
reply: ReplyXattr
)[src]
&mut self,
_req: &Request,
_ino: u64,
_size: u32,
reply: ReplyXattr
)
fn removexattr(
&mut self,
_req: &Request,
_ino: u64,
_name: &OsStr,
reply: ReplyEmpty
)[src]
&mut self,
_req: &Request,
_ino: u64,
_name: &OsStr,
reply: ReplyEmpty
)
fn access(&mut self, _req: &Request, _ino: u64, _mask: u32, reply: ReplyEmpty)[src]
fn create(
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
_mode: u32,
_flags: u32,
reply: ReplyCreate
)[src]
&mut self,
_req: &Request,
_parent: u64,
_name: &OsStr,
_mode: u32,
_flags: u32,
reply: ReplyCreate
)
fn getlk(
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_lock_owner: u64,
_start: u64,
_end: u64,
_typ: u32,
_pid: u32,
reply: ReplyLock
)[src]
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_lock_owner: u64,
_start: u64,
_end: u64,
_typ: u32,
_pid: u32,
reply: ReplyLock
)
fn setlk(
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_lock_owner: u64,
_start: u64,
_end: u64,
_typ: u32,
_pid: u32,
_sleep: bool,
reply: ReplyEmpty
)[src]
&mut self,
_req: &Request,
_ino: u64,
_fh: u64,
_lock_owner: u64,
_start: u64,
_end: u64,
_typ: u32,
_pid: u32,
_sleep: bool,
reply: ReplyEmpty
)
fn bmap(
&mut self,
_req: &Request,
_ino: u64,
_blocksize: u32,
_idx: u64,
reply: ReplyBmap
)[src]
&mut self,
_req: &Request,
_ino: u64,
_blocksize: u32,
_idx: u64,
reply: ReplyBmap
)
Auto Trait Implementations
impl RefUnwindSafe for NullFS
impl Send for NullFS
impl Sync for NullFS
impl Unpin for NullFS
impl UnwindSafe for NullFS
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,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,