pub struct IoResponse {
pub file: TextFile,
pub result: Result<TextFileContent, Error>,
}Expand description
Response from reading a file.
Fields§
§file: TextFile§result: Result<TextFileContent, Error>Content or error from fetching the file.
Auto Trait Implementations§
impl Freeze for IoResponse
impl RefUnwindSafe for IoResponse
impl Send for IoResponse
impl Sync for IoResponse
impl Unpin for IoResponse
impl UnwindSafe for IoResponse
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