[−][src]Struct polyfuse::Session
FUSE session driver.
Methods
impl Session
[src]
pub fn connection_info(&self) -> &ConnectionInfo
[src]
Returns the information about the FUSE connection.
pub fn buffer_size(&self) -> usize
[src]
Returns the buffer size required to receive one request.
pub async fn receive<'_, '_, '_, '_, R: ?Sized, B: ?Sized>(
&'_ self,
reader: &'_ mut R,
buf: &'_ mut B,
notifier: &'_ Notifier<B::Data>
) -> Result<()> where
R: AsyncRead + Unpin,
B: Buffer,
[src]
&'_ self,
reader: &'_ mut R,
buf: &'_ mut B,
notifier: &'_ Notifier<B::Data>
) -> Result<()> where
R: AsyncRead + Unpin,
B: Buffer,
Receive one or more requests from the kernel.
pub async fn process<'_, '_, '_, '_, F: ?Sized, W: ?Sized, B: ?Sized>(
&'_ self,
fs: &'_ F,
buf: &'_ mut B,
writer: &'_ mut W
) -> Result<()> where
F: Filesystem<B::Data>,
W: AsyncWrite + Send + Unpin,
B: Buffer,
B::Data: Send,
[src]
&'_ self,
fs: &'_ F,
buf: &'_ mut B,
writer: &'_ mut W
) -> Result<()> where
F: Filesystem<B::Data>,
W: AsyncWrite + Send + Unpin,
B: Buffer,
B::Data: Send,
Process an incoming request using the specified filesystem operations.
Trait Implementations
Auto Trait Implementations
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl !UnwindSafe for Session
impl !RefUnwindSafe for Session
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
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> 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,