pub struct ReadReq {
pub length: u32,
pub offset: u64,
pub file_id: FileId,
pub min_count: u32,
}Expand description
READ request body (§2.2.19).
Fields§
§length: u32Number of bytes to read.
offset: u64Absolute file offset.
file_id: FileIdTarget file identifier.
min_count: u32Bytes the client will accept below Length before a short read.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReadReq
impl RefUnwindSafe for ReadReq
impl Send for ReadReq
impl Sync for ReadReq
impl Unpin for ReadReq
impl UnsafeUnpin for ReadReq
impl UnwindSafe for ReadReq
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