Enum fuse::filesystem::IoctlReply
source · pub enum IoctlReply {
Retry {
input: Vec<IoctlIovec>,
output: Vec<IoctlIovec>,
},
Done(Result<Vec<u8>>),
}
Expand description
A reply to an ioctl
method call.
Variants§
Retry
Fields
§
input: Vec<IoctlIovec>
Data that should be read by the kernel module and sent to the server when the ioctl is retried.
§
output: Vec<IoctlIovec>
Buffer space that should be prepared so that the server can send back the response to the ioctl.
Indicates that the ioctl should be retried. This is only a valid reply when the flags
field of the ioctl request contains IoctlFlags::UNRESTRICTED
. The kernel will read in
data and prepare output buffers as specified in the input
and output
fields before
re-sending the ioctl message.
Done(Result<Vec<u8>>)
Indicates that the ioctl was processed.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for IoctlReply
impl Send for IoctlReply
impl Sync for IoctlReply
impl Unpin for IoctlReply
impl !UnwindSafe for IoctlReply
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