pub type WriteOp<T = FileOperand, D = Vec<u8>> = WriteRequest<T, D, VfOffset, u8>;Expand description
A native write with owned or borrowed target and payload storage.
Positioning is always VfOffset, with packed create/truncate flags.
The fixed policy types let constructors infer storage without annotations.
use vfsi_core::{FileOperand, VfOffset, WriteOp};
let current = WriteOp::new(FileOperand::from_fd(7), VfOffset::Cur, vec![1, 2]);
let positional = WriteOp::at(FileOperand::from_fd(7), 11, vec![3, 4]);
assert_eq!(current.offset(), VfOffset::Cur);
assert_eq!(positional.offset(), VfOffset::At(11));
assert_eq!(positional.borrowed().data(), &[3, 4]);Aliased Typeยง
pub struct WriteOp<T = FileOperand, D = Vec<u8>> { /* private fields */ }