pub struct Connection { /* private fields */ }
Expand description
A simple driver for a FUSE session using /dev/fuse
.
Since this library is primarily intended for virtio-fs, /dev/fuse
support is for testing
purposes only, and the functionality is limited.
Implementations§
Trait Implementations§
Source§impl ReplySender for Connection
impl ReplySender for Connection
Source§fn send(&mut self, bufs: &[IoSlice<'_>]) -> Result<()>
fn send(&mut self, bufs: &[IoSlice<'_>]) -> Result<()>
Send the specified buffers to the kernel.
Source§fn send_arg<T: Debug + IntoBytes + Immutable + KnownLayout>(
&mut self,
unique: u64,
arg: T,
) -> Result<()>
fn send_arg<T: Debug + IntoBytes + Immutable + KnownLayout>( &mut self, unique: u64, arg: T, ) -> Result<()>
Send a reply with a struct as an argument.
Source§fn send_data(&mut self, unique: u64, data: &[u8]) -> Result<()>
fn send_data(&mut self, unique: u64, data: &[u8]) -> Result<()>
Send a reply with arbitrary data.
Auto Trait Implementations§
impl Freeze for Connection
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
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