#[repr(C)]pub struct fuse_buf {
pub size: size_t,
pub flags: fuse_buf_flags,
pub mem: *mut c_void,
pub fd: c_int,
pub pos: off_t,
}Expand description
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: size_tSize of data in bytes
flags: fuse_buf_flagsBuffer flags
mem: *mut c_voidMemory pointer
Used unless FUSE_BUF_IS_FD flag is set.
fd: c_intFile descriptor
Used if FUSE_BUF_IS_FD flag is set.
pos: off_tFile position
Used if FUSE_BUF_FD_SEEK flag is set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for fuse_buf
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§
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