pub struct WriteReq {
pub offset: u64,
pub file_id: FileId,
pub payload: Vec<u8>,
}Expand description
WRITE request body (§2.2.21).
Fields§
§offset: u64Absolute write offset.
file_id: FileIdTarget file identifier.
payload: Vec<u8>Data to write.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WriteReq
impl RefUnwindSafe for WriteReq
impl Send for WriteReq
impl Sync for WriteReq
impl Unpin for WriteReq
impl UnsafeUnpin for WriteReq
impl UnwindSafe for WriteReq
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