pub struct FileStreamRead {
pub data: Vec<u8>,
pub end_of_file: bool,
}Expand description
One stream-access read window, as AtomicReadFile returns it.
Fields§
§data: Vec<u8>The octets read: never more than requested, fewer when the file ends first (Clause 14.1 Service Procedure).
end_of_file: boolClause 14.1.3.1 ‘End Of File’. The built-in empty file reports EOF at its only valid start; an empty window in a non-empty file does not.
Trait Implementations§
Source§impl Clone for FileStreamRead
impl Clone for FileStreamRead
Source§impl Debug for FileStreamRead
impl Debug for FileStreamRead
impl Eq for FileStreamRead
Source§impl PartialEq for FileStreamRead
impl PartialEq for FileStreamRead
impl StructuralPartialEq for FileStreamRead
Auto Trait Implementations§
impl Freeze for FileStreamRead
impl RefUnwindSafe for FileStreamRead
impl Send for FileStreamRead
impl Sync for FileStreamRead
impl Unpin for FileStreamRead
impl UnsafeUnpin for FileStreamRead
impl UnwindSafe for FileStreamRead
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