Struct fuse::server::Server

source ·
pub struct Server<F: FileSystem + Sync> {
    fs: F,
}

Fields§

§fs: F

Implementations§

source§

impl<F: FileSystem + Sync> Server<F>

source

pub fn new(fs: F) -> Server<F>

source

pub fn handle_message<R: Reader + ZeroCopyReader, W: Writer + ZeroCopyWriter, M: Mapper>( &self, r: R, w: W, mapper: M ) -> Result<usize>

source

fn lookup<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn forget<R: Reader>(&self, in_header: InHeader, r: R) -> Result<usize>

source

fn getattr<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn setattr<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn mknod<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn mkdir<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn chromeos_tmpfile<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn rmdir<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn do_rename<R: Reader, W: Writer>( &self, in_header: InHeader, msg_size: usize, newdir: u64, flags: u32, r: R, w: W ) -> Result<usize>

source

fn rename<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn rename2<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn open<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn read<R: Reader, W: ZeroCopyWriter + Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn write<R: Reader + ZeroCopyReader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn statfs<W: Writer>(&self, in_header: InHeader, w: W) -> Result<usize>

source

fn release<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn fsync<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn setxattr<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn getxattr<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn listxattr<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn removexattr<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn flush<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn init<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn opendir<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn readdir<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn lookup_dirent_attribute( &self, in_header: &InHeader, dir_entry: &DirEntry<'_> ) -> Result<Entry>

source

fn readdirplus<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn releasedir<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn fsyncdir<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn getlk<R: Reader, W: Writer>( &self, in_header: InHeader, _r: R, w: W ) -> Result<usize>

source

fn setlk<R: Reader, W: Writer>( &self, in_header: InHeader, _r: R, w: W ) -> Result<usize>

source

fn setlkw<R: Reader, W: Writer>( &self, in_header: InHeader, _r: R, w: W ) -> Result<usize>

source

fn access<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn create<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn interrupt(&self, _in_header: InHeader) -> Result<usize>

source

fn bmap<R: Reader, W: Writer>( &self, in_header: InHeader, _r: R, w: W ) -> Result<usize>

source

fn destroy(&self) -> Result<usize>

source

fn ioctl<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn poll<R: Reader, W: Writer>( &self, in_header: InHeader, _r: R, w: W ) -> Result<usize>

source

fn notify_reply<R: Reader, W: Writer>( &self, in_header: InHeader, _r: R, w: W ) -> Result<usize>

source

fn batch_forget<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn fallocate<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn lseek<R: Reader, W: Writer>( &self, in_header: InHeader, _r: R, w: W ) -> Result<usize>

source

fn copy_file_range<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

source

fn set_up_mapping<R, W, M>( &self, in_header: InHeader, r: R, w: W, mapper: M ) -> Result<usize>
where R: Reader, W: Writer, M: Mapper,

source

fn remove_mapping<R, W, M>( &self, in_header: InHeader, r: R, w: W, mapper: M ) -> Result<usize>
where R: Reader, W: Writer, M: Mapper,

source

fn open_atomic<R: Reader, W: Writer>( &self, in_header: InHeader, r: R, w: W ) -> Result<usize>

Auto Trait Implementations§

§

impl<F> RefUnwindSafe for Server<F>
where F: RefUnwindSafe,

§

impl<F> Send for Server<F>
where F: Send,

§

impl<F> Sync for Server<F>

§

impl<F> Unpin for Server<F>
where F: Unpin,

§

impl<F> UnwindSafe for Server<F>
where F: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.