[−][src]Struct libfuse_sys::fuse_lowlevel::fuse_buf
Single data buffer
Generic data buffer for I/O, extended attributes, etc... Data may be supplied as a memory pointer or as a file descriptor
Fields
size: usize
Size of data in bytes
flags: fuse_buf_flags
Buffer flags
mem: *mut c_void
Memory pointer
Used unless FUSE_BUF_IS_FD flag is set.
fd: c_int
File descriptor
Used if FUSE_BUF_IS_FD flag is set.
pos: off_t
File position
Used if FUSE_BUF_FD_SEEK flag is set.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for fuse_buf
impl !Send for fuse_buf
impl !Sync for fuse_buf
impl Unpin for fuse_buf
impl UnwindSafe for fuse_buf
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>,