[−][src]Struct libfuse_sys::fuse_lowlevel::fuse_chan_ops
Channel operations
This is used in channel creation
Fields
receive: Option<unsafe extern "C" fn(chp: *mut *mut fuse_chan, buf: *mut c_char, size: usize) -> c_int>
Hook for receiving a raw request
@param ch pointer to the channel @param buf the buffer to store the request in @param size the size of the buffer @return the actual size of the raw request, or -1 on error
send: Option<unsafe extern "C" fn(ch: *mut fuse_chan, iov: *const iovec, count: usize) -> c_int>
Hook for sending a raw reply
A return value of -ENOENT means, that the request was interrupted, and the reply was discarded
@param ch the channel @param iov vector of blocks @param count the number of blocks in vector @return zero on success, -errno on failure
destroy: Option<unsafe extern "C" fn(ch: *mut fuse_chan)>
Destroy the channel
@param ch the channel
Trait Implementations
impl Clone for fuse_chan_ops
[src]
fn clone(&self) -> fuse_chan_ops
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for fuse_chan_ops
[src]
impl Debug for fuse_chan_ops
[src]
impl Default for fuse_chan_ops
[src]
fn default() -> fuse_chan_ops
[src]
Auto Trait Implementations
impl RefUnwindSafe for fuse_chan_ops
impl Send for fuse_chan_ops
impl Sync for fuse_chan_ops
impl Unpin for fuse_chan_ops
impl UnwindSafe for fuse_chan_ops
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,